Class GlobalPublicDelegatedPrefixes.GlobalPublicDelegatedPrefixesClient (1.2.0)

public class GlobalPublicDelegatedPrefixesClient : ClientBase<GlobalPublicDelegatedPrefixes.GlobalPublicDelegatedPrefixesClient>

Client for GlobalPublicDelegatedPrefixes

Inheritance

Object > ClientBase > ClientBase<GlobalPublicDelegatedPrefixes.GlobalPublicDelegatedPrefixesClient> > GlobalPublicDelegatedPrefixes.GlobalPublicDelegatedPrefixesClient

Namespace

Google.Cloud.Compute.V1

Assembly

Google.Cloud.Compute.V1.dll

Constructors

GlobalPublicDelegatedPrefixesClient()

protected GlobalPublicDelegatedPrefixesClient()

Protected parameterless constructor to allow creation of test doubles.

GlobalPublicDelegatedPrefixesClient(CallInvoker)

public GlobalPublicDelegatedPrefixesClient(CallInvoker callInvoker)

Creates a new client for GlobalPublicDelegatedPrefixes that uses a custom CallInvoker.

Parameter
NameDescription
callInvokerCallInvoker

The callInvoker to use to make remote calls.

GlobalPublicDelegatedPrefixesClient(ChannelBase)

public GlobalPublicDelegatedPrefixesClient(ChannelBase channel)

Creates a new client for GlobalPublicDelegatedPrefixes

Parameter
NameDescription
channelChannelBase

The channel to use to make remote calls.

GlobalPublicDelegatedPrefixesClient(ClientBase.ClientBaseConfiguration)

protected GlobalPublicDelegatedPrefixesClient(ClientBase.ClientBaseConfiguration configuration)

Protected constructor to allow creation of configured clients.

Parameter
NameDescription
configurationClientBase.ClientBaseConfiguration

The client configuration.

Methods

CreateOperationsClientForGlobalOperations()

public virtual Operations.OperationsClient CreateOperationsClientForGlobalOperations()

Creates a new instance of Operations.OperationsClient using the same call invoker as this client, delegating to GlobalOperations.

Returns
TypeDescription
Operations.OperationsClient

A new Operations client for the same target as this client.

Delete(DeleteGlobalPublicDelegatedPrefixeRequest, CallOptions)

public virtual Operation Delete(DeleteGlobalPublicDelegatedPrefixeRequest request, CallOptions options)

Deletes the specified global PublicDelegatedPrefix.

Parameters
NameDescription
requestDeleteGlobalPublicDelegatedPrefixeRequest

The request to send to the server.

optionsCallOptions

The options for the call.

Returns
TypeDescription
Operation

The response received from the server.

Delete(DeleteGlobalPublicDelegatedPrefixeRequest, Metadata, Nullable<DateTime>, CancellationToken)

public virtual Operation Delete(DeleteGlobalPublicDelegatedPrefixeRequest request, Metadata headers = null, DateTime? deadline = default(DateTime? ), CancellationToken cancellationToken = default(CancellationToken))

Deletes the specified global PublicDelegatedPrefix.

Parameters
NameDescription
requestDeleteGlobalPublicDelegatedPrefixeRequest

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(DeleteGlobalPublicDelegatedPrefixeRequest, CallOptions)

public virtual AsyncUnaryCall<Operation> DeleteAsync(DeleteGlobalPublicDelegatedPrefixeRequest request, CallOptions options)

Deletes the specified global PublicDelegatedPrefix.

Parameters
NameDescription
requestDeleteGlobalPublicDelegatedPrefixeRequest

The request to send to the server.

optionsCallOptions

The options for the call.

Returns
TypeDescription
AsyncUnaryCall<Operation>

The call object.

DeleteAsync(DeleteGlobalPublicDelegatedPrefixeRequest, Metadata, Nullable<DateTime>, CancellationToken)

public virtual AsyncUnaryCall<Operation> DeleteAsync(DeleteGlobalPublicDelegatedPrefixeRequest request, Metadata headers = null, DateTime? deadline = default(DateTime? ), CancellationToken cancellationToken = default(CancellationToken))

Deletes the specified global PublicDelegatedPrefix.

Parameters
NameDescription
requestDeleteGlobalPublicDelegatedPrefixeRequest

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(GetGlobalPublicDelegatedPrefixeRequest, CallOptions)

public virtual PublicDelegatedPrefix Get(GetGlobalPublicDelegatedPrefixeRequest request, CallOptions options)

Returns the specified global PublicDelegatedPrefix resource.

Parameters
NameDescription
requestGetGlobalPublicDelegatedPrefixeRequest

The request to send to the server.

optionsCallOptions

The options for the call.

Returns
TypeDescription
PublicDelegatedPrefix

The response received from the server.

Get(GetGlobalPublicDelegatedPrefixeRequest, Metadata, Nullable<DateTime>, CancellationToken)

public virtual PublicDelegatedPrefix Get(GetGlobalPublicDelegatedPrefixeRequest request, Metadata headers = null, DateTime? deadline = default(DateTime? ), CancellationToken cancellationToken = default(CancellationToken))

Returns the specified global PublicDelegatedPrefix resource.

Parameters
NameDescription
requestGetGlobalPublicDelegatedPrefixeRequest

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
PublicDelegatedPrefix

The response received from the server.

GetAsync(GetGlobalPublicDelegatedPrefixeRequest, CallOptions)

public virtual AsyncUnaryCall<PublicDelegatedPrefix> GetAsync(GetGlobalPublicDelegatedPrefixeRequest request, CallOptions options)

Returns the specified global PublicDelegatedPrefix resource.

Parameters
NameDescription
requestGetGlobalPublicDelegatedPrefixeRequest

The request to send to the server.

optionsCallOptions

The options for the call.

Returns
TypeDescription
AsyncUnaryCall<PublicDelegatedPrefix>

The call object.

GetAsync(GetGlobalPublicDelegatedPrefixeRequest, Metadata, Nullable<DateTime>, CancellationToken)

public virtual AsyncUnaryCall<PublicDelegatedPrefix> GetAsync(GetGlobalPublicDelegatedPrefixeRequest request, Metadata headers = null, DateTime? deadline = default(DateTime? ), CancellationToken cancellationToken = default(CancellationToken))

Returns the specified global PublicDelegatedPrefix resource.

Parameters
NameDescription
requestGetGlobalPublicDelegatedPrefixeRequest

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<PublicDelegatedPrefix>

The call object.

Insert(InsertGlobalPublicDelegatedPrefixeRequest, CallOptions)

public virtual Operation Insert(InsertGlobalPublicDelegatedPrefixeRequest request, CallOptions options)

Creates a global PublicDelegatedPrefix in the specified project using the parameters that are included in the request.

Parameters
NameDescription
requestInsertGlobalPublicDelegatedPrefixeRequest

The request to send to the server.

optionsCallOptions

The options for the call.

Returns
TypeDescription
Operation

The response received from the server.

Insert(InsertGlobalPublicDelegatedPrefixeRequest, Metadata, Nullable<DateTime>, CancellationToken)

public virtual Operation Insert(InsertGlobalPublicDelegatedPrefixeRequest request, Metadata headers = null, DateTime? deadline = default(DateTime? ), CancellationToken cancellationToken = default(CancellationToken))

Creates a global PublicDelegatedPrefix in the specified project using the parameters that are included in the request.

Parameters
NameDescription
requestInsertGlobalPublicDelegatedPrefixeRequest

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(InsertGlobalPublicDelegatedPrefixeRequest, CallOptions)

public virtual AsyncUnaryCall<Operation> InsertAsync(InsertGlobalPublicDelegatedPrefixeRequest request, CallOptions options)

Creates a global PublicDelegatedPrefix in the specified project using the parameters that are included in the request.

Parameters
NameDescription
requestInsertGlobalPublicDelegatedPrefixeRequest

The request to send to the server.

optionsCallOptions

The options for the call.

Returns
TypeDescription
AsyncUnaryCall<Operation>

The call object.

InsertAsync(InsertGlobalPublicDelegatedPrefixeRequest, Metadata, Nullable<DateTime>, CancellationToken)

public virtual AsyncUnaryCall<Operation> InsertAsync(InsertGlobalPublicDelegatedPrefixeRequest request, Metadata headers = null, DateTime? deadline = default(DateTime? ), CancellationToken cancellationToken = default(CancellationToken))

Creates a global PublicDelegatedPrefix in the specified project using the parameters that are included in the request.

Parameters
NameDescription
requestInsertGlobalPublicDelegatedPrefixeRequest

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(ListGlobalPublicDelegatedPrefixesRequest, CallOptions)

public virtual PublicDelegatedPrefixList List(ListGlobalPublicDelegatedPrefixesRequest request, CallOptions options)

Lists the global PublicDelegatedPrefixes for a project.

Parameters
NameDescription
requestListGlobalPublicDelegatedPrefixesRequest

The request to send to the server.

optionsCallOptions

The options for the call.

Returns
TypeDescription
PublicDelegatedPrefixList

The response received from the server.

List(ListGlobalPublicDelegatedPrefixesRequest, Metadata, Nullable<DateTime>, CancellationToken)

public virtual PublicDelegatedPrefixList List(ListGlobalPublicDelegatedPrefixesRequest request, Metadata headers = null, DateTime? deadline = default(DateTime? ), CancellationToken cancellationToken = default(CancellationToken))

Lists the global PublicDelegatedPrefixes for a project.

Parameters
NameDescription
requestListGlobalPublicDelegatedPrefixesRequest

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
PublicDelegatedPrefixList

The response received from the server.

ListAsync(ListGlobalPublicDelegatedPrefixesRequest, CallOptions)

public virtual AsyncUnaryCall<PublicDelegatedPrefixList> ListAsync(ListGlobalPublicDelegatedPrefixesRequest request, CallOptions options)

Lists the global PublicDelegatedPrefixes for a project.

Parameters
NameDescription
requestListGlobalPublicDelegatedPrefixesRequest

The request to send to the server.

optionsCallOptions

The options for the call.

Returns
TypeDescription
AsyncUnaryCall<PublicDelegatedPrefixList>

The call object.

ListAsync(ListGlobalPublicDelegatedPrefixesRequest, Metadata, Nullable<DateTime>, CancellationToken)

public virtual AsyncUnaryCall<PublicDelegatedPrefixList> ListAsync(ListGlobalPublicDelegatedPrefixesRequest request, Metadata headers = null, DateTime? deadline = default(DateTime? ), CancellationToken cancellationToken = default(CancellationToken))

Lists the global PublicDelegatedPrefixes for a project.

Parameters
NameDescription
requestListGlobalPublicDelegatedPrefixesRequest

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<PublicDelegatedPrefixList>

The call object.

NewInstance(ClientBase.ClientBaseConfiguration)

protected override GlobalPublicDelegatedPrefixes.GlobalPublicDelegatedPrefixesClient NewInstance(ClientBase.ClientBaseConfiguration configuration)

Creates a new instance of client from given ClientBaseConfiguration.

Parameter
NameDescription
configurationClientBase.ClientBaseConfiguration
Returns
TypeDescription
GlobalPublicDelegatedPrefixes.GlobalPublicDelegatedPrefixesClient
Overrides
Grpc.Core.ClientBase<Google.Cloud.Compute.V1.GlobalPublicDelegatedPrefixes.GlobalPublicDelegatedPrefixesClient>.NewInstance(Grpc.Core.ClientBase.ClientBaseConfiguration)

Patch(PatchGlobalPublicDelegatedPrefixeRequest, CallOptions)

public virtual Operation Patch(PatchGlobalPublicDelegatedPrefixeRequest request, CallOptions options)

Patches the specified global PublicDelegatedPrefix resource with the data included in the request. This method supports PATCH semantics and uses JSON merge patch format and processing rules.

Parameters
NameDescription
requestPatchGlobalPublicDelegatedPrefixeRequest

The request to send to the server.

optionsCallOptions

The options for the call.

Returns
TypeDescription
Operation

The response received from the server.

Patch(PatchGlobalPublicDelegatedPrefixeRequest, Metadata, Nullable<DateTime>, CancellationToken)

public virtual Operation Patch(PatchGlobalPublicDelegatedPrefixeRequest request, Metadata headers = null, DateTime? deadline = default(DateTime? ), CancellationToken cancellationToken = default(CancellationToken))

Patches the specified global PublicDelegatedPrefix resource with the data included in the request. This method supports PATCH semantics and uses JSON merge patch format and processing rules.

Parameters
NameDescription
requestPatchGlobalPublicDelegatedPrefixeRequest

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(PatchGlobalPublicDelegatedPrefixeRequest, CallOptions)

public virtual AsyncUnaryCall<Operation> PatchAsync(PatchGlobalPublicDelegatedPrefixeRequest request, CallOptions options)

Patches the specified global PublicDelegatedPrefix resource with the data included in the request. This method supports PATCH semantics and uses JSON merge patch format and processing rules.

Parameters
NameDescription
requestPatchGlobalPublicDelegatedPrefixeRequest

The request to send to the server.

optionsCallOptions

The options for the call.

Returns
TypeDescription
AsyncUnaryCall<Operation>

The call object.

PatchAsync(PatchGlobalPublicDelegatedPrefixeRequest, Metadata, Nullable<DateTime>, CancellationToken)

public virtual AsyncUnaryCall<Operation> PatchAsync(PatchGlobalPublicDelegatedPrefixeRequest request, Metadata headers = null, DateTime? deadline = default(DateTime? ), CancellationToken cancellationToken = default(CancellationToken))

Patches the specified global PublicDelegatedPrefix resource with the data included in the request. This method supports PATCH semantics and uses JSON merge patch format and processing rules.

Parameters
NameDescription
requestPatchGlobalPublicDelegatedPrefixeRequest

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.