Returns the dnsBindPermission Resource.
Returns the networkPeerings Resource.
Close httplib2 connections.
getDnsBindPermission(name, x__xgafv=None)
Gets all the principals having bind permission on the intranet VPC associated with the consumer project granted by the Grant API.
close()
Close httplib2 connections.
getDnsBindPermission(name, x__xgafv=None)
Gets all the principals having bind permission on the intranet VPC associated with the consumer project granted by the Grant API.
Args:
name: string, 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` (required)
x__xgafv: string, V1 error format.
Allowed values
1 - v1 error format
2 - v2 error format
Returns:
An object of the form:
{ # DnsBindPermission resource that contains the accounts having the consumer DNS bind permission on the corresponding intranet VPC of the consumer project.
"name": "A 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. 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": [ # Output only. Users/Service accounts which have access for binding on the intranet VPC project corresponding to the consumer project.
{ # Users/Service accounts which have access for DNS binding on the intranet VPC corresponding to the consumer project.
"serviceAccount": "A String", # The service account which needs to be granted the permission.
"user": "A String", # The user who needs to be granted permission.
},
],
}