public class ServiceAttachmentsClient : ClientBase<ServiceAttachments.ServiceAttachmentsClient>
Client for ServiceAttachments
Inheritance
Object > ClientBase > ClientBase<ServiceAttachments.ServiceAttachmentsClient> > ServiceAttachments.ServiceAttachmentsClientNamespace
Google.Cloud.Compute.V1Assembly
Google.Cloud.Compute.V1.dll
Constructors
ServiceAttachmentsClient()
protected ServiceAttachmentsClient()
Protected parameterless constructor to allow creation of test doubles.
ServiceAttachmentsClient(CallInvoker)
public ServiceAttachmentsClient(CallInvoker callInvoker)
Creates a new client for ServiceAttachments that uses a custom CallInvoker
.
Parameter | |
---|---|
Name | Description |
callInvoker | CallInvoker The callInvoker to use to make remote calls. |
ServiceAttachmentsClient(ChannelBase)
public ServiceAttachmentsClient(ChannelBase channel)
Creates a new client for ServiceAttachments
Parameter | |
---|---|
Name | Description |
channel | ChannelBase The channel to use to make remote calls. |
ServiceAttachmentsClient(ClientBase.ClientBaseConfiguration)
protected ServiceAttachmentsClient(ClientBase.ClientBaseConfiguration configuration)
Protected constructor to allow creation of configured clients.
Parameter | |
---|---|
Name | Description |
configuration | ClientBase.ClientBaseConfiguration The client configuration. |
Methods
AggregatedList(AggregatedListServiceAttachmentsRequest, CallOptions)
public virtual ServiceAttachmentAggregatedList AggregatedList(AggregatedListServiceAttachmentsRequest request, CallOptions options)
Retrieves the list of all ServiceAttachment resources, regional and global, available to the specified project.
Parameters | |
---|---|
Name | Description |
request | AggregatedListServiceAttachmentsRequest The request to send to the server. |
options | CallOptions The options for the call. |
Returns | |
---|---|
Type | Description |
ServiceAttachmentAggregatedList | The response received from the server. |
AggregatedList(AggregatedListServiceAttachmentsRequest, Metadata, Nullable<DateTime>, CancellationToken)
public virtual ServiceAttachmentAggregatedList AggregatedList(AggregatedListServiceAttachmentsRequest request, Metadata headers = null, DateTime? deadline = default(DateTime? ), CancellationToken cancellationToken = default(CancellationToken))
Retrieves the list of all ServiceAttachment resources, regional and global, available to the specified project.
Parameters | |
---|---|
Name | Description |
request | AggregatedListServiceAttachmentsRequest The request to send to the server. |
headers | Metadata The initial metadata to send with the call. This parameter is optional. |
deadline | Nullable<DateTime> An optional deadline for the call. The call will be cancelled if deadline is hit. |
cancellationToken | CancellationToken An optional token for canceling the call. |
Returns | |
---|---|
Type | Description |
ServiceAttachmentAggregatedList | The response received from the server. |
AggregatedListAsync(AggregatedListServiceAttachmentsRequest, CallOptions)
public virtual AsyncUnaryCall<ServiceAttachmentAggregatedList> AggregatedListAsync(AggregatedListServiceAttachmentsRequest request, CallOptions options)
Retrieves the list of all ServiceAttachment resources, regional and global, available to the specified project.
Parameters | |
---|---|
Name | Description |
request | AggregatedListServiceAttachmentsRequest The request to send to the server. |
options | CallOptions The options for the call. |
Returns | |
---|---|
Type | Description |
AsyncUnaryCall<ServiceAttachmentAggregatedList> | The call object. |
AggregatedListAsync(AggregatedListServiceAttachmentsRequest, Metadata, Nullable<DateTime>, CancellationToken)
public virtual AsyncUnaryCall<ServiceAttachmentAggregatedList> AggregatedListAsync(AggregatedListServiceAttachmentsRequest request, Metadata headers = null, DateTime? deadline = default(DateTime? ), CancellationToken cancellationToken = default(CancellationToken))
Retrieves the list of all ServiceAttachment resources, regional and global, available to the specified project.
Parameters | |
---|---|
Name | Description |
request | AggregatedListServiceAttachmentsRequest The request to send to the server. |
headers | Metadata The initial metadata to send with the call. This parameter is optional. |
deadline | Nullable<DateTime> An optional deadline for the call. The call will be cancelled if deadline is hit. |
cancellationToken | CancellationToken An optional token for canceling the call. |
Returns | |
---|---|
Type | Description |
AsyncUnaryCall<ServiceAttachmentAggregatedList> | The call object. |
CreateOperationsClientForRegionOperations()
public virtual Operations.OperationsClient CreateOperationsClientForRegionOperations()
Creates a new instance of Operations.OperationsClient using the same call invoker as this client, delegating to RegionOperations.
Returns | |
---|---|
Type | Description |
Operations.OperationsClient | A new Operations client for the same target as this client. |
Delete(DeleteServiceAttachmentRequest, CallOptions)
public virtual Operation Delete(DeleteServiceAttachmentRequest request, CallOptions options)
Deletes the specified ServiceAttachment in the given scope
Parameters | |
---|---|
Name | Description |
request | DeleteServiceAttachmentRequest The request to send to the server. |
options | CallOptions The options for the call. |
Returns | |
---|---|
Type | Description |
Operation | The response received from the server. |
Delete(DeleteServiceAttachmentRequest, Metadata, Nullable<DateTime>, CancellationToken)
public virtual Operation Delete(DeleteServiceAttachmentRequest request, Metadata headers = null, DateTime? deadline = default(DateTime? ), CancellationToken cancellationToken = default(CancellationToken))
Deletes the specified ServiceAttachment in the given scope
Parameters | |
---|---|
Name | Description |
request | DeleteServiceAttachmentRequest The request to send to the server. |
headers | Metadata The initial metadata to send with the call. This parameter is optional. |
deadline | Nullable<DateTime> An optional deadline for the call. The call will be cancelled if deadline is hit. |
cancellationToken | CancellationToken An optional token for canceling the call. |
Returns | |
---|---|
Type | Description |
Operation | The response received from the server. |
DeleteAsync(DeleteServiceAttachmentRequest, CallOptions)
public virtual AsyncUnaryCall<Operation> DeleteAsync(DeleteServiceAttachmentRequest request, CallOptions options)
Deletes the specified ServiceAttachment in the given scope
Parameters | |
---|---|
Name | Description |
request | DeleteServiceAttachmentRequest The request to send to the server. |
options | CallOptions The options for the call. |
Returns | |
---|---|
Type | Description |
AsyncUnaryCall<Operation> | The call object. |
DeleteAsync(DeleteServiceAttachmentRequest, Metadata, Nullable<DateTime>, CancellationToken)
public virtual AsyncUnaryCall<Operation> DeleteAsync(DeleteServiceAttachmentRequest request, Metadata headers = null, DateTime? deadline = default(DateTime? ), CancellationToken cancellationToken = default(CancellationToken))
Deletes the specified ServiceAttachment in the given scope
Parameters | |
---|---|
Name | Description |
request | DeleteServiceAttachmentRequest The request to send to the server. |
headers | Metadata The initial metadata to send with the call. This parameter is optional. |
deadline | Nullable<DateTime> An optional deadline for the call. The call will be cancelled if deadline is hit. |
cancellationToken | CancellationToken An optional token for canceling the call. |
Returns | |
---|---|
Type | Description |
AsyncUnaryCall<Operation> | The call object. |
Get(GetServiceAttachmentRequest, CallOptions)
public virtual ServiceAttachment Get(GetServiceAttachmentRequest request, CallOptions options)
Returns the specified ServiceAttachment resource in the given scope.
Parameters | |
---|---|
Name | Description |
request | GetServiceAttachmentRequest The request to send to the server. |
options | CallOptions The options for the call. |
Returns | |
---|---|
Type | Description |
ServiceAttachment | The response received from the server. |
Get(GetServiceAttachmentRequest, Metadata, Nullable<DateTime>, CancellationToken)
public virtual ServiceAttachment Get(GetServiceAttachmentRequest request, Metadata headers = null, DateTime? deadline = default(DateTime? ), CancellationToken cancellationToken = default(CancellationToken))
Returns the specified ServiceAttachment resource in the given scope.
Parameters | |
---|---|
Name | Description |
request | GetServiceAttachmentRequest The request to send to the server. |
headers | Metadata The initial metadata to send with the call. This parameter is optional. |
deadline | Nullable<DateTime> An optional deadline for the call. The call will be cancelled if deadline is hit. |
cancellationToken | CancellationToken An optional token for canceling the call. |
Returns | |
---|---|
Type | Description |
ServiceAttachment | The response received from the server. |
GetAsync(GetServiceAttachmentRequest, CallOptions)
public virtual AsyncUnaryCall<ServiceAttachment> GetAsync(GetServiceAttachmentRequest request, CallOptions options)
Returns the specified ServiceAttachment resource in the given scope.
Parameters | |
---|---|
Name | Description |
request | GetServiceAttachmentRequest The request to send to the server. |
options | CallOptions The options for the call. |
Returns | |
---|---|
Type | Description |
AsyncUnaryCall<ServiceAttachment> | The call object. |
GetAsync(GetServiceAttachmentRequest, Metadata, Nullable<DateTime>, CancellationToken)
public virtual AsyncUnaryCall<ServiceAttachment> GetAsync(GetServiceAttachmentRequest request, Metadata headers = null, DateTime? deadline = default(DateTime? ), CancellationToken cancellationToken = default(CancellationToken))
Returns the specified ServiceAttachment resource in the given scope.
Parameters | |
---|---|
Name | Description |
request | GetServiceAttachmentRequest The request to send to the server. |
headers | Metadata The initial metadata to send with the call. This parameter is optional. |
deadline | Nullable<DateTime> An optional deadline for the call. The call will be cancelled if deadline is hit. |
cancellationToken | CancellationToken An optional token for canceling the call. |
Returns | |
---|---|
Type | Description |
AsyncUnaryCall<ServiceAttachment> | The call object. |
GetIamPolicy(GetIamPolicyServiceAttachmentRequest, CallOptions)
public virtual Policy GetIamPolicy(GetIamPolicyServiceAttachmentRequest request, CallOptions options)
Gets the access control policy for a resource. May be empty if no such policy or resource exists.
Parameters | |
---|---|
Name | Description |
request | GetIamPolicyServiceAttachmentRequest The request to send to the server. |
options | CallOptions The options for the call. |
Returns | |
---|---|
Type | Description |
Policy | The response received from the server. |
GetIamPolicy(GetIamPolicyServiceAttachmentRequest, Metadata, Nullable<DateTime>, CancellationToken)
public virtual Policy GetIamPolicy(GetIamPolicyServiceAttachmentRequest request, Metadata headers = null, DateTime? deadline = default(DateTime? ), CancellationToken cancellationToken = default(CancellationToken))
Gets the access control policy for a resource. May be empty if no such policy or resource exists.
Parameters | |
---|---|
Name | Description |
request | GetIamPolicyServiceAttachmentRequest The request to send to the server. |
headers | Metadata The initial metadata to send with the call. This parameter is optional. |
deadline | Nullable<DateTime> An optional deadline for the call. The call will be cancelled if deadline is hit. |
cancellationToken | CancellationToken An optional token for canceling the call. |
Returns | |
---|---|
Type | Description |
Policy | The response received from the server. |
GetIamPolicyAsync(GetIamPolicyServiceAttachmentRequest, CallOptions)
public virtual AsyncUnaryCall<Policy> GetIamPolicyAsync(GetIamPolicyServiceAttachmentRequest request, CallOptions options)
Gets the access control policy for a resource. May be empty if no such policy or resource exists.
Parameters | |
---|---|
Name | Description |
request | GetIamPolicyServiceAttachmentRequest The request to send to the server. |
options | CallOptions The options for the call. |
Returns | |
---|---|
Type | Description |
AsyncUnaryCall<Policy> | The call object. |
GetIamPolicyAsync(GetIamPolicyServiceAttachmentRequest, Metadata, Nullable<DateTime>, CancellationToken)
public virtual AsyncUnaryCall<Policy> GetIamPolicyAsync(GetIamPolicyServiceAttachmentRequest request, Metadata headers = null, DateTime? deadline = default(DateTime? ), CancellationToken cancellationToken = default(CancellationToken))
Gets the access control policy for a resource. May be empty if no such policy or resource exists.
Parameters | |
---|---|
Name | Description |
request | GetIamPolicyServiceAttachmentRequest The request to send to the server. |
headers | Metadata The initial metadata to send with the call. This parameter is optional. |
deadline | Nullable<DateTime> An optional deadline for the call. The call will be cancelled if deadline is hit. |
cancellationToken | CancellationToken An optional token for canceling the call. |
Returns | |
---|---|
Type | Description |
AsyncUnaryCall<Policy> | The call object. |
Insert(InsertServiceAttachmentRequest, CallOptions)
public virtual Operation Insert(InsertServiceAttachmentRequest request, CallOptions options)
Creates a ServiceAttachment in the specified project in the given scope using the parameters that are included in the request.
Parameters | |
---|---|
Name | Description |
request | InsertServiceAttachmentRequest The request to send to the server. |
options | CallOptions The options for the call. |
Returns | |
---|---|
Type | Description |
Operation | The response received from the server. |
Insert(InsertServiceAttachmentRequest, Metadata, Nullable<DateTime>, CancellationToken)
public virtual Operation Insert(InsertServiceAttachmentRequest request, Metadata headers = null, DateTime? deadline = default(DateTime? ), CancellationToken cancellationToken = default(CancellationToken))
Creates a ServiceAttachment in the specified project in the given scope using the parameters that are included in the request.
Parameters | |
---|---|
Name | Description |
request | InsertServiceAttachmentRequest The request to send to the server. |
headers | Metadata The initial metadata to send with the call. This parameter is optional. |
deadline | Nullable<DateTime> An optional deadline for the call. The call will be cancelled if deadline is hit. |
cancellationToken | CancellationToken An optional token for canceling the call. |
Returns | |
---|---|
Type | Description |
Operation | The response received from the server. |
InsertAsync(InsertServiceAttachmentRequest, CallOptions)
public virtual AsyncUnaryCall<Operation> InsertAsync(InsertServiceAttachmentRequest request, CallOptions options)
Creates a ServiceAttachment in the specified project in the given scope using the parameters that are included in the request.
Parameters | |
---|---|
Name | Description |
request | InsertServiceAttachmentRequest The request to send to the server. |
options | CallOptions The options for the call. |
Returns | |
---|---|
Type | Description |
AsyncUnaryCall<Operation> | The call object. |
InsertAsync(InsertServiceAttachmentRequest, Metadata, Nullable<DateTime>, CancellationToken)
public virtual AsyncUnaryCall<Operation> InsertAsync(InsertServiceAttachmentRequest request, Metadata headers = null, DateTime? deadline = default(DateTime? ), CancellationToken cancellationToken = default(CancellationToken))
Creates a ServiceAttachment in the specified project in the given scope using the parameters that are included in the request.
Parameters | |
---|---|
Name | Description |
request | InsertServiceAttachmentRequest The request to send to the server. |
headers | Metadata The initial metadata to send with the call. This parameter is optional. |
deadline | Nullable<DateTime> An optional deadline for the call. The call will be cancelled if deadline is hit. |
cancellationToken | CancellationToken An optional token for canceling the call. |
Returns | |
---|---|
Type | Description |
AsyncUnaryCall<Operation> | The call object. |
List(ListServiceAttachmentsRequest, CallOptions)
public virtual ServiceAttachmentList List(ListServiceAttachmentsRequest request, CallOptions options)
Lists the ServiceAttachments for a project in the given scope.
Parameters | |
---|---|
Name | Description |
request | ListServiceAttachmentsRequest The request to send to the server. |
options | CallOptions The options for the call. |
Returns | |
---|---|
Type | Description |
ServiceAttachmentList | The response received from the server. |
List(ListServiceAttachmentsRequest, Metadata, Nullable<DateTime>, CancellationToken)
public virtual ServiceAttachmentList List(ListServiceAttachmentsRequest request, Metadata headers = null, DateTime? deadline = default(DateTime? ), CancellationToken cancellationToken = default(CancellationToken))
Lists the ServiceAttachments for a project in the given scope.
Parameters | |
---|---|
Name | Description |
request | ListServiceAttachmentsRequest The request to send to the server. |
headers | Metadata The initial metadata to send with the call. This parameter is optional. |
deadline | Nullable<DateTime> An optional deadline for the call. The call will be cancelled if deadline is hit. |
cancellationToken | CancellationToken An optional token for canceling the call. |
Returns | |
---|---|
Type | Description |
ServiceAttachmentList | The response received from the server. |
ListAsync(ListServiceAttachmentsRequest, CallOptions)
public virtual AsyncUnaryCall<ServiceAttachmentList> ListAsync(ListServiceAttachmentsRequest request, CallOptions options)
Lists the ServiceAttachments for a project in the given scope.
Parameters | |
---|---|
Name | Description |
request | ListServiceAttachmentsRequest The request to send to the server. |
options | CallOptions The options for the call. |
Returns | |
---|---|
Type | Description |
AsyncUnaryCall<ServiceAttachmentList> | The call object. |
ListAsync(ListServiceAttachmentsRequest, Metadata, Nullable<DateTime>, CancellationToken)
public virtual AsyncUnaryCall<ServiceAttachmentList> ListAsync(ListServiceAttachmentsRequest request, Metadata headers = null, DateTime? deadline = default(DateTime? ), CancellationToken cancellationToken = default(CancellationToken))
Lists the ServiceAttachments for a project in the given scope.
Parameters | |
---|---|
Name | Description |
request | ListServiceAttachmentsRequest The request to send to the server. |
headers | Metadata The initial metadata to send with the call. This parameter is optional. |
deadline | Nullable<DateTime> An optional deadline for the call. The call will be cancelled if deadline is hit. |
cancellationToken | CancellationToken An optional token for canceling the call. |
Returns | |
---|---|
Type | Description |
AsyncUnaryCall<ServiceAttachmentList> | The call object. |
NewInstance(ClientBase.ClientBaseConfiguration)
protected override ServiceAttachments.ServiceAttachmentsClient NewInstance(ClientBase.ClientBaseConfiguration configuration)
Creates a new instance of client from given ClientBaseConfiguration
.
Parameter | |
---|---|
Name | Description |
configuration | ClientBase.ClientBaseConfiguration |
Returns | |
---|---|
Type | Description |
ServiceAttachments.ServiceAttachmentsClient |
Patch(PatchServiceAttachmentRequest, CallOptions)
public virtual Operation Patch(PatchServiceAttachmentRequest request, CallOptions options)
Patches the specified ServiceAttachment resource with the data included in the request. This method supports PATCH semantics and uses JSON merge patch format and processing rules.
Parameters | |
---|---|
Name | Description |
request | PatchServiceAttachmentRequest The request to send to the server. |
options | CallOptions The options for the call. |
Returns | |
---|---|
Type | Description |
Operation | The response received from the server. |
Patch(PatchServiceAttachmentRequest, Metadata, Nullable<DateTime>, CancellationToken)
public virtual Operation Patch(PatchServiceAttachmentRequest request, Metadata headers = null, DateTime? deadline = default(DateTime? ), CancellationToken cancellationToken = default(CancellationToken))
Patches the specified ServiceAttachment resource with the data included in the request. This method supports PATCH semantics and uses JSON merge patch format and processing rules.
Parameters | |
---|---|
Name | Description |
request | PatchServiceAttachmentRequest The request to send to the server. |
headers | Metadata The initial metadata to send with the call. This parameter is optional. |
deadline | Nullable<DateTime> An optional deadline for the call. The call will be cancelled if deadline is hit. |
cancellationToken | CancellationToken An optional token for canceling the call. |
Returns | |
---|---|
Type | Description |
Operation | The response received from the server. |
PatchAsync(PatchServiceAttachmentRequest, CallOptions)
public virtual AsyncUnaryCall<Operation> PatchAsync(PatchServiceAttachmentRequest request, CallOptions options)
Patches the specified ServiceAttachment resource with the data included in the request. This method supports PATCH semantics and uses JSON merge patch format and processing rules.
Parameters | |
---|---|
Name | Description |
request | PatchServiceAttachmentRequest The request to send to the server. |
options | CallOptions The options for the call. |
Returns | |
---|---|
Type | Description |
AsyncUnaryCall<Operation> | The call object. |
PatchAsync(PatchServiceAttachmentRequest, Metadata, Nullable<DateTime>, CancellationToken)
public virtual AsyncUnaryCall<Operation> PatchAsync(PatchServiceAttachmentRequest request, Metadata headers = null, DateTime? deadline = default(DateTime? ), CancellationToken cancellationToken = default(CancellationToken))
Patches the specified ServiceAttachment resource with the data included in the request. This method supports PATCH semantics and uses JSON merge patch format and processing rules.
Parameters | |
---|---|
Name | Description |
request | PatchServiceAttachmentRequest The request to send to the server. |
headers | Metadata The initial metadata to send with the call. This parameter is optional. |
deadline | Nullable<DateTime> An optional deadline for the call. The call will be cancelled if deadline is hit. |
cancellationToken | CancellationToken An optional token for canceling the call. |
Returns | |
---|---|
Type | Description |
AsyncUnaryCall<Operation> | The call object. |
SetIamPolicy(SetIamPolicyServiceAttachmentRequest, CallOptions)
public virtual Policy SetIamPolicy(SetIamPolicyServiceAttachmentRequest request, CallOptions options)
Sets the access control policy on the specified resource. Replaces any existing policy.
Parameters | |
---|---|
Name | Description |
request | SetIamPolicyServiceAttachmentRequest The request to send to the server. |
options | CallOptions The options for the call. |
Returns | |
---|---|
Type | Description |
Policy | The response received from the server. |
SetIamPolicy(SetIamPolicyServiceAttachmentRequest, Metadata, Nullable<DateTime>, CancellationToken)
public virtual Policy SetIamPolicy(SetIamPolicyServiceAttachmentRequest request, Metadata headers = null, DateTime? deadline = default(DateTime? ), CancellationToken cancellationToken = default(CancellationToken))
Sets the access control policy on the specified resource. Replaces any existing policy.
Parameters | |
---|---|
Name | Description |
request | SetIamPolicyServiceAttachmentRequest The request to send to the server. |
headers | Metadata The initial metadata to send with the call. This parameter is optional. |
deadline | Nullable<DateTime> An optional deadline for the call. The call will be cancelled if deadline is hit. |
cancellationToken | CancellationToken An optional token for canceling the call. |
Returns | |
---|---|
Type | Description |
Policy | The response received from the server. |
SetIamPolicyAsync(SetIamPolicyServiceAttachmentRequest, CallOptions)
public virtual AsyncUnaryCall<Policy> SetIamPolicyAsync(SetIamPolicyServiceAttachmentRequest request, CallOptions options)
Sets the access control policy on the specified resource. Replaces any existing policy.
Parameters | |
---|---|
Name | Description |
request | SetIamPolicyServiceAttachmentRequest The request to send to the server. |
options | CallOptions The options for the call. |
Returns | |
---|---|
Type | Description |
AsyncUnaryCall<Policy> | The call object. |
SetIamPolicyAsync(SetIamPolicyServiceAttachmentRequest, Metadata, Nullable<DateTime>, CancellationToken)
public virtual AsyncUnaryCall<Policy> SetIamPolicyAsync(SetIamPolicyServiceAttachmentRequest request, Metadata headers = null, DateTime? deadline = default(DateTime? ), CancellationToken cancellationToken = default(CancellationToken))
Sets the access control policy on the specified resource. Replaces any existing policy.
Parameters | |
---|---|
Name | Description |
request | SetIamPolicyServiceAttachmentRequest The request to send to the server. |
headers | Metadata The initial metadata to send with the call. This parameter is optional. |
deadline | Nullable<DateTime> An optional deadline for the call. The call will be cancelled if deadline is hit. |
cancellationToken | CancellationToken An optional token for canceling the call. |
Returns | |
---|---|
Type | Description |
AsyncUnaryCall<Policy> | The call object. |
TestIamPermissions(TestIamPermissionsServiceAttachmentRequest, CallOptions)
public virtual TestPermissionsResponse TestIamPermissions(TestIamPermissionsServiceAttachmentRequest request, CallOptions options)
Returns permissions that a caller has on the specified resource.
Parameters | |
---|---|
Name | Description |
request | TestIamPermissionsServiceAttachmentRequest The request to send to the server. |
options | CallOptions The options for the call. |
Returns | |
---|---|
Type | Description |
TestPermissionsResponse | The response received from the server. |
TestIamPermissions(TestIamPermissionsServiceAttachmentRequest, Metadata, Nullable<DateTime>, CancellationToken)
public virtual TestPermissionsResponse TestIamPermissions(TestIamPermissionsServiceAttachmentRequest request, Metadata headers = null, DateTime? deadline = default(DateTime? ), CancellationToken cancellationToken = default(CancellationToken))
Returns permissions that a caller has on the specified resource.
Parameters | |
---|---|
Name | Description |
request | TestIamPermissionsServiceAttachmentRequest The request to send to the server. |
headers | Metadata The initial metadata to send with the call. This parameter is optional. |
deadline | Nullable<DateTime> An optional deadline for the call. The call will be cancelled if deadline is hit. |
cancellationToken | CancellationToken An optional token for canceling the call. |
Returns | |
---|---|
Type | Description |
TestPermissionsResponse | The response received from the server. |
TestIamPermissionsAsync(TestIamPermissionsServiceAttachmentRequest, CallOptions)
public virtual AsyncUnaryCall<TestPermissionsResponse> TestIamPermissionsAsync(TestIamPermissionsServiceAttachmentRequest request, CallOptions options)
Returns permissions that a caller has on the specified resource.
Parameters | |
---|---|
Name | Description |
request | TestIamPermissionsServiceAttachmentRequest The request to send to the server. |
options | CallOptions The options for the call. |
Returns | |
---|---|
Type | Description |
AsyncUnaryCall<TestPermissionsResponse> | The call object. |
TestIamPermissionsAsync(TestIamPermissionsServiceAttachmentRequest, Metadata, Nullable<DateTime>, CancellationToken)
public virtual AsyncUnaryCall<TestPermissionsResponse> TestIamPermissionsAsync(TestIamPermissionsServiceAttachmentRequest request, Metadata headers = null, DateTime? deadline = default(DateTime? ), CancellationToken cancellationToken = default(CancellationToken))
Returns permissions that a caller has on the specified resource.
Parameters | |
---|---|
Name | Description |
request | TestIamPermissionsServiceAttachmentRequest The request to send to the server. |
headers | Metadata The initial metadata to send with the call. This parameter is optional. |
deadline | Nullable<DateTime> An optional deadline for the call. The call will be cancelled if deadline is hit. |
cancellationToken | CancellationToken An optional token for canceling the call. |
Returns | |
---|---|
Type | Description |
AsyncUnaryCall<TestPermissionsResponse> | The call object. |