Parameter Manager V1 API - Class Google::Cloud::ParameterManager::V1::ParameterManager::Rest::ServiceStub (v0.1.0)

Reference documentation and code samples for the Parameter Manager V1 API class Google::Cloud::ParameterManager::V1::ParameterManager::Rest::ServiceStub.

REST service stub for the ParameterManager service. Service stub contains baseline method implementations including transcoding, making the REST call, and deserialing the response.

Inherits

  • Object

Methods

#create_parameter

def create_parameter(request_pb, options = nil) { |result, operation| ... } -> ::Google::Cloud::ParameterManager::V1::Parameter

Baseline implementation for the create_parameter REST call

Parameters
Yields
  • (result, operation) — Access the result along with the TransportOperation object
Yield Parameters
Returns
Raises
  • (::ArgumentError)

#create_parameter_version

def create_parameter_version(request_pb, options = nil) { |result, operation| ... } -> ::Google::Cloud::ParameterManager::V1::ParameterVersion

Baseline implementation for the create_parameter_version REST call

Parameters
Yields
  • (result, operation) — Access the result along with the TransportOperation object
Yield Parameters
Returns
Raises
  • (::ArgumentError)

#delete_parameter

def delete_parameter(request_pb, options = nil) { |result, operation| ... } -> ::Google::Protobuf::Empty

Baseline implementation for the delete_parameter REST call

Parameters
Yields
  • (result, operation) — Access the result along with the TransportOperation object
Yield Parameters
Returns
Raises
  • (::ArgumentError)

#delete_parameter_version

def delete_parameter_version(request_pb, options = nil) { |result, operation| ... } -> ::Google::Protobuf::Empty

Baseline implementation for the delete_parameter_version REST call

Parameters
Yields
  • (result, operation) — Access the result along with the TransportOperation object
Yield Parameters
Returns
Raises
  • (::ArgumentError)

#endpoint

def endpoint() -> String

The effective endpoint

Returns
  • (String)

#get_parameter

def get_parameter(request_pb, options = nil) { |result, operation| ... } -> ::Google::Cloud::ParameterManager::V1::Parameter

Baseline implementation for the get_parameter REST call

Parameters
Yields
  • (result, operation) — Access the result along with the TransportOperation object
Yield Parameters
Returns
Raises
  • (::ArgumentError)

#get_parameter_version

def get_parameter_version(request_pb, options = nil) { |result, operation| ... } -> ::Google::Cloud::ParameterManager::V1::ParameterVersion

Baseline implementation for the get_parameter_version REST call

Parameters
Yields
  • (result, operation) — Access the result along with the TransportOperation object
Yield Parameters
Returns
Raises
  • (::ArgumentError)

#list_parameter_versions

def list_parameter_versions(request_pb, options = nil) { |result, operation| ... } -> ::Google::Cloud::ParameterManager::V1::ListParameterVersionsResponse

Baseline implementation for the list_parameter_versions REST call

Parameters
Yields
  • (result, operation) — Access the result along with the TransportOperation object
Yield Parameters
Returns
Raises
  • (::ArgumentError)

#list_parameters

def list_parameters(request_pb, options = nil) { |result, operation| ... } -> ::Google::Cloud::ParameterManager::V1::ListParametersResponse

Baseline implementation for the list_parameters REST call

Parameters
Yields
  • (result, operation) — Access the result along with the TransportOperation object
Yield Parameters
Returns
Raises
  • (::ArgumentError)

#logger

def logger(stub: false) -> Logger

The logger used for request/response debug logging.

Returns
  • (Logger)

#render_parameter_version

def render_parameter_version(request_pb, options = nil) { |result, operation| ... } -> ::Google::Cloud::ParameterManager::V1::RenderParameterVersionResponse

Baseline implementation for the render_parameter_version REST call

Parameters
Yields
  • (result, operation) — Access the result along with the TransportOperation object
Yield Parameters
Returns
Raises
  • (::ArgumentError)

#universe_domain

def universe_domain() -> String

The effective universe domain

Returns
  • (String)

#update_parameter

def update_parameter(request_pb, options = nil) { |result, operation| ... } -> ::Google::Cloud::ParameterManager::V1::Parameter

Baseline implementation for the update_parameter REST call

Parameters
Yields
  • (result, operation) — Access the result along with the TransportOperation object
Yield Parameters
Returns
Raises
  • (::ArgumentError)

#update_parameter_version

def update_parameter_version(request_pb, options = nil) { |result, operation| ... } -> ::Google::Cloud::ParameterManager::V1::ParameterVersion

Baseline implementation for the update_parameter_version REST call

Parameters
Yields
  • (result, operation) — Access the result along with the TransportOperation object
Yield Parameters
Returns
Raises
  • (::ArgumentError)