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
- request_pb (::Google::Cloud::EdgeContainer::V1::CreateClusterRequest) — 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)
#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
- request_pb (::Google::Cloud::EdgeContainer::V1::CreateNodePoolRequest) — 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)
#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
- request_pb (::Google::Cloud::EdgeContainer::V1::CreateVpnConnectionRequest) — 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_cluster
def delete_cluster(request_pb, options = nil) { |result, operation| ... } -> ::Google::Longrunning::Operation
Baseline implementation for the delete_cluster REST call
- request_pb (::Google::Cloud::EdgeContainer::V1::DeleteClusterRequest) — 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_node_pool
def delete_node_pool(request_pb, options = nil) { |result, operation| ... } -> ::Google::Longrunning::Operation
Baseline implementation for the delete_node_pool REST call
- request_pb (::Google::Cloud::EdgeContainer::V1::DeleteNodePoolRequest) — 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_vpn_connection
def delete_vpn_connection(request_pb, options = nil) { |result, operation| ... } -> ::Google::Longrunning::Operation
Baseline implementation for the delete_vpn_connection REST call
- request_pb (::Google::Cloud::EdgeContainer::V1::DeleteVpnConnectionRequest) — 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)
#endpoint
def endpoint() -> String
The effective endpoint
- (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
- request_pb (::Google::Cloud::EdgeContainer::V1::GenerateAccessTokenRequest) — 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::EdgeContainer::V1::GenerateAccessTokenResponse)
- operation (::Gapic::Rest::TransportOperation)
- (::Google::Cloud::EdgeContainer::V1::GenerateAccessTokenResponse) — A result object deserialized from the server's reply
- (::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
- request_pb (::Google::Cloud::EdgeContainer::V1::GenerateOfflineCredentialRequest) — 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::EdgeContainer::V1::GenerateOfflineCredentialResponse)
- operation (::Gapic::Rest::TransportOperation)
- (::Google::Cloud::EdgeContainer::V1::GenerateOfflineCredentialResponse) — A result object deserialized from the server's reply
- (::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
- request_pb (::Google::Cloud::EdgeContainer::V1::GetClusterRequest) — 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::EdgeContainer::V1::Cluster)
- operation (::Gapic::Rest::TransportOperation)
- (::Google::Cloud::EdgeContainer::V1::Cluster) — A result object deserialized from the server's reply
- (::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
- request_pb (::Google::Cloud::EdgeContainer::V1::GetMachineRequest) — 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::EdgeContainer::V1::Machine)
- operation (::Gapic::Rest::TransportOperation)
- (::Google::Cloud::EdgeContainer::V1::Machine) — A result object deserialized from the server's reply
- (::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
- request_pb (::Google::Cloud::EdgeContainer::V1::GetNodePoolRequest) — 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::EdgeContainer::V1::NodePool)
- operation (::Gapic::Rest::TransportOperation)
- (::Google::Cloud::EdgeContainer::V1::NodePool) — A result object deserialized from the server's reply
- (::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
- request_pb (::Google::Cloud::EdgeContainer::V1::GetServerConfigRequest) — 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::EdgeContainer::V1::ServerConfig)
- operation (::Gapic::Rest::TransportOperation)
- (::Google::Cloud::EdgeContainer::V1::ServerConfig) — A result object deserialized from the server's reply
- (::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
- request_pb (::Google::Cloud::EdgeContainer::V1::GetVpnConnectionRequest) — 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::EdgeContainer::V1::VpnConnection)
- operation (::Gapic::Rest::TransportOperation)
- (::Google::Cloud::EdgeContainer::V1::VpnConnection) — 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_clusters
def list_clusters(request_pb, options = nil) { |result, operation| ... } -> ::Google::Cloud::EdgeContainer::V1::ListClustersResponse
Baseline implementation for the list_clusters REST call
- request_pb (::Google::Cloud::EdgeContainer::V1::ListClustersRequest) — 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::EdgeContainer::V1::ListClustersResponse)
- operation (::Gapic::Rest::TransportOperation)
- (::Google::Cloud::EdgeContainer::V1::ListClustersResponse) — A result object deserialized from the server's reply
- (::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
- request_pb (::Google::Cloud::EdgeContainer::V1::ListMachinesRequest) — 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::EdgeContainer::V1::ListMachinesResponse)
- operation (::Gapic::Rest::TransportOperation)
- (::Google::Cloud::EdgeContainer::V1::ListMachinesResponse) — A result object deserialized from the server's reply
- (::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
- request_pb (::Google::Cloud::EdgeContainer::V1::ListNodePoolsRequest) — 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::EdgeContainer::V1::ListNodePoolsResponse)
- operation (::Gapic::Rest::TransportOperation)
- (::Google::Cloud::EdgeContainer::V1::ListNodePoolsResponse) — A result object deserialized from the server's reply
- (::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
- request_pb (::Google::Cloud::EdgeContainer::V1::ListVpnConnectionsRequest) — 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::EdgeContainer::V1::ListVpnConnectionsResponse)
- operation (::Gapic::Rest::TransportOperation)
- (::Google::Cloud::EdgeContainer::V1::ListVpnConnectionsResponse) — A result object deserialized from the server's reply
- (::ArgumentError)
#universe_domain
def universe_domain() -> String
The effective universe domain
- (String)
#update_cluster
def update_cluster(request_pb, options = nil) { |result, operation| ... } -> ::Google::Longrunning::Operation
Baseline implementation for the update_cluster REST call
- request_pb (::Google::Cloud::EdgeContainer::V1::UpdateClusterRequest) — 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)
#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
- request_pb (::Google::Cloud::EdgeContainer::V1::UpdateNodePoolRequest) — 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)
#upgrade_cluster
def upgrade_cluster(request_pb, options = nil) { |result, operation| ... } -> ::Google::Longrunning::Operation
Baseline implementation for the upgrade_cluster REST call
- request_pb (::Google::Cloud::EdgeContainer::V1::UpgradeClusterRequest) — 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)