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_network_peering(parent, network_peering_object = nil, network_peering_id: nil, request_id: 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. -
#create_project_location_network_policy(parent, network_policy_object = nil, network_policy_id: nil, request_id: 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, 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
PrivateCloud
resource 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, fields: nil, quota_user: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::VmwareengineV1::Operation
Creates a new
ExternalAddress
resource 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
ManagementDnsZoneBinding
resource in a private cloud. -
#create_project_location_private_connection(parent, private_connection_object = nil, private_connection_id: nil, request_id: 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, 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_network_peering(name, request_id: nil, fields: nil, quota_user: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::VmwareengineV1::Operation
Deletes a
NetworkPeering
resource. -
#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. -
#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
PrivateCloud
resource 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
Cluster
resource. -
#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
ManagementDnsZoneBinding
resource. -
#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. -
#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. -
#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_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
NetworkPeering
resource 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
NetworkPolicy
resource 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
PrivateCloud
resource 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
Cluster
resource 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
DnsForwarding
config. -
#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
HcxActivationKey
resource 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_connection(name, fields: nil, quota_user: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::VmwareengineV1::PrivateConnection
Retrieves a
PrivateConnection
resource 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
VmwareEngineNetwork
resource 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_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
NetworkPeering
resources 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
NetworkPolicy
resources 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
ExternalAccessRule
resources 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, 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
Cluster
resources 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
HcxActivationKey
resources 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_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. -
#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
PrivateConnection
resources 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
VmwareEngineNetwork
resources in a given project and location. -
#list_project_locations(name, 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.
-
#patch_project_location_network_peering(name, network_peering_object = nil, request_id: nil, update_mask: nil, fields: nil, quota_user: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::VmwareengineV1::Operation
Modifies a
NetworkPeering
resource. -
#patch_project_location_network_policy(name, network_policy_object = nil, request_id: nil, update_mask: nil, fields: nil, quota_user: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::VmwareengineV1::Operation
Modifies a
NetworkPolicy
resource. -
#patch_project_location_network_policy_external_access_rule(name, external_access_rule_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 external access rule.
-
#patch_project_location_private_cloud(name, private_cloud_object = nil, request_id: nil, update_mask: nil, fields: nil, quota_user: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::VmwareengineV1::Operation
Modifies a
PrivateCloud
resource. -
#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. -
#patch_project_location_private_cloud_external_address(name, external_address_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 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
ManagementDnsZoneBinding
resource. -
#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_connection(name, private_connection_object = nil, request_id: nil, update_mask: nil, fields: nil, quota_user: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::VmwareengineV1::Operation
Modifies a
PrivateConnection
resource. -
#patch_project_location_vmware_engine_network(name, vmware_engine_network_object = nil, request_id: nil, update_mask: nil, fields: nil, quota_user: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::VmwareengineV1::Operation
Modifies a VMware Engine network resource.
-
#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. -
#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
. -
#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.
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_network_peering(parent, network_peering_object = nil, network_peering_id: nil, request_id: 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.
293 294 295 296 297 298 299 300 301 302 303 304 305 |
# File 'lib/google/apis/vmwareengine_v1/service.rb', line 293 def create_project_location_network_peering(parent, network_peering_object = nil, network_peering_id: nil, request_id: 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['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, 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.
613 614 615 616 617 618 619 620 621 622 623 624 625 |
# File 'lib/google/apis/vmwareengine_v1/service.rb', line 613 def create_project_location_network_policy(parent, network_policy_object = nil, network_policy_id: nil, request_id: 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['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, fields: nil, quota_user: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::VmwareengineV1::Operation
Creates a new external access rule in a given network policy.
926 927 928 929 930 931 932 933 934 935 936 937 938 |
# File 'lib/google/apis/vmwareengine_v1/service.rb', line 926 def create_project_location_network_policy_external_access_rule(parent, external_access_rule_object = nil, external_access_rule_id: nil, request_id: 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['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.
1375 1376 1377 1378 1379 1380 1381 1382 1383 1384 1385 1386 1387 1388 |
# File 'lib/google/apis/vmwareengine_v1/service.rb', line 1375 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.
2040 2041 2042 2043 2044 2045 2046 2047 2048 2049 2050 2051 2052 2053 |
# File 'lib/google/apis/vmwareengine_v1/service.rb', line 2040 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, 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
).
2481 2482 2483 2484 2485 2486 2487 2488 2489 2490 2491 2492 2493 |
# File 'lib/google/apis/vmwareengine_v1/service.rb', line 2481 def create_project_location_private_cloud_external_address(parent, external_address_object = nil, external_address_id: nil, request_id: 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['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.
2744 2745 2746 2747 2748 2749 2750 2751 2752 2753 2754 2755 2756 |
# File 'lib/google/apis/vmwareengine_v1/service.rb', line 2744 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.
3000 3001 3002 3003 3004 3005 3006 3007 3008 3009 3010 3011 3012 |
# File 'lib/google/apis/vmwareengine_v1/service.rb', line 3000 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.
3265 3266 3267 3268 3269 3270 3271 3272 3273 3274 3275 3276 3277 |
# File 'lib/google/apis/vmwareengine_v1/service.rb', line 3265 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, 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.
3690 3691 3692 3693 3694 3695 3696 3697 3698 3699 3700 3701 3702 |
# File 'lib/google/apis/vmwareengine_v1/service.rb', line 3690 def create_project_location_private_connection(parent, private_connection_object = nil, private_connection_id: nil, request_id: 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['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, 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.
4000 4001 4002 4003 4004 4005 4006 4007 4008 4009 4010 4011 4012 |
# File 'lib/google/apis/vmwareengine_v1/service.rb', line 4000 def create_project_location_vmware_engine_network(parent, vmware_engine_network_object = nil, request_id: 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['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_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.
345 346 347 348 349 350 351 352 353 354 |
# File 'lib/google/apis/vmwareengine_v1/service.rb', line 345 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.
664 665 666 667 668 669 670 671 672 673 |
# File 'lib/google/apis/vmwareengine_v1/service.rb', line 664 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.
975 976 977 978 979 980 981 982 983 984 |
# File 'lib/google/apis/vmwareengine_v1/service.rb', line 975 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
.
1252 1253 1254 1255 1256 1257 1258 1259 1260 |
# File 'lib/google/apis/vmwareengine_v1/service.rb', line 1252 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.
1441 1442 1443 1444 1445 1446 1447 1448 1449 1450 1451 1452 |
# File 'lib/google/apis/vmwareengine_v1/service.rb', line 1441 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.
2083 2084 2085 2086 2087 2088 2089 2090 2091 2092 |
# File 'lib/google/apis/vmwareengine_v1/service.rb', line 2083 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.
2532 2533 2534 2535 2536 2537 2538 2539 2540 2541 |
# File 'lib/google/apis/vmwareengine_v1/service.rb', line 2532 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.
3049 3050 3051 3052 3053 3054 3055 3056 3057 3058 |
# File 'lib/google/apis/vmwareengine_v1/service.rb', line 3049 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.
3317 3318 3319 3320 3321 3322 3323 3324 3325 3326 |
# File 'lib/google/apis/vmwareengine_v1/service.rb', line 3317 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.
3741 3742 3743 3744 3745 3746 3747 3748 3749 3750 |
# File 'lib/google/apis/vmwareengine_v1/service.rb', line 3741 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.
4057 4058 4059 4060 4061 4062 4063 4064 4065 4066 4067 |
# File 'lib/google/apis/vmwareengine_v1/service.rb', line 4057 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.
708 709 710 711 712 713 714 715 716 717 718 |
# File 'lib/google/apis/vmwareengine_v1/service.rb', line 708 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_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.
382 383 384 385 386 387 388 389 390 |
# File 'lib/google/apis/vmwareengine_v1/service.rb', line 382 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.
743 744 745 746 747 748 749 750 751 |
# File 'lib/google/apis/vmwareengine_v1/service.rb', line 743 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.
1009 1010 1011 1012 1013 1014 1015 1016 1017 |
# File 'lib/google/apis/vmwareengine_v1/service.rb', line 1009 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
.
1163 1164 1165 1166 1167 1168 1169 1170 1171 |
# File 'lib/google/apis/vmwareengine_v1/service.rb', line 1163 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.
1283 1284 1285 1286 1287 1288 1289 1290 1291 |
# File 'lib/google/apis/vmwareengine_v1/service.rb', line 1283 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.
1477 1478 1479 1480 1481 1482 1483 1484 1485 |
# File 'lib/google/apis/vmwareengine_v1/service.rb', line 1477 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.
2117 2118 2119 2120 2121 2122 2123 2124 2125 |
# File 'lib/google/apis/vmwareengine_v1/service.rb', line 2117 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.
2161 2162 2163 2164 2165 2166 2167 2168 2169 2170 |
# File 'lib/google/apis/vmwareengine_v1/service.rb', line 2161 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.
2382 2383 2384 2385 2386 2387 2388 2389 2390 |
# File 'lib/google/apis/vmwareengine_v1/service.rb', line 2382 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.
1510 1511 1512 1513 1514 1515 1516 1517 1518 |
# File 'lib/google/apis/vmwareengine_v1/service.rb', line 1510 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.
2566 2567 2568 2569 2570 2571 2572 2573 2574 |
# File 'lib/google/apis/vmwareengine_v1/service.rb', line 2566 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.
2781 2782 2783 2784 2785 2786 2787 2788 2789 |
# File 'lib/google/apis/vmwareengine_v1/service.rb', line 2781 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.
2825 2826 2827 2828 2829 2830 2831 2832 2833 2834 |
# File 'lib/google/apis/vmwareengine_v1/service.rb', line 2825 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.
1554 1555 1556 1557 1558 1559 1560 1561 1562 1563 |
# File 'lib/google/apis/vmwareengine_v1/service.rb', line 1554 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.
3083 3084 3085 3086 3087 3088 3089 3090 3091 |
# File 'lib/google/apis/vmwareengine_v1/service.rb', line 3083 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.
3352 3353 3354 3355 3356 3357 3358 3359 3360 |
# File 'lib/google/apis/vmwareengine_v1/service.rb', line 3352 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.
3546 3547 3548 3549 3550 3551 3552 3553 3554 |
# File 'lib/google/apis/vmwareengine_v1/service.rb', line 3546 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_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.
3777 3778 3779 3780 3781 3782 3783 3784 3785 |
# File 'lib/google/apis/vmwareengine_v1/service.rb', line 3777 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
).
4095 4096 4097 4098 4099 4100 4101 4102 4103 |
# File 'lib/google/apis/vmwareengine_v1/service.rb', line 4095 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.
194 195 196 197 198 199 200 201 202 203 204 |
# File 'lib/google/apis/vmwareengine_v1/service.rb', line 194 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_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.
554 555 556 557 558 559 560 561 562 563 564 565 |
# File 'lib/google/apis/vmwareengine_v1/service.rb', line 554 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.
442 443 444 445 446 447 448 449 450 451 452 453 454 |
# File 'lib/google/apis/vmwareengine_v1/service.rb', line 442 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.
803 804 805 806 807 808 809 810 811 812 813 814 815 |
# File 'lib/google/apis/vmwareengine_v1/service.rb', line 803 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.
1069 1070 1071 1072 1073 1074 1075 1076 1077 1078 1079 1080 1081 |
# File 'lib/google/apis/vmwareengine_v1/service.rb', line 1069 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
1216 1217 1218 1219 1220 1221 1222 1223 1224 1225 1226 1227 |
# File 'lib/google/apis/vmwareengine_v1/service.rb', line 1216 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, 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
.
1320 1321 1322 1323 1324 1325 1326 1327 1328 1329 1330 1331 |
# File 'lib/google/apis/vmwareengine_v1/service.rb', line 1320 def list_project_location_operations(name, filter: nil, page_size: nil, page_token: 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['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.
2423 2424 2425 2426 2427 2428 2429 2430 2431 2432 2433 |
# File 'lib/google/apis/vmwareengine_v1/service.rb', line 2423 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.
2215 2216 2217 2218 2219 2220 2221 2222 2223 2224 2225 2226 2227 |
# File 'lib/google/apis/vmwareengine_v1/service.rb', line 2215 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.
2626 2627 2628 2629 2630 2631 2632 2633 2634 2635 2636 2637 2638 |
# File 'lib/google/apis/vmwareengine_v1/service.rb', line 2626 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.
2868 2869 2870 2871 2872 2873 2874 2875 2876 2877 2878 |
# File 'lib/google/apis/vmwareengine_v1/service.rb', line 2868 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.
3143 3144 3145 3146 3147 3148 3149 3150 3151 3152 3153 3154 3155 |
# File 'lib/google/apis/vmwareengine_v1/service.rb', line 3143 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.
3413 3414 3415 3416 3417 3418 3419 3420 3421 3422 3423 3424 3425 |
# File 'lib/google/apis/vmwareengine_v1/service.rb', line 3413 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.
3588 3589 3590 3591 3592 3593 3594 3595 3596 3597 3598 |
# File 'lib/google/apis/vmwareengine_v1/service.rb', line 3588 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_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.
1617 1618 1619 1620 1621 1622 1623 1624 1625 1626 1627 1628 1629 |
# File 'lib/google/apis/vmwareengine_v1/service.rb', line 1617 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.
3939 3940 3941 3942 3943 3944 3945 3946 3947 3948 3949 |
# File 'lib/google/apis/vmwareengine_v1/service.rb', line 3939 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.
3836 3837 3838 3839 3840 3841 3842 3843 3844 3845 3846 3847 3848 |
# File 'lib/google/apis/vmwareengine_v1/service.rb', line 3836 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.
4154 4155 4156 4157 4158 4159 4160 4161 4162 4163 4164 4165 4166 |
# File 'lib/google/apis/vmwareengine_v1/service.rb', line 4154 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, 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.
152 153 154 155 156 157 158 159 160 161 162 163 |
# File 'lib/google/apis/vmwareengine_v1/service.rb', line 152 def list_project_locations(name, 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['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 |
#patch_project_location_network_peering(name, network_peering_object = nil, request_id: nil, update_mask: 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.
501 502 503 504 505 506 507 508 509 510 511 512 513 |
# File 'lib/google/apis/vmwareengine_v1/service.rb', line 501 def patch_project_location_network_peering(name, network_peering_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::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['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, 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.
868 869 870 871 872 873 874 875 876 877 878 879 880 |
# File 'lib/google/apis/vmwareengine_v1/service.rb', line 868 def patch_project_location_network_policy(name, network_policy_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::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['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, 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.
1126 1127 1128 1129 1130 1131 1132 1133 1134 1135 1136 1137 1138 |
# File 'lib/google/apis/vmwareengine_v1/service.rb', line 1126 def patch_project_location_network_policy_external_access_rule(name, external_access_rule_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::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['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, 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.
1669 1670 1671 1672 1673 1674 1675 1676 1677 1678 1679 1680 1681 |
# File 'lib/google/apis/vmwareengine_v1/service.rb', line 1669 def patch_project_location_private_cloud(name, private_cloud_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::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['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.
2269 2270 2271 2272 2273 2274 2275 2276 2277 2278 2279 2280 2281 2282 |
# File 'lib/google/apis/vmwareengine_v1/service.rb', line 2269 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, 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.
2686 2687 2688 2689 2690 2691 2692 2693 2694 2695 2696 2697 2698 |
# File 'lib/google/apis/vmwareengine_v1/service.rb', line 2686 def patch_project_location_private_cloud_external_address(name, external_address_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::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['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.
3200 3201 3202 3203 3204 3205 3206 3207 3208 3209 3210 3211 3212 |
# File 'lib/google/apis/vmwareengine_v1/service.rb', line 3200 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.
3471 3472 3473 3474 3475 3476 3477 3478 3479 3480 3481 3482 3483 |
# File 'lib/google/apis/vmwareengine_v1/service.rb', line 3471 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.
3633 3634 3635 3636 3637 3638 3639 3640 3641 3642 3643 3644 |
# File 'lib/google/apis/vmwareengine_v1/service.rb', line 3633 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_connection(name, private_connection_object = nil, request_id: nil, update_mask: 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.
3893 3894 3895 3896 3897 3898 3899 3900 3901 3902 3903 3904 3905 |
# File 'lib/google/apis/vmwareengine_v1/service.rb', line 3893 def patch_project_location_private_connection(name, private_connection_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::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['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, 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.
4212 4213 4214 4215 4216 4217 4218 4219 4220 4221 4222 4223 4224 |
# File 'lib/google/apis/vmwareengine_v1/service.rb', line 4212 def patch_project_location_vmware_engine_network(name, vmware_engine_network_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::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['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.
3511 3512 3513 3514 3515 3516 3517 3518 3519 3520 3521 |
# File 'lib/google/apis/vmwareengine_v1/service.rb', line 3511 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.
1707 1708 1709 1710 1711 1712 1713 1714 1715 1716 1717 |
# File 'lib/google/apis/vmwareengine_v1/service.rb', line 1707 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.
1743 1744 1745 1746 1747 1748 1749 1750 1751 1752 1753 |
# File 'lib/google/apis/vmwareengine_v1/service.rb', line 1743 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.
234 235 236 237 238 239 240 241 242 243 244 |
# File 'lib/google/apis/vmwareengine_v1/service.rb', line 234 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.
2309 2310 2311 2312 2313 2314 2315 2316 2317 2318 2319 |
# File 'lib/google/apis/vmwareengine_v1/service.rb', line 2309 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.
2905 2906 2907 2908 2909 2910 2911 2912 2913 2914 2915 |
# File 'lib/google/apis/vmwareengine_v1/service.rb', line 2905 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.
1780 1781 1782 1783 1784 1785 1786 1787 1788 1789 1790 |
# File 'lib/google/apis/vmwareengine_v1/service.rb', line 1780 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.
1815 1816 1817 1818 1819 1820 1821 1822 1823 |
# File 'lib/google/apis/vmwareengine_v1/service.rb', line 1815 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.
1854 1855 1856 1857 1858 1859 1860 1861 1862 1863 |
# File 'lib/google/apis/vmwareengine_v1/service.rb', line 1854 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.
2348 2349 2350 2351 2352 2353 2354 2355 2356 2357 2358 |
# File 'lib/google/apis/vmwareengine_v1/service.rb', line 2348 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.
2944 2945 2946 2947 2948 2949 2950 2951 2952 2953 2954 |
# File 'lib/google/apis/vmwareengine_v1/service.rb', line 2944 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.
1892 1893 1894 1895 1896 1897 1898 1899 1900 1901 1902 |
# File 'lib/google/apis/vmwareengine_v1/service.rb', line 1892 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.
1931 1932 1933 1934 1935 1936 1937 1938 1939 1940 1941 |
# File 'lib/google/apis/vmwareengine_v1/service.rb', line 1931 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 |
#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.
1986 1987 1988 1989 1990 1991 1992 1993 1994 1995 1996 1997 1998 |
# File 'lib/google/apis/vmwareengine_v1/service.rb', line 1986 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 |