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.
-
#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.
2469 2470 2471 2472 2473 2474 2475 2476 2477 2478 2479 2480 2481 2482 |
# File 'lib/google/apis/vmwareengine_v1/service.rb', line 2469 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).
2985 2986 2987 2988 2989 2990 2991 2992 2993 2994 2995 2996 2997 2998 |
# File 'lib/google/apis/vmwareengine_v1/service.rb', line 2985 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.
3253 3254 3255 3256 3257 3258 3259 3260 3261 3262 3263 3264 3265 |
# File 'lib/google/apis/vmwareengine_v1/service.rb', line 3253 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.
3509 3510 3511 3512 3513 3514 3515 3516 3517 3518 3519 3520 3521 |
# File 'lib/google/apis/vmwareengine_v1/service.rb', line 3509 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.
3774 3775 3776 3777 3778 3779 3780 3781 3782 3783 3784 3785 3786 |
# File 'lib/google/apis/vmwareengine_v1/service.rb', line 3774 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.
4357 4358 4359 4360 4361 4362 4363 4364 4365 4366 4367 4368 4369 4370 |
# File 'lib/google/apis/vmwareengine_v1/service.rb', line 4357 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.
4675 4676 4677 4678 4679 4680 4681 4682 4683 4684 4685 4686 4687 4688 |
# File 'lib/google/apis/vmwareengine_v1/service.rb', line 4675 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.
2512 2513 2514 2515 2516 2517 2518 2519 2520 2521 |
# File 'lib/google/apis/vmwareengine_v1/service.rb', line 2512 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.
3037 3038 3039 3040 3041 3042 3043 3044 3045 3046 |
# File 'lib/google/apis/vmwareengine_v1/service.rb', line 3037 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.
3558 3559 3560 3561 3562 3563 3564 3565 3566 3567 |
# File 'lib/google/apis/vmwareengine_v1/service.rb', line 3558 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.
3826 3827 3828 3829 3830 3831 3832 3833 3834 3835 |
# File 'lib/google/apis/vmwareengine_v1/service.rb', line 3826 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.
4409 4410 4411 4412 4413 4414 4415 4416 4417 4418 |
# File 'lib/google/apis/vmwareengine_v1/service.rb', line 4409 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.
4733 4734 4735 4736 4737 4738 4739 4740 4741 4742 4743 |
# File 'lib/google/apis/vmwareengine_v1/service.rb', line 4733 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.
2546 2547 2548 2549 2550 2551 2552 2553 2554 |
# File 'lib/google/apis/vmwareengine_v1/service.rb', line 2546 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.
2590 2591 2592 2593 2594 2595 2596 2597 2598 2599 |
# File 'lib/google/apis/vmwareengine_v1/service.rb', line 2590 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.
2883 2884 2885 2886 2887 2888 2889 2890 2891 |
# File 'lib/google/apis/vmwareengine_v1/service.rb', line 2883 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.
3071 3072 3073 3074 3075 3076 3077 3078 3079 |
# File 'lib/google/apis/vmwareengine_v1/service.rb', line 3071 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.
3290 3291 3292 3293 3294 3295 3296 3297 3298 |
# File 'lib/google/apis/vmwareengine_v1/service.rb', line 3290 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.
3334 3335 3336 3337 3338 3339 3340 3341 3342 3343 |
# File 'lib/google/apis/vmwareengine_v1/service.rb', line 3334 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.
3592 3593 3594 3595 3596 3597 3598 3599 3600 |
# File 'lib/google/apis/vmwareengine_v1/service.rb', line 3592 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.
3861 3862 3863 3864 3865 3866 3867 3868 3869 |
# File 'lib/google/apis/vmwareengine_v1/service.rb', line 3861 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.
4055 4056 4057 4058 4059 4060 4061 4062 4063 |
# File 'lib/google/apis/vmwareengine_v1/service.rb', line 4055 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.
4178 4179 4180 4181 4182 4183 4184 4185 4186 |
# File 'lib/google/apis/vmwareengine_v1/service.rb', line 4178 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.
4445 4446 4447 4448 4449 4450 4451 4452 4453 |
# File 'lib/google/apis/vmwareengine_v1/service.rb', line 4445 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).
4771 4772 4773 4774 4775 4776 4777 4778 4779 |
# File 'lib/google/apis/vmwareengine_v1/service.rb', line 4771 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.
2924 2925 2926 2927 2928 2929 2930 2931 2932 2933 2934 |
# File 'lib/google/apis/vmwareengine_v1/service.rb', line 2924 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.
2644 2645 2646 2647 2648 2649 2650 2651 2652 2653 2654 2655 2656 |
# File 'lib/google/apis/vmwareengine_v1/service.rb', line 2644 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.
3131 3132 3133 3134 3135 3136 3137 3138 3139 3140 3141 3142 3143 |
# File 'lib/google/apis/vmwareengine_v1/service.rb', line 3131 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.
3377 3378 3379 3380 3381 3382 3383 3384 3385 3386 3387 |
# File 'lib/google/apis/vmwareengine_v1/service.rb', line 3377 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.
3652 3653 3654 3655 3656 3657 3658 3659 3660 3661 3662 3663 3664 |
# File 'lib/google/apis/vmwareengine_v1/service.rb', line 3652 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.
3922 3923 3924 3925 3926 3927 3928 3929 3930 3931 3932 3933 3934 |
# File 'lib/google/apis/vmwareengine_v1/service.rb', line 3922 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.
4097 4098 4099 4100 4101 4102 4103 4104 4105 4106 4107 |
# File 'lib/google/apis/vmwareengine_v1/service.rb', line 4097 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.
4237 4238 4239 4240 4241 4242 4243 4244 4245 4246 4247 4248 4249 |
# File 'lib/google/apis/vmwareengine_v1/service.rb', line 4237 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.
4611 4612 4613 4614 4615 4616 4617 4618 4619 4620 4621 |
# File 'lib/google/apis/vmwareengine_v1/service.rb', line 4611 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.
4504 4505 4506 4507 4508 4509 4510 4511 4512 4513 4514 4515 4516 |
# File 'lib/google/apis/vmwareengine_v1/service.rb', line 4504 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.
4830 4831 4832 4833 4834 4835 4836 4837 4838 4839 4840 4841 4842 |
# File 'lib/google/apis/vmwareengine_v1/service.rb', line 4830 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 |
#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
2682 2683 2684 2685 2686 2687 2688 2689 2690 2691 2692 |
# File 'lib/google/apis/vmwareengine_v1/service.rb', line 2682 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.
2058 2059 2060 2061 2062 2063 2064 2065 2066 2067 2068 2069 2070 2071 |
# File 'lib/google/apis/vmwareengine_v1/service.rb', line 2058 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.
2734 2735 2736 2737 2738 2739 2740 2741 2742 2743 2744 2745 2746 2747 |
# File 'lib/google/apis/vmwareengine_v1/service.rb', line 2734 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.
3194 3195 3196 3197 3198 3199 3200 3201 3202 3203 3204 3205 3206 3207 |
# File 'lib/google/apis/vmwareengine_v1/service.rb', line 3194 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.
3709 3710 3711 3712 3713 3714 3715 3716 3717 3718 3719 3720 3721 |
# File 'lib/google/apis/vmwareengine_v1/service.rb', line 3709 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.
3980 3981 3982 3983 3984 3985 3986 3987 3988 3989 3990 3991 3992 |
# File 'lib/google/apis/vmwareengine_v1/service.rb', line 3980 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.
4142 4143 4144 4145 4146 4147 4148 4149 4150 4151 4152 4153 |
# File 'lib/google/apis/vmwareengine_v1/service.rb', line 4142 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.
4296 4297 4298 4299 4300 4301 4302 4303 4304 4305 4306 4307 4308 |
# File 'lib/google/apis/vmwareengine_v1/service.rb', line 4296 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.
4564 4565 4566 4567 4568 4569 4570 4571 4572 4573 4574 4575 4576 4577 |
# File 'lib/google/apis/vmwareengine_v1/service.rb', line 4564 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.
4891 4892 4893 4894 4895 4896 4897 4898 4899 4900 4901 4902 4903 4904 |
# File 'lib/google/apis/vmwareengine_v1/service.rb', line 4891 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.
2100 2101 2102 2103 2104 2105 2106 2107 2108 2109 2110 |
# File 'lib/google/apis/vmwareengine_v1/service.rb', line 2100 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.
4020 4021 4022 4023 4024 4025 4026 4027 4028 4029 4030 |
# File 'lib/google/apis/vmwareengine_v1/service.rb', line 4020 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.
2136 2137 2138 2139 2140 2141 2142 2143 2144 2145 2146 |
# File 'lib/google/apis/vmwareengine_v1/service.rb', line 2136 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.
2172 2173 2174 2175 2176 2177 2178 2179 2180 2181 2182 |
# File 'lib/google/apis/vmwareengine_v1/service.rb', line 2172 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.
2774 2775 2776 2777 2778 2779 2780 2781 2782 2783 2784 |
# File 'lib/google/apis/vmwareengine_v1/service.rb', line 2774 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.
3414 3415 3416 3417 3418 3419 3420 3421 3422 3423 3424 |
# File 'lib/google/apis/vmwareengine_v1/service.rb', line 3414 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.
2209 2210 2211 2212 2213 2214 2215 2216 2217 2218 2219 |
# File 'lib/google/apis/vmwareengine_v1/service.rb', line 2209 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.
2244 2245 2246 2247 2248 2249 2250 2251 2252 |
# File 'lib/google/apis/vmwareengine_v1/service.rb', line 2244 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.
2283 2284 2285 2286 2287 2288 2289 2290 2291 2292 |
# File 'lib/google/apis/vmwareengine_v1/service.rb', line 2283 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.
2813 2814 2815 2816 2817 2818 2819 2820 2821 2822 2823 |
# File 'lib/google/apis/vmwareengine_v1/service.rb', line 2813 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.
3453 3454 3455 3456 3457 3458 3459 3460 3461 3462 3463 |
# File 'lib/google/apis/vmwareengine_v1/service.rb', line 3453 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.
2321 2322 2323 2324 2325 2326 2327 2328 2329 2330 2331 |
# File 'lib/google/apis/vmwareengine_v1/service.rb', line 2321 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.
2360 2361 2362 2363 2364 2365 2366 2367 2368 2369 2370 |
# File 'lib/google/apis/vmwareengine_v1/service.rb', line 2360 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
2849 2850 2851 2852 2853 2854 2855 2856 2857 2858 2859 |
# File 'lib/google/apis/vmwareengine_v1/service.rb', line 2849 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.
2415 2416 2417 2418 2419 2420 2421 2422 2423 2424 2425 2426 2427 |
# File 'lib/google/apis/vmwareengine_v1/service.rb', line 2415 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 |