Class ProjectsResource.LocationsResource.DnsBindPermissionResource.GrantRequest
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.
Inheritance
Inherited Members
Namespace: Google.Apis.VMwareEngine.v1
Assembly: Google.Apis.VMwareEngine.v1.dll
Syntax
public class ProjectsResource.LocationsResource.DnsBindPermissionResource.GrantRequest : VMwareEngineBaseServiceRequest<Operation>, IClientServiceRequest<Operation>, IClientServiceRequest
Constructors
GrantRequest(IClientService, GrantDnsBindPermissionRequest, string)
Constructs a new Grant request.
Declaration
public GrantRequest(IClientService service, GrantDnsBindPermissionRequest body, string name)
Parameters
Type | Name | Description |
---|---|---|
IClientService | service | |
GrantDnsBindPermissionRequest | body | |
string | name |
Properties
HttpMethod
Gets the HTTP method.
Declaration
public override string HttpMethod { get; }
Property Value
Type | Description |
---|---|
string |
Overrides
MethodName
Gets the method name.
Declaration
public override string MethodName { get; }
Property Value
Type | Description |
---|---|
string |
Overrides
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
Declaration
[RequestParameter("name", RequestParameterType.Path)]
public virtual string Name { get; }
Property Value
Type | Description |
---|---|
string |
RestPath
Gets the REST path.
Declaration
public override string RestPath { get; }
Property Value
Type | Description |
---|---|
string |
Overrides
Methods
GetBody()
Returns the body of the request.
Declaration
protected override object GetBody()
Returns
Type | Description |
---|---|
object |
Overrides
InitParameters()
Initializes Grant parameter list.
Declaration
protected override void InitParameters()