Cloud Controls Partner V1BETA API - Class Google::Cloud::CloudControlsPartner::V1beta::CloudControlsPartnerCore::Rest::ServiceStub (v0.3.0)

Reference documentation and code samples for the Cloud Controls Partner V1BETA API class Google::Cloud::CloudControlsPartner::V1beta::CloudControlsPartnerCore::Rest::ServiceStub.

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

Inherits

  • Object

Methods

#endpoint

def endpoint() -> String

The effective endpoint

Returns
  • (String)

#get_customer

def get_customer(request_pb, options = nil) { |result, operation| ... } -> ::Google::Cloud::CloudControlsPartner::V1beta::Customer

Baseline implementation for the get_customer REST call

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

#get_ekm_connections

def get_ekm_connections(request_pb, options = nil) { |result, operation| ... } -> ::Google::Cloud::CloudControlsPartner::V1beta::EkmConnections

Baseline implementation for the get_ekm_connections REST call

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

#get_partner

def get_partner(request_pb, options = nil) { |result, operation| ... } -> ::Google::Cloud::CloudControlsPartner::V1beta::Partner

Baseline implementation for the get_partner REST call

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

#get_partner_permissions

def get_partner_permissions(request_pb, options = nil) { |result, operation| ... } -> ::Google::Cloud::CloudControlsPartner::V1beta::PartnerPermissions

Baseline implementation for the get_partner_permissions REST call

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

#get_workload

def get_workload(request_pb, options = nil) { |result, operation| ... } -> ::Google::Cloud::CloudControlsPartner::V1beta::Workload

Baseline implementation for the get_workload REST call

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

#list_access_approval_requests

def list_access_approval_requests(request_pb, options = nil) { |result, operation| ... } -> ::Google::Cloud::CloudControlsPartner::V1beta::ListAccessApprovalRequestsResponse

Baseline implementation for the list_access_approval_requests REST call

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

#list_customers

def list_customers(request_pb, options = nil) { |result, operation| ... } -> ::Google::Cloud::CloudControlsPartner::V1beta::ListCustomersResponse

Baseline implementation for the list_customers REST call

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

#list_workloads

def list_workloads(request_pb, options = nil) { |result, operation| ... } -> ::Google::Cloud::CloudControlsPartner::V1beta::ListWorkloadsResponse

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

#universe_domain

def universe_domain() -> String

The effective universe domain

Returns
  • (String)