Class v1.ParameterManagerClient (0.3.0)

Service describing handlers for resources v1

Package

@google-cloud/parametermanager

Constructors

(constructor)(opts, gaxInstance)

constructor(opts?: ClientOptions, gaxInstance?: typeof gax | typeof gax.fallback);

Construct an instance of ParameterManagerClient.

Parameters
Name Description
opts ClientOptions
gaxInstance typeof gax | typeof fallback

: loaded instance of google-gax. Useful if you need to avoid loading the default gRPC version and want to use the fallback HTTP implementation. Load only fallback version and pass it to the constructor: ``` const gax = require('google-gax/build/src/fallback'); // avoids loading google-gax with gRPC const client = new ParameterManagerClient({fallback: true}, gax); ```

Properties

apiEndpoint

get apiEndpoint(): string;

The DNS address for this API service.

apiEndpoint

static get apiEndpoint(): string;

The DNS address for this API service - same as servicePath.

auth

auth: gax.GoogleAuth;

descriptors

descriptors: Descriptors;

innerApiCalls

innerApiCalls: {
        [name: string]: Function;
    };

locationsClient

locationsClient: LocationsClient;

parameterManagerStub

parameterManagerStub?: Promise<{
        [name: string]: Function;
    }>;

pathTemplates

pathTemplates: {
        [name: string]: gax.PathTemplate;
    };

port

static get port(): number;

The port for this API service.

scopes

static get scopes(): string[];

The scopes needed to make gRPC calls for every method defined in this service.

servicePath

static get servicePath(): string;

The DNS address for this API service.

universeDomain

get universeDomain(): string;

warn

warn: (code: string, message: string, warnType?: string) => void;

Methods

close()

close(): Promise<void>;

Terminate the gRPC channel and close the client.

The client will no longer be usable and all future behavior is undefined.

Returns
Type Description
Promise<void>

{Promise} A promise that resolves when the client is closed.

createParameter(request, options)

createParameter(request?: protos.google.cloud.parametermanager.v1.ICreateParameterRequest, options?: CallOptions): Promise<[
        protos.google.cloud.parametermanager.v1.IParameter,
        (protos.google.cloud.parametermanager.v1.ICreateParameterRequest | undefined),
        {} | undefined
    ]>;

Creates a new Parameter in a given project and location.

Parameters
Name Description
request ICreateParameterRequest

The request object that will be sent.

options CallOptions

Call options. See CallOptions for more details.

Returns
Type Description
Promise<[ protos.google.cloud.parametermanager.v1.IParameter, (protos.google.cloud.parametermanager.v1.ICreateParameterRequest | undefined), {} | undefined ]>

{Promise} - The promise which resolves to an array. The first element of the array is an object representing Parameter. Please see the documentation for more details and examples.

Example

  /**
   * This snippet has been automatically generated and should be regarded as a code template only.
   * It will require modifications to work.
   * It may require correct/in-range values for request initialization.
   * TODO(developer): Uncomment these variables before running the sample.
   */
  /**
   *  Required. Value for parent in the format
   *  `projects/* /locations/*`.
   */
  // const parent = 'abc123'
  /**
   *  Required. Id of the Parameter resource
   */
  // const parameterId = 'abc123'
  /**
   *  Required. The Parameter resource being created
   */
  // const parameter = {}
  /**
   *  Optional. An optional request ID to identify requests. Specify a unique
   *  request ID so that if you must retry your request, the server will know to
   *  ignore the request if it has already been completed. The server will
   *  guarantee that for at least 60 minutes since the first request.
   *  For example, consider a situation where you make an initial request and the
   *  request times out. If you make the request again with the same request
   *  ID, the server can check if original operation with the same request ID
   *  was received, and if so, will ignore the second request. This prevents
   *  clients from accidentally creating duplicate commitments.
   *  The request ID must be a valid UUID with the exception that zero UUID is
   *  not supported (00000000-0000-0000-0000-000000000000).
   */
  // const requestId = 'abc123'

  // Imports the Parametermanager library
  const {ParameterManagerClient} = require('@google-cloud/parametermanager').v1;

  // Instantiates a client
  const parametermanagerClient = new ParameterManagerClient();

  async function callCreateParameter() {
    // Construct request
    const request = {
      parent,
      parameterId,
      parameter,
    };

    // Run request
    const response = await parametermanagerClient.createParameter(request);
    console.log(response);
  }

  callCreateParameter();

createParameter(request, options, callback)

createParameter(request: protos.google.cloud.parametermanager.v1.ICreateParameterRequest, options: CallOptions, callback: Callback<protos.google.cloud.parametermanager.v1.IParameter, protos.google.cloud.parametermanager.v1.ICreateParameterRequest | null | undefined, {} | null | undefined>): void;
Parameters
Name Description
request ICreateParameterRequest
options CallOptions
callback Callback<protos.google.cloud.parametermanager.v1.IParameter, protos.google.cloud.parametermanager.v1.ICreateParameterRequest | null | undefined, {} | null | undefined>
Returns
Type Description
void

createParameter(request, callback)

createParameter(request: protos.google.cloud.parametermanager.v1.ICreateParameterRequest, callback: Callback<protos.google.cloud.parametermanager.v1.IParameter, protos.google.cloud.parametermanager.v1.ICreateParameterRequest | null | undefined, {} | null | undefined>): void;
Parameters
Name Description
request ICreateParameterRequest
callback Callback<protos.google.cloud.parametermanager.v1.IParameter, protos.google.cloud.parametermanager.v1.ICreateParameterRequest | null | undefined, {} | null | undefined>
Returns
Type Description
void

createParameterVersion(request, options)

createParameterVersion(request?: protos.google.cloud.parametermanager.v1.ICreateParameterVersionRequest, options?: CallOptions): Promise<[
        protos.google.cloud.parametermanager.v1.IParameterVersion,
        (protos.google.cloud.parametermanager.v1.ICreateParameterVersionRequest | undefined),
        {} | undefined
    ]>;

Creates a new ParameterVersion in a given project, location, and parameter.

Parameters
Name Description
request ICreateParameterVersionRequest

The request object that will be sent.

options CallOptions

Call options. See CallOptions for more details.

Returns
Type Description
Promise<[ protos.google.cloud.parametermanager.v1.IParameterVersion, (protos.google.cloud.parametermanager.v1.ICreateParameterVersionRequest | undefined), {} | undefined ]>

{Promise} - The promise which resolves to an array. The first element of the array is an object representing ParameterVersion. Please see the documentation for more details and examples.

Example

  /**
   * This snippet has been automatically generated and should be regarded as a code template only.
   * It will require modifications to work.
   * It may require correct/in-range values for request initialization.
   * TODO(developer): Uncomment these variables before running the sample.
   */
  /**
   *  Required. Value for parent in the format
   *  `projects/* /locations/* /parameters/*`.
   */
  // const parent = 'abc123'
  /**
   *  Required. Id of the ParameterVersion resource
   */
  // const parameterVersionId = 'abc123'
  /**
   *  Required. The ParameterVersion resource being created
   */
  // const parameterVersion = {}
  /**
   *  Optional. An optional request ID to identify requests. Specify a unique
   *  request ID so that if you must retry your request, the server will know to
   *  ignore the request if it has already been completed. The server will
   *  guarantee that for at least 60 minutes since the first request.
   *  For example, consider a situation where you make an initial request and the
   *  request times out. If you make the request again with the same request
   *  ID, the server can check if original operation with the same request ID
   *  was received, and if so, will ignore the second request. This prevents
   *  clients from accidentally creating duplicate commitments.
   *  The request ID must be a valid UUID with the exception that zero UUID is
   *  not supported (00000000-0000-0000-0000-000000000000).
   */
  // const requestId = 'abc123'

  // Imports the Parametermanager library
  const {ParameterManagerClient} = require('@google-cloud/parametermanager').v1;

  // Instantiates a client
  const parametermanagerClient = new ParameterManagerClient();

  async function callCreateParameterVersion() {
    // Construct request
    const request = {
      parent,
      parameterVersionId,
      parameterVersion,
    };

    // Run request
    const response = await parametermanagerClient.createParameterVersion(request);
    console.log(response);
  }

  callCreateParameterVersion();

createParameterVersion(request, options, callback)

createParameterVersion(request: protos.google.cloud.parametermanager.v1.ICreateParameterVersionRequest, options: CallOptions, callback: Callback<protos.google.cloud.parametermanager.v1.IParameterVersion, protos.google.cloud.parametermanager.v1.ICreateParameterVersionRequest | null | undefined, {} | null | undefined>): void;
Parameters
Name Description
request ICreateParameterVersionRequest
options CallOptions
callback Callback<protos.google.cloud.parametermanager.v1.IParameterVersion, protos.google.cloud.parametermanager.v1.ICreateParameterVersionRequest | null | undefined, {} | null | undefined>
Returns
Type Description
void

createParameterVersion(request, callback)

createParameterVersion(request: protos.google.cloud.parametermanager.v1.ICreateParameterVersionRequest, callback: Callback<protos.google.cloud.parametermanager.v1.IParameterVersion, protos.google.cloud.parametermanager.v1.ICreateParameterVersionRequest | null | undefined, {} | null | undefined>): void;
Parameters
Name Description
request ICreateParameterVersionRequest
callback Callback<protos.google.cloud.parametermanager.v1.IParameterVersion, protos.google.cloud.parametermanager.v1.ICreateParameterVersionRequest | null | undefined, {} | null | undefined>
Returns
Type Description
void

deleteParameter(request, options)

deleteParameter(request?: protos.google.cloud.parametermanager.v1.IDeleteParameterRequest, options?: CallOptions): Promise<[
        protos.google.protobuf.IEmpty,
        (protos.google.cloud.parametermanager.v1.IDeleteParameterRequest | undefined),
        {} | undefined
    ]>;

Deletes a single Parameter.

Parameters
Name Description
request IDeleteParameterRequest

The request object that will be sent.

options CallOptions

Call options. See CallOptions for more details.

Returns
Type Description
Promise<[ protos.google.protobuf.IEmpty, (protos.google.cloud.parametermanager.v1.IDeleteParameterRequest | undefined), {} | undefined ]>

{Promise} - The promise which resolves to an array. The first element of the array is an object representing Empty. Please see the documentation for more details and examples.

Example

  /**
   * This snippet has been automatically generated and should be regarded as a code template only.
   * It will require modifications to work.
   * It may require correct/in-range values for request initialization.
   * TODO(developer): Uncomment these variables before running the sample.
   */
  /**
   *  Required. Name of the resource in the format
   *  `projects/* /locations/* /parameters/*`.
   */
  // const name = 'abc123'
  /**
   *  Optional. An optional request ID to identify requests. Specify a unique
   *  request ID so that if you must retry your request, the server will know to
   *  ignore the request if it has already been completed. The server will
   *  guarantee that for at least 60 minutes after the first request.
   *  For example, consider a situation where you make an initial request and the
   *  request times out. If you make the request again with the same request
   *  ID, the server can check if original operation with the same request ID
   *  was received, and if so, will ignore the second request. This prevents
   *  clients from accidentally creating duplicate commitments.
   *  The request ID must be a valid UUID with the exception that zero UUID is
   *  not supported (00000000-0000-0000-0000-000000000000).
   */
  // const requestId = 'abc123'

  // Imports the Parametermanager library
  const {ParameterManagerClient} = require('@google-cloud/parametermanager').v1;

  // Instantiates a client
  const parametermanagerClient = new ParameterManagerClient();

  async function callDeleteParameter() {
    // Construct request
    const request = {
      name,
    };

    // Run request
    const response = await parametermanagerClient.deleteParameter(request);
    console.log(response);
  }

  callDeleteParameter();

deleteParameter(request, options, callback)

deleteParameter(request: protos.google.cloud.parametermanager.v1.IDeleteParameterRequest, options: CallOptions, callback: Callback<protos.google.protobuf.IEmpty, protos.google.cloud.parametermanager.v1.IDeleteParameterRequest | null | undefined, {} | null | undefined>): void;
Parameters
Name Description
request IDeleteParameterRequest
options CallOptions
callback Callback<protos.google.protobuf.IEmpty, protos.google.cloud.parametermanager.v1.IDeleteParameterRequest | null | undefined, {} | null | undefined>
Returns
Type Description
void

deleteParameter(request, callback)

deleteParameter(request: protos.google.cloud.parametermanager.v1.IDeleteParameterRequest, callback: Callback<protos.google.protobuf.IEmpty, protos.google.cloud.parametermanager.v1.IDeleteParameterRequest | null | undefined, {} | null | undefined>): void;
Parameters
Name Description
request IDeleteParameterRequest
callback Callback<protos.google.protobuf.IEmpty, protos.google.cloud.parametermanager.v1.IDeleteParameterRequest | null | undefined, {} | null | undefined>
Returns
Type Description
void

deleteParameterVersion(request, options)

deleteParameterVersion(request?: protos.google.cloud.parametermanager.v1.IDeleteParameterVersionRequest, options?: CallOptions): Promise<[
        protos.google.protobuf.IEmpty,
        (protos.google.cloud.parametermanager.v1.IDeleteParameterVersionRequest | undefined),
        {} | undefined
    ]>;

Deletes a single ParameterVersion.

Parameters
Name Description
request IDeleteParameterVersionRequest

The request object that will be sent.

options CallOptions

Call options. See CallOptions for more details.

Returns
Type Description
Promise<[ protos.google.protobuf.IEmpty, (protos.google.cloud.parametermanager.v1.IDeleteParameterVersionRequest | undefined), {} | undefined ]>

{Promise} - The promise which resolves to an array. The first element of the array is an object representing Empty. Please see the documentation for more details and examples.

Example

  /**
   * This snippet has been automatically generated and should be regarded as a code template only.
   * It will require modifications to work.
   * It may require correct/in-range values for request initialization.
   * TODO(developer): Uncomment these variables before running the sample.
   */
  /**
   *  Required. Name of the resource in the format
   *  `projects/* /locations/* /parameters/* /versions/*`.
   */
  // const name = 'abc123'
  /**
   *  Optional. An optional request ID to identify requests. Specify a unique
   *  request ID so that if you must retry your request, the server will know to
   *  ignore the request if it has already been completed. The server will
   *  guarantee that for at least 60 minutes after the first request.
   *  For example, consider a situation where you make an initial request and the
   *  request times out. If you make the request again with the same request
   *  ID, the server can check if original operation with the same request ID
   *  was received, and if so, will ignore the second request. This prevents
   *  clients from accidentally creating duplicate commitments.
   *  The request ID must be a valid UUID with the exception that zero UUID is
   *  not supported (00000000-0000-0000-0000-000000000000).
   */
  // const requestId = 'abc123'

  // Imports the Parametermanager library
  const {ParameterManagerClient} = require('@google-cloud/parametermanager').v1;

  // Instantiates a client
  const parametermanagerClient = new ParameterManagerClient();

  async function callDeleteParameterVersion() {
    // Construct request
    const request = {
      name,
    };

    // Run request
    const response = await parametermanagerClient.deleteParameterVersion(request);
    console.log(response);
  }

  callDeleteParameterVersion();

deleteParameterVersion(request, options, callback)

deleteParameterVersion(request: protos.google.cloud.parametermanager.v1.IDeleteParameterVersionRequest, options: CallOptions, callback: Callback<protos.google.protobuf.IEmpty, protos.google.cloud.parametermanager.v1.IDeleteParameterVersionRequest | null | undefined, {} | null | undefined>): void;
Parameters
Name Description
request IDeleteParameterVersionRequest
options CallOptions
callback Callback<protos.google.protobuf.IEmpty, protos.google.cloud.parametermanager.v1.IDeleteParameterVersionRequest | null | undefined, {} | null | undefined>
Returns
Type Description
void

deleteParameterVersion(request, callback)

deleteParameterVersion(request: protos.google.cloud.parametermanager.v1.IDeleteParameterVersionRequest, callback: Callback<protos.google.protobuf.IEmpty, protos.google.cloud.parametermanager.v1.IDeleteParameterVersionRequest | null | undefined, {} | null | undefined>): void;
Parameters
Name Description
request IDeleteParameterVersionRequest
callback Callback<protos.google.protobuf.IEmpty, protos.google.cloud.parametermanager.v1.IDeleteParameterVersionRequest | null | undefined, {} | null | undefined>
Returns
Type Description
void

getLocation(request, options, callback)

getLocation(request: LocationProtos.google.cloud.location.IGetLocationRequest, options?: gax.CallOptions | Callback<LocationProtos.google.cloud.location.ILocation, LocationProtos.google.cloud.location.IGetLocationRequest | null | undefined, {} | null | undefined>, callback?: Callback<LocationProtos.google.cloud.location.ILocation, LocationProtos.google.cloud.location.IGetLocationRequest | null | undefined, {} | null | undefined>): Promise<LocationProtos.google.cloud.location.ILocation>;

Gets information about a location.

Parameters
Name Description
request LocationProtos.google.cloud.location.IGetLocationRequest

The request object that will be sent.

options CallOptions | Callback<google.cloud.location.ILocation, google.cloud.location.IGetLocationRequest | null | undefined, {} | null | undefined>

Call options. See CallOptions for more details.

callback Callback<google.cloud.location.ILocation, google.cloud.location.IGetLocationRequest | null | undefined, {} | null | undefined>
Returns
Type Description
Promise<google.cloud.location.ILocation>

{Promise} - The promise which resolves to an array. The first element of the array is an object representing . Please see the documentation for more details and examples.

Example

const [response] = await client.getLocation(request);

getParameter(request, options)

getParameter(request?: protos.google.cloud.parametermanager.v1.IGetParameterRequest, options?: CallOptions): Promise<[
        protos.google.cloud.parametermanager.v1.IParameter,
        protos.google.cloud.parametermanager.v1.IGetParameterRequest | undefined,
        {} | undefined
    ]>;

Gets details of a single Parameter.

Parameters
Name Description
request IGetParameterRequest

The request object that will be sent.

options CallOptions

Call options. See CallOptions for more details.

Returns
Type Description
Promise<[ protos.google.cloud.parametermanager.v1.IParameter, protos.google.cloud.parametermanager.v1.IGetParameterRequest | undefined, {} | undefined ]>

{Promise} - The promise which resolves to an array. The first element of the array is an object representing Parameter. Please see the documentation for more details and examples.

Example

  /**
   * This snippet has been automatically generated and should be regarded as a code template only.
   * It will require modifications to work.
   * It may require correct/in-range values for request initialization.
   * TODO(developer): Uncomment these variables before running the sample.
   */
  /**
   *  Required. Name of the resource in the format
   *  `projects/* /locations/* /parameters/*`.
   */
  // const name = 'abc123'

  // Imports the Parametermanager library
  const {ParameterManagerClient} = require('@google-cloud/parametermanager').v1;

  // Instantiates a client
  const parametermanagerClient = new ParameterManagerClient();

  async function callGetParameter() {
    // Construct request
    const request = {
      name,
    };

    // Run request
    const response = await parametermanagerClient.getParameter(request);
    console.log(response);
  }

  callGetParameter();

getParameter(request, options, callback)

getParameter(request: protos.google.cloud.parametermanager.v1.IGetParameterRequest, options: CallOptions, callback: Callback<protos.google.cloud.parametermanager.v1.IParameter, protos.google.cloud.parametermanager.v1.IGetParameterRequest | null | undefined, {} | null | undefined>): void;
Parameters
Name Description
request IGetParameterRequest
options CallOptions
callback Callback<protos.google.cloud.parametermanager.v1.IParameter, protos.google.cloud.parametermanager.v1.IGetParameterRequest | null | undefined, {} | null | undefined>
Returns
Type Description
void

getParameter(request, callback)

getParameter(request: protos.google.cloud.parametermanager.v1.IGetParameterRequest, callback: Callback<protos.google.cloud.parametermanager.v1.IParameter, protos.google.cloud.parametermanager.v1.IGetParameterRequest | null | undefined, {} | null | undefined>): void;
Parameters
Name Description
request IGetParameterRequest
callback Callback<protos.google.cloud.parametermanager.v1.IParameter, protos.google.cloud.parametermanager.v1.IGetParameterRequest | null | undefined, {} | null | undefined>
Returns
Type Description
void

getParameterVersion(request, options)

getParameterVersion(request?: protos.google.cloud.parametermanager.v1.IGetParameterVersionRequest, options?: CallOptions): Promise<[
        protos.google.cloud.parametermanager.v1.IParameterVersion,
        (protos.google.cloud.parametermanager.v1.IGetParameterVersionRequest | undefined),
        {} | undefined
    ]>;

Gets details of a single ParameterVersion.

Parameters
Name Description
request IGetParameterVersionRequest

The request object that will be sent.

options CallOptions

Call options. See CallOptions for more details.

Returns
Type Description
Promise<[ protos.google.cloud.parametermanager.v1.IParameterVersion, (protos.google.cloud.parametermanager.v1.IGetParameterVersionRequest | undefined), {} | undefined ]>

{Promise} - The promise which resolves to an array. The first element of the array is an object representing ParameterVersion. Please see the documentation for more details and examples.

Example

  /**
   * This snippet has been automatically generated and should be regarded as a code template only.
   * It will require modifications to work.
   * It may require correct/in-range values for request initialization.
   * TODO(developer): Uncomment these variables before running the sample.
   */
  /**
   *  Required. Name of the resource in the format
   *  `projects/* /locations/* /parameters/* /versions/*`.
   */
  // const name = 'abc123'
  /**
   *  Optional. View of the ParameterVersion.
   *  In the default FULL view, all metadata & payload associated with the
   *  ParameterVersion will be returned.
   */
  // const view = {}

  // Imports the Parametermanager library
  const {ParameterManagerClient} = require('@google-cloud/parametermanager').v1;

  // Instantiates a client
  const parametermanagerClient = new ParameterManagerClient();

  async function callGetParameterVersion() {
    // Construct request
    const request = {
      name,
    };

    // Run request
    const response = await parametermanagerClient.getParameterVersion(request);
    console.log(response);
  }

  callGetParameterVersion();

getParameterVersion(request, options, callback)

getParameterVersion(request: protos.google.cloud.parametermanager.v1.IGetParameterVersionRequest, options: CallOptions, callback: Callback<protos.google.cloud.parametermanager.v1.IParameterVersion, protos.google.cloud.parametermanager.v1.IGetParameterVersionRequest | null | undefined, {} | null | undefined>): void;
Parameters
Name Description
request IGetParameterVersionRequest
options CallOptions
callback Callback<protos.google.cloud.parametermanager.v1.IParameterVersion, protos.google.cloud.parametermanager.v1.IGetParameterVersionRequest | null | undefined, {} | null | undefined>
Returns
Type Description
void

getParameterVersion(request, callback)

getParameterVersion(request: protos.google.cloud.parametermanager.v1.IGetParameterVersionRequest, callback: Callback<protos.google.cloud.parametermanager.v1.IParameterVersion, protos.google.cloud.parametermanager.v1.IGetParameterVersionRequest | null | undefined, {} | null | undefined>): void;
Parameters
Name Description
request IGetParameterVersionRequest
callback Callback<protos.google.cloud.parametermanager.v1.IParameterVersion, protos.google.cloud.parametermanager.v1.IGetParameterVersionRequest | null | undefined, {} | null | undefined>
Returns
Type Description
void

getProjectId()

getProjectId(): Promise<string>;
Returns
Type Description
Promise<string>

getProjectId(callback)

getProjectId(callback: Callback<string, undefined, undefined>): void;
Parameter
Name Description
callback Callback<string, undefined, undefined>
Returns
Type Description
void

initialize()

initialize(): Promise<{
        [name: string]: Function;
    }>;

Initialize the client. Performs asynchronous operations (such as authentication) and prepares the client. This function will be called automatically when any class method is called for the first time, but if you need to initialize it before calling an actual method, feel free to call initialize() directly.

You can await on this method if you want to make sure the client is initialized.

Returns
Type Description
Promise<{ [name: string]: Function; }>

{Promise} A promise that resolves to an authenticated service stub.

listLocationsAsync(request, options)

listLocationsAsync(request: LocationProtos.google.cloud.location.IListLocationsRequest, options?: CallOptions): AsyncIterable<LocationProtos.google.cloud.location.ILocation>;

Lists information about the supported locations for this service. Returns an iterable object.

for-await-of syntax is used with the iterable to get response elements on-demand.

Parameters
Name Description
request LocationProtos.google.cloud.location.IListLocationsRequest

The request object that will be sent.

options CallOptions

Call options. See CallOptions for more details.

Returns
Type Description
AsyncIterable<google.cloud.location.ILocation>

{Object} An iterable Object that allows async iteration. When you iterate the returned iterable, each element will be an object representing . The API will be called under the hood as needed, once per the page, so you can stop the iteration when you don't need more results. Please see the documentation for more details and examples.

Example

const iterable = client.listLocationsAsync(request);
for await (const response of iterable) {
  // process response
}

listParameters(request, options)

listParameters(request?: protos.google.cloud.parametermanager.v1.IListParametersRequest, options?: CallOptions): Promise<[
        protos.google.cloud.parametermanager.v1.IParameter[],
        protos.google.cloud.parametermanager.v1.IListParametersRequest | null,
        protos.google.cloud.parametermanager.v1.IListParametersResponse
    ]>;

Lists Parameters in a given project and location.

Parameters
Name Description
request IListParametersRequest

The request object that will be sent.

options CallOptions

Call options. See CallOptions for more details.

Returns
Type Description
Promise<[ protos.google.cloud.parametermanager.v1.IParameter[], protos.google.cloud.parametermanager.v1.IListParametersRequest | null, protos.google.cloud.parametermanager.v1.IListParametersResponse ]>

{Promise} - The promise which resolves to an array. The first element of the array is Array of Parameter. The client library will perform auto-pagination by default: it will call the API as many times as needed and will merge results from all the pages into this array. Note that it can affect your quota. We recommend using listParametersAsync() method described below for async iteration which you can stop as needed. Please see the documentation for more details and examples.

listParameters(request, options, callback)

listParameters(request: protos.google.cloud.parametermanager.v1.IListParametersRequest, options: CallOptions, callback: PaginationCallback<protos.google.cloud.parametermanager.v1.IListParametersRequest, protos.google.cloud.parametermanager.v1.IListParametersResponse | null | undefined, protos.google.cloud.parametermanager.v1.IParameter>): void;
Parameters
Name Description
request IListParametersRequest
options CallOptions
callback PaginationCallback<protos.google.cloud.parametermanager.v1.IListParametersRequest, protos.google.cloud.parametermanager.v1.IListParametersResponse | null | undefined, protos.google.cloud.parametermanager.v1.IParameter>
Returns
Type Description
void

listParameters(request, callback)

listParameters(request: protos.google.cloud.parametermanager.v1.IListParametersRequest, callback: PaginationCallback<protos.google.cloud.parametermanager.v1.IListParametersRequest, protos.google.cloud.parametermanager.v1.IListParametersResponse | null | undefined, protos.google.cloud.parametermanager.v1.IParameter>): void;
Parameters
Name Description
request IListParametersRequest
callback PaginationCallback<protos.google.cloud.parametermanager.v1.IListParametersRequest, protos.google.cloud.parametermanager.v1.IListParametersResponse | null | undefined, protos.google.cloud.parametermanager.v1.IParameter>
Returns
Type Description
void

listParametersAsync(request, options)

listParametersAsync(request?: protos.google.cloud.parametermanager.v1.IListParametersRequest, options?: CallOptions): AsyncIterable<protos.google.cloud.parametermanager.v1.IParameter>;

Equivalent to listParameters, but returns an iterable object.

for-await-of syntax is used with the iterable to get response elements on-demand.

Parameters
Name Description
request IListParametersRequest

The request object that will be sent.

options CallOptions

Call options. See CallOptions for more details.

Returns
Type Description
AsyncIterable<protos.google.cloud.parametermanager.v1.IParameter>

{Object} An iterable Object that allows async iteration. When you iterate the returned iterable, each element will be an object representing Parameter. The API will be called under the hood as needed, once per the page, so you can stop the iteration when you don't need more results. Please see the documentation for more details and examples.

Example

  /**
   * This snippet has been automatically generated and should be regarded as a code template only.
   * It will require modifications to work.
   * It may require correct/in-range values for request initialization.
   * TODO(developer): Uncomment these variables before running the sample.
   */
  /**
   *  Required. Parent value for ListParametersRequest in the format
   *  `projects/* /locations/*`.
   */
  // const parent = 'abc123'
  /**
   *  Optional. Requested page size. Server may return fewer items than
   *  requested. If unspecified, server will pick an appropriate default.
   */
  // const pageSize = 1234
  /**
   *  Optional. A token identifying a page of results the server should return.
   */
  // const pageToken = 'abc123'
  /**
   *  Optional. Filtering results
   */
  // const filter = 'abc123'
  /**
   *  Optional. Hint for how to order the results
   */
  // const orderBy = 'abc123'

  // Imports the Parametermanager library
  const {ParameterManagerClient} = require('@google-cloud/parametermanager').v1;

  // Instantiates a client
  const parametermanagerClient = new ParameterManagerClient();

  async function callListParameters() {
    // Construct request
    const request = {
      parent,
    };

    // Run request
    const iterable = parametermanagerClient.listParametersAsync(request);
    for await (const response of iterable) {
        console.log(response);
    }
  }

  callListParameters();

listParametersStream(request, options)

listParametersStream(request?: protos.google.cloud.parametermanager.v1.IListParametersRequest, options?: CallOptions): Transform;

Equivalent to listParameters, but returns a NodeJS Stream object.

Parameters
Name Description
request IListParametersRequest

The request object that will be sent.

options CallOptions

Call options. See CallOptions for more details.

Returns
Type Description
Transform

{Stream} An object stream which emits an object representing Parameter on 'data' event. The client library will perform auto-pagination by default: it will call the API as many times as needed. Note that it can affect your quota. We recommend using listParametersAsync() method described below for async iteration which you can stop as needed. Please see the documentation for more details and examples.

listParameterVersions(request, options)

listParameterVersions(request?: protos.google.cloud.parametermanager.v1.IListParameterVersionsRequest, options?: CallOptions): Promise<[
        protos.google.cloud.parametermanager.v1.IParameterVersion[],
        protos.google.cloud.parametermanager.v1.IListParameterVersionsRequest | null,
        protos.google.cloud.parametermanager.v1.IListParameterVersionsResponse
    ]>;

Lists ParameterVersions in a given project, location, and parameter.

Parameters
Name Description
request IListParameterVersionsRequest

The request object that will be sent.

options CallOptions

Call options. See CallOptions for more details.

Returns
Type Description
Promise<[ protos.google.cloud.parametermanager.v1.IParameterVersion[], protos.google.cloud.parametermanager.v1.IListParameterVersionsRequest | null, protos.google.cloud.parametermanager.v1.IListParameterVersionsResponse ]>

{Promise} - The promise which resolves to an array. The first element of the array is Array of ParameterVersion. The client library will perform auto-pagination by default: it will call the API as many times as needed and will merge results from all the pages into this array. Note that it can affect your quota. We recommend using listParameterVersionsAsync() method described below for async iteration which you can stop as needed. Please see the documentation for more details and examples.

listParameterVersions(request, options, callback)

listParameterVersions(request: protos.google.cloud.parametermanager.v1.IListParameterVersionsRequest, options: CallOptions, callback: PaginationCallback<protos.google.cloud.parametermanager.v1.IListParameterVersionsRequest, protos.google.cloud.parametermanager.v1.IListParameterVersionsResponse | null | undefined, protos.google.cloud.parametermanager.v1.IParameterVersion>): void;
Parameters
Name Description
request IListParameterVersionsRequest
options CallOptions
callback PaginationCallback<protos.google.cloud.parametermanager.v1.IListParameterVersionsRequest, protos.google.cloud.parametermanager.v1.IListParameterVersionsResponse | null | undefined, protos.google.cloud.parametermanager.v1.IParameterVersion>
Returns
Type Description
void

listParameterVersions(request, callback)

listParameterVersions(request: protos.google.cloud.parametermanager.v1.IListParameterVersionsRequest, callback: PaginationCallback<protos.google.cloud.parametermanager.v1.IListParameterVersionsRequest, protos.google.cloud.parametermanager.v1.IListParameterVersionsResponse | null | undefined, protos.google.cloud.parametermanager.v1.IParameterVersion>): void;
Parameters
Name Description
request IListParameterVersionsRequest
callback PaginationCallback<protos.google.cloud.parametermanager.v1.IListParameterVersionsRequest, protos.google.cloud.parametermanager.v1.IListParameterVersionsResponse | null | undefined, protos.google.cloud.parametermanager.v1.IParameterVersion>
Returns
Type Description
void

listParameterVersionsAsync(request, options)

listParameterVersionsAsync(request?: protos.google.cloud.parametermanager.v1.IListParameterVersionsRequest, options?: CallOptions): AsyncIterable<protos.google.cloud.parametermanager.v1.IParameterVersion>;

Equivalent to listParameterVersions, but returns an iterable object.

for-await-of syntax is used with the iterable to get response elements on-demand.

Parameters
Name Description
request IListParameterVersionsRequest

The request object that will be sent.

options CallOptions

Call options. See CallOptions for more details.

Returns
Type Description
AsyncIterable<protos.google.cloud.parametermanager.v1.IParameterVersion>

{Object} An iterable Object that allows async iteration. When you iterate the returned iterable, each element will be an object representing ParameterVersion. The API will be called under the hood as needed, once per the page, so you can stop the iteration when you don't need more results. Please see the documentation for more details and examples.

Example

  /**
   * This snippet has been automatically generated and should be regarded as a code template only.
   * It will require modifications to work.
   * It may require correct/in-range values for request initialization.
   * TODO(developer): Uncomment these variables before running the sample.
   */
  /**
   *  Required. Parent value for ListParameterVersionsRequest in the format
   *  `projects/* /locations/* /parameters/*`.
   */
  // const parent = 'abc123'
  /**
   *  Optional. Requested page size. Server may return fewer items than
   *  requested. If unspecified, server will pick an appropriate default.
   */
  // const pageSize = 1234
  /**
   *  Optional. A token identifying a page of results the server should return.
   */
  // const pageToken = 'abc123'
  /**
   *  Optional. Filtering results
   */
  // const filter = 'abc123'
  /**
   *  Optional. Hint for how to order the results
   */
  // const orderBy = 'abc123'

  // Imports the Parametermanager library
  const {ParameterManagerClient} = require('@google-cloud/parametermanager').v1;

  // Instantiates a client
  const parametermanagerClient = new ParameterManagerClient();

  async function callListParameterVersions() {
    // Construct request
    const request = {
      parent,
    };

    // Run request
    const iterable = parametermanagerClient.listParameterVersionsAsync(request);
    for await (const response of iterable) {
        console.log(response);
    }
  }

  callListParameterVersions();

listParameterVersionsStream(request, options)

listParameterVersionsStream(request?: protos.google.cloud.parametermanager.v1.IListParameterVersionsRequest, options?: CallOptions): Transform;

Equivalent to listParameterVersions, but returns a NodeJS Stream object.

Parameters
Name Description
request IListParameterVersionsRequest

The request object that will be sent.

options CallOptions

Call options. See CallOptions for more details.

Returns
Type Description
Transform

{Stream} An object stream which emits an object representing ParameterVersion on 'data' event. The client library will perform auto-pagination by default: it will call the API as many times as needed. Note that it can affect your quota. We recommend using listParameterVersionsAsync() method described below for async iteration which you can stop as needed. Please see the documentation for more details and examples.

locationPath(project, location)

locationPath(project: string, location: string): string;

Return a fully-qualified location resource name string.

Parameters
Name Description
project string
location string
Returns
Type Description
string

{string} Resource name string.

matchLocationFromLocationName(locationName)

matchLocationFromLocationName(locationName: string): string | number;

Parse the location from Location resource.

Parameter
Name Description
locationName string

A fully-qualified path representing Location resource.

Returns
Type Description
string | number

{string} A string representing the location.

matchLocationFromParameterName(parameterName)

matchLocationFromParameterName(parameterName: string): string | number;

Parse the location from Parameter resource.

Parameter
Name Description
parameterName string

A fully-qualified path representing Parameter resource.

Returns
Type Description
string | number

{string} A string representing the location.

matchLocationFromParameterVersionName(parameterVersionName)

matchLocationFromParameterVersionName(parameterVersionName: string): string | number;

Parse the location from ParameterVersion resource.

Parameter
Name Description
parameterVersionName string

A fully-qualified path representing ParameterVersion resource.

Returns
Type Description
string | number

{string} A string representing the location.

matchParameterFromParameterName(parameterName)

matchParameterFromParameterName(parameterName: string): string | number;

Parse the parameter from Parameter resource.

Parameter
Name Description
parameterName string

A fully-qualified path representing Parameter resource.

Returns
Type Description
string | number

{string} A string representing the parameter.

matchParameterFromParameterVersionName(parameterVersionName)

matchParameterFromParameterVersionName(parameterVersionName: string): string | number;

Parse the parameter from ParameterVersion resource.

Parameter
Name Description
parameterVersionName string

A fully-qualified path representing ParameterVersion resource.

Returns
Type Description
string | number

{string} A string representing the parameter.

matchParameterVersionFromParameterVersionName(parameterVersionName)

matchParameterVersionFromParameterVersionName(parameterVersionName: string): string | number;

Parse the parameter_version from ParameterVersion resource.

Parameter
Name Description
parameterVersionName string

A fully-qualified path representing ParameterVersion resource.

Returns
Type Description
string | number

{string} A string representing the parameter_version.

matchProjectFromLocationName(locationName)

matchProjectFromLocationName(locationName: string): string | number;

Parse the project from Location resource.

Parameter
Name Description
locationName string

A fully-qualified path representing Location resource.

Returns
Type Description
string | number

{string} A string representing the project.

matchProjectFromParameterName(parameterName)

matchProjectFromParameterName(parameterName: string): string | number;

Parse the project from Parameter resource.

Parameter
Name Description
parameterName string

A fully-qualified path representing Parameter resource.

Returns
Type Description
string | number

{string} A string representing the project.

matchProjectFromParameterVersionName(parameterVersionName)

matchProjectFromParameterVersionName(parameterVersionName: string): string | number;

Parse the project from ParameterVersion resource.

Parameter
Name Description
parameterVersionName string

A fully-qualified path representing ParameterVersion resource.

Returns
Type Description
string | number

{string} A string representing the project.

matchProjectFromProjectName(projectName)

matchProjectFromProjectName(projectName: string): string | number;

Parse the project from Project resource.

Parameter
Name Description
projectName string

A fully-qualified path representing Project resource.

Returns
Type Description
string | number

{string} A string representing the project.

parameterPath(project, location, parameter)

parameterPath(project: string, location: string, parameter: string): string;

Return a fully-qualified parameter resource name string.

Parameters
Name Description
project string
location string
parameter string
Returns
Type Description
string

{string} Resource name string.

parameterVersionPath(project, location, parameter, parameterVersion)

parameterVersionPath(project: string, location: string, parameter: string, parameterVersion: string): string;

Return a fully-qualified parameterVersion resource name string.

Parameters
Name Description
project string
location string
parameter string
parameterVersion string
Returns
Type Description
string

{string} Resource name string.

projectPath(project)

projectPath(project: string): string;

Return a fully-qualified project resource name string.

Parameter
Name Description
project string
Returns
Type Description
string

{string} Resource name string.

renderParameterVersion(request, options)

renderParameterVersion(request?: protos.google.cloud.parametermanager.v1.IRenderParameterVersionRequest, options?: CallOptions): Promise<[
        protos.google.cloud.parametermanager.v1.IRenderParameterVersionResponse,
        (protos.google.cloud.parametermanager.v1.IRenderParameterVersionRequest | undefined),
        {} | undefined
    ]>;

Gets rendered version of a ParameterVersion.

Parameters
Name Description
request IRenderParameterVersionRequest

The request object that will be sent.

options CallOptions

Call options. See CallOptions for more details.

Returns
Type Description
Promise<[ protos.google.cloud.parametermanager.v1.IRenderParameterVersionResponse, (protos.google.cloud.parametermanager.v1.IRenderParameterVersionRequest | undefined), {} | undefined ]>

{Promise} - The promise which resolves to an array. The first element of the array is an object representing RenderParameterVersionResponse. Please see the documentation for more details and examples.

Example

  /**
   * This snippet has been automatically generated and should be regarded as a code template only.
   * It will require modifications to work.
   * It may require correct/in-range values for request initialization.
   * TODO(developer): Uncomment these variables before running the sample.
   */
  /**
   *  Required. Name of the resource
   */
  // const name = 'abc123'

  // Imports the Parametermanager library
  const {ParameterManagerClient} = require('@google-cloud/parametermanager').v1;

  // Instantiates a client
  const parametermanagerClient = new ParameterManagerClient();

  async function callRenderParameterVersion() {
    // Construct request
    const request = {
      name,
    };

    // Run request
    const response = await parametermanagerClient.renderParameterVersion(request);
    console.log(response);
  }

  callRenderParameterVersion();

renderParameterVersion(request, options, callback)

renderParameterVersion(request: protos.google.cloud.parametermanager.v1.IRenderParameterVersionRequest, options: CallOptions, callback: Callback<protos.google.cloud.parametermanager.v1.IRenderParameterVersionResponse, protos.google.cloud.parametermanager.v1.IRenderParameterVersionRequest | null | undefined, {} | null | undefined>): void;
Parameters
Name Description
request IRenderParameterVersionRequest
options CallOptions
callback Callback<protos.google.cloud.parametermanager.v1.IRenderParameterVersionResponse, protos.google.cloud.parametermanager.v1.IRenderParameterVersionRequest | null | undefined, {} | null | undefined>
Returns
Type Description
void

renderParameterVersion(request, callback)

renderParameterVersion(request: protos.google.cloud.parametermanager.v1.IRenderParameterVersionRequest, callback: Callback<protos.google.cloud.parametermanager.v1.IRenderParameterVersionResponse, protos.google.cloud.parametermanager.v1.IRenderParameterVersionRequest | null | undefined, {} | null | undefined>): void;
Parameters
Name Description
request IRenderParameterVersionRequest
callback Callback<protos.google.cloud.parametermanager.v1.IRenderParameterVersionResponse, protos.google.cloud.parametermanager.v1.IRenderParameterVersionRequest | null | undefined, {} | null | undefined>
Returns
Type Description
void

updateParameter(request, options)

updateParameter(request?: protos.google.cloud.parametermanager.v1.IUpdateParameterRequest, options?: CallOptions): Promise<[
        protos.google.cloud.parametermanager.v1.IParameter,
        (protos.google.cloud.parametermanager.v1.IUpdateParameterRequest | undefined),
        {} | undefined
    ]>;

Updates a single Parameter.

Parameters
Name Description
request IUpdateParameterRequest

The request object that will be sent.

options CallOptions

Call options. See CallOptions for more details.

Returns
Type Description
Promise<[ protos.google.cloud.parametermanager.v1.IParameter, (protos.google.cloud.parametermanager.v1.IUpdateParameterRequest | undefined), {} | undefined ]>

{Promise} - The promise which resolves to an array. The first element of the array is an object representing Parameter. Please see the documentation for more details and examples.

Example

  /**
   * This snippet has been automatically generated and should be regarded as a code template only.
   * It will require modifications to work.
   * It may require correct/in-range values for request initialization.
   * TODO(developer): Uncomment these variables before running the sample.
   */
  /**
   *  Optional. Field mask is used to specify the fields to be overwritten in the
   *  Parameter resource by the update.
   *  The fields specified in the update_mask are relative to the resource, not
   *  the full request. A mutable field will be overwritten if it is in the
   *  mask. If the user does not provide a mask then all mutable fields present
   *  in the request will be overwritten.
   */
  // const updateMask = {}
  /**
   *  Required. The Parameter resource being updated
   */
  // const parameter = {}
  /**
   *  Optional. An optional request ID to identify requests. Specify a unique
   *  request ID so that if you must retry your request, the server will know to
   *  ignore the request if it has already been completed. The server will
   *  guarantee that for at least 60 minutes since the first request.
   *  For example, consider a situation where you make an initial request and the
   *  request times out. If you make the request again with the same request
   *  ID, the server can check if original operation with the same request ID
   *  was received, and if so, will ignore the second request. This prevents
   *  clients from accidentally creating duplicate commitments.
   *  The request ID must be a valid UUID with the exception that zero UUID is
   *  not supported (00000000-0000-0000-0000-000000000000).
   */
  // const requestId = 'abc123'

  // Imports the Parametermanager library
  const {ParameterManagerClient} = require('@google-cloud/parametermanager').v1;

  // Instantiates a client
  const parametermanagerClient = new ParameterManagerClient();

  async function callUpdateParameter() {
    // Construct request
    const request = {
      parameter,
    };

    // Run request
    const response = await parametermanagerClient.updateParameter(request);
    console.log(response);
  }

  callUpdateParameter();

updateParameter(request, options, callback)

updateParameter(request: protos.google.cloud.parametermanager.v1.IUpdateParameterRequest, options: CallOptions, callback: Callback<protos.google.cloud.parametermanager.v1.IParameter, protos.google.cloud.parametermanager.v1.IUpdateParameterRequest | null | undefined, {} | null | undefined>): void;
Parameters
Name Description
request IUpdateParameterRequest
options CallOptions
callback Callback<protos.google.cloud.parametermanager.v1.IParameter, protos.google.cloud.parametermanager.v1.IUpdateParameterRequest | null | undefined, {} | null | undefined>
Returns
Type Description
void

updateParameter(request, callback)

updateParameter(request: protos.google.cloud.parametermanager.v1.IUpdateParameterRequest, callback: Callback<protos.google.cloud.parametermanager.v1.IParameter, protos.google.cloud.parametermanager.v1.IUpdateParameterRequest | null | undefined, {} | null | undefined>): void;
Parameters
Name Description
request IUpdateParameterRequest
callback Callback<protos.google.cloud.parametermanager.v1.IParameter, protos.google.cloud.parametermanager.v1.IUpdateParameterRequest | null | undefined, {} | null | undefined>
Returns
Type Description
void

updateParameterVersion(request, options)

updateParameterVersion(request?: protos.google.cloud.parametermanager.v1.IUpdateParameterVersionRequest, options?: CallOptions): Promise<[
        protos.google.cloud.parametermanager.v1.IParameterVersion,
        (protos.google.cloud.parametermanager.v1.IUpdateParameterVersionRequest | undefined),
        {} | undefined
    ]>;

Updates a single ParameterVersion.

Parameters
Name Description
request IUpdateParameterVersionRequest

The request object that will be sent.

options CallOptions

Call options. See CallOptions for more details.

Returns
Type Description
Promise<[ protos.google.cloud.parametermanager.v1.IParameterVersion, (protos.google.cloud.parametermanager.v1.IUpdateParameterVersionRequest | undefined), {} | undefined ]>

{Promise} - The promise which resolves to an array. The first element of the array is an object representing ParameterVersion. Please see the documentation for more details and examples.

Example

  /**
   * This snippet has been automatically generated and should be regarded as a code template only.
   * It will require modifications to work.
   * It may require correct/in-range values for request initialization.
   * TODO(developer): Uncomment these variables before running the sample.
   */
  /**
   *  Optional. Field mask is used to specify the fields to be overwritten in the
   *  ParameterVersion resource by the update.
   *  The fields specified in the update_mask are relative to the resource, not
   *  the full request. A mutable field will be overwritten if it is in the
   *  mask. If the user does not provide a mask then all mutable fields present
   *  in the request will be overwritten.
   */
  // const updateMask = {}
  /**
   *  Required. The ParameterVersion resource being updated
   */
  // const parameterVersion = {}
  /**
   *  Optional. An optional request ID to identify requests. Specify a unique
   *  request ID so that if you must retry your request, the server will know to
   *  ignore the request if it has already been completed. The server will
   *  guarantee that for at least 60 minutes since the first request.
   *  For example, consider a situation where you make an initial request and the
   *  request times out. If you make the request again with the same request
   *  ID, the server can check if original operation with the same request ID
   *  was received, and if so, will ignore the second request. This prevents
   *  clients from accidentally creating duplicate commitments.
   *  The request ID must be a valid UUID with the exception that zero UUID is
   *  not supported (00000000-0000-0000-0000-000000000000).
   */
  // const requestId = 'abc123'

  // Imports the Parametermanager library
  const {ParameterManagerClient} = require('@google-cloud/parametermanager').v1;

  // Instantiates a client
  const parametermanagerClient = new ParameterManagerClient();

  async function callUpdateParameterVersion() {
    // Construct request
    const request = {
      parameterVersion,
    };

    // Run request
    const response = await parametermanagerClient.updateParameterVersion(request);
    console.log(response);
  }

  callUpdateParameterVersion();

updateParameterVersion(request, options, callback)

updateParameterVersion(request: protos.google.cloud.parametermanager.v1.IUpdateParameterVersionRequest, options: CallOptions, callback: Callback<protos.google.cloud.parametermanager.v1.IParameterVersion, protos.google.cloud.parametermanager.v1.IUpdateParameterVersionRequest | null | undefined, {} | null | undefined>): void;
Parameters
Name Description
request IUpdateParameterVersionRequest
options CallOptions
callback Callback<protos.google.cloud.parametermanager.v1.IParameterVersion, protos.google.cloud.parametermanager.v1.IUpdateParameterVersionRequest | null | undefined, {} | null | undefined>
Returns
Type Description
void

updateParameterVersion(request, callback)

updateParameterVersion(request: protos.google.cloud.parametermanager.v1.IUpdateParameterVersionRequest, callback: Callback<protos.google.cloud.parametermanager.v1.IParameterVersion, protos.google.cloud.parametermanager.v1.IUpdateParameterVersionRequest | null | undefined, {} | null | undefined>): void;
Parameters
Name Description
request IUpdateParameterVersionRequest
callback Callback<protos.google.cloud.parametermanager.v1.IParameterVersion, protos.google.cloud.parametermanager.v1.IUpdateParameterVersionRequest | null | undefined, {} | null | undefined>
Returns
Type Description
void