Class SubnetworksResource.GetIamPolicyRequest
Gets the access control policy for a resource. May be empty if no such policy or resource exists.
Inheritance
SubnetworksResource.GetIamPolicyRequest
Inherited Members
Namespace: Google.Apis.Compute.alpha
Assembly: Google.Apis.Compute.alpha.dll
Syntax
public class SubnetworksResource.GetIamPolicyRequest : ComputeBaseServiceRequest<Policy>, IClientServiceRequest<Policy>, IClientServiceRequest
Constructors
GetIamPolicyRequest(IClientService, string, string, string)
Constructs a new GetIamPolicy request.
Declaration
public GetIamPolicyRequest(IClientService service, string project, string region, string resource)
Parameters
Type | Name | Description |
---|---|---|
IClientService | service | |
string | project | |
string | region | |
string | resource |
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
OptionsRequestedPolicyVersion
Requested IAM Policy version.
Declaration
[RequestParameter("optionsRequestedPolicyVersion", RequestParameterType.Query)]
public virtual int? OptionsRequestedPolicyVersion { get; set; }
Property Value
Type | Description |
---|---|
int? |
Project
Project ID for this request.
Declaration
[RequestParameter("project", RequestParameterType.Path)]
public virtual string Project { get; }
Property Value
Type | Description |
---|---|
string |
Region
The name of the region for this request.
Declaration
[RequestParameter("region", RequestParameterType.Path)]
public virtual string Region { get; }
Property Value
Type | Description |
---|---|
string |
Resource
Name or id of the resource for this request.
Declaration
[RequestParameter("resource", RequestParameterType.Path)]
public virtual string Resource { get; }
Property Value
Type | Description |
---|---|
string |
RestPath
Gets the REST path.
Declaration
public override string RestPath { get; }
Property Value
Type | Description |
---|---|
string |
Overrides
Methods
InitParameters()
Initializes GetIamPolicy parameter list.
Declaration
protected override void InitParameters()