Class DeploymentsResource.GetIamPolicyRequest
Gets the access control policy for a resource. May be empty if no such policy or resource exists.
Inheritance
System.Object
DeploymentsResource.GetIamPolicyRequest
Inherited Members
System.Object.Equals(System.Object)
System.Object.Equals(System.Object, System.Object)
System.Object.GetHashCode()
System.Object.GetType()
System.Object.MemberwiseClone()
System.Object.ReferenceEquals(System.Object, System.Object)
System.Object.ToString()
Namespace: Google.Apis.DeploymentManagerV2Beta.v2beta
Assembly: Google.Apis.DeploymentManagerV2Beta.v2beta.dll
Syntax
public class GetIamPolicyRequest : DeploymentManagerV2BetaBaseServiceRequest<Policy>, IClientServiceRequest<Policy>, IClientServiceRequest
Constructors
GetIamPolicyRequest(IClientService, String, String)
Constructs a new GetIamPolicy request.
Declaration
public GetIamPolicyRequest(IClientService service, string project, string resource)
Parameters
Type | Name | Description |
---|---|---|
IClientService | service | |
System.String | project | |
System.String | resource |
Properties
HttpMethod
Gets the HTTP method.
Declaration
public override string HttpMethod { get; }
Property Value
Type | Description |
---|---|
System.String |
Overrides
Google.Apis.Requests.ClientServiceRequest<Google.Apis.DeploymentManagerV2Beta.v2beta.Data.Policy>.HttpMethod
MethodName
Gets the method name.
Declaration
public override string MethodName { get; }
Property Value
Type | Description |
---|---|
System.String |
Overrides
Google.Apis.Requests.ClientServiceRequest<Google.Apis.DeploymentManagerV2Beta.v2beta.Data.Policy>.MethodName
Project
Project ID for this request.
Declaration
[RequestParameter("project", RequestParameterType.Path)]
public virtual string Project { get; }
Property Value
Type | Description |
---|---|
System.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 |
---|---|
System.String |
RestPath
Gets the REST path.
Declaration
public override string RestPath { get; }
Property Value
Type | Description |
---|---|
System.String |
Overrides
Google.Apis.Requests.ClientServiceRequest<Google.Apis.DeploymentManagerV2Beta.v2beta.Data.Policy>.RestPath
Methods
InitParameters()
Initializes GetIamPolicy parameter list.
Declaration
protected override void InitParameters()
Overrides
Google.Apis.DeploymentManagerV2Beta.v2beta.DeploymentManagerV2BetaBaseServiceRequest<Google.Apis.DeploymentManagerV2Beta.v2beta.Data.Policy>.InitParameters()