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
- (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
- request_pb (::Google::Cloud::CloudControlsPartner::V1::GetCustomerRequest) — 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::CloudControlsPartner::V1::Customer)
- operation (::Gapic::Rest::TransportOperation)
- (::Google::Cloud::CloudControlsPartner::V1::Customer) — A result object deserialized from the server's reply
- (::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
- request_pb (::Google::Cloud::CloudControlsPartner::V1::GetEkmConnectionsRequest) — 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::CloudControlsPartner::V1::EkmConnections)
- operation (::Gapic::Rest::TransportOperation)
- (::Google::Cloud::CloudControlsPartner::V1::EkmConnections) — A result object deserialized from the server's reply
- (::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
- request_pb (::Google::Cloud::CloudControlsPartner::V1::GetPartnerRequest) — 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::CloudControlsPartner::V1::Partner)
- operation (::Gapic::Rest::TransportOperation)
- (::Google::Cloud::CloudControlsPartner::V1::Partner) — A result object deserialized from the server's reply
- (::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
- request_pb (::Google::Cloud::CloudControlsPartner::V1::GetPartnerPermissionsRequest) — 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::CloudControlsPartner::V1::PartnerPermissions)
- operation (::Gapic::Rest::TransportOperation)
- (::Google::Cloud::CloudControlsPartner::V1::PartnerPermissions) — A result object deserialized from the server's reply
- (::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
- request_pb (::Google::Cloud::CloudControlsPartner::V1::GetWorkloadRequest) — 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::CloudControlsPartner::V1::Workload)
- operation (::Gapic::Rest::TransportOperation)
- (::Google::Cloud::CloudControlsPartner::V1::Workload) — 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
#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
- request_pb (::Google::Cloud::CloudControlsPartner::V1::ListAccessApprovalRequestsRequest) — 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::CloudControlsPartner::V1::ListAccessApprovalRequestsResponse)
- operation (::Gapic::Rest::TransportOperation)
- (::Google::Cloud::CloudControlsPartner::V1::ListAccessApprovalRequestsResponse) — A result object deserialized from the server's reply
- (::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
- request_pb (::Google::Cloud::CloudControlsPartner::V1::ListCustomersRequest) — 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::CloudControlsPartner::V1::ListCustomersResponse)
- operation (::Gapic::Rest::TransportOperation)
- (::Google::Cloud::CloudControlsPartner::V1::ListCustomersResponse) — A result object deserialized from the server's reply
- (::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
- request_pb (::Google::Cloud::CloudControlsPartner::V1::ListWorkloadsRequest) — 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::CloudControlsPartner::V1::ListWorkloadsResponse)
- operation (::Gapic::Rest::TransportOperation)
- (::Google::Cloud::CloudControlsPartner::V1::ListWorkloadsResponse) — A result object deserialized from the server's reply
- (::ArgumentError)
#universe_domain
def universe_domain() -> String
The effective universe domain
- (String)