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
- request_pb (::Google::Cloud::LicenseManager::V1::AggregateUsageRequest) — A request object representing the call parameters. Required.
- options (::Gapic::CallOptions) — Overrides the default settings for this call, e.g, timeout, retries etc. Optional.
- (result, operation) — Access the result along with the TransportOperation object
- result (::Google::Cloud::LicenseManager::V1::AggregateUsageResponse)
- operation (::Gapic::Rest::TransportOperation)
- (::Google::Cloud::LicenseManager::V1::AggregateUsageResponse) — A result object deserialized from the server's reply
- (::ArgumentError)
#create_configuration
def create_configuration(request_pb, options = nil) { |result, operation| ... } -> ::Google::Longrunning::Operation
Baseline implementation for the create_configuration REST call
- request_pb (::Google::Cloud::LicenseManager::V1::CreateConfigurationRequest) — A request object representing the call parameters. Required.
- options (::Gapic::CallOptions) — Overrides the default settings for this call, e.g, timeout, retries etc. Optional.
- (result, operation) — Access the result along with the TransportOperation object
- result (::Google::Longrunning::Operation)
- operation (::Gapic::Rest::TransportOperation)
- (::Google::Longrunning::Operation) — A result object deserialized from the server's reply
- (::ArgumentError)
#deactivate_configuration
def deactivate_configuration(request_pb, options = nil) { |result, operation| ... } -> ::Google::Longrunning::Operation
Baseline implementation for the deactivate_configuration REST call
- request_pb (::Google::Cloud::LicenseManager::V1::DeactivateConfigurationRequest) — A request object representing the call parameters. Required.
- options (::Gapic::CallOptions) — Overrides the default settings for this call, e.g, timeout, retries etc. Optional.
- (result, operation) — Access the result along with the TransportOperation object
- result (::Google::Longrunning::Operation)
- operation (::Gapic::Rest::TransportOperation)
- (::Google::Longrunning::Operation) — A result object deserialized from the server's reply
- (::ArgumentError)
#delete_configuration
def delete_configuration(request_pb, options = nil) { |result, operation| ... } -> ::Google::Longrunning::Operation
Baseline implementation for the delete_configuration REST call
- request_pb (::Google::Cloud::LicenseManager::V1::DeleteConfigurationRequest) — A request object representing the call parameters. Required.
- options (::Gapic::CallOptions) — Overrides the default settings for this call, e.g, timeout, retries etc. Optional.
- (result, operation) — Access the result along with the TransportOperation object
- result (::Google::Longrunning::Operation)
- operation (::Gapic::Rest::TransportOperation)
- (::Google::Longrunning::Operation) — A result object deserialized from the server's reply
- (::ArgumentError)
#endpoint
def endpoint() -> String
The effective endpoint
- (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
- request_pb (::Google::Cloud::LicenseManager::V1::GetConfigurationRequest) — A request object representing the call parameters. Required.
- options (::Gapic::CallOptions) — Overrides the default settings for this call, e.g, timeout, retries etc. Optional.
- (result, operation) — Access the result along with the TransportOperation object
- result (::Google::Cloud::LicenseManager::V1::Configuration)
- operation (::Gapic::Rest::TransportOperation)
- (::Google::Cloud::LicenseManager::V1::Configuration) — A result object deserialized from the server's reply
- (::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
- request_pb (::Google::Cloud::LicenseManager::V1::GetInstanceRequest) — A request object representing the call parameters. Required.
- options (::Gapic::CallOptions) — Overrides the default settings for this call, e.g, timeout, retries etc. Optional.
- (result, operation) — Access the result along with the TransportOperation object
- result (::Google::Cloud::LicenseManager::V1::Instance)
- operation (::Gapic::Rest::TransportOperation)
- (::Google::Cloud::LicenseManager::V1::Instance) — A result object deserialized from the server's reply
- (::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
- request_pb (::Google::Cloud::LicenseManager::V1::GetProductRequest) — A request object representing the call parameters. Required.
- options (::Gapic::CallOptions) — Overrides the default settings for this call, e.g, timeout, retries etc. Optional.
- (result, operation) — Access the result along with the TransportOperation object
- result (::Google::Cloud::LicenseManager::V1::Product)
- operation (::Gapic::Rest::TransportOperation)
- (::Google::Cloud::LicenseManager::V1::Product) — A result object deserialized from the server's reply
- (::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
- request_pb (::Google::Cloud::LicenseManager::V1::ListConfigurationsRequest) — A request object representing the call parameters. Required.
- options (::Gapic::CallOptions) — Overrides the default settings for this call, e.g, timeout, retries etc. Optional.
- (result, operation) — Access the result along with the TransportOperation object
- result (::Google::Cloud::LicenseManager::V1::ListConfigurationsResponse)
- operation (::Gapic::Rest::TransportOperation)
- (::Google::Cloud::LicenseManager::V1::ListConfigurationsResponse) — A result object deserialized from the server's reply
- (::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
- request_pb (::Google::Cloud::LicenseManager::V1::ListInstancesRequest) — A request object representing the call parameters. Required.
- options (::Gapic::CallOptions) — Overrides the default settings for this call, e.g, timeout, retries etc. Optional.
- (result, operation) — Access the result along with the TransportOperation object
- result (::Google::Cloud::LicenseManager::V1::ListInstancesResponse)
- operation (::Gapic::Rest::TransportOperation)
- (::Google::Cloud::LicenseManager::V1::ListInstancesResponse) — A result object deserialized from the server's reply
- (::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
- request_pb (::Google::Cloud::LicenseManager::V1::ListProductsRequest) — A request object representing the call parameters. Required.
- options (::Gapic::CallOptions) — Overrides the default settings for this call, e.g, timeout, retries etc. Optional.
- (result, operation) — Access the result along with the TransportOperation object
- result (::Google::Cloud::LicenseManager::V1::ListProductsResponse)
- operation (::Gapic::Rest::TransportOperation)
- (::Google::Cloud::LicenseManager::V1::ListProductsResponse) — A result object deserialized from the server's reply
- (::ArgumentError)
#logger
def logger(stub: false) -> Logger
The logger used for request/response debug logging.
- (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
- request_pb (::Google::Cloud::LicenseManager::V1::QueryConfigurationLicenseUsageRequest) — A request object representing the call parameters. Required.
- options (::Gapic::CallOptions) — Overrides the default settings for this call, e.g, timeout, retries etc. Optional.
- (result, operation) — Access the result along with the TransportOperation object
- result (::Google::Cloud::LicenseManager::V1::QueryConfigurationLicenseUsageResponse)
- operation (::Gapic::Rest::TransportOperation)
- (::Google::Cloud::LicenseManager::V1::QueryConfigurationLicenseUsageResponse) — A result object deserialized from the server's reply
- (::ArgumentError)
#reactivate_configuration
def reactivate_configuration(request_pb, options = nil) { |result, operation| ... } -> ::Google::Longrunning::Operation
Baseline implementation for the reactivate_configuration REST call
- request_pb (::Google::Cloud::LicenseManager::V1::ReactivateConfigurationRequest) — A request object representing the call parameters. Required.
- options (::Gapic::CallOptions) — Overrides the default settings for this call, e.g, timeout, retries etc. Optional.
- (result, operation) — Access the result along with the TransportOperation object
- result (::Google::Longrunning::Operation)
- operation (::Gapic::Rest::TransportOperation)
- (::Google::Longrunning::Operation) — A result object deserialized from the server's reply
- (::ArgumentError)
#universe_domain
def universe_domain() -> String
The effective universe domain
- (String)
#update_configuration
def update_configuration(request_pb, options = nil) { |result, operation| ... } -> ::Google::Longrunning::Operation
Baseline implementation for the update_configuration REST call
- request_pb (::Google::Cloud::LicenseManager::V1::UpdateConfigurationRequest) — A request object representing the call parameters. Required.
- options (::Gapic::CallOptions) — Overrides the default settings for this call, e.g, timeout, retries etc. Optional.
- (result, operation) — Access the result along with the TransportOperation object
- result (::Google::Longrunning::Operation)
- operation (::Gapic::Rest::TransportOperation)
- (::Google::Longrunning::Operation) — A result object deserialized from the server's reply
- (::ArgumentError)