Class ReservationsResource.TestIamPermissionsRequest
Returns permissions that a caller has on the specified resource.
Inheritance
System.Object
Google.Apis.Requests.ClientServiceRequest
Google.Apis.Requests.ClientServiceRequest<TestPermissionsResponse>
ReservationsResource.TestIamPermissionsRequest
Implements
Google.Apis.Requests.IClientServiceRequest<TestPermissionsResponse>
Google.Apis.Requests.IClientServiceRequest
Inherited Members
Google.Apis.Requests.ClientServiceRequest<Google.Apis.Compute.v1.Data.TestPermissionsResponse>.Execute()
Google.Apis.Requests.ClientServiceRequest<Google.Apis.Compute.v1.Data.TestPermissionsResponse>.ExecuteAsStream()
Google.Apis.Requests.ClientServiceRequest<Google.Apis.Compute.v1.Data.TestPermissionsResponse>.ExecuteAsync()
Google.Apis.Requests.ClientServiceRequest<Google.Apis.Compute.v1.Data.TestPermissionsResponse>.ExecuteAsync(System.Threading.CancellationToken)
Google.Apis.Requests.ClientServiceRequest<Google.Apis.Compute.v1.Data.TestPermissionsResponse>.ExecuteAsStreamAsync()
Google.Apis.Requests.ClientServiceRequest<Google.Apis.Compute.v1.Data.TestPermissionsResponse>.ExecuteAsStreamAsync(System.Threading.CancellationToken)
Google.Apis.Requests.ClientServiceRequest<Google.Apis.Compute.v1.Data.TestPermissionsResponse>.CreateRequest(System.Nullable<System.Boolean>)
Google.Apis.Requests.ClientServiceRequest<Google.Apis.Compute.v1.Data.TestPermissionsResponse>.GenerateRequestUri()
Google.Apis.Requests.ClientServiceRequest<Google.Apis.Compute.v1.Data.TestPermissionsResponse>.GetDefaultETagAction(System.String)
Google.Apis.Requests.ClientServiceRequest<Google.Apis.Compute.v1.Data.TestPermissionsResponse>.ETagAction
Google.Apis.Requests.ClientServiceRequest<Google.Apis.Compute.v1.Data.TestPermissionsResponse>.ModifyRequest
Google.Apis.Requests.ClientServiceRequest<Google.Apis.Compute.v1.Data.TestPermissionsResponse>.ValidateParameters
Google.Apis.Requests.ClientServiceRequest<Google.Apis.Compute.v1.Data.TestPermissionsResponse>.RequestParameters
Google.Apis.Requests.ClientServiceRequest<Google.Apis.Compute.v1.Data.TestPermissionsResponse>.Service
Google.Apis.Requests.ClientServiceRequest._unsuccessfulResponseHandlers
Google.Apis.Requests.ClientServiceRequest._exceptionHandlers
Google.Apis.Requests.ClientServiceRequest._executeInterceptors
Google.Apis.Requests.ClientServiceRequest.AddUnsuccessfulResponseHandler(Google.Apis.Http.IHttpUnsuccessfulResponseHandler)
Google.Apis.Requests.ClientServiceRequest.AddExceptionHandler(Google.Apis.Http.IHttpExceptionHandler)
Google.Apis.Requests.ClientServiceRequest.AddExecuteInterceptor(Google.Apis.Http.IHttpExecuteInterceptor)
Google.Apis.Requests.ClientServiceRequest.Credential
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.Compute.v1
Assembly: Google.Apis.Compute.v1.dll
Syntax
public class TestIamPermissionsRequest : ComputeBaseServiceRequest<TestPermissionsResponse>, IClientServiceRequest<TestPermissionsResponse>, IClientServiceRequest
Constructors
TestIamPermissionsRequest(IClientService, TestPermissionsRequest, String, String, String)
Constructs a new TestIamPermissions request.
Declaration
public TestIamPermissionsRequest(IClientService service, TestPermissionsRequest body, string project, string zone, string resource)
Parameters
| Type | Name | Description |
|---|---|---|
| Google.Apis.Services.IClientService | service | |
| TestPermissionsRequest | body | |
| System.String | project | |
| System.String | zone | |
| 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.Compute.v1.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.Compute.v1.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.Compute.v1.Data.TestPermissionsResponse>.RestPath
Zone
The name of the zone for this request.
Declaration
[RequestParameter("zone", RequestParameterType.Path)]
public virtual string Zone { get; }
Property Value
| Type | Description |
|---|---|
| System.String |
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.Compute.v1.Data.TestPermissionsResponse>.GetBody()
InitParameters()
Initializes TestIamPermissions parameter list.
Declaration
protected override void InitParameters()
Overrides
Google.Apis.Compute.v1.ComputeBaseServiceRequest<Google.Apis.Compute.v1.Data.TestPermissionsResponse>.InitParameters()
Implements
Google.Apis.Requests.IClientServiceRequest<TResponse>
Google.Apis.Requests.IClientServiceRequest