class ProjectsLocationsDnsBindPermission extends Resource (View source)

The "dnsBindPermission" collection of methods.

Typical usage is:

 $vmwareengineService = new Google\Service\VMwareEngine(...);
 $dnsBindPermission = $vmwareengineService->projects_locations_dnsBindPermission;

Methods

grant(string $name, GrantDnsBindPermissionRequest $postBody, array $optParams = [])

Grants the bind permission to the customer provided principal(user / service account) to bind their DNS zone with the intranet VPC associated with the project. DnsBindPermission is a global resource and location can only be global. (dnsBindPermission.grant)

revoke(string $name, RevokeDnsBindPermissionRequest $postBody, array $optParams = [])

Revokes the bind permission from the customer provided principal(user / service account) on the intranet VPC associated with the consumer project.

Details

Operation grant(string $name, GrantDnsBindPermissionRequest $postBody, array $optParams = [])

Grants the bind permission to the customer provided principal(user / service account) to bind their DNS zone with the intranet VPC associated with the project. DnsBindPermission is a global resource and location can only be global. (dnsBindPermission.grant)

Parameters

string $name

Required. The name of the resource which stores the users/service accounts having the permission to bind to the corresponding intranet VPC of the consumer project. DnsBindPermission is a global resource. Resource names are schemeless URIs that follow the conventions in https://cloud.google.com/apis/design/resource_names. For example: projects/my-project/locations/global/dnsBindPermission

GrantDnsBindPermissionRequest $postBody
array $optParams

Optional parameters.

Return Value

Operation

Exceptions

Exception

Operation revoke(string $name, RevokeDnsBindPermissionRequest $postBody, array $optParams = [])

Revokes the bind permission from the customer provided principal(user / service account) on the intranet VPC associated with the consumer project.

DnsBindPermission is a global resource and location can only be global. (dnsBindPermission.revoke)

Parameters

string $name

Required. The name of the resource which stores the users/service accounts having the permission to bind to the corresponding intranet VPC of the consumer project. DnsBindPermission is a global resource. Resource names are schemeless URIs that follow the conventions in https://cloud.google.com/apis/design/resource_names. For example: projects/my-project/locations/global/dnsBindPermission

RevokeDnsBindPermissionRequest $postBody
array $optParams

Optional parameters.

Return Value

Operation

Exceptions

Exception