Google Cloud VMware Engine V1 API - Class Google::Cloud::VmwareEngine::V1::VmwareEngine::Rest::ServiceStub (v0.4.0)

Reference documentation and code samples for the Google Cloud VMware Engine V1 API class Google::Cloud::VmwareEngine::V1::VmwareEngine::Rest::ServiceStub.

REST service stub for the VmwareEngine 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_hcx_activation_key

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

Baseline implementation for the create_hcx_activation_key REST call

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

#create_network_policy

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

Baseline implementation for the create_network_policy REST call

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

#create_private_cloud

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

Baseline implementation for the create_private_cloud REST call

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

#create_private_connection

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

Baseline implementation for the create_private_connection REST call

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

#create_vmware_engine_network

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

Baseline implementation for the create_vmware_engine_network 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_network_policy

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

Baseline implementation for the delete_network_policy REST call

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

#delete_private_cloud

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

Baseline implementation for the delete_private_cloud REST call

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

#delete_private_connection

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

Baseline implementation for the delete_private_connection REST call

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

#delete_vmware_engine_network

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

Baseline implementation for the delete_vmware_engine_network 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::VmwareEngine::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_hcx_activation_key

def get_hcx_activation_key(request_pb, options = nil) { |result, operation| ... } -> ::Google::Cloud::VmwareEngine::V1::HcxActivationKey

Baseline implementation for the get_hcx_activation_key REST call

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

#get_network_policy

def get_network_policy(request_pb, options = nil) { |result, operation| ... } -> ::Google::Cloud::VmwareEngine::V1::NetworkPolicy

Baseline implementation for the get_network_policy REST call

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

#get_node_type

def get_node_type(request_pb, options = nil) { |result, operation| ... } -> ::Google::Cloud::VmwareEngine::V1::NodeType

Baseline implementation for the get_node_type REST call

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

#get_private_cloud

def get_private_cloud(request_pb, options = nil) { |result, operation| ... } -> ::Google::Cloud::VmwareEngine::V1::PrivateCloud

Baseline implementation for the get_private_cloud REST call

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

#get_private_connection

def get_private_connection(request_pb, options = nil) { |result, operation| ... } -> ::Google::Cloud::VmwareEngine::V1::PrivateConnection

Baseline implementation for the get_private_connection REST call

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

#get_subnet

def get_subnet(request_pb, options = nil) { |result, operation| ... } -> ::Google::Cloud::VmwareEngine::V1::Subnet

Baseline implementation for the get_subnet REST call

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

#get_vmware_engine_network

def get_vmware_engine_network(request_pb, options = nil) { |result, operation| ... } -> ::Google::Cloud::VmwareEngine::V1::VmwareEngineNetwork

Baseline implementation for the get_vmware_engine_network REST call

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

#initialize

def initialize(endpoint:, credentials:) -> ServiceStub
Returns

#list_clusters

def list_clusters(request_pb, options = nil) { |result, operation| ... } -> ::Google::Cloud::VmwareEngine::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_hcx_activation_keys

def list_hcx_activation_keys(request_pb, options = nil) { |result, operation| ... } -> ::Google::Cloud::VmwareEngine::V1::ListHcxActivationKeysResponse

Baseline implementation for the list_hcx_activation_keys REST call

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

#list_network_policies

def list_network_policies(request_pb, options = nil) { |result, operation| ... } -> ::Google::Cloud::VmwareEngine::V1::ListNetworkPoliciesResponse

Baseline implementation for the list_network_policies REST call

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

#list_node_types

def list_node_types(request_pb, options = nil) { |result, operation| ... } -> ::Google::Cloud::VmwareEngine::V1::ListNodeTypesResponse

Baseline implementation for the list_node_types REST call

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

#list_private_clouds

def list_private_clouds(request_pb, options = nil) { |result, operation| ... } -> ::Google::Cloud::VmwareEngine::V1::ListPrivateCloudsResponse

Baseline implementation for the list_private_clouds REST call

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

#list_private_connection_peering_routes

def list_private_connection_peering_routes(request_pb, options = nil) { |result, operation| ... } -> ::Google::Cloud::VmwareEngine::V1::ListPrivateConnectionPeeringRoutesResponse

Baseline implementation for the list_private_connection_peering_routes REST call

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

#list_private_connections

def list_private_connections(request_pb, options = nil) { |result, operation| ... } -> ::Google::Cloud::VmwareEngine::V1::ListPrivateConnectionsResponse

Baseline implementation for the list_private_connections REST call

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

#list_subnets

def list_subnets(request_pb, options = nil) { |result, operation| ... } -> ::Google::Cloud::VmwareEngine::V1::ListSubnetsResponse

Baseline implementation for the list_subnets REST call

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

#list_vmware_engine_networks

def list_vmware_engine_networks(request_pb, options = nil) { |result, operation| ... } -> ::Google::Cloud::VmwareEngine::V1::ListVmwareEngineNetworksResponse

Baseline implementation for the list_vmware_engine_networks REST call

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

#reset_nsx_credentials

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

Baseline implementation for the reset_nsx_credentials REST call

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

#reset_vcenter_credentials

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

Baseline implementation for the reset_vcenter_credentials REST call

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

#show_nsx_credentials

def show_nsx_credentials(request_pb, options = nil) { |result, operation| ... } -> ::Google::Cloud::VmwareEngine::V1::Credentials

Baseline implementation for the show_nsx_credentials REST call

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

#show_vcenter_credentials

def show_vcenter_credentials(request_pb, options = nil) { |result, operation| ... } -> ::Google::Cloud::VmwareEngine::V1::Credentials

Baseline implementation for the show_vcenter_credentials REST call

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

#undelete_private_cloud

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

Baseline implementation for the undelete_private_cloud REST call

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

#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_network_policy

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

Baseline implementation for the update_network_policy REST call

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

#update_private_cloud

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

Baseline implementation for the update_private_cloud REST call

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

#update_private_connection

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

Baseline implementation for the update_private_connection REST call

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

#update_subnet

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

Baseline implementation for the update_subnet REST call

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

#update_vmware_engine_network

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

Baseline implementation for the update_vmware_engine_network REST call

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