Reference documentation and code samples for the Anthos Multi-Cloud V1 API class Google::Cloud::GkeMultiCloud::V1::AttachedClusters::Rest::ServiceStub.
REST service stub for the AttachedClusters service. Service stub contains baseline method implementations including transcoding, making the REST call, and deserialing the response.
Inherits
- Object
Methods
#create_attached_cluster
def create_attached_cluster(request_pb, options = nil) { |result, operation| ... } -> ::Google::Longrunning::Operation
Baseline implementation for the create_attached_cluster REST call
- request_pb (::Google::Cloud::GkeMultiCloud::V1::CreateAttachedClusterRequest) — 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_attached_cluster
def delete_attached_cluster(request_pb, options = nil) { |result, operation| ... } -> ::Google::Longrunning::Operation
Baseline implementation for the delete_attached_cluster REST call
- request_pb (::Google::Cloud::GkeMultiCloud::V1::DeleteAttachedClusterRequest) — 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)
#generate_attached_cluster_agent_token
def generate_attached_cluster_agent_token(request_pb, options = nil) { |result, operation| ... } -> ::Google::Cloud::GkeMultiCloud::V1::GenerateAttachedClusterAgentTokenResponse
Baseline implementation for the generate_attached_cluster_agent_token REST call
- request_pb (::Google::Cloud::GkeMultiCloud::V1::GenerateAttachedClusterAgentTokenRequest) — 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::GkeMultiCloud::V1::GenerateAttachedClusterAgentTokenResponse)
- operation (::Gapic::Rest::TransportOperation)
- (::Google::Cloud::GkeMultiCloud::V1::GenerateAttachedClusterAgentTokenResponse) — A result object deserialized from the server's reply
- (::ArgumentError)
#generate_attached_cluster_install_manifest
def generate_attached_cluster_install_manifest(request_pb, options = nil) { |result, operation| ... } -> ::Google::Cloud::GkeMultiCloud::V1::GenerateAttachedClusterInstallManifestResponse
Baseline implementation for the generate_attached_cluster_install_manifest REST call
- request_pb (::Google::Cloud::GkeMultiCloud::V1::GenerateAttachedClusterInstallManifestRequest) — 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::GkeMultiCloud::V1::GenerateAttachedClusterInstallManifestResponse)
- operation (::Gapic::Rest::TransportOperation)
- (::Google::Cloud::GkeMultiCloud::V1::GenerateAttachedClusterInstallManifestResponse) — A result object deserialized from the server's reply
- (::ArgumentError)
#get_attached_cluster
def get_attached_cluster(request_pb, options = nil) { |result, operation| ... } -> ::Google::Cloud::GkeMultiCloud::V1::AttachedCluster
Baseline implementation for the get_attached_cluster REST call
- request_pb (::Google::Cloud::GkeMultiCloud::V1::GetAttachedClusterRequest) — 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::GkeMultiCloud::V1::AttachedCluster)
- operation (::Gapic::Rest::TransportOperation)
- (::Google::Cloud::GkeMultiCloud::V1::AttachedCluster) — A result object deserialized from the server's reply
- (::ArgumentError)
#get_attached_server_config
def get_attached_server_config(request_pb, options = nil) { |result, operation| ... } -> ::Google::Cloud::GkeMultiCloud::V1::AttachedServerConfig
Baseline implementation for the get_attached_server_config REST call
- request_pb (::Google::Cloud::GkeMultiCloud::V1::GetAttachedServerConfigRequest) — 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::GkeMultiCloud::V1::AttachedServerConfig)
- operation (::Gapic::Rest::TransportOperation)
- (::Google::Cloud::GkeMultiCloud::V1::AttachedServerConfig) — A result object deserialized from the server's reply
- (::ArgumentError)
#import_attached_cluster
def import_attached_cluster(request_pb, options = nil) { |result, operation| ... } -> ::Google::Longrunning::Operation
Baseline implementation for the import_attached_cluster REST call
- request_pb (::Google::Cloud::GkeMultiCloud::V1::ImportAttachedClusterRequest) — 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)
#initialize
def initialize(endpoint:, endpoint_template:, universe_domain:, credentials:) -> ServiceStub
- (ServiceStub) — a new instance of ServiceStub
#list_attached_clusters
def list_attached_clusters(request_pb, options = nil) { |result, operation| ... } -> ::Google::Cloud::GkeMultiCloud::V1::ListAttachedClustersResponse
Baseline implementation for the list_attached_clusters REST call
- request_pb (::Google::Cloud::GkeMultiCloud::V1::ListAttachedClustersRequest) — 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::GkeMultiCloud::V1::ListAttachedClustersResponse)
- operation (::Gapic::Rest::TransportOperation)
- (::Google::Cloud::GkeMultiCloud::V1::ListAttachedClustersResponse) — A result object deserialized from the server's reply
- (::ArgumentError)
#universe_domain
def universe_domain() -> String
The effective universe domain
- (String)
#update_attached_cluster
def update_attached_cluster(request_pb, options = nil) { |result, operation| ... } -> ::Google::Longrunning::Operation
Baseline implementation for the update_attached_cluster REST call
- request_pb (::Google::Cloud::GkeMultiCloud::V1::UpdateAttachedClusterRequest) — 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)