Class: Google::Apis::VmwareengineV1::VMwareEngineService
- Inherits:
-
Core::BaseService
- Object
- Core::BaseService
- Google::Apis::VmwareengineV1::VMwareEngineService
- Defined in:
- lib/google/apis/vmwareengine_v1/service.rb
Overview
VMware Engine API
The Google VMware Engine API lets you programmatically manage VMware environments.
Constant Summary collapse
- DEFAULT_ENDPOINT_TEMPLATE =
"https://vmwareengine.$UNIVERSE_DOMAIN$/"
Instance Attribute Summary collapse
-
#key ⇒ String
API key.
-
#quota_user ⇒ String
Available to use for quota purposes for server-side applications.
Instance Method Summary collapse
-
#create_project_location_datastore(parent, datastore_object = nil, datastore_id: nil, request_id: nil, fields: nil, quota_user: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::VmwareengineV1::Operation
Creates a new
Datastoreresource in a given project and location. -
#create_project_location_network_peering(parent, network_peering_object = nil, network_peering_id: nil, request_id: nil, validate_only: nil, fields: nil, quota_user: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::VmwareengineV1::Operation
Creates a new network peering between the peer network and VMware Engine network provided in a
NetworkPeeringresource. -
#create_project_location_network_policy(parent, network_policy_object = nil, network_policy_id: nil, request_id: nil, validate_only: nil, fields: nil, quota_user: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::VmwareengineV1::Operation
Creates a new network policy in a given VMware Engine network of a project and location (region).
-
#create_project_location_network_policy_external_access_rule(parent, external_access_rule_object = nil, external_access_rule_id: nil, request_id: nil, validate_only: nil, fields: nil, quota_user: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::VmwareengineV1::Operation
Creates a new external access rule in a given network policy.
-
#create_project_location_private_cloud(parent, private_cloud_object = nil, private_cloud_id: nil, request_id: nil, validate_only: nil, fields: nil, quota_user: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::VmwareengineV1::Operation
Creates a new
PrivateCloudresource in a given project and location. -
#create_project_location_private_cloud_cluster(parent, cluster_object = nil, cluster_id: nil, request_id: nil, validate_only: nil, fields: nil, quota_user: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::VmwareengineV1::Operation
Creates a new cluster in a given private cloud.
-
#create_project_location_private_cloud_external_address(parent, external_address_object = nil, external_address_id: nil, request_id: nil, validate_only: nil, fields: nil, quota_user: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::VmwareengineV1::Operation
Creates a new
ExternalAddressresource in a given private cloud. -
#create_project_location_private_cloud_hcx_activation_key(parent, hcx_activation_key_object = nil, hcx_activation_key_id: nil, request_id: nil, fields: nil, quota_user: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::VmwareengineV1::Operation
Creates a new HCX activation key in a given private cloud.
-
#create_project_location_private_cloud_logging_server(parent, logging_server_object = nil, logging_server_id: nil, request_id: nil, fields: nil, quota_user: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::VmwareengineV1::Operation
Create a new logging server for a given private cloud.
-
#create_project_location_private_cloud_management_dns_zone_binding(parent, management_dns_zone_binding_object = nil, management_dns_zone_binding_id: nil, request_id: nil, fields: nil, quota_user: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::VmwareengineV1::Operation
Creates a new
ManagementDnsZoneBindingresource in a private cloud. -
#create_project_location_private_connection(parent, private_connection_object = nil, private_connection_id: nil, request_id: nil, validate_only: nil, fields: nil, quota_user: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::VmwareengineV1::Operation
Creates a new private connection that can be used for accessing private Clouds.
-
#create_project_location_vmware_engine_network(parent, vmware_engine_network_object = nil, request_id: nil, validate_only: nil, vmware_engine_network_id: nil, fields: nil, quota_user: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::VmwareengineV1::Operation
Creates a new VMware Engine network that can be used by a private cloud.
-
#delete_project_location_datastore(name, etag: nil, request_id: nil, fields: nil, quota_user: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::VmwareengineV1::Operation
Deletes a
Datastoreresource. -
#delete_project_location_network_peering(name, request_id: nil, fields: nil, quota_user: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::VmwareengineV1::Operation
Deletes a
NetworkPeeringresource. -
#delete_project_location_network_policy(name, request_id: nil, fields: nil, quota_user: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::VmwareengineV1::Operation
Deletes a
NetworkPolicyresource. -
#delete_project_location_network_policy_external_access_rule(name, request_id: nil, fields: nil, quota_user: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::VmwareengineV1::Operation
Deletes a single external access rule.
-
#delete_project_location_operation(name, fields: nil, quota_user: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::VmwareengineV1::Empty
Deletes a long-running operation.
-
#delete_project_location_private_cloud(name, delay_hours: nil, force: nil, request_id: nil, fields: nil, quota_user: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::VmwareengineV1::Operation
Schedules a
PrivateCloudresource for deletion. -
#delete_project_location_private_cloud_cluster(name, request_id: nil, fields: nil, quota_user: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::VmwareengineV1::Operation
Deletes a
Clusterresource. -
#delete_project_location_private_cloud_external_address(name, request_id: nil, fields: nil, quota_user: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::VmwareengineV1::Operation
Deletes a single external IP address.
-
#delete_project_location_private_cloud_logging_server(name, request_id: nil, fields: nil, quota_user: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::VmwareengineV1::Operation
Deletes a single logging server.
-
#delete_project_location_private_cloud_management_dns_zone_binding(name, request_id: nil, fields: nil, quota_user: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::VmwareengineV1::Operation
Deletes a
ManagementDnsZoneBindingresource. -
#delete_project_location_private_connection(name, request_id: nil, fields: nil, quota_user: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::VmwareengineV1::Operation
Deletes a
PrivateConnectionresource. -
#delete_project_location_vmware_engine_network(name, etag: nil, request_id: nil, fields: nil, quota_user: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::VmwareengineV1::Operation
Deletes a
VmwareEngineNetworkresource. -
#fetch_project_location_network_policy_external_addresses(network_policy, page_size: nil, page_token: nil, fields: nil, quota_user: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::VmwareengineV1::FetchNetworkPolicyExternalAddressesResponse
Lists external IP addresses assigned to VMware workload VMs within the scope of the given network policy.
-
#get_project_location(name, fields: nil, quota_user: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::VmwareengineV1::Location
Gets information about a location.
-
#get_project_location_announcement(name, fields: nil, quota_user: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::VmwareengineV1::Announcement
Retrieves a
Announcementby its resource name. -
#get_project_location_datastore(name, fields: nil, quota_user: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::VmwareengineV1::Datastore
Retrieves a
Datastoreresource by its resource name. -
#get_project_location_dns_bind_permission(name, fields: nil, quota_user: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::VmwareengineV1::DnsBindPermission
Gets all the principals having bind permission on the intranet VPC associated with the consumer project granted by the Grant API.
-
#get_project_location_network_peering(name, fields: nil, quota_user: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::VmwareengineV1::NetworkPeering
Retrieves a
NetworkPeeringresource by its resource name. -
#get_project_location_network_policy(name, fields: nil, quota_user: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::VmwareengineV1::NetworkPolicy
Retrieves a
NetworkPolicyresource by its resource name. -
#get_project_location_network_policy_external_access_rule(name, fields: nil, quota_user: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::VmwareengineV1::ExternalAccessRule
Gets details of a single external access rule.
-
#get_project_location_node_type(name, fields: nil, quota_user: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::VmwareengineV1::NodeType
Gets details of a single
NodeType. -
#get_project_location_operation(name, fields: nil, quota_user: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::VmwareengineV1::Operation
Gets the latest state of a long-running operation.
-
#get_project_location_private_cloud(name, fields: nil, quota_user: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::VmwareengineV1::PrivateCloud
Retrieves a
PrivateCloudresource by its resource name. -
#get_project_location_private_cloud_cluster(name, fields: nil, quota_user: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::VmwareengineV1::Cluster
Retrieves a
Clusterresource by its resource name. -
#get_project_location_private_cloud_cluster_iam_policy(resource, options_requested_policy_version: nil, fields: nil, quota_user: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::VmwareengineV1::Policy
Gets the access control policy for a resource.
-
#get_project_location_private_cloud_cluster_node(name, fields: nil, quota_user: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::VmwareengineV1::Node
Gets details of a single node.
-
#get_project_location_private_cloud_dns_forwarding(name, fields: nil, quota_user: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::VmwareengineV1::DnsForwarding
Gets details of the
DnsForwardingconfig. -
#get_project_location_private_cloud_external_address(name, fields: nil, quota_user: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::VmwareengineV1::ExternalAddress
Gets details of a single external IP address.
-
#get_project_location_private_cloud_hcx_activation_key(name, fields: nil, quota_user: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::VmwareengineV1::HcxActivationKey
Retrieves a
HcxActivationKeyresource by its resource name. -
#get_project_location_private_cloud_hcx_activation_key_iam_policy(resource, options_requested_policy_version: nil, fields: nil, quota_user: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::VmwareengineV1::Policy
Gets the access control policy for a resource.
-
#get_project_location_private_cloud_iam_policy(resource, options_requested_policy_version: nil, fields: nil, quota_user: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::VmwareengineV1::Policy
Gets the access control policy for a resource.
-
#get_project_location_private_cloud_logging_server(name, fields: nil, quota_user: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::VmwareengineV1::LoggingServer
Gets details of a logging server.
-
#get_project_location_private_cloud_management_dns_zone_binding(name, fields: nil, quota_user: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::VmwareengineV1::ManagementDnsZoneBinding
Retrieves a 'ManagementDnsZoneBinding' resource by its resource name.
-
#get_project_location_private_cloud_subnet(name, fields: nil, quota_user: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::VmwareengineV1::Subnet
Gets details of a single subnet.
-
#get_project_location_private_cloud_upgrade(name, fields: nil, quota_user: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::VmwareengineV1::Upgrade
Retrieves a private cloud
Upgraderesource by its resource name. -
#get_project_location_private_connection(name, fields: nil, quota_user: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::VmwareengineV1::PrivateConnection
Retrieves a
PrivateConnectionresource by its resource name. -
#get_project_location_vmware_engine_network(name, fields: nil, quota_user: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::VmwareengineV1::VmwareEngineNetwork
Retrieves a
VmwareEngineNetworkresource by its resource name. -
#grant_dns_bind_permission(name, grant_dns_bind_permission_request_object = nil, fields: nil, quota_user: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::VmwareengineV1::Operation
Grants the bind permission to the customer provided principal(user / service account) to bind their DNS zone with the intranet VPC associated with the project.
-
#initialize ⇒ VMwareEngineService
constructor
A new instance of VMwareEngineService.
-
#list_project_location_announcements(parent, filter: nil, order_by: nil, page_size: nil, page_token: nil, fields: nil, quota_user: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::VmwareengineV1::ListAnnouncementsResponse
Lists
Announcementsfor a given region and project. -
#list_project_location_datastores(parent, filter: nil, order_by: nil, page_size: nil, page_token: nil, request_id: nil, fields: nil, quota_user: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::VmwareengineV1::ListDatastoresResponse
Lists
Datastoreresources in a given project and location. -
#list_project_location_network_peering_peering_routes(parent, filter: nil, page_size: nil, page_token: nil, fields: nil, quota_user: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::VmwareengineV1::ListPeeringRoutesResponse
Lists the network peering routes exchanged over a peering connection.
-
#list_project_location_network_peerings(parent, filter: nil, order_by: nil, page_size: nil, page_token: nil, fields: nil, quota_user: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::VmwareengineV1::ListNetworkPeeringsResponse
Lists
NetworkPeeringresources in a given project. -
#list_project_location_network_policies(parent, filter: nil, order_by: nil, page_size: nil, page_token: nil, fields: nil, quota_user: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::VmwareengineV1::ListNetworkPoliciesResponse
Lists
NetworkPolicyresources in a specified project and location. -
#list_project_location_network_policy_external_access_rules(parent, filter: nil, order_by: nil, page_size: nil, page_token: nil, fields: nil, quota_user: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::VmwareengineV1::ListExternalAccessRulesResponse
Lists
ExternalAccessRuleresources in the specified network policy. -
#list_project_location_node_types(parent, filter: nil, page_size: nil, page_token: nil, fields: nil, quota_user: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::VmwareengineV1::ListNodeTypesResponse
Lists node types.
-
#list_project_location_operations(name, filter: nil, page_size: nil, page_token: nil, return_partial_success: nil, fields: nil, quota_user: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::VmwareengineV1::ListOperationsResponse
Lists operations that match the specified filter in the request.
-
#list_project_location_private_cloud_cluster_nodes(parent, page_size: nil, page_token: nil, fields: nil, quota_user: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::VmwareengineV1::ListNodesResponse
Lists nodes in a given cluster.
-
#list_project_location_private_cloud_clusters(parent, filter: nil, order_by: nil, page_size: nil, page_token: nil, fields: nil, quota_user: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::VmwareengineV1::ListClustersResponse
Lists
Clusterresources in a given private cloud. -
#list_project_location_private_cloud_external_addresses(parent, filter: nil, order_by: nil, page_size: nil, page_token: nil, fields: nil, quota_user: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::VmwareengineV1::ListExternalAddressesResponse
Lists external IP addresses assigned to VMware workload VMs in a given private cloud.
-
#list_project_location_private_cloud_hcx_activation_keys(parent, page_size: nil, page_token: nil, fields: nil, quota_user: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::VmwareengineV1::ListHcxActivationKeysResponse
Lists
HcxActivationKeyresources in a given private cloud. -
#list_project_location_private_cloud_logging_servers(parent, filter: nil, order_by: nil, page_size: nil, page_token: nil, fields: nil, quota_user: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::VmwareengineV1::ListLoggingServersResponse
Lists logging servers configured for a given private cloud.
-
#list_project_location_private_cloud_management_dns_zone_bindings(parent, filter: nil, order_by: nil, page_size: nil, page_token: nil, fields: nil, quota_user: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::VmwareengineV1::ListManagementDnsZoneBindingsResponse
Lists Consumer VPCs bound to Management DNS Zone of a given private cloud.
-
#list_project_location_private_cloud_subnets(parent, page_size: nil, page_token: nil, fields: nil, quota_user: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::VmwareengineV1::ListSubnetsResponse
Lists subnets in a given private cloud.
-
#list_project_location_private_cloud_upgrades(parent, filter: nil, order_by: nil, page_size: nil, page_token: nil, fields: nil, quota_user: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::VmwareengineV1::ListUpgradesResponse
Lists past, ongoing and upcoming
Upgradesfor the given private cloud. -
#list_project_location_private_clouds(parent, filter: nil, order_by: nil, page_size: nil, page_token: nil, fields: nil, quota_user: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::VmwareengineV1::ListPrivateCloudsResponse
Lists
PrivateCloudresources in a given project and location. -
#list_project_location_private_connection_peering_routes(parent, page_size: nil, page_token: nil, fields: nil, quota_user: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::VmwareengineV1::ListPrivateConnectionPeeringRoutesResponse
Lists the private connection routes exchanged over a peering connection.
-
#list_project_location_private_connections(parent, filter: nil, order_by: nil, page_size: nil, page_token: nil, fields: nil, quota_user: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::VmwareengineV1::ListPrivateConnectionsResponse
Lists
PrivateConnectionresources in a given project and location. -
#list_project_location_vmware_engine_networks(parent, filter: nil, order_by: nil, page_size: nil, page_token: nil, fields: nil, quota_user: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::VmwareengineV1::ListVmwareEngineNetworksResponse
Lists
VmwareEngineNetworkresources in a given project and location. -
#list_project_locations(name, extra_location_types: nil, filter: nil, page_size: nil, page_token: nil, fields: nil, quota_user: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::VmwareengineV1::ListLocationsResponse
Lists information about the supported locations for this service.
-
#migrate_private_cloud_management_vms(name, migrate_management_vms_request_object = nil, fields: nil, quota_user: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::VmwareengineV1::Operation
Migrates the management VMs of the PC from the current management cluster to a workload cluster.
-
#mount_cluster_datastore(name, mount_datastore_request_object = nil, fields: nil, quota_user: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::VmwareengineV1::Operation
Mounts a
Datastoreon a cluster resource. -
#patch_project_location_datastore(name, datastore_object = nil, request_id: nil, update_mask: nil, fields: nil, quota_user: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::VmwareengineV1::Operation
Modifies a Datastore resource.
-
#patch_project_location_network_peering(name, network_peering_object = nil, request_id: nil, update_mask: nil, validate_only: nil, fields: nil, quota_user: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::VmwareengineV1::Operation
Modifies a
NetworkPeeringresource. -
#patch_project_location_network_policy(name, network_policy_object = nil, request_id: nil, update_mask: nil, validate_only: nil, fields: nil, quota_user: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::VmwareengineV1::Operation
Modifies a
NetworkPolicyresource. -
#patch_project_location_network_policy_external_access_rule(name, external_access_rule_object = nil, request_id: nil, update_mask: nil, validate_only: nil, fields: nil, quota_user: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::VmwareengineV1::Operation
Updates the parameters of a single external access rule.
-
#patch_project_location_private_cloud(name, private_cloud_object = nil, request_id: nil, update_mask: nil, validate_only: nil, fields: nil, quota_user: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::VmwareengineV1::Operation
Modifies a
PrivateCloudresource. -
#patch_project_location_private_cloud_cluster(name, cluster_object = nil, request_id: nil, update_mask: nil, validate_only: nil, fields: nil, quota_user: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::VmwareengineV1::Operation
Modifies a
Clusterresource. -
#patch_project_location_private_cloud_external_address(name, external_address_object = nil, request_id: nil, update_mask: nil, validate_only: nil, fields: nil, quota_user: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::VmwareengineV1::Operation
Updates the parameters of a single external IP address.
-
#patch_project_location_private_cloud_logging_server(name, logging_server_object = nil, request_id: nil, update_mask: nil, fields: nil, quota_user: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::VmwareengineV1::Operation
Updates the parameters of a single logging server.
-
#patch_project_location_private_cloud_management_dns_zone_binding(name, management_dns_zone_binding_object = nil, request_id: nil, update_mask: nil, fields: nil, quota_user: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::VmwareengineV1::Operation
Updates a
ManagementDnsZoneBindingresource. -
#patch_project_location_private_cloud_subnet(name, subnet_object = nil, update_mask: nil, fields: nil, quota_user: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::VmwareengineV1::Operation
Updates the parameters of a single subnet.
-
#patch_project_location_private_cloud_upgrade(name, upgrade_object = nil, request_id: nil, update_mask: nil, fields: nil, quota_user: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::VmwareengineV1::Operation
Update the private cloud
Upgraderesource. -
#patch_project_location_private_connection(name, private_connection_object = nil, request_id: nil, update_mask: nil, validate_only: nil, fields: nil, quota_user: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::VmwareengineV1::Operation
Modifies a
PrivateConnectionresource. -
#patch_project_location_vmware_engine_network(name, vmware_engine_network_object = nil, request_id: nil, update_mask: nil, validate_only: nil, fields: nil, quota_user: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::VmwareengineV1::Operation
Modifies a VMware Engine network resource.
-
#private_project_location_private_cloud_cloud_deletion_now(name, accelerate_private_cloud_deletion_request_object = nil, fields: nil, quota_user: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::VmwareengineV1::Operation
Accelerates the deletion of a private cloud that is currently in soft deletion A
PrivateCloudresource in soft deletion hasPrivateCloud.stateset toSOFT_DELETEDandPrivateCloud.expireTimeset to the time when deletion can no longer be reversed. -
#repair_management_dns_zone_binding(name, repair_management_dns_zone_binding_request_object = nil, fields: nil, quota_user: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::VmwareengineV1::Operation
Retries to create a
ManagementDnsZoneBindingresource that is in failed state. -
#reset_private_cloud_nsx_credentials(private_cloud, reset_nsx_credentials_request_object = nil, fields: nil, quota_user: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::VmwareengineV1::Operation
Resets credentials of the NSX appliance.
-
#reset_private_cloud_vcenter_credentials(private_cloud, reset_vcenter_credentials_request_object = nil, fields: nil, quota_user: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::VmwareengineV1::Operation
Resets credentials of the Vcenter appliance.
-
#revoke_dns_bind_permission(name, revoke_dns_bind_permission_request_object = nil, fields: nil, quota_user: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::VmwareengineV1::Operation
Revokes the bind permission from the customer provided principal(user / service account) on the intranet VPC associated with the consumer project.
-
#set_cluster_iam_policy(resource, set_iam_policy_request_object = nil, fields: nil, quota_user: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::VmwareengineV1::Policy
Sets the access control policy on the specified resource.
-
#set_hcx_activation_key_iam_policy(resource, set_iam_policy_request_object = nil, fields: nil, quota_user: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::VmwareengineV1::Policy
Sets the access control policy on the specified resource.
-
#set_private_cloud_iam_policy(resource, set_iam_policy_request_object = nil, fields: nil, quota_user: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::VmwareengineV1::Policy
Sets the access control policy on the specified resource.
-
#show_project_location_private_cloud_nsx_credentials(private_cloud, fields: nil, quota_user: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::VmwareengineV1::Credentials
Gets details of credentials for NSX appliance.
-
#show_project_location_private_cloud_vcenter_credentials(private_cloud, username: nil, fields: nil, quota_user: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::VmwareengineV1::Credentials
Gets details of credentials for Vcenter appliance.
-
#test_cluster_iam_permissions(resource, test_iam_permissions_request_object = nil, fields: nil, quota_user: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::VmwareengineV1::TestIamPermissionsResponse
Returns permissions that a caller has on the specified resource.
-
#test_hcx_activation_key_iam_permissions(resource, test_iam_permissions_request_object = nil, fields: nil, quota_user: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::VmwareengineV1::TestIamPermissionsResponse
Returns permissions that a caller has on the specified resource.
-
#test_private_cloud_iam_permissions(resource, test_iam_permissions_request_object = nil, fields: nil, quota_user: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::VmwareengineV1::TestIamPermissionsResponse
Returns permissions that a caller has on the specified resource.
-
#undelete_private_cloud(name, undelete_private_cloud_request_object = nil, fields: nil, quota_user: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::VmwareengineV1::Operation
Restores a private cloud that was previously scheduled for deletion by
DeletePrivateCloud. -
#unmount_cluster_datastore(name, unmount_datastore_request_object = nil, fields: nil, quota_user: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::VmwareengineV1::Operation
Unmounts a
Datastoreon a cluster resource. -
#update_project_location_private_cloud_dns_forwarding(name, dns_forwarding_object = nil, request_id: nil, update_mask: nil, fields: nil, quota_user: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::VmwareengineV1::Operation
Updates the parameters of the
DnsForwardingconfig, like associated domains.
Constructor Details
#initialize ⇒ VMwareEngineService
Returns a new instance of VMwareEngineService.
48 49 50 51 52 53 |
# File 'lib/google/apis/vmwareengine_v1/service.rb', line 48 def initialize super(DEFAULT_ENDPOINT_TEMPLATE, '', client_name: 'google-apis-vmwareengine_v1', client_version: Google::Apis::VmwareengineV1::GEM_VERSION) @batch_path = 'batch' end |
Instance Attribute Details
#key ⇒ String
Returns API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token.
41 42 43 |
# File 'lib/google/apis/vmwareengine_v1/service.rb', line 41 def key @key end |
#quota_user ⇒ String
Returns Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters.
46 47 48 |
# File 'lib/google/apis/vmwareengine_v1/service.rb', line 46 def quota_user @quota_user end |
Instance Method Details
#create_project_location_datastore(parent, datastore_object = nil, datastore_id: nil, request_id: nil, fields: nil, quota_user: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::VmwareengineV1::Operation
Creates a new Datastore resource in a given project and location.
310 311 312 313 314 315 316 317 318 319 320 321 322 |
# File 'lib/google/apis/vmwareengine_v1/service.rb', line 310 def create_project_location_datastore(parent, datastore_object = nil, datastore_id: nil, request_id: nil, fields: nil, quota_user: nil, options: nil, &block) command = make_simple_command(:post, 'v1/{+parent}/datastores', ) command.request_representation = Google::Apis::VmwareengineV1::Datastore::Representation command.request_object = datastore_object command.response_representation = Google::Apis::VmwareengineV1::Operation::Representation command.response_class = Google::Apis::VmwareengineV1::Operation command.params['parent'] = parent unless parent.nil? command.query['datastoreId'] = datastore_id unless datastore_id.nil? command.query['requestId'] = request_id unless request_id.nil? command.query['fields'] = fields unless fields.nil? command.query['quotaUser'] = quota_user unless quota_user.nil? execute_or_queue_command(command, &block) end |
#create_project_location_network_peering(parent, network_peering_object = nil, network_peering_id: nil, request_id: nil, validate_only: nil, fields: nil, quota_user: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::VmwareengineV1::Operation
Creates a new network peering between the peer network and VMware Engine
network provided in a NetworkPeering resource. NetworkPeering is a global
resource and location can only be global.
649 650 651 652 653 654 655 656 657 658 659 660 661 662 |
# File 'lib/google/apis/vmwareengine_v1/service.rb', line 649 def create_project_location_network_peering(parent, network_peering_object = nil, network_peering_id: nil, request_id: nil, validate_only: nil, fields: nil, quota_user: nil, options: nil, &block) command = make_simple_command(:post, 'v1/{+parent}/networkPeerings', ) command.request_representation = Google::Apis::VmwareengineV1::NetworkPeering::Representation command.request_object = network_peering_object command.response_representation = Google::Apis::VmwareengineV1::Operation::Representation command.response_class = Google::Apis::VmwareengineV1::Operation command.params['parent'] = parent unless parent.nil? command.query['networkPeeringId'] = network_peering_id unless network_peering_id.nil? command.query['requestId'] = request_id unless request_id.nil? command.query['validateOnly'] = validate_only unless validate_only.nil? command.query['fields'] = fields unless fields.nil? command.query['quotaUser'] = quota_user unless quota_user.nil? execute_or_queue_command(command, &block) end |
#create_project_location_network_policy(parent, network_policy_object = nil, network_policy_id: nil, request_id: nil, validate_only: nil, fields: nil, quota_user: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::VmwareengineV1::Operation
Creates a new network policy in a given VMware Engine network of a project and location (region). A new network policy cannot be created if another network policy already exists in the same scope.
977 978 979 980 981 982 983 984 985 986 987 988 989 990 |
# File 'lib/google/apis/vmwareengine_v1/service.rb', line 977 def create_project_location_network_policy(parent, network_policy_object = nil, network_policy_id: nil, request_id: nil, validate_only: nil, fields: nil, quota_user: nil, options: nil, &block) command = make_simple_command(:post, 'v1/{+parent}/networkPolicies', ) command.request_representation = Google::Apis::VmwareengineV1::NetworkPolicy::Representation command.request_object = network_policy_object command.response_representation = Google::Apis::VmwareengineV1::Operation::Representation command.response_class = Google::Apis::VmwareengineV1::Operation command.params['parent'] = parent unless parent.nil? command.query['networkPolicyId'] = network_policy_id unless network_policy_id.nil? command.query['requestId'] = request_id unless request_id.nil? command.query['validateOnly'] = validate_only unless validate_only.nil? command.query['fields'] = fields unless fields.nil? command.query['quotaUser'] = quota_user unless quota_user.nil? execute_or_queue_command(command, &block) end |
#create_project_location_network_policy_external_access_rule(parent, external_access_rule_object = nil, external_access_rule_id: nil, request_id: nil, validate_only: nil, fields: nil, quota_user: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::VmwareengineV1::Operation
Creates a new external access rule in a given network policy.
1298 1299 1300 1301 1302 1303 1304 1305 1306 1307 1308 1309 1310 1311 |
# File 'lib/google/apis/vmwareengine_v1/service.rb', line 1298 def create_project_location_network_policy_external_access_rule(parent, external_access_rule_object = nil, external_access_rule_id: nil, request_id: nil, validate_only: nil, fields: nil, quota_user: nil, options: nil, &block) command = make_simple_command(:post, 'v1/{+parent}/externalAccessRules', ) command.request_representation = Google::Apis::VmwareengineV1::ExternalAccessRule::Representation command.request_object = external_access_rule_object command.response_representation = Google::Apis::VmwareengineV1::Operation::Representation command.response_class = Google::Apis::VmwareengineV1::Operation command.params['parent'] = parent unless parent.nil? command.query['externalAccessRuleId'] = external_access_rule_id unless external_access_rule_id.nil? command.query['requestId'] = request_id unless request_id.nil? command.query['validateOnly'] = validate_only unless validate_only.nil? command.query['fields'] = fields unless fields.nil? command.query['quotaUser'] = quota_user unless quota_user.nil? execute_or_queue_command(command, &block) end |
#create_project_location_private_cloud(parent, private_cloud_object = nil, private_cloud_id: nil, request_id: nil, validate_only: nil, fields: nil, quota_user: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::VmwareengineV1::Operation
Creates a new PrivateCloud resource in a given project and location. Private
clouds of type STANDARD and TIME_LIMITED are zonal resources, STRETCHED
private clouds are regional. Creating a private cloud also creates a
management cluster for that private cloud.
1761 1762 1763 1764 1765 1766 1767 1768 1769 1770 1771 1772 1773 1774 |
# File 'lib/google/apis/vmwareengine_v1/service.rb', line 1761 def create_project_location_private_cloud(parent, private_cloud_object = nil, private_cloud_id: nil, request_id: nil, validate_only: nil, fields: nil, quota_user: nil, options: nil, &block) command = make_simple_command(:post, 'v1/{+parent}/privateClouds', ) command.request_representation = Google::Apis::VmwareengineV1::PrivateCloud::Representation command.request_object = private_cloud_object command.response_representation = Google::Apis::VmwareengineV1::Operation::Representation command.response_class = Google::Apis::VmwareengineV1::Operation command.params['parent'] = parent unless parent.nil? command.query['privateCloudId'] = private_cloud_id unless private_cloud_id.nil? command.query['requestId'] = request_id unless request_id.nil? command.query['validateOnly'] = validate_only unless validate_only.nil? command.query['fields'] = fields unless fields.nil? command.query['quotaUser'] = quota_user unless quota_user.nil? execute_or_queue_command(command, &block) end |
#create_project_location_private_cloud_cluster(parent, cluster_object = nil, cluster_id: nil, request_id: nil, validate_only: nil, fields: nil, quota_user: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::VmwareengineV1::Operation
Creates a new cluster in a given private cloud. Creating a new cluster provides additional nodes for use in the parent private cloud and requires sufficient node quota.
2507 2508 2509 2510 2511 2512 2513 2514 2515 2516 2517 2518 2519 2520 |
# File 'lib/google/apis/vmwareengine_v1/service.rb', line 2507 def create_project_location_private_cloud_cluster(parent, cluster_object = nil, cluster_id: nil, request_id: nil, validate_only: nil, fields: nil, quota_user: nil, options: nil, &block) command = make_simple_command(:post, 'v1/{+parent}/clusters', ) command.request_representation = Google::Apis::VmwareengineV1::Cluster::Representation command.request_object = cluster_object command.response_representation = Google::Apis::VmwareengineV1::Operation::Representation command.response_class = Google::Apis::VmwareengineV1::Operation command.params['parent'] = parent unless parent.nil? command.query['clusterId'] = cluster_id unless cluster_id.nil? command.query['requestId'] = request_id unless request_id.nil? command.query['validateOnly'] = validate_only unless validate_only.nil? command.query['fields'] = fields unless fields.nil? command.query['quotaUser'] = quota_user unless quota_user.nil? execute_or_queue_command(command, &block) end |
#create_project_location_private_cloud_external_address(parent, external_address_object = nil, external_address_id: nil, request_id: nil, validate_only: nil, fields: nil, quota_user: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::VmwareengineV1::Operation
Creates a new ExternalAddress resource in a given private cloud. The network
policy that corresponds to the private cloud must have the external IP address
network service enabled (NetworkPolicy.external_ip).
3023 3024 3025 3026 3027 3028 3029 3030 3031 3032 3033 3034 3035 3036 |
# File 'lib/google/apis/vmwareengine_v1/service.rb', line 3023 def create_project_location_private_cloud_external_address(parent, external_address_object = nil, external_address_id: nil, request_id: nil, validate_only: nil, fields: nil, quota_user: nil, options: nil, &block) command = make_simple_command(:post, 'v1/{+parent}/externalAddresses', ) command.request_representation = Google::Apis::VmwareengineV1::ExternalAddress::Representation command.request_object = external_address_object command.response_representation = Google::Apis::VmwareengineV1::Operation::Representation command.response_class = Google::Apis::VmwareengineV1::Operation command.params['parent'] = parent unless parent.nil? command.query['externalAddressId'] = external_address_id unless external_address_id.nil? command.query['requestId'] = request_id unless request_id.nil? command.query['validateOnly'] = validate_only unless validate_only.nil? command.query['fields'] = fields unless fields.nil? command.query['quotaUser'] = quota_user unless quota_user.nil? execute_or_queue_command(command, &block) end |
#create_project_location_private_cloud_hcx_activation_key(parent, hcx_activation_key_object = nil, hcx_activation_key_id: nil, request_id: nil, fields: nil, quota_user: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::VmwareengineV1::Operation
Creates a new HCX activation key in a given private cloud.
3291 3292 3293 3294 3295 3296 3297 3298 3299 3300 3301 3302 3303 |
# File 'lib/google/apis/vmwareengine_v1/service.rb', line 3291 def create_project_location_private_cloud_hcx_activation_key(parent, hcx_activation_key_object = nil, hcx_activation_key_id: nil, request_id: nil, fields: nil, quota_user: nil, options: nil, &block) command = make_simple_command(:post, 'v1/{+parent}/hcxActivationKeys', ) command.request_representation = Google::Apis::VmwareengineV1::HcxActivationKey::Representation command.request_object = hcx_activation_key_object command.response_representation = Google::Apis::VmwareengineV1::Operation::Representation command.response_class = Google::Apis::VmwareengineV1::Operation command.params['parent'] = parent unless parent.nil? command.query['hcxActivationKeyId'] = hcx_activation_key_id unless hcx_activation_key_id.nil? command.query['requestId'] = request_id unless request_id.nil? command.query['fields'] = fields unless fields.nil? command.query['quotaUser'] = quota_user unless quota_user.nil? execute_or_queue_command(command, &block) end |
#create_project_location_private_cloud_logging_server(parent, logging_server_object = nil, logging_server_id: nil, request_id: nil, fields: nil, quota_user: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::VmwareengineV1::Operation
Create a new logging server for a given private cloud.
3547 3548 3549 3550 3551 3552 3553 3554 3555 3556 3557 3558 3559 |
# File 'lib/google/apis/vmwareengine_v1/service.rb', line 3547 def create_project_location_private_cloud_logging_server(parent, logging_server_object = nil, logging_server_id: nil, request_id: nil, fields: nil, quota_user: nil, options: nil, &block) command = make_simple_command(:post, 'v1/{+parent}/loggingServers', ) command.request_representation = Google::Apis::VmwareengineV1::LoggingServer::Representation command.request_object = logging_server_object command.response_representation = Google::Apis::VmwareengineV1::Operation::Representation command.response_class = Google::Apis::VmwareengineV1::Operation command.params['parent'] = parent unless parent.nil? command.query['loggingServerId'] = logging_server_id unless logging_server_id.nil? command.query['requestId'] = request_id unless request_id.nil? command.query['fields'] = fields unless fields.nil? command.query['quotaUser'] = quota_user unless quota_user.nil? execute_or_queue_command(command, &block) end |
#create_project_location_private_cloud_management_dns_zone_binding(parent, management_dns_zone_binding_object = nil, management_dns_zone_binding_id: nil, request_id: nil, fields: nil, quota_user: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::VmwareengineV1::Operation
Creates a new ManagementDnsZoneBinding resource in a private cloud. This RPC
creates the DNS binding and the resource that represents the DNS binding of
the consumer VPC network to the management DNS zone. A management DNS zone is
the Cloud DNS cross-project binding zone that VMware Engine creates for each
private cloud. It contains FQDNs and corresponding IP addresses for the
private cloud's ESXi hosts and management VM appliances like vCenter and NSX
Manager.
3812 3813 3814 3815 3816 3817 3818 3819 3820 3821 3822 3823 3824 |
# File 'lib/google/apis/vmwareengine_v1/service.rb', line 3812 def create_project_location_private_cloud_management_dns_zone_binding(parent, management_dns_zone_binding_object = nil, management_dns_zone_binding_id: nil, request_id: nil, fields: nil, quota_user: nil, options: nil, &block) command = make_simple_command(:post, 'v1/{+parent}/managementDnsZoneBindings', ) command.request_representation = Google::Apis::VmwareengineV1::ManagementDnsZoneBinding::Representation command.request_object = management_dns_zone_binding_object command.response_representation = Google::Apis::VmwareengineV1::Operation::Representation command.response_class = Google::Apis::VmwareengineV1::Operation command.params['parent'] = parent unless parent.nil? command.query['managementDnsZoneBindingId'] = management_dns_zone_binding_id unless management_dns_zone_binding_id.nil? command.query['requestId'] = request_id unless request_id.nil? command.query['fields'] = fields unless fields.nil? command.query['quotaUser'] = quota_user unless quota_user.nil? execute_or_queue_command(command, &block) end |
#create_project_location_private_connection(parent, private_connection_object = nil, private_connection_id: nil, request_id: nil, validate_only: nil, fields: nil, quota_user: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::VmwareengineV1::Operation
Creates a new private connection that can be used for accessing private Clouds.
4395 4396 4397 4398 4399 4400 4401 4402 4403 4404 4405 4406 4407 4408 |
# File 'lib/google/apis/vmwareengine_v1/service.rb', line 4395 def create_project_location_private_connection(parent, private_connection_object = nil, private_connection_id: nil, request_id: nil, validate_only: nil, fields: nil, quota_user: nil, options: nil, &block) command = make_simple_command(:post, 'v1/{+parent}/privateConnections', ) command.request_representation = Google::Apis::VmwareengineV1::PrivateConnection::Representation command.request_object = private_connection_object command.response_representation = Google::Apis::VmwareengineV1::Operation::Representation command.response_class = Google::Apis::VmwareengineV1::Operation command.params['parent'] = parent unless parent.nil? command.query['privateConnectionId'] = private_connection_id unless private_connection_id.nil? command.query['requestId'] = request_id unless request_id.nil? command.query['validateOnly'] = validate_only unless validate_only.nil? command.query['fields'] = fields unless fields.nil? command.query['quotaUser'] = quota_user unless quota_user.nil? execute_or_queue_command(command, &block) end |
#create_project_location_vmware_engine_network(parent, vmware_engine_network_object = nil, request_id: nil, validate_only: nil, vmware_engine_network_id: nil, fields: nil, quota_user: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::VmwareengineV1::Operation
Creates a new VMware Engine network that can be used by a private cloud.
4713 4714 4715 4716 4717 4718 4719 4720 4721 4722 4723 4724 4725 4726 |
# File 'lib/google/apis/vmwareengine_v1/service.rb', line 4713 def create_project_location_vmware_engine_network(parent, vmware_engine_network_object = nil, request_id: nil, validate_only: nil, vmware_engine_network_id: nil, fields: nil, quota_user: nil, options: nil, &block) command = make_simple_command(:post, 'v1/{+parent}/vmwareEngineNetworks', ) command.request_representation = Google::Apis::VmwareengineV1::VmwareEngineNetwork::Representation command.request_object = vmware_engine_network_object command.response_representation = Google::Apis::VmwareengineV1::Operation::Representation command.response_class = Google::Apis::VmwareengineV1::Operation command.params['parent'] = parent unless parent.nil? command.query['requestId'] = request_id unless request_id.nil? command.query['validateOnly'] = validate_only unless validate_only.nil? command.query['vmwareEngineNetworkId'] = vmware_engine_network_id unless vmware_engine_network_id.nil? command.query['fields'] = fields unless fields.nil? command.query['quotaUser'] = quota_user unless quota_user.nil? execute_or_queue_command(command, &block) end |
#delete_project_location_datastore(name, etag: nil, request_id: nil, fields: nil, quota_user: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::VmwareengineV1::Operation
Deletes a Datastore resource. You can only delete a Datastore after all
resources that refer to it are deleted. For example, multiple clusters of the
same private cloud or different private clouds can refer to the same datastore.
357 358 359 360 361 362 363 364 365 366 367 |
# File 'lib/google/apis/vmwareengine_v1/service.rb', line 357 def delete_project_location_datastore(name, etag: nil, request_id: nil, fields: nil, quota_user: nil, options: nil, &block) command = make_simple_command(:delete, 'v1/{+name}', ) command.response_representation = Google::Apis::VmwareengineV1::Operation::Representation command.response_class = Google::Apis::VmwareengineV1::Operation command.params['name'] = name unless name.nil? command.query['etag'] = etag unless etag.nil? command.query['requestId'] = request_id unless request_id.nil? command.query['fields'] = fields unless fields.nil? command.query['quotaUser'] = quota_user unless quota_user.nil? execute_or_queue_command(command, &block) end |
#delete_project_location_network_peering(name, request_id: nil, fields: nil, quota_user: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::VmwareengineV1::Operation
Deletes a NetworkPeering resource. When a network peering is deleted for a
VMware Engine network, the peer network becomes inaccessible to that VMware
Engine network. NetworkPeering is a global resource and location can only be
global.
702 703 704 705 706 707 708 709 710 711 |
# File 'lib/google/apis/vmwareengine_v1/service.rb', line 702 def delete_project_location_network_peering(name, request_id: nil, fields: nil, quota_user: nil, options: nil, &block) command = make_simple_command(:delete, 'v1/{+name}', ) command.response_representation = Google::Apis::VmwareengineV1::Operation::Representation command.response_class = Google::Apis::VmwareengineV1::Operation command.params['name'] = name unless name.nil? command.query['requestId'] = request_id unless request_id.nil? command.query['fields'] = fields unless fields.nil? command.query['quotaUser'] = quota_user unless quota_user.nil? execute_or_queue_command(command, &block) end |
#delete_project_location_network_policy(name, request_id: nil, fields: nil, quota_user: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::VmwareengineV1::Operation
Deletes a NetworkPolicy resource. A network policy cannot be deleted when
NetworkService.state is set to RECONCILING for either its external IP or
internet access service.
1029 1030 1031 1032 1033 1034 1035 1036 1037 1038 |
# File 'lib/google/apis/vmwareengine_v1/service.rb', line 1029 def delete_project_location_network_policy(name, request_id: nil, fields: nil, quota_user: nil, options: nil, &block) command = make_simple_command(:delete, 'v1/{+name}', ) command.response_representation = Google::Apis::VmwareengineV1::Operation::Representation command.response_class = Google::Apis::VmwareengineV1::Operation command.params['name'] = name unless name.nil? command.query['requestId'] = request_id unless request_id.nil? command.query['fields'] = fields unless fields.nil? command.query['quotaUser'] = quota_user unless quota_user.nil? execute_or_queue_command(command, &block) end |
#delete_project_location_network_policy_external_access_rule(name, request_id: nil, fields: nil, quota_user: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::VmwareengineV1::Operation
Deletes a single external access rule.
1348 1349 1350 1351 1352 1353 1354 1355 1356 1357 |
# File 'lib/google/apis/vmwareengine_v1/service.rb', line 1348 def delete_project_location_network_policy_external_access_rule(name, request_id: nil, fields: nil, quota_user: nil, options: nil, &block) command = make_simple_command(:delete, 'v1/{+name}', ) command.response_representation = Google::Apis::VmwareengineV1::Operation::Representation command.response_class = Google::Apis::VmwareengineV1::Operation command.params['name'] = name unless name.nil? command.query['requestId'] = request_id unless request_id.nil? command.query['fields'] = fields unless fields.nil? command.query['quotaUser'] = quota_user unless quota_user.nil? execute_or_queue_command(command, &block) end |
#delete_project_location_operation(name, fields: nil, quota_user: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::VmwareengineV1::Empty
Deletes a long-running operation. This method indicates that the client is no
longer interested in the operation result. It does not cancel the operation.
If the server doesn't support this method, it returns google.rpc.Code.
UNIMPLEMENTED.
1629 1630 1631 1632 1633 1634 1635 1636 1637 |
# File 'lib/google/apis/vmwareengine_v1/service.rb', line 1629 def delete_project_location_operation(name, fields: nil, quota_user: nil, options: nil, &block) command = make_simple_command(:delete, 'v1/{+name}', ) command.response_representation = Google::Apis::VmwareengineV1::Empty::Representation command.response_class = Google::Apis::VmwareengineV1::Empty command.params['name'] = name unless name.nil? command.query['fields'] = fields unless fields.nil? command.query['quotaUser'] = quota_user unless quota_user.nil? execute_or_queue_command(command, &block) end |
#delete_project_location_private_cloud(name, delay_hours: nil, force: nil, request_id: nil, fields: nil, quota_user: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::VmwareengineV1::Operation
Schedules a PrivateCloud resource for deletion. A PrivateCloud resource
scheduled for deletion has PrivateCloud.state set to DELETED and
expireTime set to the time when deletion is final and can no longer be
reversed. The delete operation is marked as done as soon as the PrivateCloud
is successfully scheduled for deletion (this also applies when delayHours is
set to zero), and the operation is not kept in pending state until
PrivateCloud is purged. PrivateCloud can be restored using
UndeletePrivateCloud method before the expireTime elapses. When expireTime
is reached, deletion is final and all private cloud resources are
irreversibly removed and billing stops. During the final removal process,
PrivateCloud.state is set to PURGING. PrivateCloud can be polled using
standard GET method for the whole period of deletion and purging. It will
not be returned only when it is completely purged.
1827 1828 1829 1830 1831 1832 1833 1834 1835 1836 1837 1838 |
# File 'lib/google/apis/vmwareengine_v1/service.rb', line 1827 def delete_project_location_private_cloud(name, delay_hours: nil, force: nil, request_id: nil, fields: nil, quota_user: nil, options: nil, &block) command = make_simple_command(:delete, 'v1/{+name}', ) command.response_representation = Google::Apis::VmwareengineV1::Operation::Representation command.response_class = Google::Apis::VmwareengineV1::Operation command.params['name'] = name unless name.nil? command.query['delayHours'] = delay_hours unless delay_hours.nil? command.query['force'] = force unless force.nil? command.query['requestId'] = request_id unless request_id.nil? command.query['fields'] = fields unless fields.nil? command.query['quotaUser'] = quota_user unless quota_user.nil? execute_or_queue_command(command, &block) end |
#delete_project_location_private_cloud_cluster(name, request_id: nil, fields: nil, quota_user: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::VmwareengineV1::Operation
Deletes a Cluster resource. To avoid unintended data loss, migrate or
gracefully shut down any workloads running on the cluster before deletion. You
cannot delete the management cluster of a private cloud using this method.
2550 2551 2552 2553 2554 2555 2556 2557 2558 2559 |
# File 'lib/google/apis/vmwareengine_v1/service.rb', line 2550 def delete_project_location_private_cloud_cluster(name, request_id: nil, fields: nil, quota_user: nil, options: nil, &block) command = make_simple_command(:delete, 'v1/{+name}', ) command.response_representation = Google::Apis::VmwareengineV1::Operation::Representation command.response_class = Google::Apis::VmwareengineV1::Operation command.params['name'] = name unless name.nil? command.query['requestId'] = request_id unless request_id.nil? command.query['fields'] = fields unless fields.nil? command.query['quotaUser'] = quota_user unless quota_user.nil? execute_or_queue_command(command, &block) end |
#delete_project_location_private_cloud_external_address(name, request_id: nil, fields: nil, quota_user: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::VmwareengineV1::Operation
Deletes a single external IP address. When you delete an external IP address, connectivity between the external IP address and the corresponding internal IP address is lost.
3075 3076 3077 3078 3079 3080 3081 3082 3083 3084 |
# File 'lib/google/apis/vmwareengine_v1/service.rb', line 3075 def delete_project_location_private_cloud_external_address(name, request_id: nil, fields: nil, quota_user: nil, options: nil, &block) command = make_simple_command(:delete, 'v1/{+name}', ) command.response_representation = Google::Apis::VmwareengineV1::Operation::Representation command.response_class = Google::Apis::VmwareengineV1::Operation command.params['name'] = name unless name.nil? command.query['requestId'] = request_id unless request_id.nil? command.query['fields'] = fields unless fields.nil? command.query['quotaUser'] = quota_user unless quota_user.nil? execute_or_queue_command(command, &block) end |
#delete_project_location_private_cloud_logging_server(name, request_id: nil, fields: nil, quota_user: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::VmwareengineV1::Operation
Deletes a single logging server.
3596 3597 3598 3599 3600 3601 3602 3603 3604 3605 |
# File 'lib/google/apis/vmwareengine_v1/service.rb', line 3596 def delete_project_location_private_cloud_logging_server(name, request_id: nil, fields: nil, quota_user: nil, options: nil, &block) command = make_simple_command(:delete, 'v1/{+name}', ) command.response_representation = Google::Apis::VmwareengineV1::Operation::Representation command.response_class = Google::Apis::VmwareengineV1::Operation command.params['name'] = name unless name.nil? command.query['requestId'] = request_id unless request_id.nil? command.query['fields'] = fields unless fields.nil? command.query['quotaUser'] = quota_user unless quota_user.nil? execute_or_queue_command(command, &block) end |
#delete_project_location_private_cloud_management_dns_zone_binding(name, request_id: nil, fields: nil, quota_user: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::VmwareengineV1::Operation
Deletes a ManagementDnsZoneBinding resource. When a management DNS zone
binding is deleted, the corresponding consumer VPC network is no longer bound
to the management DNS zone.
3864 3865 3866 3867 3868 3869 3870 3871 3872 3873 |
# File 'lib/google/apis/vmwareengine_v1/service.rb', line 3864 def delete_project_location_private_cloud_management_dns_zone_binding(name, request_id: nil, fields: nil, quota_user: nil, options: nil, &block) command = make_simple_command(:delete, 'v1/{+name}', ) command.response_representation = Google::Apis::VmwareengineV1::Operation::Representation command.response_class = Google::Apis::VmwareengineV1::Operation command.params['name'] = name unless name.nil? command.query['requestId'] = request_id unless request_id.nil? command.query['fields'] = fields unless fields.nil? command.query['quotaUser'] = quota_user unless quota_user.nil? execute_or_queue_command(command, &block) end |
#delete_project_location_private_connection(name, request_id: nil, fields: nil, quota_user: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::VmwareengineV1::Operation
Deletes a PrivateConnection resource. When a private connection is deleted
for a VMware Engine network, the connected network becomes inaccessible to
that VMware Engine network.
4447 4448 4449 4450 4451 4452 4453 4454 4455 4456 |
# File 'lib/google/apis/vmwareengine_v1/service.rb', line 4447 def delete_project_location_private_connection(name, request_id: nil, fields: nil, quota_user: nil, options: nil, &block) command = make_simple_command(:delete, 'v1/{+name}', ) command.response_representation = Google::Apis::VmwareengineV1::Operation::Representation command.response_class = Google::Apis::VmwareengineV1::Operation command.params['name'] = name unless name.nil? command.query['requestId'] = request_id unless request_id.nil? command.query['fields'] = fields unless fields.nil? command.query['quotaUser'] = quota_user unless quota_user.nil? execute_or_queue_command(command, &block) end |
#delete_project_location_vmware_engine_network(name, etag: nil, request_id: nil, fields: nil, quota_user: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::VmwareengineV1::Operation
Deletes a VmwareEngineNetwork resource. You can only delete a VMware Engine
network after all resources that refer to it are deleted. For example, a
private cloud, a network peering, and a network policy can all refer to the
same VMware Engine network.
4771 4772 4773 4774 4775 4776 4777 4778 4779 4780 4781 |
# File 'lib/google/apis/vmwareengine_v1/service.rb', line 4771 def delete_project_location_vmware_engine_network(name, etag: nil, request_id: nil, fields: nil, quota_user: nil, options: nil, &block) command = make_simple_command(:delete, 'v1/{+name}', ) command.response_representation = Google::Apis::VmwareengineV1::Operation::Representation command.response_class = Google::Apis::VmwareengineV1::Operation command.params['name'] = name unless name.nil? command.query['etag'] = etag unless etag.nil? command.query['requestId'] = request_id unless request_id.nil? command.query['fields'] = fields unless fields.nil? command.query['quotaUser'] = quota_user unless quota_user.nil? execute_or_queue_command(command, &block) end |
#fetch_project_location_network_policy_external_addresses(network_policy, page_size: nil, page_token: nil, fields: nil, quota_user: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::VmwareengineV1::FetchNetworkPolicyExternalAddressesResponse
Lists external IP addresses assigned to VMware workload VMs within the scope of the given network policy.
1073 1074 1075 1076 1077 1078 1079 1080 1081 1082 1083 |
# File 'lib/google/apis/vmwareengine_v1/service.rb', line 1073 def fetch_project_location_network_policy_external_addresses(network_policy, page_size: nil, page_token: nil, fields: nil, quota_user: nil, options: nil, &block) command = make_simple_command(:get, 'v1/{+networkPolicy}:fetchExternalAddresses', ) command.response_representation = Google::Apis::VmwareengineV1::FetchNetworkPolicyExternalAddressesResponse::Representation command.response_class = Google::Apis::VmwareengineV1::FetchNetworkPolicyExternalAddressesResponse command.params['networkPolicy'] = network_policy unless network_policy.nil? command.query['pageSize'] = page_size unless page_size.nil? command.query['pageToken'] = page_token unless page_token.nil? command.query['fields'] = fields unless fields.nil? command.query['quotaUser'] = quota_user unless quota_user.nil? execute_or_queue_command(command, &block) end |
#get_project_location(name, fields: nil, quota_user: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::VmwareengineV1::Location
Gets information about a location.
75 76 77 78 79 80 81 82 83 |
# File 'lib/google/apis/vmwareengine_v1/service.rb', line 75 def get_project_location(name, fields: nil, quota_user: nil, options: nil, &block) command = make_simple_command(:get, 'v1/{+name}', ) command.response_representation = Google::Apis::VmwareengineV1::Location::Representation command.response_class = Google::Apis::VmwareengineV1::Location command.params['name'] = name unless name.nil? command.query['fields'] = fields unless fields.nil? command.query['quotaUser'] = quota_user unless quota_user.nil? execute_or_queue_command(command, &block) end |
#get_project_location_announcement(name, fields: nil, quota_user: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::VmwareengineV1::Announcement
Retrieves a Announcement by its resource name.
201 202 203 204 205 206 207 208 209 |
# File 'lib/google/apis/vmwareengine_v1/service.rb', line 201 def get_project_location_announcement(name, fields: nil, quota_user: nil, options: nil, &block) command = make_simple_command(:get, 'v1/{+name}', ) command.response_representation = Google::Apis::VmwareengineV1::Announcement::Representation command.response_class = Google::Apis::VmwareengineV1::Announcement command.params['name'] = name unless name.nil? command.query['fields'] = fields unless fields.nil? command.query['quotaUser'] = quota_user unless quota_user.nil? execute_or_queue_command(command, &block) end |
#get_project_location_datastore(name, fields: nil, quota_user: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::VmwareengineV1::Datastore
Retrieves a Datastore resource by its resource name. The resource contains
details of the Datastore, such as its description, subnets, type, and more.
393 394 395 396 397 398 399 400 401 |
# File 'lib/google/apis/vmwareengine_v1/service.rb', line 393 def get_project_location_datastore(name, fields: nil, quota_user: nil, options: nil, &block) command = make_simple_command(:get, 'v1/{+name}', ) command.response_representation = Google::Apis::VmwareengineV1::Datastore::Representation command.response_class = Google::Apis::VmwareengineV1::Datastore command.params['name'] = name unless name.nil? command.query['fields'] = fields unless fields.nil? command.query['quotaUser'] = quota_user unless quota_user.nil? execute_or_queue_command(command, &block) end |
#get_project_location_dns_bind_permission(name, fields: nil, quota_user: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::VmwareengineV1::DnsBindPermission
Gets all the principals having bind permission on the intranet VPC associated with the consumer project granted by the Grant API. DnsBindPermission is a global resource and location can only be global.
112 113 114 115 116 117 118 119 120 |
# File 'lib/google/apis/vmwareengine_v1/service.rb', line 112 def (name, fields: nil, quota_user: nil, options: nil, &block) command = make_simple_command(:get, 'v1/{+name}', ) command.response_representation = Google::Apis::VmwareengineV1::DnsBindPermission::Representation command.response_class = Google::Apis::VmwareengineV1::DnsBindPermission command.params['name'] = name unless name.nil? command.query['fields'] = fields unless fields.nil? command.query['quotaUser'] = quota_user unless quota_user.nil? execute_or_queue_command(command, &block) end |
#get_project_location_network_peering(name, fields: nil, quota_user: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::VmwareengineV1::NetworkPeering
Retrieves a NetworkPeering resource by its resource name. The resource
contains details of the network peering, such as peered networks, import and
export custom route configurations, and peering state. NetworkPeering is a
global resource and location can only be global.
739 740 741 742 743 744 745 746 747 |
# File 'lib/google/apis/vmwareengine_v1/service.rb', line 739 def get_project_location_network_peering(name, fields: nil, quota_user: nil, options: nil, &block) command = make_simple_command(:get, 'v1/{+name}', ) command.response_representation = Google::Apis::VmwareengineV1::NetworkPeering::Representation command.response_class = Google::Apis::VmwareengineV1::NetworkPeering command.params['name'] = name unless name.nil? command.query['fields'] = fields unless fields.nil? command.query['quotaUser'] = quota_user unless quota_user.nil? execute_or_queue_command(command, &block) end |
#get_project_location_network_policy(name, fields: nil, quota_user: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::VmwareengineV1::NetworkPolicy
Retrieves a NetworkPolicy resource by its resource name.
1108 1109 1110 1111 1112 1113 1114 1115 1116 |
# File 'lib/google/apis/vmwareengine_v1/service.rb', line 1108 def get_project_location_network_policy(name, fields: nil, quota_user: nil, options: nil, &block) command = make_simple_command(:get, 'v1/{+name}', ) command.response_representation = Google::Apis::VmwareengineV1::NetworkPolicy::Representation command.response_class = Google::Apis::VmwareengineV1::NetworkPolicy command.params['name'] = name unless name.nil? command.query['fields'] = fields unless fields.nil? command.query['quotaUser'] = quota_user unless quota_user.nil? execute_or_queue_command(command, &block) end |
#get_project_location_network_policy_external_access_rule(name, fields: nil, quota_user: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::VmwareengineV1::ExternalAccessRule
Gets details of a single external access rule.
1382 1383 1384 1385 1386 1387 1388 1389 1390 |
# File 'lib/google/apis/vmwareengine_v1/service.rb', line 1382 def get_project_location_network_policy_external_access_rule(name, fields: nil, quota_user: nil, options: nil, &block) command = make_simple_command(:get, 'v1/{+name}', ) command.response_representation = Google::Apis::VmwareengineV1::ExternalAccessRule::Representation command.response_class = Google::Apis::VmwareengineV1::ExternalAccessRule command.params['name'] = name unless name.nil? command.query['fields'] = fields unless fields.nil? command.query['quotaUser'] = quota_user unless quota_user.nil? execute_or_queue_command(command, &block) end |
#get_project_location_node_type(name, fields: nil, quota_user: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::VmwareengineV1::NodeType
Gets details of a single NodeType.
1540 1541 1542 1543 1544 1545 1546 1547 1548 |
# File 'lib/google/apis/vmwareengine_v1/service.rb', line 1540 def get_project_location_node_type(name, fields: nil, quota_user: nil, options: nil, &block) command = make_simple_command(:get, 'v1/{+name}', ) command.response_representation = Google::Apis::VmwareengineV1::NodeType::Representation command.response_class = Google::Apis::VmwareengineV1::NodeType command.params['name'] = name unless name.nil? command.query['fields'] = fields unless fields.nil? command.query['quotaUser'] = quota_user unless quota_user.nil? execute_or_queue_command(command, &block) end |
#get_project_location_operation(name, fields: nil, quota_user: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::VmwareengineV1::Operation
Gets the latest state of a long-running operation. Clients can use this method to poll the operation result at intervals as recommended by the API service.
1660 1661 1662 1663 1664 1665 1666 1667 1668 |
# File 'lib/google/apis/vmwareengine_v1/service.rb', line 1660 def get_project_location_operation(name, fields: nil, quota_user: nil, options: nil, &block) command = make_simple_command(:get, 'v1/{+name}', ) command.response_representation = Google::Apis::VmwareengineV1::Operation::Representation command.response_class = Google::Apis::VmwareengineV1::Operation command.params['name'] = name unless name.nil? command.query['fields'] = fields unless fields.nil? command.query['quotaUser'] = quota_user unless quota_user.nil? execute_or_queue_command(command, &block) end |
#get_project_location_private_cloud(name, fields: nil, quota_user: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::VmwareengineV1::PrivateCloud
Retrieves a PrivateCloud resource by its resource name.
1863 1864 1865 1866 1867 1868 1869 1870 1871 |
# File 'lib/google/apis/vmwareengine_v1/service.rb', line 1863 def get_project_location_private_cloud(name, fields: nil, quota_user: nil, options: nil, &block) command = make_simple_command(:get, 'v1/{+name}', ) command.response_representation = Google::Apis::VmwareengineV1::PrivateCloud::Representation command.response_class = Google::Apis::VmwareengineV1::PrivateCloud command.params['name'] = name unless name.nil? command.query['fields'] = fields unless fields.nil? command.query['quotaUser'] = quota_user unless quota_user.nil? execute_or_queue_command(command, &block) end |
#get_project_location_private_cloud_cluster(name, fields: nil, quota_user: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::VmwareengineV1::Cluster
Retrieves a Cluster resource by its resource name.
2584 2585 2586 2587 2588 2589 2590 2591 2592 |
# File 'lib/google/apis/vmwareengine_v1/service.rb', line 2584 def get_project_location_private_cloud_cluster(name, fields: nil, quota_user: nil, options: nil, &block) command = make_simple_command(:get, 'v1/{+name}', ) command.response_representation = Google::Apis::VmwareengineV1::Cluster::Representation command.response_class = Google::Apis::VmwareengineV1::Cluster command.params['name'] = name unless name.nil? command.query['fields'] = fields unless fields.nil? command.query['quotaUser'] = quota_user unless quota_user.nil? execute_or_queue_command(command, &block) end |
#get_project_location_private_cloud_cluster_iam_policy(resource, options_requested_policy_version: nil, fields: nil, quota_user: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::VmwareengineV1::Policy
Gets the access control policy for a resource. Returns an empty policy if the resource exists and does not have a policy set.
2628 2629 2630 2631 2632 2633 2634 2635 2636 2637 |
# File 'lib/google/apis/vmwareengine_v1/service.rb', line 2628 def get_project_location_private_cloud_cluster_iam_policy(resource, options_requested_policy_version: nil, fields: nil, quota_user: nil, options: nil, &block) command = make_simple_command(:get, 'v1/{+resource}:getIamPolicy', ) command.response_representation = Google::Apis::VmwareengineV1::Policy::Representation command.response_class = Google::Apis::VmwareengineV1::Policy command.params['resource'] = resource unless resource.nil? command.query['options.requestedPolicyVersion'] = unless .nil? command.query['fields'] = fields unless fields.nil? command.query['quotaUser'] = quota_user unless quota_user.nil? execute_or_queue_command(command, &block) end |
#get_project_location_private_cloud_cluster_node(name, fields: nil, quota_user: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::VmwareengineV1::Node
Gets details of a single node.
2921 2922 2923 2924 2925 2926 2927 2928 2929 |
# File 'lib/google/apis/vmwareengine_v1/service.rb', line 2921 def get_project_location_private_cloud_cluster_node(name, fields: nil, quota_user: nil, options: nil, &block) command = make_simple_command(:get, 'v1/{+name}', ) command.response_representation = Google::Apis::VmwareengineV1::Node::Representation command.response_class = Google::Apis::VmwareengineV1::Node command.params['name'] = name unless name.nil? command.query['fields'] = fields unless fields.nil? command.query['quotaUser'] = quota_user unless quota_user.nil? execute_or_queue_command(command, &block) end |
#get_project_location_private_cloud_dns_forwarding(name, fields: nil, quota_user: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::VmwareengineV1::DnsForwarding
Gets details of the DnsForwarding config.
1896 1897 1898 1899 1900 1901 1902 1903 1904 |
# File 'lib/google/apis/vmwareengine_v1/service.rb', line 1896 def get_project_location_private_cloud_dns_forwarding(name, fields: nil, quota_user: nil, options: nil, &block) command = make_simple_command(:get, 'v1/{+name}', ) command.response_representation = Google::Apis::VmwareengineV1::DnsForwarding::Representation command.response_class = Google::Apis::VmwareengineV1::DnsForwarding command.params['name'] = name unless name.nil? command.query['fields'] = fields unless fields.nil? command.query['quotaUser'] = quota_user unless quota_user.nil? execute_or_queue_command(command, &block) end |
#get_project_location_private_cloud_external_address(name, fields: nil, quota_user: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::VmwareengineV1::ExternalAddress
Gets details of a single external IP address.
3109 3110 3111 3112 3113 3114 3115 3116 3117 |
# File 'lib/google/apis/vmwareengine_v1/service.rb', line 3109 def get_project_location_private_cloud_external_address(name, fields: nil, quota_user: nil, options: nil, &block) command = make_simple_command(:get, 'v1/{+name}', ) command.response_representation = Google::Apis::VmwareengineV1::ExternalAddress::Representation command.response_class = Google::Apis::VmwareengineV1::ExternalAddress command.params['name'] = name unless name.nil? command.query['fields'] = fields unless fields.nil? command.query['quotaUser'] = quota_user unless quota_user.nil? execute_or_queue_command(command, &block) end |
#get_project_location_private_cloud_hcx_activation_key(name, fields: nil, quota_user: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::VmwareengineV1::HcxActivationKey
Retrieves a HcxActivationKey resource by its resource name.
3328 3329 3330 3331 3332 3333 3334 3335 3336 |
# File 'lib/google/apis/vmwareengine_v1/service.rb', line 3328 def get_project_location_private_cloud_hcx_activation_key(name, fields: nil, quota_user: nil, options: nil, &block) command = make_simple_command(:get, 'v1/{+name}', ) command.response_representation = Google::Apis::VmwareengineV1::HcxActivationKey::Representation command.response_class = Google::Apis::VmwareengineV1::HcxActivationKey command.params['name'] = name unless name.nil? command.query['fields'] = fields unless fields.nil? command.query['quotaUser'] = quota_user unless quota_user.nil? execute_or_queue_command(command, &block) end |
#get_project_location_private_cloud_hcx_activation_key_iam_policy(resource, options_requested_policy_version: nil, fields: nil, quota_user: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::VmwareengineV1::Policy
Gets the access control policy for a resource. Returns an empty policy if the resource exists and does not have a policy set.
3372 3373 3374 3375 3376 3377 3378 3379 3380 3381 |
# File 'lib/google/apis/vmwareengine_v1/service.rb', line 3372 def get_project_location_private_cloud_hcx_activation_key_iam_policy(resource, options_requested_policy_version: nil, fields: nil, quota_user: nil, options: nil, &block) command = make_simple_command(:get, 'v1/{+resource}:getIamPolicy', ) command.response_representation = Google::Apis::VmwareengineV1::Policy::Representation command.response_class = Google::Apis::VmwareengineV1::Policy command.params['resource'] = resource unless resource.nil? command.query['options.requestedPolicyVersion'] = unless .nil? command.query['fields'] = fields unless fields.nil? command.query['quotaUser'] = quota_user unless quota_user.nil? execute_or_queue_command(command, &block) end |
#get_project_location_private_cloud_iam_policy(resource, options_requested_policy_version: nil, fields: nil, quota_user: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::VmwareengineV1::Policy
Gets the access control policy for a resource. Returns an empty policy if the resource exists and does not have a policy set.
1940 1941 1942 1943 1944 1945 1946 1947 1948 1949 |
# File 'lib/google/apis/vmwareengine_v1/service.rb', line 1940 def get_project_location_private_cloud_iam_policy(resource, options_requested_policy_version: nil, fields: nil, quota_user: nil, options: nil, &block) command = make_simple_command(:get, 'v1/{+resource}:getIamPolicy', ) command.response_representation = Google::Apis::VmwareengineV1::Policy::Representation command.response_class = Google::Apis::VmwareengineV1::Policy command.params['resource'] = resource unless resource.nil? command.query['options.requestedPolicyVersion'] = unless .nil? command.query['fields'] = fields unless fields.nil? command.query['quotaUser'] = quota_user unless quota_user.nil? execute_or_queue_command(command, &block) end |
#get_project_location_private_cloud_logging_server(name, fields: nil, quota_user: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::VmwareengineV1::LoggingServer
Gets details of a logging server.
3630 3631 3632 3633 3634 3635 3636 3637 3638 |
# File 'lib/google/apis/vmwareengine_v1/service.rb', line 3630 def get_project_location_private_cloud_logging_server(name, fields: nil, quota_user: nil, options: nil, &block) command = make_simple_command(:get, 'v1/{+name}', ) command.response_representation = Google::Apis::VmwareengineV1::LoggingServer::Representation command.response_class = Google::Apis::VmwareengineV1::LoggingServer command.params['name'] = name unless name.nil? command.query['fields'] = fields unless fields.nil? command.query['quotaUser'] = quota_user unless quota_user.nil? execute_or_queue_command(command, &block) end |
#get_project_location_private_cloud_management_dns_zone_binding(name, fields: nil, quota_user: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::VmwareengineV1::ManagementDnsZoneBinding
Retrieves a 'ManagementDnsZoneBinding' resource by its resource name.
3899 3900 3901 3902 3903 3904 3905 3906 3907 |
# File 'lib/google/apis/vmwareengine_v1/service.rb', line 3899 def get_project_location_private_cloud_management_dns_zone_binding(name, fields: nil, quota_user: nil, options: nil, &block) command = make_simple_command(:get, 'v1/{+name}', ) command.response_representation = Google::Apis::VmwareengineV1::ManagementDnsZoneBinding::Representation command.response_class = Google::Apis::VmwareengineV1::ManagementDnsZoneBinding command.params['name'] = name unless name.nil? command.query['fields'] = fields unless fields.nil? command.query['quotaUser'] = quota_user unless quota_user.nil? execute_or_queue_command(command, &block) end |
#get_project_location_private_cloud_subnet(name, fields: nil, quota_user: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::VmwareengineV1::Subnet
Gets details of a single subnet.
4093 4094 4095 4096 4097 4098 4099 4100 4101 |
# File 'lib/google/apis/vmwareengine_v1/service.rb', line 4093 def get_project_location_private_cloud_subnet(name, fields: nil, quota_user: nil, options: nil, &block) command = make_simple_command(:get, 'v1/{+name}', ) command.response_representation = Google::Apis::VmwareengineV1::Subnet::Representation command.response_class = Google::Apis::VmwareengineV1::Subnet command.params['name'] = name unless name.nil? command.query['fields'] = fields unless fields.nil? command.query['quotaUser'] = quota_user unless quota_user.nil? execute_or_queue_command(command, &block) end |
#get_project_location_private_cloud_upgrade(name, fields: nil, quota_user: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::VmwareengineV1::Upgrade
Retrieves a private cloud Upgrade resource by its resource name.
4216 4217 4218 4219 4220 4221 4222 4223 4224 |
# File 'lib/google/apis/vmwareengine_v1/service.rb', line 4216 def get_project_location_private_cloud_upgrade(name, fields: nil, quota_user: nil, options: nil, &block) command = make_simple_command(:get, 'v1/{+name}', ) command.response_representation = Google::Apis::VmwareengineV1::Upgrade::Representation command.response_class = Google::Apis::VmwareengineV1::Upgrade command.params['name'] = name unless name.nil? command.query['fields'] = fields unless fields.nil? command.query['quotaUser'] = quota_user unless quota_user.nil? execute_or_queue_command(command, &block) end |
#get_project_location_private_connection(name, fields: nil, quota_user: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::VmwareengineV1::PrivateConnection
Retrieves a PrivateConnection resource by its resource name. The resource
contains details of the private connection, such as connected network, routing
mode and state.
4483 4484 4485 4486 4487 4488 4489 4490 4491 |
# File 'lib/google/apis/vmwareengine_v1/service.rb', line 4483 def get_project_location_private_connection(name, fields: nil, quota_user: nil, options: nil, &block) command = make_simple_command(:get, 'v1/{+name}', ) command.response_representation = Google::Apis::VmwareengineV1::PrivateConnection::Representation command.response_class = Google::Apis::VmwareengineV1::PrivateConnection command.params['name'] = name unless name.nil? command.query['fields'] = fields unless fields.nil? command.query['quotaUser'] = quota_user unless quota_user.nil? execute_or_queue_command(command, &block) end |
#get_project_location_vmware_engine_network(name, fields: nil, quota_user: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::VmwareengineV1::VmwareEngineNetwork
Retrieves a VmwareEngineNetwork resource by its resource name. The resource
contains details of the VMware Engine network, such as its VMware Engine
network type, peered networks in a service project, and state (for example,
CREATING, ACTIVE, DELETING).
4809 4810 4811 4812 4813 4814 4815 4816 4817 |
# File 'lib/google/apis/vmwareengine_v1/service.rb', line 4809 def get_project_location_vmware_engine_network(name, fields: nil, quota_user: nil, options: nil, &block) command = make_simple_command(:get, 'v1/{+name}', ) command.response_representation = Google::Apis::VmwareengineV1::VmwareEngineNetwork::Representation command.response_class = Google::Apis::VmwareengineV1::VmwareEngineNetwork command.params['name'] = name unless name.nil? command.query['fields'] = fields unless fields.nil? command.query['quotaUser'] = quota_user unless quota_user.nil? execute_or_queue_command(command, &block) end |
#grant_dns_bind_permission(name, grant_dns_bind_permission_request_object = nil, fields: nil, quota_user: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::VmwareengineV1::Operation
Grants the bind permission to the customer provided principal(user / service account) to bind their DNS zone with the intranet VPC associated with the project. DnsBindPermission is a global resource and location can only be global.
547 548 549 550 551 552 553 554 555 556 557 |
# File 'lib/google/apis/vmwareengine_v1/service.rb', line 547 def (name, = nil, fields: nil, quota_user: nil, options: nil, &block) command = make_simple_command(:post, 'v1/{+name}:grant', ) command.request_representation = Google::Apis::VmwareengineV1::GrantDnsBindPermissionRequest::Representation command.request_object = command.response_representation = Google::Apis::VmwareengineV1::Operation::Representation command.response_class = Google::Apis::VmwareengineV1::Operation command.params['name'] = name unless name.nil? command.query['fields'] = fields unless fields.nil? command.query['quotaUser'] = quota_user unless quota_user.nil? execute_or_queue_command(command, &block) end |
#list_project_location_announcements(parent, filter: nil, order_by: nil, page_size: nil, page_token: nil, fields: nil, quota_user: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::VmwareengineV1::ListAnnouncementsResponse
Lists Announcements for a given region and project
261 262 263 264 265 266 267 268 269 270 271 272 273 |
# File 'lib/google/apis/vmwareengine_v1/service.rb', line 261 def list_project_location_announcements(parent, filter: nil, order_by: nil, page_size: nil, page_token: nil, fields: nil, quota_user: nil, options: nil, &block) command = make_simple_command(:get, 'v1/{+parent}/announcements', ) command.response_representation = Google::Apis::VmwareengineV1::ListAnnouncementsResponse::Representation command.response_class = Google::Apis::VmwareengineV1::ListAnnouncementsResponse command.params['parent'] = parent unless parent.nil? command.query['filter'] = filter unless filter.nil? command.query['orderBy'] = order_by unless order_by.nil? command.query['pageSize'] = page_size unless page_size.nil? command.query['pageToken'] = page_token unless page_token.nil? command.query['fields'] = fields unless fields.nil? command.query['quotaUser'] = quota_user unless quota_user.nil? execute_or_queue_command(command, &block) end |
#list_project_location_datastores(parent, filter: nil, order_by: nil, page_size: nil, page_token: nil, request_id: nil, fields: nil, quota_user: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::VmwareengineV1::ListDatastoresResponse
Lists Datastore resources in a given project and location.
455 456 457 458 459 460 461 462 463 464 465 466 467 468 |
# File 'lib/google/apis/vmwareengine_v1/service.rb', line 455 def list_project_location_datastores(parent, filter: nil, order_by: nil, page_size: nil, page_token: nil, request_id: nil, fields: nil, quota_user: nil, options: nil, &block) command = make_simple_command(:get, 'v1/{+parent}/datastores', ) command.response_representation = Google::Apis::VmwareengineV1::ListDatastoresResponse::Representation command.response_class = Google::Apis::VmwareengineV1::ListDatastoresResponse command.params['parent'] = parent unless parent.nil? command.query['filter'] = filter unless filter.nil? command.query['orderBy'] = order_by unless order_by.nil? command.query['pageSize'] = page_size unless page_size.nil? command.query['pageToken'] = page_token unless page_token.nil? command.query['requestId'] = request_id unless request_id.nil? command.query['fields'] = fields unless fields.nil? command.query['quotaUser'] = quota_user unless quota_user.nil? execute_or_queue_command(command, &block) end |
#list_project_location_network_peering_peering_routes(parent, filter: nil, page_size: nil, page_token: nil, fields: nil, quota_user: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::VmwareengineV1::ListPeeringRoutesResponse
Lists the network peering routes exchanged over a peering connection. NetworkPeering is a global resource and location can only be global.
915 916 917 918 919 920 921 922 923 924 925 926 |
# File 'lib/google/apis/vmwareengine_v1/service.rb', line 915 def list_project_location_network_peering_peering_routes(parent, filter: nil, page_size: nil, page_token: nil, fields: nil, quota_user: nil, options: nil, &block) command = make_simple_command(:get, 'v1/{+parent}/peeringRoutes', ) command.response_representation = Google::Apis::VmwareengineV1::ListPeeringRoutesResponse::Representation command.response_class = Google::Apis::VmwareengineV1::ListPeeringRoutesResponse command.params['parent'] = parent unless parent.nil? command.query['filter'] = filter unless filter.nil? command.query['pageSize'] = page_size unless page_size.nil? command.query['pageToken'] = page_token unless page_token.nil? command.query['fields'] = fields unless fields.nil? command.query['quotaUser'] = quota_user unless quota_user.nil? execute_or_queue_command(command, &block) end |
#list_project_location_network_peerings(parent, filter: nil, order_by: nil, page_size: nil, page_token: nil, fields: nil, quota_user: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::VmwareengineV1::ListNetworkPeeringsResponse
Lists NetworkPeering resources in a given project. NetworkPeering is a
global resource and location can only be global.
799 800 801 802 803 804 805 806 807 808 809 810 811 |
# File 'lib/google/apis/vmwareengine_v1/service.rb', line 799 def list_project_location_network_peerings(parent, filter: nil, order_by: nil, page_size: nil, page_token: nil, fields: nil, quota_user: nil, options: nil, &block) command = make_simple_command(:get, 'v1/{+parent}/networkPeerings', ) command.response_representation = Google::Apis::VmwareengineV1::ListNetworkPeeringsResponse::Representation command.response_class = Google::Apis::VmwareengineV1::ListNetworkPeeringsResponse command.params['parent'] = parent unless parent.nil? command.query['filter'] = filter unless filter.nil? command.query['orderBy'] = order_by unless order_by.nil? command.query['pageSize'] = page_size unless page_size.nil? command.query['pageToken'] = page_token unless page_token.nil? command.query['fields'] = fields unless fields.nil? command.query['quotaUser'] = quota_user unless quota_user.nil? execute_or_queue_command(command, &block) end |
#list_project_location_network_policies(parent, filter: nil, order_by: nil, page_size: nil, page_token: nil, fields: nil, quota_user: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::VmwareengineV1::ListNetworkPoliciesResponse
Lists NetworkPolicy resources in a specified project and location.
1168 1169 1170 1171 1172 1173 1174 1175 1176 1177 1178 1179 1180 |
# File 'lib/google/apis/vmwareengine_v1/service.rb', line 1168 def list_project_location_network_policies(parent, filter: nil, order_by: nil, page_size: nil, page_token: nil, fields: nil, quota_user: nil, options: nil, &block) command = make_simple_command(:get, 'v1/{+parent}/networkPolicies', ) command.response_representation = Google::Apis::VmwareengineV1::ListNetworkPoliciesResponse::Representation command.response_class = Google::Apis::VmwareengineV1::ListNetworkPoliciesResponse command.params['parent'] = parent unless parent.nil? command.query['filter'] = filter unless filter.nil? command.query['orderBy'] = order_by unless order_by.nil? command.query['pageSize'] = page_size unless page_size.nil? command.query['pageToken'] = page_token unless page_token.nil? command.query['fields'] = fields unless fields.nil? command.query['quotaUser'] = quota_user unless quota_user.nil? execute_or_queue_command(command, &block) end |
#list_project_location_network_policy_external_access_rules(parent, filter: nil, order_by: nil, page_size: nil, page_token: nil, fields: nil, quota_user: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::VmwareengineV1::ListExternalAccessRulesResponse
Lists ExternalAccessRule resources in the specified network policy.
1442 1443 1444 1445 1446 1447 1448 1449 1450 1451 1452 1453 1454 |
# File 'lib/google/apis/vmwareengine_v1/service.rb', line 1442 def list_project_location_network_policy_external_access_rules(parent, filter: nil, order_by: nil, page_size: nil, page_token: nil, fields: nil, quota_user: nil, options: nil, &block) command = make_simple_command(:get, 'v1/{+parent}/externalAccessRules', ) command.response_representation = Google::Apis::VmwareengineV1::ListExternalAccessRulesResponse::Representation command.response_class = Google::Apis::VmwareengineV1::ListExternalAccessRulesResponse command.params['parent'] = parent unless parent.nil? command.query['filter'] = filter unless filter.nil? command.query['orderBy'] = order_by unless order_by.nil? command.query['pageSize'] = page_size unless page_size.nil? command.query['pageToken'] = page_token unless page_token.nil? command.query['fields'] = fields unless fields.nil? command.query['quotaUser'] = quota_user unless quota_user.nil? execute_or_queue_command(command, &block) end |
#list_project_location_node_types(parent, filter: nil, page_size: nil, page_token: nil, fields: nil, quota_user: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::VmwareengineV1::ListNodeTypesResponse
Lists node types
1593 1594 1595 1596 1597 1598 1599 1600 1601 1602 1603 1604 |
# File 'lib/google/apis/vmwareengine_v1/service.rb', line 1593 def list_project_location_node_types(parent, filter: nil, page_size: nil, page_token: nil, fields: nil, quota_user: nil, options: nil, &block) command = make_simple_command(:get, 'v1/{+parent}/nodeTypes', ) command.response_representation = Google::Apis::VmwareengineV1::ListNodeTypesResponse::Representation command.response_class = Google::Apis::VmwareengineV1::ListNodeTypesResponse command.params['parent'] = parent unless parent.nil? command.query['filter'] = filter unless filter.nil? command.query['pageSize'] = page_size unless page_size.nil? command.query['pageToken'] = page_token unless page_token.nil? command.query['fields'] = fields unless fields.nil? command.query['quotaUser'] = quota_user unless quota_user.nil? execute_or_queue_command(command, &block) end |
#list_project_location_operations(name, filter: nil, page_size: nil, page_token: nil, return_partial_success: nil, fields: nil, quota_user: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::VmwareengineV1::ListOperationsResponse
Lists operations that match the specified filter in the request. If the server
doesn't support this method, it returns UNIMPLEMENTED.
1705 1706 1707 1708 1709 1710 1711 1712 1713 1714 1715 1716 1717 |
# File 'lib/google/apis/vmwareengine_v1/service.rb', line 1705 def list_project_location_operations(name, filter: nil, page_size: nil, page_token: nil, return_partial_success: nil, fields: nil, quota_user: nil, options: nil, &block) command = make_simple_command(:get, 'v1/{+name}/operations', ) command.response_representation = Google::Apis::VmwareengineV1::ListOperationsResponse::Representation command.response_class = Google::Apis::VmwareengineV1::ListOperationsResponse command.params['name'] = name unless name.nil? command.query['filter'] = filter unless filter.nil? command.query['pageSize'] = page_size unless page_size.nil? command.query['pageToken'] = page_token unless page_token.nil? command.query['returnPartialSuccess'] = return_partial_success unless return_partial_success.nil? command.query['fields'] = fields unless fields.nil? command.query['quotaUser'] = quota_user unless quota_user.nil? execute_or_queue_command(command, &block) end |
#list_project_location_private_cloud_cluster_nodes(parent, page_size: nil, page_token: nil, fields: nil, quota_user: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::VmwareengineV1::ListNodesResponse
Lists nodes in a given cluster.
2962 2963 2964 2965 2966 2967 2968 2969 2970 2971 2972 |
# File 'lib/google/apis/vmwareengine_v1/service.rb', line 2962 def list_project_location_private_cloud_cluster_nodes(parent, page_size: nil, page_token: nil, fields: nil, quota_user: nil, options: nil, &block) command = make_simple_command(:get, 'v1/{+parent}/nodes', ) command.response_representation = Google::Apis::VmwareengineV1::ListNodesResponse::Representation command.response_class = Google::Apis::VmwareengineV1::ListNodesResponse command.params['parent'] = parent unless parent.nil? command.query['pageSize'] = page_size unless page_size.nil? command.query['pageToken'] = page_token unless page_token.nil? command.query['fields'] = fields unless fields.nil? command.query['quotaUser'] = quota_user unless quota_user.nil? execute_or_queue_command(command, &block) end |
#list_project_location_private_cloud_clusters(parent, filter: nil, order_by: nil, page_size: nil, page_token: nil, fields: nil, quota_user: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::VmwareengineV1::ListClustersResponse
Lists Cluster resources in a given private cloud.
2682 2683 2684 2685 2686 2687 2688 2689 2690 2691 2692 2693 2694 |
# File 'lib/google/apis/vmwareengine_v1/service.rb', line 2682 def list_project_location_private_cloud_clusters(parent, filter: nil, order_by: nil, page_size: nil, page_token: nil, fields: nil, quota_user: nil, options: nil, &block) command = make_simple_command(:get, 'v1/{+parent}/clusters', ) command.response_representation = Google::Apis::VmwareengineV1::ListClustersResponse::Representation command.response_class = Google::Apis::VmwareengineV1::ListClustersResponse command.params['parent'] = parent unless parent.nil? command.query['filter'] = filter unless filter.nil? command.query['orderBy'] = order_by unless order_by.nil? command.query['pageSize'] = page_size unless page_size.nil? command.query['pageToken'] = page_token unless page_token.nil? command.query['fields'] = fields unless fields.nil? command.query['quotaUser'] = quota_user unless quota_user.nil? execute_or_queue_command(command, &block) end |
#list_project_location_private_cloud_external_addresses(parent, filter: nil, order_by: nil, page_size: nil, page_token: nil, fields: nil, quota_user: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::VmwareengineV1::ListExternalAddressesResponse
Lists external IP addresses assigned to VMware workload VMs in a given private cloud.
3169 3170 3171 3172 3173 3174 3175 3176 3177 3178 3179 3180 3181 |
# File 'lib/google/apis/vmwareengine_v1/service.rb', line 3169 def list_project_location_private_cloud_external_addresses(parent, filter: nil, order_by: nil, page_size: nil, page_token: nil, fields: nil, quota_user: nil, options: nil, &block) command = make_simple_command(:get, 'v1/{+parent}/externalAddresses', ) command.response_representation = Google::Apis::VmwareengineV1::ListExternalAddressesResponse::Representation command.response_class = Google::Apis::VmwareengineV1::ListExternalAddressesResponse command.params['parent'] = parent unless parent.nil? command.query['filter'] = filter unless filter.nil? command.query['orderBy'] = order_by unless order_by.nil? command.query['pageSize'] = page_size unless page_size.nil? command.query['pageToken'] = page_token unless page_token.nil? command.query['fields'] = fields unless fields.nil? command.query['quotaUser'] = quota_user unless quota_user.nil? execute_or_queue_command(command, &block) end |
#list_project_location_private_cloud_hcx_activation_keys(parent, page_size: nil, page_token: nil, fields: nil, quota_user: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::VmwareengineV1::ListHcxActivationKeysResponse
Lists HcxActivationKey resources in a given private cloud.
3415 3416 3417 3418 3419 3420 3421 3422 3423 3424 3425 |
# File 'lib/google/apis/vmwareengine_v1/service.rb', line 3415 def list_project_location_private_cloud_hcx_activation_keys(parent, page_size: nil, page_token: nil, fields: nil, quota_user: nil, options: nil, &block) command = make_simple_command(:get, 'v1/{+parent}/hcxActivationKeys', ) command.response_representation = Google::Apis::VmwareengineV1::ListHcxActivationKeysResponse::Representation command.response_class = Google::Apis::VmwareengineV1::ListHcxActivationKeysResponse command.params['parent'] = parent unless parent.nil? command.query['pageSize'] = page_size unless page_size.nil? command.query['pageToken'] = page_token unless page_token.nil? command.query['fields'] = fields unless fields.nil? command.query['quotaUser'] = quota_user unless quota_user.nil? execute_or_queue_command(command, &block) end |
#list_project_location_private_cloud_logging_servers(parent, filter: nil, order_by: nil, page_size: nil, page_token: nil, fields: nil, quota_user: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::VmwareengineV1::ListLoggingServersResponse
Lists logging servers configured for a given private cloud.
3690 3691 3692 3693 3694 3695 3696 3697 3698 3699 3700 3701 3702 |
# File 'lib/google/apis/vmwareengine_v1/service.rb', line 3690 def list_project_location_private_cloud_logging_servers(parent, filter: nil, order_by: nil, page_size: nil, page_token: nil, fields: nil, quota_user: nil, options: nil, &block) command = make_simple_command(:get, 'v1/{+parent}/loggingServers', ) command.response_representation = Google::Apis::VmwareengineV1::ListLoggingServersResponse::Representation command.response_class = Google::Apis::VmwareengineV1::ListLoggingServersResponse command.params['parent'] = parent unless parent.nil? command.query['filter'] = filter unless filter.nil? command.query['orderBy'] = order_by unless order_by.nil? command.query['pageSize'] = page_size unless page_size.nil? command.query['pageToken'] = page_token unless page_token.nil? command.query['fields'] = fields unless fields.nil? command.query['quotaUser'] = quota_user unless quota_user.nil? execute_or_queue_command(command, &block) end |
#list_project_location_private_cloud_management_dns_zone_bindings(parent, filter: nil, order_by: nil, page_size: nil, page_token: nil, fields: nil, quota_user: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::VmwareengineV1::ListManagementDnsZoneBindingsResponse
Lists Consumer VPCs bound to Management DNS Zone of a given private cloud.
3960 3961 3962 3963 3964 3965 3966 3967 3968 3969 3970 3971 3972 |
# File 'lib/google/apis/vmwareengine_v1/service.rb', line 3960 def list_project_location_private_cloud_management_dns_zone_bindings(parent, filter: nil, order_by: nil, page_size: nil, page_token: nil, fields: nil, quota_user: nil, options: nil, &block) command = make_simple_command(:get, 'v1/{+parent}/managementDnsZoneBindings', ) command.response_representation = Google::Apis::VmwareengineV1::ListManagementDnsZoneBindingsResponse::Representation command.response_class = Google::Apis::VmwareengineV1::ListManagementDnsZoneBindingsResponse command.params['parent'] = parent unless parent.nil? command.query['filter'] = filter unless filter.nil? command.query['orderBy'] = order_by unless order_by.nil? command.query['pageSize'] = page_size unless page_size.nil? command.query['pageToken'] = page_token unless page_token.nil? command.query['fields'] = fields unless fields.nil? command.query['quotaUser'] = quota_user unless quota_user.nil? execute_or_queue_command(command, &block) end |
#list_project_location_private_cloud_subnets(parent, page_size: nil, page_token: nil, fields: nil, quota_user: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::VmwareengineV1::ListSubnetsResponse
Lists subnets in a given private cloud.
4135 4136 4137 4138 4139 4140 4141 4142 4143 4144 4145 |
# File 'lib/google/apis/vmwareengine_v1/service.rb', line 4135 def list_project_location_private_cloud_subnets(parent, page_size: nil, page_token: nil, fields: nil, quota_user: nil, options: nil, &block) command = make_simple_command(:get, 'v1/{+parent}/subnets', ) command.response_representation = Google::Apis::VmwareengineV1::ListSubnetsResponse::Representation command.response_class = Google::Apis::VmwareengineV1::ListSubnetsResponse command.params['parent'] = parent unless parent.nil? command.query['pageSize'] = page_size unless page_size.nil? command.query['pageToken'] = page_token unless page_token.nil? command.query['fields'] = fields unless fields.nil? command.query['quotaUser'] = quota_user unless quota_user.nil? execute_or_queue_command(command, &block) end |
#list_project_location_private_cloud_upgrades(parent, filter: nil, order_by: nil, page_size: nil, page_token: nil, fields: nil, quota_user: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::VmwareengineV1::ListUpgradesResponse
Lists past, ongoing and upcoming Upgrades for the given private cloud.
4275 4276 4277 4278 4279 4280 4281 4282 4283 4284 4285 4286 4287 |
# File 'lib/google/apis/vmwareengine_v1/service.rb', line 4275 def list_project_location_private_cloud_upgrades(parent, filter: nil, order_by: nil, page_size: nil, page_token: nil, fields: nil, quota_user: nil, options: nil, &block) command = make_simple_command(:get, 'v1/{+parent}/upgrades', ) command.response_representation = Google::Apis::VmwareengineV1::ListUpgradesResponse::Representation command.response_class = Google::Apis::VmwareengineV1::ListUpgradesResponse command.params['parent'] = parent unless parent.nil? command.query['filter'] = filter unless filter.nil? command.query['orderBy'] = order_by unless order_by.nil? command.query['pageSize'] = page_size unless page_size.nil? command.query['pageToken'] = page_token unless page_token.nil? command.query['fields'] = fields unless fields.nil? command.query['quotaUser'] = quota_user unless quota_user.nil? execute_or_queue_command(command, &block) end |
#list_project_location_private_clouds(parent, filter: nil, order_by: nil, page_size: nil, page_token: nil, fields: nil, quota_user: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::VmwareengineV1::ListPrivateCloudsResponse
Lists PrivateCloud resources in a given project and location.
2003 2004 2005 2006 2007 2008 2009 2010 2011 2012 2013 2014 2015 |
# File 'lib/google/apis/vmwareengine_v1/service.rb', line 2003 def list_project_location_private_clouds(parent, filter: nil, order_by: nil, page_size: nil, page_token: nil, fields: nil, quota_user: nil, options: nil, &block) command = make_simple_command(:get, 'v1/{+parent}/privateClouds', ) command.response_representation = Google::Apis::VmwareengineV1::ListPrivateCloudsResponse::Representation command.response_class = Google::Apis::VmwareengineV1::ListPrivateCloudsResponse command.params['parent'] = parent unless parent.nil? command.query['filter'] = filter unless filter.nil? command.query['orderBy'] = order_by unless order_by.nil? command.query['pageSize'] = page_size unless page_size.nil? command.query['pageToken'] = page_token unless page_token.nil? command.query['fields'] = fields unless fields.nil? command.query['quotaUser'] = quota_user unless quota_user.nil? execute_or_queue_command(command, &block) end |
#list_project_location_private_connection_peering_routes(parent, page_size: nil, page_token: nil, fields: nil, quota_user: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::VmwareengineV1::ListPrivateConnectionPeeringRoutesResponse
Lists the private connection routes exchanged over a peering connection.
4649 4650 4651 4652 4653 4654 4655 4656 4657 4658 4659 |
# File 'lib/google/apis/vmwareengine_v1/service.rb', line 4649 def list_project_location_private_connection_peering_routes(parent, page_size: nil, page_token: nil, fields: nil, quota_user: nil, options: nil, &block) command = make_simple_command(:get, 'v1/{+parent}/peeringRoutes', ) command.response_representation = Google::Apis::VmwareengineV1::ListPrivateConnectionPeeringRoutesResponse::Representation command.response_class = Google::Apis::VmwareengineV1::ListPrivateConnectionPeeringRoutesResponse command.params['parent'] = parent unless parent.nil? command.query['pageSize'] = page_size unless page_size.nil? command.query['pageToken'] = page_token unless page_token.nil? command.query['fields'] = fields unless fields.nil? command.query['quotaUser'] = quota_user unless quota_user.nil? execute_or_queue_command(command, &block) end |
#list_project_location_private_connections(parent, filter: nil, order_by: nil, page_size: nil, page_token: nil, fields: nil, quota_user: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::VmwareengineV1::ListPrivateConnectionsResponse
Lists PrivateConnection resources in a given project and location.
4542 4543 4544 4545 4546 4547 4548 4549 4550 4551 4552 4553 4554 |
# File 'lib/google/apis/vmwareengine_v1/service.rb', line 4542 def list_project_location_private_connections(parent, filter: nil, order_by: nil, page_size: nil, page_token: nil, fields: nil, quota_user: nil, options: nil, &block) command = make_simple_command(:get, 'v1/{+parent}/privateConnections', ) command.response_representation = Google::Apis::VmwareengineV1::ListPrivateConnectionsResponse::Representation command.response_class = Google::Apis::VmwareengineV1::ListPrivateConnectionsResponse command.params['parent'] = parent unless parent.nil? command.query['filter'] = filter unless filter.nil? command.query['orderBy'] = order_by unless order_by.nil? command.query['pageSize'] = page_size unless page_size.nil? command.query['pageToken'] = page_token unless page_token.nil? command.query['fields'] = fields unless fields.nil? command.query['quotaUser'] = quota_user unless quota_user.nil? execute_or_queue_command(command, &block) end |
#list_project_location_vmware_engine_networks(parent, filter: nil, order_by: nil, page_size: nil, page_token: nil, fields: nil, quota_user: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::VmwareengineV1::ListVmwareEngineNetworksResponse
Lists VmwareEngineNetwork resources in a given project and location.
4868 4869 4870 4871 4872 4873 4874 4875 4876 4877 4878 4879 4880 |
# File 'lib/google/apis/vmwareengine_v1/service.rb', line 4868 def list_project_location_vmware_engine_networks(parent, filter: nil, order_by: nil, page_size: nil, page_token: nil, fields: nil, quota_user: nil, options: nil, &block) command = make_simple_command(:get, 'v1/{+parent}/vmwareEngineNetworks', ) command.response_representation = Google::Apis::VmwareengineV1::ListVmwareEngineNetworksResponse::Representation command.response_class = Google::Apis::VmwareengineV1::ListVmwareEngineNetworksResponse command.params['parent'] = parent unless parent.nil? command.query['filter'] = filter unless filter.nil? command.query['orderBy'] = order_by unless order_by.nil? command.query['pageSize'] = page_size unless page_size.nil? command.query['pageToken'] = page_token unless page_token.nil? command.query['fields'] = fields unless fields.nil? command.query['quotaUser'] = quota_user unless quota_user.nil? execute_or_queue_command(command, &block) end |
#list_project_locations(name, extra_location_types: nil, filter: nil, page_size: nil, page_token: nil, fields: nil, quota_user: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::VmwareengineV1::ListLocationsResponse
Lists information about the supported locations for this service. This method
lists locations based on the resource scope provided in the
ListLocationsRequest.name field: * Global locations: If name is empty,
the method lists the public locations available to all projects. * Project-
specific locations: If name follows the format projects/project`, the
method lists locations visible to that specific project. This includes public,
private, or other project-specific locations enabled for the project. For gRPC
and client library implementations, the resource name is passed as thename`
field. For direct service calls, the resource name is incorporated into the
request path based on the specific service implementation and version.
164 165 166 167 168 169 170 171 172 173 174 175 176 |
# File 'lib/google/apis/vmwareengine_v1/service.rb', line 164 def list_project_locations(name, extra_location_types: nil, filter: nil, page_size: nil, page_token: nil, fields: nil, quota_user: nil, options: nil, &block) command = make_simple_command(:get, 'v1/{+name}/locations', ) command.response_representation = Google::Apis::VmwareengineV1::ListLocationsResponse::Representation command.response_class = Google::Apis::VmwareengineV1::ListLocationsResponse command.params['name'] = name unless name.nil? command.query['extraLocationTypes'] = extra_location_types unless extra_location_types.nil? command.query['filter'] = filter unless filter.nil? command.query['pageSize'] = page_size unless page_size.nil? command.query['pageToken'] = page_token unless page_token.nil? command.query['fields'] = fields unless fields.nil? command.query['quotaUser'] = quota_user unless quota_user.nil? execute_or_queue_command(command, &block) end |
#migrate_private_cloud_management_vms(name, migrate_management_vms_request_object = nil, fields: nil, quota_user: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::VmwareengineV1::Operation
Migrates the management VMs of the PC from the current management cluster to a workload cluster. Post this migration, the provided workload cluster becomes the management cluster
2043 2044 2045 2046 2047 2048 2049 2050 2051 2052 2053 |
# File 'lib/google/apis/vmwareengine_v1/service.rb', line 2043 def migrate_private_cloud_management_vms(name, migrate_management_vms_request_object = nil, fields: nil, quota_user: nil, options: nil, &block) command = make_simple_command(:post, 'v1/{+name}:migrateManagementVms', ) command.request_representation = Google::Apis::VmwareengineV1::MigrateManagementVmsRequest::Representation command.request_object = migrate_management_vms_request_object command.response_representation = Google::Apis::VmwareengineV1::Operation::Representation command.response_class = Google::Apis::VmwareengineV1::Operation command.params['name'] = name unless name.nil? command.query['fields'] = fields unless fields.nil? command.query['quotaUser'] = quota_user unless quota_user.nil? execute_or_queue_command(command, &block) end |
#mount_cluster_datastore(name, mount_datastore_request_object = nil, fields: nil, quota_user: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::VmwareengineV1::Operation
Mounts a Datastore on a cluster resource
2720 2721 2722 2723 2724 2725 2726 2727 2728 2729 2730 |
# File 'lib/google/apis/vmwareengine_v1/service.rb', line 2720 def mount_cluster_datastore(name, mount_datastore_request_object = nil, fields: nil, quota_user: nil, options: nil, &block) command = make_simple_command(:post, 'v1/{+name}:mountDatastore', ) command.request_representation = Google::Apis::VmwareengineV1::MountDatastoreRequest::Representation command.request_object = mount_datastore_request_object command.response_representation = Google::Apis::VmwareengineV1::Operation::Representation command.response_class = Google::Apis::VmwareengineV1::Operation command.params['name'] = name unless name.nil? command.query['fields'] = fields unless fields.nil? command.query['quotaUser'] = quota_user unless quota_user.nil? execute_or_queue_command(command, &block) end |
#patch_project_location_datastore(name, datastore_object = nil, request_id: nil, update_mask: nil, fields: nil, quota_user: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::VmwareengineV1::Operation
Modifies a Datastore resource. Only fields specified in updateMask are
applied.
504 505 506 507 508 509 510 511 512 513 514 515 516 |
# File 'lib/google/apis/vmwareengine_v1/service.rb', line 504 def patch_project_location_datastore(name, datastore_object = nil, request_id: nil, update_mask: nil, fields: nil, quota_user: nil, options: nil, &block) command = make_simple_command(:patch, 'v1/{+name}', ) command.request_representation = Google::Apis::VmwareengineV1::Datastore::Representation command.request_object = datastore_object command.response_representation = Google::Apis::VmwareengineV1::Operation::Representation command.response_class = Google::Apis::VmwareengineV1::Operation command.params['name'] = name unless name.nil? command.query['requestId'] = request_id unless request_id.nil? command.query['updateMask'] = update_mask unless update_mask.nil? command.query['fields'] = fields unless fields.nil? command.query['quotaUser'] = quota_user unless quota_user.nil? execute_or_queue_command(command, &block) end |
#patch_project_location_network_peering(name, network_peering_object = nil, request_id: nil, update_mask: nil, validate_only: nil, fields: nil, quota_user: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::VmwareengineV1::Operation
Modifies a NetworkPeering resource. Only the description field can be
updated. Only fields specified in updateMask are applied. NetworkPeering is
a global resource and location can only be global.
861 862 863 864 865 866 867 868 869 870 871 872 873 874 |
# File 'lib/google/apis/vmwareengine_v1/service.rb', line 861 def patch_project_location_network_peering(name, network_peering_object = nil, request_id: nil, update_mask: nil, validate_only: nil, fields: nil, quota_user: nil, options: nil, &block) command = make_simple_command(:patch, 'v1/{+name}', ) command.request_representation = Google::Apis::VmwareengineV1::NetworkPeering::Representation command.request_object = network_peering_object command.response_representation = Google::Apis::VmwareengineV1::Operation::Representation command.response_class = Google::Apis::VmwareengineV1::Operation command.params['name'] = name unless name.nil? command.query['requestId'] = request_id unless request_id.nil? command.query['updateMask'] = update_mask unless update_mask.nil? command.query['validateOnly'] = validate_only unless validate_only.nil? command.query['fields'] = fields unless fields.nil? command.query['quotaUser'] = quota_user unless quota_user.nil? execute_or_queue_command(command, &block) end |
#patch_project_location_network_policy(name, network_policy_object = nil, request_id: nil, update_mask: nil, validate_only: nil, fields: nil, quota_user: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::VmwareengineV1::Operation
Modifies a NetworkPolicy resource. Only the following fields can be updated:
internet_access, external_ip, edge_services_cidr. Only fields specified
in updateMask are applied. When updating a network policy, the external IP
network service can only be disabled if there are no external IP addresses
present in the scope of the policy. Also, a NetworkService cannot be updated
when NetworkService.state is set to RECONCILING. During operation
processing, the resource is temporarily in the ACTIVE state before the
operation fully completes. For that period of time, you can't update the
resource. Use the operation status to determine when the processing fully
completes.
1236 1237 1238 1239 1240 1241 1242 1243 1244 1245 1246 1247 1248 1249 |
# File 'lib/google/apis/vmwareengine_v1/service.rb', line 1236 def patch_project_location_network_policy(name, network_policy_object = nil, request_id: nil, update_mask: nil, validate_only: nil, fields: nil, quota_user: nil, options: nil, &block) command = make_simple_command(:patch, 'v1/{+name}', ) command.request_representation = Google::Apis::VmwareengineV1::NetworkPolicy::Representation command.request_object = network_policy_object command.response_representation = Google::Apis::VmwareengineV1::Operation::Representation command.response_class = Google::Apis::VmwareengineV1::Operation command.params['name'] = name unless name.nil? command.query['requestId'] = request_id unless request_id.nil? command.query['updateMask'] = update_mask unless update_mask.nil? command.query['validateOnly'] = validate_only unless validate_only.nil? command.query['fields'] = fields unless fields.nil? command.query['quotaUser'] = quota_user unless quota_user.nil? execute_or_queue_command(command, &block) end |
#patch_project_location_network_policy_external_access_rule(name, external_access_rule_object = nil, request_id: nil, update_mask: nil, validate_only: nil, fields: nil, quota_user: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::VmwareengineV1::Operation
Updates the parameters of a single external access rule. Only fields specified
in update_mask are applied.
1502 1503 1504 1505 1506 1507 1508 1509 1510 1511 1512 1513 1514 1515 |
# File 'lib/google/apis/vmwareengine_v1/service.rb', line 1502 def patch_project_location_network_policy_external_access_rule(name, external_access_rule_object = nil, request_id: nil, update_mask: nil, validate_only: nil, fields: nil, quota_user: nil, options: nil, &block) command = make_simple_command(:patch, 'v1/{+name}', ) command.request_representation = Google::Apis::VmwareengineV1::ExternalAccessRule::Representation command.request_object = external_access_rule_object command.response_representation = Google::Apis::VmwareengineV1::Operation::Representation command.response_class = Google::Apis::VmwareengineV1::Operation command.params['name'] = name unless name.nil? command.query['requestId'] = request_id unless request_id.nil? command.query['updateMask'] = update_mask unless update_mask.nil? command.query['validateOnly'] = validate_only unless validate_only.nil? command.query['fields'] = fields unless fields.nil? command.query['quotaUser'] = quota_user unless quota_user.nil? execute_or_queue_command(command, &block) end |
#patch_project_location_private_cloud(name, private_cloud_object = nil, request_id: nil, update_mask: nil, validate_only: nil, fields: nil, quota_user: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::VmwareengineV1::Operation
Modifies a PrivateCloud resource. Only the following fields can be updated:
description. Only fields specified in updateMask are applied. During
operation processing, the resource is temporarily in the ACTIVE state before
the operation fully completes. For that period of time, you can't update the
resource. Use the operation status to determine when the processing fully
completes.
2096 2097 2098 2099 2100 2101 2102 2103 2104 2105 2106 2107 2108 2109 |
# File 'lib/google/apis/vmwareengine_v1/service.rb', line 2096 def patch_project_location_private_cloud(name, private_cloud_object = nil, request_id: nil, update_mask: nil, validate_only: nil, fields: nil, quota_user: nil, options: nil, &block) command = make_simple_command(:patch, 'v1/{+name}', ) command.request_representation = Google::Apis::VmwareengineV1::PrivateCloud::Representation command.request_object = private_cloud_object command.response_representation = Google::Apis::VmwareengineV1::Operation::Representation command.response_class = Google::Apis::VmwareengineV1::Operation command.params['name'] = name unless name.nil? command.query['requestId'] = request_id unless request_id.nil? command.query['updateMask'] = update_mask unless update_mask.nil? command.query['validateOnly'] = validate_only unless validate_only.nil? command.query['fields'] = fields unless fields.nil? command.query['quotaUser'] = quota_user unless quota_user.nil? execute_or_queue_command(command, &block) end |
#patch_project_location_private_cloud_cluster(name, cluster_object = nil, request_id: nil, update_mask: nil, validate_only: nil, fields: nil, quota_user: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::VmwareengineV1::Operation
Modifies a Cluster resource. Only fields specified in updateMask are
applied. During operation processing, the resource is temporarily in the
ACTIVE state before the operation fully completes. For that period of time,
you can't update the resource. Use the operation status to determine when the
processing fully completes.
2772 2773 2774 2775 2776 2777 2778 2779 2780 2781 2782 2783 2784 2785 |
# File 'lib/google/apis/vmwareengine_v1/service.rb', line 2772 def patch_project_location_private_cloud_cluster(name, cluster_object = nil, request_id: nil, update_mask: nil, validate_only: nil, fields: nil, quota_user: nil, options: nil, &block) command = make_simple_command(:patch, 'v1/{+name}', ) command.request_representation = Google::Apis::VmwareengineV1::Cluster::Representation command.request_object = cluster_object command.response_representation = Google::Apis::VmwareengineV1::Operation::Representation command.response_class = Google::Apis::VmwareengineV1::Operation command.params['name'] = name unless name.nil? command.query['requestId'] = request_id unless request_id.nil? command.query['updateMask'] = update_mask unless update_mask.nil? command.query['validateOnly'] = validate_only unless validate_only.nil? command.query['fields'] = fields unless fields.nil? command.query['quotaUser'] = quota_user unless quota_user.nil? execute_or_queue_command(command, &block) end |
#patch_project_location_private_cloud_external_address(name, external_address_object = nil, request_id: nil, update_mask: nil, validate_only: nil, fields: nil, quota_user: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::VmwareengineV1::Operation
Updates the parameters of a single external IP address. Only fields specified
in update_mask are applied. During operation processing, the resource is
temporarily in the ACTIVE state before the operation fully completes. For
that period of time, you can't update the resource. Use the operation status
to determine when the processing fully completes.
3232 3233 3234 3235 3236 3237 3238 3239 3240 3241 3242 3243 3244 3245 |
# File 'lib/google/apis/vmwareengine_v1/service.rb', line 3232 def patch_project_location_private_cloud_external_address(name, external_address_object = nil, request_id: nil, update_mask: nil, validate_only: nil, fields: nil, quota_user: nil, options: nil, &block) command = make_simple_command(:patch, 'v1/{+name}', ) command.request_representation = Google::Apis::VmwareengineV1::ExternalAddress::Representation command.request_object = external_address_object command.response_representation = Google::Apis::VmwareengineV1::Operation::Representation command.response_class = Google::Apis::VmwareengineV1::Operation command.params['name'] = name unless name.nil? command.query['requestId'] = request_id unless request_id.nil? command.query['updateMask'] = update_mask unless update_mask.nil? command.query['validateOnly'] = validate_only unless validate_only.nil? command.query['fields'] = fields unless fields.nil? command.query['quotaUser'] = quota_user unless quota_user.nil? execute_or_queue_command(command, &block) end |
#patch_project_location_private_cloud_logging_server(name, logging_server_object = nil, request_id: nil, update_mask: nil, fields: nil, quota_user: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::VmwareengineV1::Operation
Updates the parameters of a single logging server. Only fields specified in
update_mask are applied.
3747 3748 3749 3750 3751 3752 3753 3754 3755 3756 3757 3758 3759 |
# File 'lib/google/apis/vmwareengine_v1/service.rb', line 3747 def patch_project_location_private_cloud_logging_server(name, logging_server_object = nil, request_id: nil, update_mask: nil, fields: nil, quota_user: nil, options: nil, &block) command = make_simple_command(:patch, 'v1/{+name}', ) command.request_representation = Google::Apis::VmwareengineV1::LoggingServer::Representation command.request_object = logging_server_object command.response_representation = Google::Apis::VmwareengineV1::Operation::Representation command.response_class = Google::Apis::VmwareengineV1::Operation command.params['name'] = name unless name.nil? command.query['requestId'] = request_id unless request_id.nil? command.query['updateMask'] = update_mask unless update_mask.nil? command.query['fields'] = fields unless fields.nil? command.query['quotaUser'] = quota_user unless quota_user.nil? execute_or_queue_command(command, &block) end |
#patch_project_location_private_cloud_management_dns_zone_binding(name, management_dns_zone_binding_object = nil, request_id: nil, update_mask: nil, fields: nil, quota_user: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::VmwareengineV1::Operation
Updates a ManagementDnsZoneBinding resource. Only fields specified in
update_mask are applied.
4018 4019 4020 4021 4022 4023 4024 4025 4026 4027 4028 4029 4030 |
# File 'lib/google/apis/vmwareengine_v1/service.rb', line 4018 def patch_project_location_private_cloud_management_dns_zone_binding(name, management_dns_zone_binding_object = nil, request_id: nil, update_mask: nil, fields: nil, quota_user: nil, options: nil, &block) command = make_simple_command(:patch, 'v1/{+name}', ) command.request_representation = Google::Apis::VmwareengineV1::ManagementDnsZoneBinding::Representation command.request_object = management_dns_zone_binding_object command.response_representation = Google::Apis::VmwareengineV1::Operation::Representation command.response_class = Google::Apis::VmwareengineV1::Operation command.params['name'] = name unless name.nil? command.query['requestId'] = request_id unless request_id.nil? command.query['updateMask'] = update_mask unless update_mask.nil? command.query['fields'] = fields unless fields.nil? command.query['quotaUser'] = quota_user unless quota_user.nil? execute_or_queue_command(command, &block) end |
#patch_project_location_private_cloud_subnet(name, subnet_object = nil, update_mask: nil, fields: nil, quota_user: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::VmwareengineV1::Operation
Updates the parameters of a single subnet. Only fields specified in
update_mask are applied. Note: This API is synchronous and always returns a
successful google.longrunning.Operation (LRO). The returned LRO will only
have done and response fields.
4180 4181 4182 4183 4184 4185 4186 4187 4188 4189 4190 4191 |
# File 'lib/google/apis/vmwareengine_v1/service.rb', line 4180 def patch_project_location_private_cloud_subnet(name, subnet_object = nil, update_mask: nil, fields: nil, quota_user: nil, options: nil, &block) command = make_simple_command(:patch, 'v1/{+name}', ) command.request_representation = Google::Apis::VmwareengineV1::Subnet::Representation command.request_object = subnet_object command.response_representation = Google::Apis::VmwareengineV1::Operation::Representation command.response_class = Google::Apis::VmwareengineV1::Operation command.params['name'] = name unless name.nil? command.query['updateMask'] = update_mask unless update_mask.nil? command.query['fields'] = fields unless fields.nil? command.query['quotaUser'] = quota_user unless quota_user.nil? execute_or_queue_command(command, &block) end |
#patch_project_location_private_cloud_upgrade(name, upgrade_object = nil, request_id: nil, update_mask: nil, fields: nil, quota_user: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::VmwareengineV1::Operation
Update the private cloud Upgrade resource. Only schedule field can updated.
The schedule can only be updated when the upgrade has not started and
schedule edit window is open. Only fields specified in update_mask are
considered.
4334 4335 4336 4337 4338 4339 4340 4341 4342 4343 4344 4345 4346 |
# File 'lib/google/apis/vmwareengine_v1/service.rb', line 4334 def patch_project_location_private_cloud_upgrade(name, upgrade_object = nil, request_id: nil, update_mask: nil, fields: nil, quota_user: nil, options: nil, &block) command = make_simple_command(:patch, 'v1/{+name}', ) command.request_representation = Google::Apis::VmwareengineV1::Upgrade::Representation command.request_object = upgrade_object command.response_representation = Google::Apis::VmwareengineV1::Operation::Representation command.response_class = Google::Apis::VmwareengineV1::Operation command.params['name'] = name unless name.nil? command.query['requestId'] = request_id unless request_id.nil? command.query['updateMask'] = update_mask unless update_mask.nil? command.query['fields'] = fields unless fields.nil? command.query['quotaUser'] = quota_user unless quota_user.nil? execute_or_queue_command(command, &block) end |
#patch_project_location_private_connection(name, private_connection_object = nil, request_id: nil, update_mask: nil, validate_only: nil, fields: nil, quota_user: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::VmwareengineV1::Operation
Modifies a PrivateConnection resource. Only description and routing_mode
fields can be updated. Only fields specified in updateMask are applied.
4602 4603 4604 4605 4606 4607 4608 4609 4610 4611 4612 4613 4614 4615 |
# File 'lib/google/apis/vmwareengine_v1/service.rb', line 4602 def patch_project_location_private_connection(name, private_connection_object = nil, request_id: nil, update_mask: nil, validate_only: nil, fields: nil, quota_user: nil, options: nil, &block) command = make_simple_command(:patch, 'v1/{+name}', ) command.request_representation = Google::Apis::VmwareengineV1::PrivateConnection::Representation command.request_object = private_connection_object command.response_representation = Google::Apis::VmwareengineV1::Operation::Representation command.response_class = Google::Apis::VmwareengineV1::Operation command.params['name'] = name unless name.nil? command.query['requestId'] = request_id unless request_id.nil? command.query['updateMask'] = update_mask unless update_mask.nil? command.query['validateOnly'] = validate_only unless validate_only.nil? command.query['fields'] = fields unless fields.nil? command.query['quotaUser'] = quota_user unless quota_user.nil? execute_or_queue_command(command, &block) end |
#patch_project_location_vmware_engine_network(name, vmware_engine_network_object = nil, request_id: nil, update_mask: nil, validate_only: nil, fields: nil, quota_user: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::VmwareengineV1::Operation
Modifies a VMware Engine network resource. Only the following fields can be
updated: description. Only fields specified in updateMask are applied.
4929 4930 4931 4932 4933 4934 4935 4936 4937 4938 4939 4940 4941 4942 |
# File 'lib/google/apis/vmwareengine_v1/service.rb', line 4929 def patch_project_location_vmware_engine_network(name, vmware_engine_network_object = nil, request_id: nil, update_mask: nil, validate_only: nil, fields: nil, quota_user: nil, options: nil, &block) command = make_simple_command(:patch, 'v1/{+name}', ) command.request_representation = Google::Apis::VmwareengineV1::VmwareEngineNetwork::Representation command.request_object = vmware_engine_network_object command.response_representation = Google::Apis::VmwareengineV1::Operation::Representation command.response_class = Google::Apis::VmwareengineV1::Operation command.params['name'] = name unless name.nil? command.query['requestId'] = request_id unless request_id.nil? command.query['updateMask'] = update_mask unless update_mask.nil? command.query['validateOnly'] = validate_only unless validate_only.nil? command.query['fields'] = fields unless fields.nil? command.query['quotaUser'] = quota_user unless quota_user.nil? execute_or_queue_command(command, &block) end |
#private_project_location_private_cloud_cloud_deletion_now(name, accelerate_private_cloud_deletion_request_object = nil, fields: nil, quota_user: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::VmwareengineV1::Operation
Accelerates the deletion of a private cloud that is currently in soft deletion
A PrivateCloud resource in soft deletion has PrivateCloud.state set to
SOFT_DELETED and PrivateCloud.expireTime set to the time when deletion can
no longer be reversed.
2138 2139 2140 2141 2142 2143 2144 2145 2146 2147 2148 |
# File 'lib/google/apis/vmwareengine_v1/service.rb', line 2138 def private_project_location_private_cloud_cloud_deletion_now(name, accelerate_private_cloud_deletion_request_object = nil, fields: nil, quota_user: nil, options: nil, &block) command = make_simple_command(:post, 'v1/{+name}:privateCloudDeletionNow', ) command.request_representation = Google::Apis::VmwareengineV1::AcceleratePrivateCloudDeletionRequest::Representation command.request_object = accelerate_private_cloud_deletion_request_object command.response_representation = Google::Apis::VmwareengineV1::Operation::Representation command.response_class = Google::Apis::VmwareengineV1::Operation command.params['name'] = name unless name.nil? command.query['fields'] = fields unless fields.nil? command.query['quotaUser'] = quota_user unless quota_user.nil? execute_or_queue_command(command, &block) end |
#repair_management_dns_zone_binding(name, repair_management_dns_zone_binding_request_object = nil, fields: nil, quota_user: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::VmwareengineV1::Operation
Retries to create a ManagementDnsZoneBinding resource that is in failed
state.
4058 4059 4060 4061 4062 4063 4064 4065 4066 4067 4068 |
# File 'lib/google/apis/vmwareengine_v1/service.rb', line 4058 def repair_management_dns_zone_binding(name, repair_management_dns_zone_binding_request_object = nil, fields: nil, quota_user: nil, options: nil, &block) command = make_simple_command(:post, 'v1/{+name}:repair', ) command.request_representation = Google::Apis::VmwareengineV1::RepairManagementDnsZoneBindingRequest::Representation command.request_object = repair_management_dns_zone_binding_request_object command.response_representation = Google::Apis::VmwareengineV1::Operation::Representation command.response_class = Google::Apis::VmwareengineV1::Operation command.params['name'] = name unless name.nil? command.query['fields'] = fields unless fields.nil? command.query['quotaUser'] = quota_user unless quota_user.nil? execute_or_queue_command(command, &block) end |
#reset_private_cloud_nsx_credentials(private_cloud, reset_nsx_credentials_request_object = nil, fields: nil, quota_user: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::VmwareengineV1::Operation
Resets credentials of the NSX appliance.
2174 2175 2176 2177 2178 2179 2180 2181 2182 2183 2184 |
# File 'lib/google/apis/vmwareengine_v1/service.rb', line 2174 def reset_private_cloud_nsx_credentials(private_cloud, reset_nsx_credentials_request_object = nil, fields: nil, quota_user: nil, options: nil, &block) command = make_simple_command(:post, 'v1/{+privateCloud}:resetNsxCredentials', ) command.request_representation = Google::Apis::VmwareengineV1::ResetNsxCredentialsRequest::Representation command.request_object = reset_nsx_credentials_request_object command.response_representation = Google::Apis::VmwareengineV1::Operation::Representation command.response_class = Google::Apis::VmwareengineV1::Operation command.params['privateCloud'] = private_cloud unless private_cloud.nil? command.query['fields'] = fields unless fields.nil? command.query['quotaUser'] = quota_user unless quota_user.nil? execute_or_queue_command(command, &block) end |
#reset_private_cloud_vcenter_credentials(private_cloud, reset_vcenter_credentials_request_object = nil, fields: nil, quota_user: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::VmwareengineV1::Operation
Resets credentials of the Vcenter appliance.
2210 2211 2212 2213 2214 2215 2216 2217 2218 2219 2220 |
# File 'lib/google/apis/vmwareengine_v1/service.rb', line 2210 def reset_private_cloud_vcenter_credentials(private_cloud, reset_vcenter_credentials_request_object = nil, fields: nil, quota_user: nil, options: nil, &block) command = make_simple_command(:post, 'v1/{+privateCloud}:resetVcenterCredentials', ) command.request_representation = Google::Apis::VmwareengineV1::ResetVcenterCredentialsRequest::Representation command.request_object = reset_vcenter_credentials_request_object command.response_representation = Google::Apis::VmwareengineV1::Operation::Representation command.response_class = Google::Apis::VmwareengineV1::Operation command.params['privateCloud'] = private_cloud unless private_cloud.nil? command.query['fields'] = fields unless fields.nil? command.query['quotaUser'] = quota_user unless quota_user.nil? execute_or_queue_command(command, &block) end |
#revoke_dns_bind_permission(name, revoke_dns_bind_permission_request_object = nil, fields: nil, quota_user: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::VmwareengineV1::Operation
Revokes the bind permission from the customer provided principal(user / service account) on the intranet VPC associated with the consumer project. DnsBindPermission is a global resource and location can only be global.
587 588 589 590 591 592 593 594 595 596 597 |
# File 'lib/google/apis/vmwareengine_v1/service.rb', line 587 def (name, = nil, fields: nil, quota_user: nil, options: nil, &block) command = make_simple_command(:post, 'v1/{+name}:revoke', ) command.request_representation = Google::Apis::VmwareengineV1::RevokeDnsBindPermissionRequest::Representation command.request_object = command.response_representation = Google::Apis::VmwareengineV1::Operation::Representation command.response_class = Google::Apis::VmwareengineV1::Operation command.params['name'] = name unless name.nil? command.query['fields'] = fields unless fields.nil? command.query['quotaUser'] = quota_user unless quota_user.nil? execute_or_queue_command(command, &block) end |
#set_cluster_iam_policy(resource, set_iam_policy_request_object = nil, fields: nil, quota_user: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::VmwareengineV1::Policy
Sets the access control policy on the specified resource. Replaces any
existing policy. Can return NOT_FOUND, INVALID_ARGUMENT, and
PERMISSION_DENIED errors.
2812 2813 2814 2815 2816 2817 2818 2819 2820 2821 2822 |
# File 'lib/google/apis/vmwareengine_v1/service.rb', line 2812 def set_cluster_iam_policy(resource, set_iam_policy_request_object = nil, fields: nil, quota_user: nil, options: nil, &block) command = make_simple_command(:post, 'v1/{+resource}:setIamPolicy', ) command.request_representation = Google::Apis::VmwareengineV1::SetIamPolicyRequest::Representation command.request_object = set_iam_policy_request_object command.response_representation = Google::Apis::VmwareengineV1::Policy::Representation command.response_class = Google::Apis::VmwareengineV1::Policy command.params['resource'] = resource unless resource.nil? command.query['fields'] = fields unless fields.nil? command.query['quotaUser'] = quota_user unless quota_user.nil? execute_or_queue_command(command, &block) end |
#set_hcx_activation_key_iam_policy(resource, set_iam_policy_request_object = nil, fields: nil, quota_user: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::VmwareengineV1::Policy
Sets the access control policy on the specified resource. Replaces any
existing policy. Can return NOT_FOUND, INVALID_ARGUMENT, and
PERMISSION_DENIED errors.
3452 3453 3454 3455 3456 3457 3458 3459 3460 3461 3462 |
# File 'lib/google/apis/vmwareengine_v1/service.rb', line 3452 def set_hcx_activation_key_iam_policy(resource, set_iam_policy_request_object = nil, fields: nil, quota_user: nil, options: nil, &block) command = make_simple_command(:post, 'v1/{+resource}:setIamPolicy', ) command.request_representation = Google::Apis::VmwareengineV1::SetIamPolicyRequest::Representation command.request_object = set_iam_policy_request_object command.response_representation = Google::Apis::VmwareengineV1::Policy::Representation command.response_class = Google::Apis::VmwareengineV1::Policy command.params['resource'] = resource unless resource.nil? command.query['fields'] = fields unless fields.nil? command.query['quotaUser'] = quota_user unless quota_user.nil? execute_or_queue_command(command, &block) end |
#set_private_cloud_iam_policy(resource, set_iam_policy_request_object = nil, fields: nil, quota_user: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::VmwareengineV1::Policy
Sets the access control policy on the specified resource. Replaces any
existing policy. Can return NOT_FOUND, INVALID_ARGUMENT, and
PERMISSION_DENIED errors.
2247 2248 2249 2250 2251 2252 2253 2254 2255 2256 2257 |
# File 'lib/google/apis/vmwareengine_v1/service.rb', line 2247 def set_private_cloud_iam_policy(resource, set_iam_policy_request_object = nil, fields: nil, quota_user: nil, options: nil, &block) command = make_simple_command(:post, 'v1/{+resource}:setIamPolicy', ) command.request_representation = Google::Apis::VmwareengineV1::SetIamPolicyRequest::Representation command.request_object = set_iam_policy_request_object command.response_representation = Google::Apis::VmwareengineV1::Policy::Representation command.response_class = Google::Apis::VmwareengineV1::Policy command.params['resource'] = resource unless resource.nil? command.query['fields'] = fields unless fields.nil? command.query['quotaUser'] = quota_user unless quota_user.nil? execute_or_queue_command(command, &block) end |
#show_project_location_private_cloud_nsx_credentials(private_cloud, fields: nil, quota_user: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::VmwareengineV1::Credentials
Gets details of credentials for NSX appliance.
2282 2283 2284 2285 2286 2287 2288 2289 2290 |
# File 'lib/google/apis/vmwareengine_v1/service.rb', line 2282 def show_project_location_private_cloud_nsx_credentials(private_cloud, fields: nil, quota_user: nil, options: nil, &block) command = make_simple_command(:get, 'v1/{+privateCloud}:showNsxCredentials', ) command.response_representation = Google::Apis::VmwareengineV1::Credentials::Representation command.response_class = Google::Apis::VmwareengineV1::Credentials command.params['privateCloud'] = private_cloud unless private_cloud.nil? command.query['fields'] = fields unless fields.nil? command.query['quotaUser'] = quota_user unless quota_user.nil? execute_or_queue_command(command, &block) end |
#show_project_location_private_cloud_vcenter_credentials(private_cloud, username: nil, fields: nil, quota_user: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::VmwareengineV1::Credentials
Gets details of credentials for Vcenter appliance.
2321 2322 2323 2324 2325 2326 2327 2328 2329 2330 |
# File 'lib/google/apis/vmwareengine_v1/service.rb', line 2321 def show_project_location_private_cloud_vcenter_credentials(private_cloud, username: nil, fields: nil, quota_user: nil, options: nil, &block) command = make_simple_command(:get, 'v1/{+privateCloud}:showVcenterCredentials', ) command.response_representation = Google::Apis::VmwareengineV1::Credentials::Representation command.response_class = Google::Apis::VmwareengineV1::Credentials command.params['privateCloud'] = private_cloud unless private_cloud.nil? command.query['username'] = username unless username.nil? command.query['fields'] = fields unless fields.nil? command.query['quotaUser'] = quota_user unless quota_user.nil? execute_or_queue_command(command, &block) end |
#test_cluster_iam_permissions(resource, test_iam_permissions_request_object = nil, fields: nil, quota_user: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::VmwareengineV1::TestIamPermissionsResponse
Returns permissions that a caller has on the specified resource. If the
resource does not exist, this will return an empty set of permissions, not a
NOT_FOUND error. Note: This operation is designed to be used for building
permission-aware UIs and command-line tools, not for authorization checking.
This operation may "fail open" without warning.
2851 2852 2853 2854 2855 2856 2857 2858 2859 2860 2861 |
# File 'lib/google/apis/vmwareengine_v1/service.rb', line 2851 def (resource, = nil, fields: nil, quota_user: nil, options: nil, &block) command = make_simple_command(:post, 'v1/{+resource}:testIamPermissions', ) command.request_representation = Google::Apis::VmwareengineV1::TestIamPermissionsRequest::Representation command.request_object = command.response_representation = Google::Apis::VmwareengineV1::TestIamPermissionsResponse::Representation command.response_class = Google::Apis::VmwareengineV1::TestIamPermissionsResponse command.params['resource'] = resource unless resource.nil? command.query['fields'] = fields unless fields.nil? command.query['quotaUser'] = quota_user unless quota_user.nil? execute_or_queue_command(command, &block) end |
#test_hcx_activation_key_iam_permissions(resource, test_iam_permissions_request_object = nil, fields: nil, quota_user: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::VmwareengineV1::TestIamPermissionsResponse
Returns permissions that a caller has on the specified resource. If the
resource does not exist, this will return an empty set of permissions, not a
NOT_FOUND error. Note: This operation is designed to be used for building
permission-aware UIs and command-line tools, not for authorization checking.
This operation may "fail open" without warning.
3491 3492 3493 3494 3495 3496 3497 3498 3499 3500 3501 |
# File 'lib/google/apis/vmwareengine_v1/service.rb', line 3491 def (resource, = nil, fields: nil, quota_user: nil, options: nil, &block) command = make_simple_command(:post, 'v1/{+resource}:testIamPermissions', ) command.request_representation = Google::Apis::VmwareengineV1::TestIamPermissionsRequest::Representation command.request_object = command.response_representation = Google::Apis::VmwareengineV1::TestIamPermissionsResponse::Representation command.response_class = Google::Apis::VmwareengineV1::TestIamPermissionsResponse command.params['resource'] = resource unless resource.nil? command.query['fields'] = fields unless fields.nil? command.query['quotaUser'] = quota_user unless quota_user.nil? execute_or_queue_command(command, &block) end |
#test_private_cloud_iam_permissions(resource, test_iam_permissions_request_object = nil, fields: nil, quota_user: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::VmwareengineV1::TestIamPermissionsResponse
Returns permissions that a caller has on the specified resource. If the
resource does not exist, this will return an empty set of permissions, not a
NOT_FOUND error. Note: This operation is designed to be used for building
permission-aware UIs and command-line tools, not for authorization checking.
This operation may "fail open" without warning.
2359 2360 2361 2362 2363 2364 2365 2366 2367 2368 2369 |
# File 'lib/google/apis/vmwareengine_v1/service.rb', line 2359 def (resource, = nil, fields: nil, quota_user: nil, options: nil, &block) command = make_simple_command(:post, 'v1/{+resource}:testIamPermissions', ) command.request_representation = Google::Apis::VmwareengineV1::TestIamPermissionsRequest::Representation command.request_object = command.response_representation = Google::Apis::VmwareengineV1::TestIamPermissionsResponse::Representation command.response_class = Google::Apis::VmwareengineV1::TestIamPermissionsResponse command.params['resource'] = resource unless resource.nil? command.query['fields'] = fields unless fields.nil? command.query['quotaUser'] = quota_user unless quota_user.nil? execute_or_queue_command(command, &block) end |
#undelete_private_cloud(name, undelete_private_cloud_request_object = nil, fields: nil, quota_user: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::VmwareengineV1::Operation
Restores a private cloud that was previously scheduled for deletion by
DeletePrivateCloud. A PrivateCloud resource scheduled for deletion has
PrivateCloud.state set to DELETED and PrivateCloud.expireTime set to the
time when deletion can no longer be reversed.
2398 2399 2400 2401 2402 2403 2404 2405 2406 2407 2408 |
# File 'lib/google/apis/vmwareengine_v1/service.rb', line 2398 def undelete_private_cloud(name, undelete_private_cloud_request_object = nil, fields: nil, quota_user: nil, options: nil, &block) command = make_simple_command(:post, 'v1/{+name}:undelete', ) command.request_representation = Google::Apis::VmwareengineV1::UndeletePrivateCloudRequest::Representation command.request_object = undelete_private_cloud_request_object command.response_representation = Google::Apis::VmwareengineV1::Operation::Representation command.response_class = Google::Apis::VmwareengineV1::Operation command.params['name'] = name unless name.nil? command.query['fields'] = fields unless fields.nil? command.query['quotaUser'] = quota_user unless quota_user.nil? execute_or_queue_command(command, &block) end |
#unmount_cluster_datastore(name, unmount_datastore_request_object = nil, fields: nil, quota_user: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::VmwareengineV1::Operation
Unmounts a Datastore on a cluster resource
2887 2888 2889 2890 2891 2892 2893 2894 2895 2896 2897 |
# File 'lib/google/apis/vmwareengine_v1/service.rb', line 2887 def unmount_cluster_datastore(name, unmount_datastore_request_object = nil, fields: nil, quota_user: nil, options: nil, &block) command = make_simple_command(:post, 'v1/{+name}:unmountDatastore', ) command.request_representation = Google::Apis::VmwareengineV1::UnmountDatastoreRequest::Representation command.request_object = unmount_datastore_request_object command.response_representation = Google::Apis::VmwareengineV1::Operation::Representation command.response_class = Google::Apis::VmwareengineV1::Operation command.params['name'] = name unless name.nil? command.query['fields'] = fields unless fields.nil? command.query['quotaUser'] = quota_user unless quota_user.nil? execute_or_queue_command(command, &block) end |
#update_project_location_private_cloud_dns_forwarding(name, dns_forwarding_object = nil, request_id: nil, update_mask: nil, fields: nil, quota_user: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::VmwareengineV1::Operation
Updates the parameters of the DnsForwarding config, like associated domains.
Only fields specified in update_mask are applied.
2453 2454 2455 2456 2457 2458 2459 2460 2461 2462 2463 2464 2465 |
# File 'lib/google/apis/vmwareengine_v1/service.rb', line 2453 def update_project_location_private_cloud_dns_forwarding(name, dns_forwarding_object = nil, request_id: nil, update_mask: nil, fields: nil, quota_user: nil, options: nil, &block) command = make_simple_command(:patch, 'v1/{+name}', ) command.request_representation = Google::Apis::VmwareengineV1::DnsForwarding::Representation command.request_object = dns_forwarding_object command.response_representation = Google::Apis::VmwareengineV1::Operation::Representation command.response_class = Google::Apis::VmwareengineV1::Operation command.params['name'] = name unless name.nil? command.query['requestId'] = request_id unless request_id.nil? command.query['updateMask'] = update_mask unless update_mask.nil? command.query['fields'] = fields unless fields.nil? command.query['quotaUser'] = quota_user unless quota_user.nil? execute_or_queue_command(command, &block) end |