Reference documentation and code samples for the Cloud Commerce Consumer Procurement V1 API class Google::Cloud::Commerce::Consumer::Procurement::V1::LicenseManagementService::Rest::ServiceStub.
REST service stub for the LicenseManagementService service. Service stub contains baseline method implementations including transcoding, making the REST call, and deserialing the response.
Inherits
- Object
Methods
#assign
def assign(request_pb, options = nil) { |result, operation| ... } -> ::Google::Cloud::Commerce::Consumer::Procurement::V1::AssignResponse
Baseline implementation for the assign REST call
- request_pb (::Google::Cloud::Commerce::Consumer::Procurement::V1::AssignRequest) — 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::Commerce::Consumer::Procurement::V1::AssignResponse)
- operation (::Gapic::Rest::TransportOperation)
- (::Google::Cloud::Commerce::Consumer::Procurement::V1::AssignResponse) — A result object deserialized from the server's reply
- (::ArgumentError)
#endpoint
def endpoint() -> String
The effective endpoint
- (String)
#enumerate_licensed_users
def enumerate_licensed_users(request_pb, options = nil) { |result, operation| ... } -> ::Google::Cloud::Commerce::Consumer::Procurement::V1::EnumerateLicensedUsersResponse
Baseline implementation for the enumerate_licensed_users REST call
- request_pb (::Google::Cloud::Commerce::Consumer::Procurement::V1::EnumerateLicensedUsersRequest) — 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::Commerce::Consumer::Procurement::V1::EnumerateLicensedUsersResponse)
- operation (::Gapic::Rest::TransportOperation)
- (::Google::Cloud::Commerce::Consumer::Procurement::V1::EnumerateLicensedUsersResponse) — A result object deserialized from the server's reply
- (::ArgumentError)
#get_license_pool
def get_license_pool(request_pb, options = nil) { |result, operation| ... } -> ::Google::Cloud::Commerce::Consumer::Procurement::V1::LicensePool
Baseline implementation for the get_license_pool REST call
- request_pb (::Google::Cloud::Commerce::Consumer::Procurement::V1::GetLicensePoolRequest) — 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::Commerce::Consumer::Procurement::V1::LicensePool)
- operation (::Gapic::Rest::TransportOperation)
- (::Google::Cloud::Commerce::Consumer::Procurement::V1::LicensePool) — A result object deserialized from the server's reply
- (::ArgumentError)
#initialize
def initialize(endpoint:, endpoint_template:, universe_domain:, credentials:) -> ServiceStub
- (ServiceStub) — a new instance of ServiceStub
#unassign
def unassign(request_pb, options = nil) { |result, operation| ... } -> ::Google::Cloud::Commerce::Consumer::Procurement::V1::UnassignResponse
Baseline implementation for the unassign REST call
- request_pb (::Google::Cloud::Commerce::Consumer::Procurement::V1::UnassignRequest) — 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::Commerce::Consumer::Procurement::V1::UnassignResponse)
- operation (::Gapic::Rest::TransportOperation)
- (::Google::Cloud::Commerce::Consumer::Procurement::V1::UnassignResponse) — A result object deserialized from the server's reply
- (::ArgumentError)
#universe_domain
def universe_domain() -> String
The effective universe domain
- (String)
#update_license_pool
def update_license_pool(request_pb, options = nil) { |result, operation| ... } -> ::Google::Cloud::Commerce::Consumer::Procurement::V1::LicensePool
Baseline implementation for the update_license_pool REST call
- request_pb (::Google::Cloud::Commerce::Consumer::Procurement::V1::UpdateLicensePoolRequest) — 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::Commerce::Consumer::Procurement::V1::LicensePool)
- operation (::Gapic::Rest::TransportOperation)
- (::Google::Cloud::Commerce::Consumer::Procurement::V1::LicensePool) — A result object deserialized from the server's reply
- (::ArgumentError)