Class DeploymentsResource.TestIamPermissionsRequest
Returns permissions that a caller has on the specified resource.
Inheritance
System.Object
DeploymentsResource.TestIamPermissionsRequest
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.DeploymentManagerAlpha.alpha
Assembly: Google.Apis.DeploymentManagerAlpha.alpha.dll
Syntax
public class TestIamPermissionsRequest : DeploymentManagerAlphaBaseServiceRequest<TestPermissionsResponse>, IClientServiceRequest<TestPermissionsResponse>, IClientServiceRequest
Constructors
TestIamPermissionsRequest(IClientService, TestPermissionsRequest, String, String)
Constructs a new TestIamPermissions request.
Declaration
public TestIamPermissionsRequest(IClientService service, TestPermissionsRequest body, string project, string resource)
Parameters
Type | Name | Description |
---|---|---|
IClientService | service | |
TestPermissionsRequest | body | |
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.DeploymentManagerAlpha.alpha.Data.TestPermissionsResponse>.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.DeploymentManagerAlpha.alpha.Data.TestPermissionsResponse>.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.DeploymentManagerAlpha.alpha.Data.TestPermissionsResponse>.RestPath
Methods
GetBody()
Returns the body of the request.
Declaration
protected override object GetBody()
Returns
Type | Description |
---|---|
System.Object |
Overrides
Google.Apis.Requests.ClientServiceRequest<Google.Apis.DeploymentManagerAlpha.alpha.Data.TestPermissionsResponse>.GetBody()
InitParameters()
Initializes TestIamPermissions parameter list.
Declaration
protected override void InitParameters()
Overrides
Google.Apis.DeploymentManagerAlpha.alpha.DeploymentManagerAlphaBaseServiceRequest<Google.Apis.DeploymentManagerAlpha.alpha.Data.TestPermissionsResponse>.InitParameters()