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.
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_global_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
NetworkPeeringresource. -
#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
PrivateCloudresource in a given project and location. -
#create_project_location_private_cloud_cluster(parent, cluster_object = nil, cluster_id: nil, request_id: nil, validate_only: nil, fields: nil, quota_user: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::VmwareengineV1::Operation
Creates a new cluster in a given private cloud.
-
#create_project_location_private_cloud_external_address(parent, external_address_object = nil, external_address_id: nil, request_id: nil, fields: nil, quota_user: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::VmwareengineV1::Operation
Creates a new
ExternalAddressresource in a given private cloud. -
#create_project_location_private_cloud_hcx_activation_key(parent, hcx_activation_key_object = nil, hcx_activation_key_id: nil, request_id: nil, fields: nil, quota_user: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::VmwareengineV1::Operation
Creates a new HCX activation key in a given private cloud.
-
#create_project_location_private_cloud_logging_server(parent, logging_server_object = nil, logging_server_id: nil, request_id: nil, fields: nil, quota_user: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::VmwareengineV1::Operation
Create a new logging server for a given private cloud.
-
#create_project_location_private_cloud_management_dns_zone_binding(parent, management_dns_zone_binding_object = nil, management_dns_zone_binding_id: nil, request_id: nil, fields: nil, quota_user: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::VmwareengineV1::Operation
Creates a new
ManagementDnsZoneBindingresource in a private cloud. -
#create_project_location_private_connection(parent, private_connection_object = nil, private_connection_id: nil, request_id: nil, 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_global_network_peering(name, request_id: nil, fields: nil, quota_user: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::VmwareengineV1::Operation
Deletes a
NetworkPeeringresource. -
#delete_project_location_network_policy(name, request_id: nil, fields: nil, quota_user: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::VmwareengineV1::Operation
Deletes a
NetworkPolicyresource. -
#delete_project_location_network_policy_external_access_rule(name, request_id: nil, fields: nil, quota_user: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::VmwareengineV1::Operation
Deletes a single external access rule.
-
#delete_project_location_operation(name, fields: nil, quota_user: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::VmwareengineV1::Empty
Deletes a long-running operation.
-
#delete_project_location_private_cloud(name, delay_hours: nil, force: nil, request_id: nil, fields: nil, quota_user: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::VmwareengineV1::Operation
Schedules a
PrivateCloudresource for deletion. -
#delete_project_location_private_cloud_cluster(name, request_id: nil, fields: nil, quota_user: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::VmwareengineV1::Operation
Deletes a
Clusterresource. -
#delete_project_location_private_cloud_external_address(name, request_id: nil, fields: nil, quota_user: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::VmwareengineV1::Operation
Deletes a single external IP address.
-
#delete_project_location_private_cloud_logging_server(name, request_id: nil, fields: nil, quota_user: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::VmwareengineV1::Operation
Deletes a single logging server.
-
#delete_project_location_private_cloud_management_dns_zone_binding(name, request_id: nil, fields: nil, quota_user: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::VmwareengineV1::Operation
Deletes a
ManagementDnsZoneBindingresource. -
#delete_project_location_private_connection(name, request_id: nil, fields: nil, quota_user: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::VmwareengineV1::Operation
Deletes a
PrivateConnectionresource. -
#delete_project_location_vmware_engine_network(name, etag: nil, request_id: nil, fields: nil, quota_user: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::VmwareengineV1::Operation
Deletes a
VmwareEngineNetworkresource. -
#fetch_project_location_network_policy_external_addresses(network_policy, page_size: nil, page_token: nil, fields: nil, quota_user: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::VmwareengineV1::FetchNetworkPolicyExternalAddressesResponse
Lists external IP addresses assigned to VMware workload VMs within the scope of the given network policy.
-
#get_project_location(name, fields: nil, quota_user: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::VmwareengineV1::Location
Gets information about a location.
-
#get_project_location_global_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_global_network_peering(name, fields: nil, quota_user: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::VmwareengineV1::NetworkPeering
Retrieves a
NetworkPeeringresource by its resource name. -
#get_project_location_network_policy(name, fields: nil, quota_user: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::VmwareengineV1::NetworkPolicy
Retrieves a
NetworkPolicyresource by its resource name. -
#get_project_location_network_policy_external_access_rule(name, fields: nil, quota_user: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::VmwareengineV1::ExternalAccessRule
Gets details of a single external access rule.
-
#get_project_location_node_type(name, fields: nil, quota_user: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::VmwareengineV1::NodeType
Gets details of a single
NodeType. -
#get_project_location_operation(name, fields: nil, quota_user: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::VmwareengineV1::Operation
Gets the latest state of a long-running operation.
-
#get_project_location_private_cloud(name, fields: nil, quota_user: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::VmwareengineV1::PrivateCloud
Retrieves a
PrivateCloudresource by its resource name. -
#get_project_location_private_cloud_cluster(name, fields: nil, quota_user: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::VmwareengineV1::Cluster
Retrieves a
Clusterresource by its resource name. -
#get_project_location_private_cloud_cluster_iam_policy(resource, options_requested_policy_version: nil, fields: nil, quota_user: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::VmwareengineV1::Policy
Gets the access control policy for a resource.
-
#get_project_location_private_cloud_cluster_node(name, fields: nil, quota_user: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::VmwareengineV1::Node
Gets details of a single node.
-
#get_project_location_private_cloud_dns_forwarding(name, fields: nil, quota_user: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::VmwareengineV1::DnsForwarding
Gets details of the
DnsForwardingconfig. -
#get_project_location_private_cloud_external_address(name, fields: nil, quota_user: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::VmwareengineV1::ExternalAddress
Gets details of a single external IP address.
-
#get_project_location_private_cloud_hcx_activation_key(name, fields: nil, quota_user: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::VmwareengineV1::HcxActivationKey
Retrieves a
HcxActivationKeyresource by its resource name. -
#get_project_location_private_cloud_hcx_activation_key_iam_policy(resource, options_requested_policy_version: nil, fields: nil, quota_user: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::VmwareengineV1::Policy
Gets the access control policy for a resource.
-
#get_project_location_private_cloud_iam_policy(resource, options_requested_policy_version: nil, fields: nil, quota_user: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::VmwareengineV1::Policy
Gets the access control policy for a resource.
-
#get_project_location_private_cloud_logging_server(name, fields: nil, quota_user: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::VmwareengineV1::LoggingServer
Gets details of a logging server.
-
#get_project_location_private_cloud_management_dns_zone_binding(name, fields: nil, quota_user: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::VmwareengineV1::ManagementDnsZoneBinding
Retrieves a 'ManagementDnsZoneBinding' resource by its resource name.
-
#get_project_location_private_cloud_subnet(name, fields: nil, quota_user: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::VmwareengineV1::Subnet
Gets details of a single subnet.
-
#get_project_location_private_connection(name, fields: nil, quota_user: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::VmwareengineV1::PrivateConnection
Retrieves a
PrivateConnectionresource by its resource name. -
#get_project_location_vmware_engine_network(name, fields: nil, quota_user: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::VmwareengineV1::VmwareEngineNetwork
Retrieves a
VmwareEngineNetworkresource by its resource name. -
#grant_dns_bind_permission(name, grant_dns_bind_permission_request_object = nil, fields: nil, quota_user: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::VmwareengineV1::Operation
Grants the bind permission to the customer provided principal(user / service account) to bind their DNS zone with the intranet VPC associated with the project.
-
#initialize ⇒ VMwareEngineService
constructor
A new instance of VMwareEngineService.
-
#list_project_location_global_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_global_network_peerings(parent, filter: nil, order_by: nil, page_size: nil, page_token: nil, fields: nil, quota_user: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::VmwareengineV1::ListNetworkPeeringsResponse
Lists
NetworkPeeringresources in a given project. -
#list_project_location_network_policies(parent, filter: nil, order_by: nil, page_size: nil, page_token: nil, fields: nil, quota_user: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::VmwareengineV1::ListNetworkPoliciesResponse
Lists
NetworkPolicyresources in a specified project and location. -
#list_project_location_network_policy_external_access_rules(parent, filter: nil, order_by: nil, page_size: nil, page_token: nil, fields: nil, quota_user: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::VmwareengineV1::ListExternalAccessRulesResponse
Lists
ExternalAccessRuleresources in the specified network policy. -
#list_project_location_node_types(parent, filter: nil, page_size: nil, page_token: nil, fields: nil, quota_user: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::VmwareengineV1::ListNodeTypesResponse
Lists node types.
-
#list_project_location_operations(name, filter: nil, page_size: nil, page_token: nil, fields: nil, quota_user: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::VmwareengineV1::ListOperationsResponse
Lists operations that match the specified filter in the request.
-
#list_project_location_private_cloud_cluster_nodes(parent, page_size: nil, page_token: nil, fields: nil, quota_user: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::VmwareengineV1::ListNodesResponse
Lists nodes in a given cluster.
-
#list_project_location_private_cloud_clusters(parent, filter: nil, order_by: nil, page_size: nil, page_token: nil, fields: nil, quota_user: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::VmwareengineV1::ListClustersResponse
Lists
Clusterresources in a given private cloud. -
#list_project_location_private_cloud_external_addresses(parent, filter: nil, order_by: nil, page_size: nil, page_token: nil, fields: nil, quota_user: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::VmwareengineV1::ListExternalAddressesResponse
Lists external IP addresses assigned to VMware workload VMs in a given private cloud.
-
#list_project_location_private_cloud_hcx_activation_keys(parent, page_size: nil, page_token: nil, fields: nil, quota_user: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::VmwareengineV1::ListHcxActivationKeysResponse
Lists
HcxActivationKeyresources in a given private cloud. -
#list_project_location_private_cloud_logging_servers(parent, filter: nil, order_by: nil, page_size: nil, page_token: nil, fields: nil, quota_user: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::VmwareengineV1::ListLoggingServersResponse
Lists logging servers configured for a given private cloud.
-
#list_project_location_private_cloud_management_dns_zone_bindings(parent, filter: nil, order_by: nil, page_size: nil, page_token: nil, fields: nil, quota_user: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::VmwareengineV1::ListManagementDnsZoneBindingsResponse
Lists Consumer VPCs bound to Management DNS Zone of a given private cloud.
-
#list_project_location_private_cloud_subnets(parent, page_size: nil, page_token: nil, fields: nil, quota_user: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::VmwareengineV1::ListSubnetsResponse
Lists subnets in a given private cloud.
-
#list_project_location_private_clouds(parent, filter: nil, order_by: nil, page_size: nil, page_token: nil, fields: nil, quota_user: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::VmwareengineV1::ListPrivateCloudsResponse
Lists
PrivateCloudresources in a given project and location. -
#list_project_location_private_connection_peering_routes(parent, page_size: nil, page_token: nil, fields: nil, quota_user: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::VmwareengineV1::ListPrivateConnectionPeeringRoutesResponse
Lists the private connection routes exchanged over a peering connection.
-
#list_project_location_private_connections(parent, filter: nil, order_by: nil, page_size: nil, page_token: nil, fields: nil, quota_user: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::VmwareengineV1::ListPrivateConnectionsResponse
Lists
PrivateConnectionresources in a given project and location. -
#list_project_location_vmware_engine_networks(parent, filter: nil, order_by: nil, page_size: nil, page_token: nil, fields: nil, quota_user: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::VmwareengineV1::ListVmwareEngineNetworksResponse
Lists
VmwareEngineNetworkresources in a given project and location. -
#list_project_locations(name, 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_global_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
NetworkPeeringresource. -
#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
NetworkPolicyresource. -
#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
PrivateCloudresource. -
#patch_project_location_private_cloud_cluster(name, cluster_object = nil, request_id: nil, update_mask: nil, validate_only: nil, fields: nil, quota_user: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::VmwareengineV1::Operation
Modifies a
Clusterresource. -
#patch_project_location_private_cloud_external_address(name, external_address_object = nil, request_id: nil, update_mask: nil, fields: nil, quota_user: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::VmwareengineV1::Operation
Updates the parameters of a single external IP address.
-
#patch_project_location_private_cloud_logging_server(name, logging_server_object = nil, request_id: nil, update_mask: nil, fields: nil, quota_user: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::VmwareengineV1::Operation
Updates the parameters of a single logging server.
-
#patch_project_location_private_cloud_management_dns_zone_binding(name, management_dns_zone_binding_object = nil, request_id: nil, update_mask: nil, fields: nil, quota_user: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::VmwareengineV1::Operation
Updates a
ManagementDnsZoneBindingresource. -
#patch_project_location_private_cloud_subnet(name, subnet_object = nil, update_mask: nil, fields: nil, quota_user: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::VmwareengineV1::Operation
Updates the parameters of a single subnet.
-
#patch_project_location_private_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
PrivateConnectionresource. -
#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
ManagementDnsZoneBindingresource that is in failed state. -
#reset_private_cloud_nsx_credentials(private_cloud, reset_nsx_credentials_request_object = nil, fields: nil, quota_user: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::VmwareengineV1::Operation
Resets credentials of the NSX appliance.
-
#reset_private_cloud_vcenter_credentials(private_cloud, reset_vcenter_credentials_request_object = nil, fields: nil, quota_user: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::VmwareengineV1::Operation
Resets credentials of the Vcenter appliance.
-
#revoke_dns_bind_permission(name, revoke_dns_bind_permission_request_object = nil, fields: nil, quota_user: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::VmwareengineV1::Operation
Revokes the bind permission from the customer provided principal(user / service account) on the intranet VPC associated with the consumer project.
-
#set_cluster_iam_policy(resource, set_iam_policy_request_object = nil, fields: nil, quota_user: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::VmwareengineV1::Policy
Sets the access control policy on the specified resource.
-
#set_hcx_activation_key_iam_policy(resource, set_iam_policy_request_object = nil, fields: nil, quota_user: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::VmwareengineV1::Policy
Sets the access control policy on the specified resource.
-
#set_private_cloud_iam_policy(resource, set_iam_policy_request_object = nil, fields: nil, quota_user: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::VmwareengineV1::Policy
Sets the access control policy on the specified resource.
-
#show_project_location_private_cloud_nsx_credentials(private_cloud, fields: nil, quota_user: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::VmwareengineV1::Credentials
Gets details of credentials for NSX appliance.
-
#show_project_location_private_cloud_vcenter_credentials(private_cloud, username: nil, fields: nil, quota_user: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::VmwareengineV1::Credentials
Gets details of credentials for Vcenter appliance.
-
#test_cluster_iam_permissions(resource, test_iam_permissions_request_object = nil, fields: nil, quota_user: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::VmwareengineV1::TestIamPermissionsResponse
Returns permissions that a caller has on the specified resource.
-
#test_hcx_activation_key_iam_permissions(resource, test_iam_permissions_request_object = nil, fields: nil, quota_user: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::VmwareengineV1::TestIamPermissionsResponse
Returns permissions that a caller has on the specified resource.
-
#test_private_cloud_iam_permissions(resource, test_iam_permissions_request_object = nil, fields: nil, quota_user: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::VmwareengineV1::TestIamPermissionsResponse
Returns permissions that a caller has on the specified resource.
-
#undelete_private_cloud(name, undelete_private_cloud_request_object = nil, fields: nil, quota_user: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::VmwareengineV1::Operation
Restores a private cloud that was previously scheduled for deletion by
DeletePrivateCloud. -
#update_project_location_private_cloud_dns_forwarding(name, dns_forwarding_object = nil, request_id: nil, update_mask: nil, fields: nil, quota_user: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::VmwareengineV1::Operation
Updates the parameters of the
DnsForwardingconfig, like associated domains.
Constructor Details
#initialize ⇒ VMwareEngineService
Returns a new instance of VMwareEngineService.
46 47 48 49 50 51 |
# File 'lib/google/apis/vmwareengine_v1/service.rb', line 46 def initialize super('https://vmwareengine.googleapis.com/', '', 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.
39 40 41 |
# File 'lib/google/apis/vmwareengine_v1/service.rb', line 39 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.
44 45 46 |
# File 'lib/google/apis/vmwareengine_v1/service.rb', line 44 def quota_user @quota_user end |
Instance Method Details
#create_project_location_global_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.
287 288 289 290 291 292 293 294 295 296 297 298 299 |
# File 'lib/google/apis/vmwareengine_v1/service.rb', line 287 def create_project_location_global_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.
601 602 603 604 605 606 607 608 609 610 611 612 613 |
# File 'lib/google/apis/vmwareengine_v1/service.rb', line 601 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.
914 915 916 917 918 919 920 921 922 923 924 925 926 |
# File 'lib/google/apis/vmwareengine_v1/service.rb', line 914 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.
1363 1364 1365 1366 1367 1368 1369 1370 1371 1372 1373 1374 1375 1376 |
# File 'lib/google/apis/vmwareengine_v1/service.rb', line 1363 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.
2028 2029 2030 2031 2032 2033 2034 2035 2036 2037 2038 2039 2040 2041 |
# File 'lib/google/apis/vmwareengine_v1/service.rb', line 2028 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).
2469 2470 2471 2472 2473 2474 2475 2476 2477 2478 2479 2480 2481 |
# File 'lib/google/apis/vmwareengine_v1/service.rb', line 2469 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.
2732 2733 2734 2735 2736 2737 2738 2739 2740 2741 2742 2743 2744 |
# File 'lib/google/apis/vmwareengine_v1/service.rb', line 2732 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.
2988 2989 2990 2991 2992 2993 2994 2995 2996 2997 2998 2999 3000 |
# File 'lib/google/apis/vmwareengine_v1/service.rb', line 2988 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.
3253 3254 3255 3256 3257 3258 3259 3260 3261 3262 3263 3264 3265 |
# File 'lib/google/apis/vmwareengine_v1/service.rb', line 3253 def create_project_location_private_cloud_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.
3678 3679 3680 3681 3682 3683 3684 3685 3686 3687 3688 3689 3690 |
# File 'lib/google/apis/vmwareengine_v1/service.rb', line 3678 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.
3988 3989 3990 3991 3992 3993 3994 3995 3996 3997 3998 3999 4000 |
# File 'lib/google/apis/vmwareengine_v1/service.rb', line 3988 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_global_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.
338 339 340 341 342 343 344 345 346 347 |
# File 'lib/google/apis/vmwareengine_v1/service.rb', line 338 def delete_project_location_global_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.
652 653 654 655 656 657 658 659 660 661 |
# File 'lib/google/apis/vmwareengine_v1/service.rb', line 652 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.
963 964 965 966 967 968 969 970 971 972 |
# File 'lib/google/apis/vmwareengine_v1/service.rb', line 963 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.
1240 1241 1242 1243 1244 1245 1246 1247 1248 |
# File 'lib/google/apis/vmwareengine_v1/service.rb', line 1240 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.
1429 1430 1431 1432 1433 1434 1435 1436 1437 1438 1439 1440 |
# File 'lib/google/apis/vmwareengine_v1/service.rb', line 1429 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.
2071 2072 2073 2074 2075 2076 2077 2078 2079 2080 |
# File 'lib/google/apis/vmwareengine_v1/service.rb', line 2071 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.
2520 2521 2522 2523 2524 2525 2526 2527 2528 2529 |
# File 'lib/google/apis/vmwareengine_v1/service.rb', line 2520 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.
3037 3038 3039 3040 3041 3042 3043 3044 3045 3046 |
# File 'lib/google/apis/vmwareengine_v1/service.rb', line 3037 def delete_project_location_private_cloud_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.
3305 3306 3307 3308 3309 3310 3311 3312 3313 3314 |
# File 'lib/google/apis/vmwareengine_v1/service.rb', line 3305 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.
3729 3730 3731 3732 3733 3734 3735 3736 3737 3738 |
# File 'lib/google/apis/vmwareengine_v1/service.rb', line 3729 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.
4045 4046 4047 4048 4049 4050 4051 4052 4053 4054 4055 |
# File 'lib/google/apis/vmwareengine_v1/service.rb', line 4045 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.
696 697 698 699 700 701 702 703 704 705 706 |
# File 'lib/google/apis/vmwareengine_v1/service.rb', line 696 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.
73 74 75 76 77 78 79 80 81 |
# File 'lib/google/apis/vmwareengine_v1/service.rb', line 73 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_global_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.
152 153 154 155 156 157 158 159 160 |
# File 'lib/google/apis/vmwareengine_v1/service.rb', line 152 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_global_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.
374 375 376 377 378 379 380 381 382 |
# File 'lib/google/apis/vmwareengine_v1/service.rb', line 374 def get_project_location_global_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.
731 732 733 734 735 736 737 738 739 |
# File 'lib/google/apis/vmwareengine_v1/service.rb', line 731 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.
997 998 999 1000 1001 1002 1003 1004 1005 |
# File 'lib/google/apis/vmwareengine_v1/service.rb', line 997 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.
1151 1152 1153 1154 1155 1156 1157 1158 1159 |
# File 'lib/google/apis/vmwareengine_v1/service.rb', line 1151 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.
1271 1272 1273 1274 1275 1276 1277 1278 1279 |
# File 'lib/google/apis/vmwareengine_v1/service.rb', line 1271 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.
1465 1466 1467 1468 1469 1470 1471 1472 1473 |
# File 'lib/google/apis/vmwareengine_v1/service.rb', line 1465 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.
2105 2106 2107 2108 2109 2110 2111 2112 2113 |
# File 'lib/google/apis/vmwareengine_v1/service.rb', line 2105 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.
2149 2150 2151 2152 2153 2154 2155 2156 2157 2158 |
# File 'lib/google/apis/vmwareengine_v1/service.rb', line 2149 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.
2370 2371 2372 2373 2374 2375 2376 2377 2378 |
# File 'lib/google/apis/vmwareengine_v1/service.rb', line 2370 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.
1498 1499 1500 1501 1502 1503 1504 1505 1506 |
# File 'lib/google/apis/vmwareengine_v1/service.rb', line 1498 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.
2554 2555 2556 2557 2558 2559 2560 2561 2562 |
# File 'lib/google/apis/vmwareengine_v1/service.rb', line 2554 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.
2769 2770 2771 2772 2773 2774 2775 2776 2777 |
# File 'lib/google/apis/vmwareengine_v1/service.rb', line 2769 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.
2813 2814 2815 2816 2817 2818 2819 2820 2821 2822 |
# File 'lib/google/apis/vmwareengine_v1/service.rb', line 2813 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.
1542 1543 1544 1545 1546 1547 1548 1549 1550 1551 |
# File 'lib/google/apis/vmwareengine_v1/service.rb', line 1542 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.
3071 3072 3073 3074 3075 3076 3077 3078 3079 |
# File 'lib/google/apis/vmwareengine_v1/service.rb', line 3071 def get_project_location_private_cloud_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.
3340 3341 3342 3343 3344 3345 3346 3347 3348 |
# File 'lib/google/apis/vmwareengine_v1/service.rb', line 3340 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.
3534 3535 3536 3537 3538 3539 3540 3541 3542 |
# File 'lib/google/apis/vmwareengine_v1/service.rb', line 3534 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.
3765 3766 3767 3768 3769 3770 3771 3772 3773 |
# File 'lib/google/apis/vmwareengine_v1/service.rb', line 3765 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).
4083 4084 4085 4086 4087 4088 4089 4090 4091 |
# File 'lib/google/apis/vmwareengine_v1/service.rb', line 4083 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.
190 191 192 193 194 195 196 197 198 199 200 |
# File 'lib/google/apis/vmwareengine_v1/service.rb', line 190 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_global_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.
542 543 544 545 546 547 548 549 550 551 552 553 |
# File 'lib/google/apis/vmwareengine_v1/service.rb', line 542 def list_project_location_global_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_global_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.
433 434 435 436 437 438 439 440 441 442 443 444 445 |
# File 'lib/google/apis/vmwareengine_v1/service.rb', line 433 def list_project_location_global_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.
791 792 793 794 795 796 797 798 799 800 801 802 803 |
# File 'lib/google/apis/vmwareengine_v1/service.rb', line 791 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.
1057 1058 1059 1060 1061 1062 1063 1064 1065 1066 1067 1068 1069 |
# File 'lib/google/apis/vmwareengine_v1/service.rb', line 1057 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
1204 1205 1206 1207 1208 1209 1210 1211 1212 1213 1214 1215 |
# File 'lib/google/apis/vmwareengine_v1/service.rb', line 1204 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.
1308 1309 1310 1311 1312 1313 1314 1315 1316 1317 1318 1319 |
# File 'lib/google/apis/vmwareengine_v1/service.rb', line 1308 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.
2411 2412 2413 2414 2415 2416 2417 2418 2419 2420 2421 |
# File 'lib/google/apis/vmwareengine_v1/service.rb', line 2411 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.
2203 2204 2205 2206 2207 2208 2209 2210 2211 2212 2213 2214 2215 |
# File 'lib/google/apis/vmwareengine_v1/service.rb', line 2203 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.
2614 2615 2616 2617 2618 2619 2620 2621 2622 2623 2624 2625 2626 |
# File 'lib/google/apis/vmwareengine_v1/service.rb', line 2614 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.
2856 2857 2858 2859 2860 2861 2862 2863 2864 2865 2866 |
# File 'lib/google/apis/vmwareengine_v1/service.rb', line 2856 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.
3131 3132 3133 3134 3135 3136 3137 3138 3139 3140 3141 3142 3143 |
# File 'lib/google/apis/vmwareengine_v1/service.rb', line 3131 def list_project_location_private_cloud_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.
3401 3402 3403 3404 3405 3406 3407 3408 3409 3410 3411 3412 3413 |
# File 'lib/google/apis/vmwareengine_v1/service.rb', line 3401 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.
3576 3577 3578 3579 3580 3581 3582 3583 3584 3585 3586 |
# File 'lib/google/apis/vmwareengine_v1/service.rb', line 3576 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.
1605 1606 1607 1608 1609 1610 1611 1612 1613 1614 1615 1616 1617 |
# File 'lib/google/apis/vmwareengine_v1/service.rb', line 1605 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.
3927 3928 3929 3930 3931 3932 3933 3934 3935 3936 3937 |
# File 'lib/google/apis/vmwareengine_v1/service.rb', line 3927 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.
3824 3825 3826 3827 3828 3829 3830 3831 3832 3833 3834 3835 3836 |
# File 'lib/google/apis/vmwareengine_v1/service.rb', line 3824 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.
4142 4143 4144 4145 4146 4147 4148 4149 4150 4151 4152 4153 4154 |
# File 'lib/google/apis/vmwareengine_v1/service.rb', line 4142 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.
113 114 115 116 117 118 119 120 121 122 123 124 |
# File 'lib/google/apis/vmwareengine_v1/service.rb', line 113 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_global_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.
490 491 492 493 494 495 496 497 498 499 500 501 502 |
# File 'lib/google/apis/vmwareengine_v1/service.rb', line 490 def patch_project_location_global_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.
856 857 858 859 860 861 862 863 864 865 866 867 868 |
# File 'lib/google/apis/vmwareengine_v1/service.rb', line 856 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.
1114 1115 1116 1117 1118 1119 1120 1121 1122 1123 1124 1125 1126 |
# File 'lib/google/apis/vmwareengine_v1/service.rb', line 1114 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.
1657 1658 1659 1660 1661 1662 1663 1664 1665 1666 1667 1668 1669 |
# File 'lib/google/apis/vmwareengine_v1/service.rb', line 1657 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.
2257 2258 2259 2260 2261 2262 2263 2264 2265 2266 2267 2268 2269 2270 |
# File 'lib/google/apis/vmwareengine_v1/service.rb', line 2257 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.
2674 2675 2676 2677 2678 2679 2680 2681 2682 2683 2684 2685 2686 |
# File 'lib/google/apis/vmwareengine_v1/service.rb', line 2674 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.
3188 3189 3190 3191 3192 3193 3194 3195 3196 3197 3198 3199 3200 |
# File 'lib/google/apis/vmwareengine_v1/service.rb', line 3188 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.
3459 3460 3461 3462 3463 3464 3465 3466 3467 3468 3469 3470 3471 |
# File 'lib/google/apis/vmwareengine_v1/service.rb', line 3459 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.
3621 3622 3623 3624 3625 3626 3627 3628 3629 3630 3631 3632 |
# File 'lib/google/apis/vmwareengine_v1/service.rb', line 3621 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.
3881 3882 3883 3884 3885 3886 3887 3888 3889 3890 3891 3892 3893 |
# File 'lib/google/apis/vmwareengine_v1/service.rb', line 3881 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.
4200 4201 4202 4203 4204 4205 4206 4207 4208 4209 4210 4211 4212 |
# File 'lib/google/apis/vmwareengine_v1/service.rb', line 4200 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.
3499 3500 3501 3502 3503 3504 3505 3506 3507 3508 3509 |
# File 'lib/google/apis/vmwareengine_v1/service.rb', line 3499 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.
1695 1696 1697 1698 1699 1700 1701 1702 1703 1704 1705 |
# File 'lib/google/apis/vmwareengine_v1/service.rb', line 1695 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.
1731 1732 1733 1734 1735 1736 1737 1738 1739 1740 1741 |
# File 'lib/google/apis/vmwareengine_v1/service.rb', line 1731 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.
229 230 231 232 233 234 235 236 237 238 239 |
# File 'lib/google/apis/vmwareengine_v1/service.rb', line 229 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.
2297 2298 2299 2300 2301 2302 2303 2304 2305 2306 2307 |
# File 'lib/google/apis/vmwareengine_v1/service.rb', line 2297 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.
2893 2894 2895 2896 2897 2898 2899 2900 2901 2902 2903 |
# File 'lib/google/apis/vmwareengine_v1/service.rb', line 2893 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.
1768 1769 1770 1771 1772 1773 1774 1775 1776 1777 1778 |
# File 'lib/google/apis/vmwareengine_v1/service.rb', line 1768 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.
1803 1804 1805 1806 1807 1808 1809 1810 1811 |
# File 'lib/google/apis/vmwareengine_v1/service.rb', line 1803 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.
1842 1843 1844 1845 1846 1847 1848 1849 1850 1851 |
# File 'lib/google/apis/vmwareengine_v1/service.rb', line 1842 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.
2336 2337 2338 2339 2340 2341 2342 2343 2344 2345 2346 |
# File 'lib/google/apis/vmwareengine_v1/service.rb', line 2336 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.
2932 2933 2934 2935 2936 2937 2938 2939 2940 2941 2942 |
# File 'lib/google/apis/vmwareengine_v1/service.rb', line 2932 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.
1880 1881 1882 1883 1884 1885 1886 1887 1888 1889 1890 |
# File 'lib/google/apis/vmwareengine_v1/service.rb', line 1880 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.
1919 1920 1921 1922 1923 1924 1925 1926 1927 1928 1929 |
# File 'lib/google/apis/vmwareengine_v1/service.rb', line 1919 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.
1974 1975 1976 1977 1978 1979 1980 1981 1982 1983 1984 1985 1986 |
# File 'lib/google/apis/vmwareengine_v1/service.rb', line 1974 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 |