License Manager V1 API - Class Google::Cloud::LicenseManager::V1::LicenseManager::Rest::ServiceStub (v0.1.0)

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

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

Inherits

  • Object

Methods

#aggregate_usage

def aggregate_usage(request_pb, options = nil) { |result, operation| ... } -> ::Google::Cloud::LicenseManager::V1::AggregateUsageResponse

Baseline implementation for the aggregate_usage REST call

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

#create_configuration

def create_configuration(request_pb, options = nil) { |result, operation| ... } -> ::Google::Longrunning::Operation

Baseline implementation for the create_configuration REST call

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

#deactivate_configuration

def deactivate_configuration(request_pb, options = nil) { |result, operation| ... } -> ::Google::Longrunning::Operation

Baseline implementation for the deactivate_configuration REST call

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

#delete_configuration

def delete_configuration(request_pb, options = nil) { |result, operation| ... } -> ::Google::Longrunning::Operation

Baseline implementation for the delete_configuration 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_configuration

def get_configuration(request_pb, options = nil) { |result, operation| ... } -> ::Google::Cloud::LicenseManager::V1::Configuration

Baseline implementation for the get_configuration REST call

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

#get_instance

def get_instance(request_pb, options = nil) { |result, operation| ... } -> ::Google::Cloud::LicenseManager::V1::Instance

Baseline implementation for the get_instance REST call

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

#get_product

def get_product(request_pb, options = nil) { |result, operation| ... } -> ::Google::Cloud::LicenseManager::V1::Product

Baseline implementation for the get_product REST call

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

#list_configurations

def list_configurations(request_pb, options = nil) { |result, operation| ... } -> ::Google::Cloud::LicenseManager::V1::ListConfigurationsResponse

Baseline implementation for the list_configurations REST call

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

#list_instances

def list_instances(request_pb, options = nil) { |result, operation| ... } -> ::Google::Cloud::LicenseManager::V1::ListInstancesResponse

Baseline implementation for the list_instances REST call

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

#list_products

def list_products(request_pb, options = nil) { |result, operation| ... } -> ::Google::Cloud::LicenseManager::V1::ListProductsResponse

Baseline implementation for the list_products 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)

#query_configuration_license_usage

def query_configuration_license_usage(request_pb, options = nil) { |result, operation| ... } -> ::Google::Cloud::LicenseManager::V1::QueryConfigurationLicenseUsageResponse

Baseline implementation for the query_configuration_license_usage REST call

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

#reactivate_configuration

def reactivate_configuration(request_pb, options = nil) { |result, operation| ... } -> ::Google::Longrunning::Operation

Baseline implementation for the reactivate_configuration 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_configuration

def update_configuration(request_pb, options = nil) { |result, operation| ... } -> ::Google::Longrunning::Operation

Baseline implementation for the update_configuration REST call

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