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
- request_pb (::Google::Cloud::VmwareEngine::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_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
- request_pb (::Google::Cloud::VmwareEngine::V1::CreateHcxActivationKeyRequest) — 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_network_policy
def create_network_policy(request_pb, options = nil) { |result, operation| ... } -> ::Google::Longrunning::Operation
Baseline implementation for the create_network_policy REST call
- request_pb (::Google::Cloud::VmwareEngine::V1::CreateNetworkPolicyRequest) — 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_private_cloud
def create_private_cloud(request_pb, options = nil) { |result, operation| ... } -> ::Google::Longrunning::Operation
Baseline implementation for the create_private_cloud REST call
- request_pb (::Google::Cloud::VmwareEngine::V1::CreatePrivateCloudRequest) — 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_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
- request_pb (::Google::Cloud::VmwareEngine::V1::CreateVmwareEngineNetworkRequest) — 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::VmwareEngine::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_network_policy
def delete_network_policy(request_pb, options = nil) { |result, operation| ... } -> ::Google::Longrunning::Operation
Baseline implementation for the delete_network_policy REST call
- request_pb (::Google::Cloud::VmwareEngine::V1::DeleteNetworkPolicyRequest) — 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_private_cloud
def delete_private_cloud(request_pb, options = nil) { |result, operation| ... } -> ::Google::Longrunning::Operation
Baseline implementation for the delete_private_cloud REST call
- request_pb (::Google::Cloud::VmwareEngine::V1::DeletePrivateCloudRequest) — 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_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
- request_pb (::Google::Cloud::VmwareEngine::V1::DeleteVmwareEngineNetworkRequest) — 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)
#get_cluster
def get_cluster(request_pb, options = nil) { |result, operation| ... } -> ::Google::Cloud::VmwareEngine::V1::Cluster
Baseline implementation for the get_cluster REST call
- request_pb (::Google::Cloud::VmwareEngine::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::VmwareEngine::V1::Cluster)
- operation (::Gapic::Rest::TransportOperation)
- (::Google::Cloud::VmwareEngine::V1::Cluster) — A result object deserialized from the server's reply
- (::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
- request_pb (::Google::Cloud::VmwareEngine::V1::GetHcxActivationKeyRequest) — 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::VmwareEngine::V1::HcxActivationKey)
- operation (::Gapic::Rest::TransportOperation)
- (::Google::Cloud::VmwareEngine::V1::HcxActivationKey) — A result object deserialized from the server's reply
- (::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
- request_pb (::Google::Cloud::VmwareEngine::V1::GetNetworkPolicyRequest) — 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::VmwareEngine::V1::NetworkPolicy)
- operation (::Gapic::Rest::TransportOperation)
- (::Google::Cloud::VmwareEngine::V1::NetworkPolicy) — A result object deserialized from the server's reply
- (::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
- request_pb (::Google::Cloud::VmwareEngine::V1::GetNodeTypeRequest) — 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::VmwareEngine::V1::NodeType)
- operation (::Gapic::Rest::TransportOperation)
- (::Google::Cloud::VmwareEngine::V1::NodeType) — A result object deserialized from the server's reply
- (::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
- request_pb (::Google::Cloud::VmwareEngine::V1::GetPrivateCloudRequest) — 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::VmwareEngine::V1::PrivateCloud)
- operation (::Gapic::Rest::TransportOperation)
- (::Google::Cloud::VmwareEngine::V1::PrivateCloud) — A result object deserialized from the server's reply
- (::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
- request_pb (::Google::Cloud::VmwareEngine::V1::GetVmwareEngineNetworkRequest) — 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::VmwareEngine::V1::VmwareEngineNetwork)
- operation (::Gapic::Rest::TransportOperation)
- (::Google::Cloud::VmwareEngine::V1::VmwareEngineNetwork) — A result object deserialized from the server's reply
- (::ArgumentError)
#initialize
def initialize(endpoint:, credentials:) -> ServiceStub
- (ServiceStub) — a new instance of ServiceStub
#list_clusters
def list_clusters(request_pb, options = nil) { |result, operation| ... } -> ::Google::Cloud::VmwareEngine::V1::ListClustersResponse
Baseline implementation for the list_clusters REST call
- request_pb (::Google::Cloud::VmwareEngine::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::VmwareEngine::V1::ListClustersResponse)
- operation (::Gapic::Rest::TransportOperation)
- (::Google::Cloud::VmwareEngine::V1::ListClustersResponse) — A result object deserialized from the server's reply
- (::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
- request_pb (::Google::Cloud::VmwareEngine::V1::ListHcxActivationKeysRequest) — 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::VmwareEngine::V1::ListHcxActivationKeysResponse)
- operation (::Gapic::Rest::TransportOperation)
- (::Google::Cloud::VmwareEngine::V1::ListHcxActivationKeysResponse) — A result object deserialized from the server's reply
- (::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
- request_pb (::Google::Cloud::VmwareEngine::V1::ListNetworkPoliciesRequest) — 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::VmwareEngine::V1::ListNetworkPoliciesResponse)
- operation (::Gapic::Rest::TransportOperation)
- (::Google::Cloud::VmwareEngine::V1::ListNetworkPoliciesResponse) — A result object deserialized from the server's reply
- (::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
- request_pb (::Google::Cloud::VmwareEngine::V1::ListNodeTypesRequest) — 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::VmwareEngine::V1::ListNodeTypesResponse)
- operation (::Gapic::Rest::TransportOperation)
- (::Google::Cloud::VmwareEngine::V1::ListNodeTypesResponse) — A result object deserialized from the server's reply
- (::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
- request_pb (::Google::Cloud::VmwareEngine::V1::ListPrivateCloudsRequest) — 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::VmwareEngine::V1::ListPrivateCloudsResponse)
- operation (::Gapic::Rest::TransportOperation)
- (::Google::Cloud::VmwareEngine::V1::ListPrivateCloudsResponse) — A result object deserialized from the server's reply
- (::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
- request_pb (::Google::Cloud::VmwareEngine::V1::ListSubnetsRequest) — 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::VmwareEngine::V1::ListSubnetsResponse)
- operation (::Gapic::Rest::TransportOperation)
- (::Google::Cloud::VmwareEngine::V1::ListSubnetsResponse) — A result object deserialized from the server's reply
- (::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
- request_pb (::Google::Cloud::VmwareEngine::V1::ListVmwareEngineNetworksRequest) — 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::VmwareEngine::V1::ListVmwareEngineNetworksResponse)
- operation (::Gapic::Rest::TransportOperation)
- (::Google::Cloud::VmwareEngine::V1::ListVmwareEngineNetworksResponse) — A result object deserialized from the server's reply
- (::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
- request_pb (::Google::Cloud::VmwareEngine::V1::ResetNsxCredentialsRequest) — 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)
#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
- request_pb (::Google::Cloud::VmwareEngine::V1::ResetVcenterCredentialsRequest) — 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)
#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
- request_pb (::Google::Cloud::VmwareEngine::V1::ShowNsxCredentialsRequest) — 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::VmwareEngine::V1::Credentials)
- operation (::Gapic::Rest::TransportOperation)
- (::Google::Cloud::VmwareEngine::V1::Credentials) — A result object deserialized from the server's reply
- (::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
- request_pb (::Google::Cloud::VmwareEngine::V1::ShowVcenterCredentialsRequest) — 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::VmwareEngine::V1::Credentials)
- operation (::Gapic::Rest::TransportOperation)
- (::Google::Cloud::VmwareEngine::V1::Credentials) — A result object deserialized from the server's reply
- (::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
- request_pb (::Google::Cloud::VmwareEngine::V1::UndeletePrivateCloudRequest) — 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_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::VmwareEngine::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_network_policy
def update_network_policy(request_pb, options = nil) { |result, operation| ... } -> ::Google::Longrunning::Operation
Baseline implementation for the update_network_policy REST call
- request_pb (::Google::Cloud::VmwareEngine::V1::UpdateNetworkPolicyRequest) — 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_private_cloud
def update_private_cloud(request_pb, options = nil) { |result, operation| ... } -> ::Google::Longrunning::Operation
Baseline implementation for the update_private_cloud REST call
- request_pb (::Google::Cloud::VmwareEngine::V1::UpdatePrivateCloudRequest) — 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_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
- request_pb (::Google::Cloud::VmwareEngine::V1::UpdateVmwareEngineNetworkRequest) — 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)