Cloud Controls Partner V1 API - Class Google::Cloud::CloudControlsPartner::V1::CloudControlsPartnerCore::Rest::ServiceStub (v1.0.0)

Reference documentation and code samples for the Cloud Controls Partner V1 API class Google::Cloud::CloudControlsPartner::V1::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::V1::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::V1::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::V1::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::V1::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::V1::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)

#initialize

def initialize(endpoint:, endpoint_template:, universe_domain:, credentials:) -> ServiceStub
Returns

#list_access_approval_requests

def list_access_approval_requests(request_pb, options = nil) { |result, operation| ... } -> ::Google::Cloud::CloudControlsPartner::V1::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::V1::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::V1::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)

#universe_domain

def universe_domain() -> String

The effective universe domain

Returns
  • (String)