Anthos Multi-Cloud V1 API - Class Google::Cloud::GkeMultiCloud::V1::AwsClusters::Rest::ServiceStub (v0.11.0)

Reference documentation and code samples for the Anthos Multi-Cloud V1 API class Google::Cloud::GkeMultiCloud::V1::AwsClusters::Rest::ServiceStub.

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

Inherits

  • Object

Methods

#create_aws_cluster

def create_aws_cluster(request_pb, options = nil) { |result, operation| ... } -> ::Google::Longrunning::Operation

Baseline implementation for the create_aws_cluster REST call

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

#create_aws_node_pool

def create_aws_node_pool(request_pb, options = nil) { |result, operation| ... } -> ::Google::Longrunning::Operation

Baseline implementation for the create_aws_node_pool REST call

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

#delete_aws_cluster

def delete_aws_cluster(request_pb, options = nil) { |result, operation| ... } -> ::Google::Longrunning::Operation

Baseline implementation for the delete_aws_cluster REST call

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

#delete_aws_node_pool

def delete_aws_node_pool(request_pb, options = nil) { |result, operation| ... } -> ::Google::Longrunning::Operation

Baseline implementation for the delete_aws_node_pool REST call

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

#endpoint

def endpoint() -> String

The effective endpoint

Returns
  • (String)

#generate_aws_access_token

def generate_aws_access_token(request_pb, options = nil) { |result, operation| ... } -> ::Google::Cloud::GkeMultiCloud::V1::GenerateAwsAccessTokenResponse

Baseline implementation for the generate_aws_access_token REST call

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

#generate_aws_cluster_agent_token

def generate_aws_cluster_agent_token(request_pb, options = nil) { |result, operation| ... } -> ::Google::Cloud::GkeMultiCloud::V1::GenerateAwsClusterAgentTokenResponse

Baseline implementation for the generate_aws_cluster_agent_token REST call

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

#get_aws_cluster

def get_aws_cluster(request_pb, options = nil) { |result, operation| ... } -> ::Google::Cloud::GkeMultiCloud::V1::AwsCluster

Baseline implementation for the get_aws_cluster REST call

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

#get_aws_json_web_keys

def get_aws_json_web_keys(request_pb, options = nil) { |result, operation| ... } -> ::Google::Cloud::GkeMultiCloud::V1::AwsJsonWebKeys

Baseline implementation for the get_aws_json_web_keys REST call

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

#get_aws_node_pool

def get_aws_node_pool(request_pb, options = nil) { |result, operation| ... } -> ::Google::Cloud::GkeMultiCloud::V1::AwsNodePool

Baseline implementation for the get_aws_node_pool REST call

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

#get_aws_open_id_config

def get_aws_open_id_config(request_pb, options = nil) { |result, operation| ... } -> ::Google::Cloud::GkeMultiCloud::V1::AwsOpenIdConfig

Baseline implementation for the get_aws_open_id_config REST call

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

#get_aws_server_config

def get_aws_server_config(request_pb, options = nil) { |result, operation| ... } -> ::Google::Cloud::GkeMultiCloud::V1::AwsServerConfig

Baseline implementation for the get_aws_server_config 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_aws_clusters

def list_aws_clusters(request_pb, options = nil) { |result, operation| ... } -> ::Google::Cloud::GkeMultiCloud::V1::ListAwsClustersResponse

Baseline implementation for the list_aws_clusters REST call

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

#list_aws_node_pools

def list_aws_node_pools(request_pb, options = nil) { |result, operation| ... } -> ::Google::Cloud::GkeMultiCloud::V1::ListAwsNodePoolsResponse

Baseline implementation for the list_aws_node_pools REST call

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

#rollback_aws_node_pool_update

def rollback_aws_node_pool_update(request_pb, options = nil) { |result, operation| ... } -> ::Google::Longrunning::Operation

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

#update_aws_cluster

def update_aws_cluster(request_pb, options = nil) { |result, operation| ... } -> ::Google::Longrunning::Operation

Baseline implementation for the update_aws_cluster REST call

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

#update_aws_node_pool

def update_aws_node_pool(request_pb, options = nil) { |result, operation| ... } -> ::Google::Longrunning::Operation

Baseline implementation for the update_aws_node_pool REST call

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