Class ServiceAttachments.ServiceAttachmentsClient (1.1.0)

public class ServiceAttachmentsClient : ClientBase<ServiceAttachments.ServiceAttachmentsClient>

Client for ServiceAttachments

Inheritance

Object > ClientBase > ClientBase<ServiceAttachments.ServiceAttachmentsClient> > ServiceAttachments.ServiceAttachmentsClient

Namespace

Google.Cloud.Compute.V1

Assembly

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
NameDescription
callInvokerCallInvoker

The callInvoker to use to make remote calls.

ServiceAttachmentsClient(ChannelBase)

public ServiceAttachmentsClient(ChannelBase channel)

Creates a new client for ServiceAttachments

Parameter
NameDescription
channelChannelBase

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
NameDescription
configurationClientBase.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
NameDescription
requestAggregatedListServiceAttachmentsRequest

The request to send to the server.

optionsCallOptions

The options for the call.

Returns
TypeDescription
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
NameDescription
requestAggregatedListServiceAttachmentsRequest

The request to send to the server.

headersMetadata

The initial metadata to send with the call. This parameter is optional.

deadlineNullable<DateTime>

An optional deadline for the call. The call will be cancelled if deadline is hit.

cancellationTokenCancellationToken

An optional token for canceling the call.

Returns
TypeDescription
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
NameDescription
requestAggregatedListServiceAttachmentsRequest

The request to send to the server.

optionsCallOptions

The options for the call.

Returns
TypeDescription
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
NameDescription
requestAggregatedListServiceAttachmentsRequest

The request to send to the server.

headersMetadata

The initial metadata to send with the call. This parameter is optional.

deadlineNullable<DateTime>

An optional deadline for the call. The call will be cancelled if deadline is hit.

cancellationTokenCancellationToken

An optional token for canceling the call.

Returns
TypeDescription
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
TypeDescription
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
NameDescription
requestDeleteServiceAttachmentRequest

The request to send to the server.

optionsCallOptions

The options for the call.

Returns
TypeDescription
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
NameDescription
requestDeleteServiceAttachmentRequest

The request to send to the server.

headersMetadata

The initial metadata to send with the call. This parameter is optional.

deadlineNullable<DateTime>

An optional deadline for the call. The call will be cancelled if deadline is hit.

cancellationTokenCancellationToken

An optional token for canceling the call.

Returns
TypeDescription
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
NameDescription
requestDeleteServiceAttachmentRequest

The request to send to the server.

optionsCallOptions

The options for the call.

Returns
TypeDescription
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
NameDescription
requestDeleteServiceAttachmentRequest

The request to send to the server.

headersMetadata

The initial metadata to send with the call. This parameter is optional.

deadlineNullable<DateTime>

An optional deadline for the call. The call will be cancelled if deadline is hit.

cancellationTokenCancellationToken

An optional token for canceling the call.

Returns
TypeDescription
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
NameDescription
requestGetServiceAttachmentRequest

The request to send to the server.

optionsCallOptions

The options for the call.

Returns
TypeDescription
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
NameDescription
requestGetServiceAttachmentRequest

The request to send to the server.

headersMetadata

The initial metadata to send with the call. This parameter is optional.

deadlineNullable<DateTime>

An optional deadline for the call. The call will be cancelled if deadline is hit.

cancellationTokenCancellationToken

An optional token for canceling the call.

Returns
TypeDescription
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
NameDescription
requestGetServiceAttachmentRequest

The request to send to the server.

optionsCallOptions

The options for the call.

Returns
TypeDescription
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
NameDescription
requestGetServiceAttachmentRequest

The request to send to the server.

headersMetadata

The initial metadata to send with the call. This parameter is optional.

deadlineNullable<DateTime>

An optional deadline for the call. The call will be cancelled if deadline is hit.

cancellationTokenCancellationToken

An optional token for canceling the call.

Returns
TypeDescription
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
NameDescription
requestGetIamPolicyServiceAttachmentRequest

The request to send to the server.

optionsCallOptions

The options for the call.

Returns
TypeDescription
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
NameDescription
requestGetIamPolicyServiceAttachmentRequest

The request to send to the server.

headersMetadata

The initial metadata to send with the call. This parameter is optional.

deadlineNullable<DateTime>

An optional deadline for the call. The call will be cancelled if deadline is hit.

cancellationTokenCancellationToken

An optional token for canceling the call.

Returns
TypeDescription
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
NameDescription
requestGetIamPolicyServiceAttachmentRequest

The request to send to the server.

optionsCallOptions

The options for the call.

Returns
TypeDescription
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
NameDescription
requestGetIamPolicyServiceAttachmentRequest

The request to send to the server.

headersMetadata

The initial metadata to send with the call. This parameter is optional.

deadlineNullable<DateTime>

An optional deadline for the call. The call will be cancelled if deadline is hit.

cancellationTokenCancellationToken

An optional token for canceling the call.

Returns
TypeDescription
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
NameDescription
requestInsertServiceAttachmentRequest

The request to send to the server.

optionsCallOptions

The options for the call.

Returns
TypeDescription
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
NameDescription
requestInsertServiceAttachmentRequest

The request to send to the server.

headersMetadata

The initial metadata to send with the call. This parameter is optional.

deadlineNullable<DateTime>

An optional deadline for the call. The call will be cancelled if deadline is hit.

cancellationTokenCancellationToken

An optional token for canceling the call.

Returns
TypeDescription
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
NameDescription
requestInsertServiceAttachmentRequest

The request to send to the server.

optionsCallOptions

The options for the call.

Returns
TypeDescription
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
NameDescription
requestInsertServiceAttachmentRequest

The request to send to the server.

headersMetadata

The initial metadata to send with the call. This parameter is optional.

deadlineNullable<DateTime>

An optional deadline for the call. The call will be cancelled if deadline is hit.

cancellationTokenCancellationToken

An optional token for canceling the call.

Returns
TypeDescription
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
NameDescription
requestListServiceAttachmentsRequest

The request to send to the server.

optionsCallOptions

The options for the call.

Returns
TypeDescription
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
NameDescription
requestListServiceAttachmentsRequest

The request to send to the server.

headersMetadata

The initial metadata to send with the call. This parameter is optional.

deadlineNullable<DateTime>

An optional deadline for the call. The call will be cancelled if deadline is hit.

cancellationTokenCancellationToken

An optional token for canceling the call.

Returns
TypeDescription
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
NameDescription
requestListServiceAttachmentsRequest

The request to send to the server.

optionsCallOptions

The options for the call.

Returns
TypeDescription
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
NameDescription
requestListServiceAttachmentsRequest

The request to send to the server.

headersMetadata

The initial metadata to send with the call. This parameter is optional.

deadlineNullable<DateTime>

An optional deadline for the call. The call will be cancelled if deadline is hit.

cancellationTokenCancellationToken

An optional token for canceling the call.

Returns
TypeDescription
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
NameDescription
configurationClientBase.ClientBaseConfiguration
Returns
TypeDescription
ServiceAttachments.ServiceAttachmentsClient
Overrides
Grpc.Core.ClientBase<Google.Cloud.Compute.V1.ServiceAttachments.ServiceAttachmentsClient>.NewInstance(Grpc.Core.ClientBase.ClientBaseConfiguration)

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
NameDescription
requestPatchServiceAttachmentRequest

The request to send to the server.

optionsCallOptions

The options for the call.

Returns
TypeDescription
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
NameDescription
requestPatchServiceAttachmentRequest

The request to send to the server.

headersMetadata

The initial metadata to send with the call. This parameter is optional.

deadlineNullable<DateTime>

An optional deadline for the call. The call will be cancelled if deadline is hit.

cancellationTokenCancellationToken

An optional token for canceling the call.

Returns
TypeDescription
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
NameDescription
requestPatchServiceAttachmentRequest

The request to send to the server.

optionsCallOptions

The options for the call.

Returns
TypeDescription
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
NameDescription
requestPatchServiceAttachmentRequest

The request to send to the server.

headersMetadata

The initial metadata to send with the call. This parameter is optional.

deadlineNullable<DateTime>

An optional deadline for the call. The call will be cancelled if deadline is hit.

cancellationTokenCancellationToken

An optional token for canceling the call.

Returns
TypeDescription
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
NameDescription
requestSetIamPolicyServiceAttachmentRequest

The request to send to the server.

optionsCallOptions

The options for the call.

Returns
TypeDescription
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
NameDescription
requestSetIamPolicyServiceAttachmentRequest

The request to send to the server.

headersMetadata

The initial metadata to send with the call. This parameter is optional.

deadlineNullable<DateTime>

An optional deadline for the call. The call will be cancelled if deadline is hit.

cancellationTokenCancellationToken

An optional token for canceling the call.

Returns
TypeDescription
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
NameDescription
requestSetIamPolicyServiceAttachmentRequest

The request to send to the server.

optionsCallOptions

The options for the call.

Returns
TypeDescription
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
NameDescription
requestSetIamPolicyServiceAttachmentRequest

The request to send to the server.

headersMetadata

The initial metadata to send with the call. This parameter is optional.

deadlineNullable<DateTime>

An optional deadline for the call. The call will be cancelled if deadline is hit.

cancellationTokenCancellationToken

An optional token for canceling the call.

Returns
TypeDescription
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
NameDescription
requestTestIamPermissionsServiceAttachmentRequest

The request to send to the server.

optionsCallOptions

The options for the call.

Returns
TypeDescription
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
NameDescription
requestTestIamPermissionsServiceAttachmentRequest

The request to send to the server.

headersMetadata

The initial metadata to send with the call. This parameter is optional.

deadlineNullable<DateTime>

An optional deadline for the call. The call will be cancelled if deadline is hit.

cancellationTokenCancellationToken

An optional token for canceling the call.

Returns
TypeDescription
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
NameDescription
requestTestIamPermissionsServiceAttachmentRequest

The request to send to the server.

optionsCallOptions

The options for the call.

Returns
TypeDescription
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
NameDescription
requestTestIamPermissionsServiceAttachmentRequest

The request to send to the server.

headersMetadata

The initial metadata to send with the call. This parameter is optional.

deadlineNullable<DateTime>

An optional deadline for the call. The call will be cancelled if deadline is hit.

cancellationTokenCancellationToken

An optional token for canceling the call.

Returns
TypeDescription
AsyncUnaryCall<TestPermissionsResponse>

The call object.