Compute Engine v1 API - Class GlobalPublicDelegatedPrefixes.GlobalPublicDelegatedPrefixesClient (2.12.0)

public class GlobalPublicDelegatedPrefixes.GlobalPublicDelegatedPrefixesClient : ClientBase<GlobalPublicDelegatedPrefixes.GlobalPublicDelegatedPrefixesClient>

Reference documentation and code samples for the Compute Engine v1 API class GlobalPublicDelegatedPrefixes.GlobalPublicDelegatedPrefixesClient.

Client for GlobalPublicDelegatedPrefixes

Inheritance

object > ClientBase > ClientBaseGlobalPublicDelegatedPrefixesGlobalPublicDelegatedPrefixesClient > 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(ClientBaseConfiguration)

protected GlobalPublicDelegatedPrefixesClient(ClientBase.ClientBaseConfiguration configuration)

Protected constructor to allow creation of configured clients.

Parameter
NameDescription
configurationClientBaseClientBaseConfiguration

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
OperationsOperationsClient

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, DateTime?, CancellationToken)

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

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.

deadlineDateTime

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
AsyncUnaryCallOperation

The call object.

DeleteAsync(DeleteGlobalPublicDelegatedPrefixeRequest, Metadata, DateTime?, CancellationToken)

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

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.

deadlineDateTime

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
AsyncUnaryCallOperation

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, DateTime?, CancellationToken)

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

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.

deadlineDateTime

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
AsyncUnaryCallPublicDelegatedPrefix

The call object.

GetAsync(GetGlobalPublicDelegatedPrefixeRequest, Metadata, DateTime?, CancellationToken)

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

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.

deadlineDateTime

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
AsyncUnaryCallPublicDelegatedPrefix

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, DateTime?, CancellationToken)

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

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.

deadlineDateTime

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
AsyncUnaryCallOperation

The call object.

InsertAsync(InsertGlobalPublicDelegatedPrefixeRequest, Metadata, DateTime?, CancellationToken)

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

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.

deadlineDateTime

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
AsyncUnaryCallOperation

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, DateTime?, CancellationToken)

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

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.

deadlineDateTime

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
AsyncUnaryCallPublicDelegatedPrefixList

The call object.

ListAsync(ListGlobalPublicDelegatedPrefixesRequest, Metadata, DateTime?, CancellationToken)

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

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.

deadlineDateTime

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
AsyncUnaryCallPublicDelegatedPrefixList

The call object.

NewInstance(ClientBaseConfiguration)

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

Creates a new instance of client from given ClientBaseConfiguration.

Parameter
NameDescription
configurationClientBaseClientBaseConfiguration
Returns
TypeDescription
GlobalPublicDelegatedPrefixesGlobalPublicDelegatedPrefixesClient
Overrides

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, DateTime?, CancellationToken)

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

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.

deadlineDateTime

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
AsyncUnaryCallOperation

The call object.

PatchAsync(PatchGlobalPublicDelegatedPrefixeRequest, Metadata, DateTime?, CancellationToken)

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

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.

deadlineDateTime

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
AsyncUnaryCallOperation

The call object.