Distributed Cloud Edge Container V1 API - Class Google::Cloud::EdgeContainer::V1::EdgeContainer::Rest::ServiceStub (v0.3.0)

Reference documentation and code samples for the Distributed Cloud Edge Container V1 API class Google::Cloud::EdgeContainer::V1::EdgeContainer::Rest::ServiceStub.

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

Inherits

  • Object

Methods

#create_cluster

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

Baseline implementation for the create_cluster REST call

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

#create_node_pool

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

Baseline implementation for the create_node_pool REST call

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

#create_vpn_connection

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

Baseline implementation for the create_vpn_connection REST call

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

#delete_cluster

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

Baseline implementation for the delete_cluster REST call

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

#delete_node_pool

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

Baseline implementation for the delete_node_pool REST call

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

#delete_vpn_connection

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

Baseline implementation for the delete_vpn_connection 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_access_token

def generate_access_token(request_pb, options = nil) { |result, operation| ... } -> ::Google::Cloud::EdgeContainer::V1::GenerateAccessTokenResponse

Baseline implementation for the generate_access_token REST call

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

#generate_offline_credential

def generate_offline_credential(request_pb, options = nil) { |result, operation| ... } -> ::Google::Cloud::EdgeContainer::V1::GenerateOfflineCredentialResponse

Baseline implementation for the generate_offline_credential REST call

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

#get_cluster

def get_cluster(request_pb, options = nil) { |result, operation| ... } -> ::Google::Cloud::EdgeContainer::V1::Cluster

Baseline implementation for the get_cluster REST call

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

#get_machine

def get_machine(request_pb, options = nil) { |result, operation| ... } -> ::Google::Cloud::EdgeContainer::V1::Machine

Baseline implementation for the get_machine REST call

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

#get_node_pool

def get_node_pool(request_pb, options = nil) { |result, operation| ... } -> ::Google::Cloud::EdgeContainer::V1::NodePool

Baseline implementation for the get_node_pool REST call

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

#get_server_config

def get_server_config(request_pb, options = nil) { |result, operation| ... } -> ::Google::Cloud::EdgeContainer::V1::ServerConfig

Baseline implementation for the get_server_config REST call

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

#get_vpn_connection

def get_vpn_connection(request_pb, options = nil) { |result, operation| ... } -> ::Google::Cloud::EdgeContainer::V1::VpnConnection

Baseline implementation for the get_vpn_connection REST call

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

#list_clusters

def list_clusters(request_pb, options = nil) { |result, operation| ... } -> ::Google::Cloud::EdgeContainer::V1::ListClustersResponse

Baseline implementation for the list_clusters REST call

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

#list_machines

def list_machines(request_pb, options = nil) { |result, operation| ... } -> ::Google::Cloud::EdgeContainer::V1::ListMachinesResponse

Baseline implementation for the list_machines REST call

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

#list_node_pools

def list_node_pools(request_pb, options = nil) { |result, operation| ... } -> ::Google::Cloud::EdgeContainer::V1::ListNodePoolsResponse

Baseline implementation for the list_node_pools REST call

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

#list_vpn_connections

def list_vpn_connections(request_pb, options = nil) { |result, operation| ... } -> ::Google::Cloud::EdgeContainer::V1::ListVpnConnectionsResponse

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

#update_cluster

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

Baseline implementation for the update_cluster REST call

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

#update_node_pool

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

Baseline implementation for the update_node_pool REST call

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

#upgrade_cluster

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

Baseline implementation for the upgrade_cluster REST call

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