Google Cloud Vmware Engine V1 Client - Class DnsBindPermission (0.5.6)

Reference documentation and code samples for the Google Cloud Vmware Engine V1 Client class DnsBindPermission.

DnsBindPermission resource that contains the accounts having the consumer DNS bind permission on the corresponding intranet VPC of the consumer project.

Generated from protobuf message google.cloud.vmwareengine.v1.DnsBindPermission

Namespace

Google \ Cloud \ VmwareEngine \ V1

Methods

__construct

Constructor.

Parameters
Name Description
data array

Optional. Data for populating the Message object.

↳ name string

Required. Output only. 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 and location can only be global. 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

↳ principals array<Google\Cloud\VmwareEngine\V1\Principal>

Output only. Users/Service accounts which have access for binding on the intranet VPC project corresponding to the consumer project.

getName

Required. Output only. 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 and location can only be global. 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

Returns
Type Description
string

setName

Required. Output only. 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 and location can only be global. 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

Parameter
Name Description
var string
Returns
Type Description
$this

getPrincipals

Output only. Users/Service accounts which have access for binding on the intranet VPC project corresponding to the consumer project.

Returns
Type Description
Google\Protobuf\Internal\RepeatedField

setPrincipals

Output only. Users/Service accounts which have access for binding on the intranet VPC project corresponding to the consumer project.

Parameter
Name Description
var array<Google\Cloud\VmwareEngine\V1\Principal>
Returns
Type Description
$this