Compute Engine v1 API - Class GlobalPublicDelegatedPrefixes.GlobalPublicDelegatedPrefixesClient (2.15.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
Name Description
callInvoker CallInvoker

The callInvoker to use to make remote calls.

GlobalPublicDelegatedPrefixesClient(ChannelBase)

public GlobalPublicDelegatedPrefixesClient(ChannelBase channel)

Creates a new client for GlobalPublicDelegatedPrefixes

Parameter
Name Description
channel ChannelBase

The channel to use to make remote calls.

GlobalPublicDelegatedPrefixesClient(ClientBaseConfiguration)

protected GlobalPublicDelegatedPrefixesClient(ClientBase.ClientBaseConfiguration configuration)

Protected constructor to allow creation of configured clients.

Parameter
Name Description
configuration ClientBaseClientBaseConfiguration

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
Type Description
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
Name Description
request DeleteGlobalPublicDelegatedPrefixeRequest

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(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
Name Description
request DeleteGlobalPublicDelegatedPrefixeRequest

The request to send to the server.

headers Metadata

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

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

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

Deletes the specified global PublicDelegatedPrefix.

Parameters
Name Description
request DeleteGlobalPublicDelegatedPrefixeRequest

The request to send to the server.

options CallOptions

The options for the call.

Returns
Type Description
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
Name Description
request DeleteGlobalPublicDelegatedPrefixeRequest

The request to send to the server.

headers Metadata

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

deadline 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
AsyncUnaryCallOperation

The call object.

Get(GetGlobalPublicDelegatedPrefixeRequest, CallOptions)

public virtual PublicDelegatedPrefix Get(GetGlobalPublicDelegatedPrefixeRequest request, CallOptions options)

Returns the specified global PublicDelegatedPrefix resource.

Parameters
Name Description
request GetGlobalPublicDelegatedPrefixeRequest

The request to send to the server.

options CallOptions

The options for the call.

Returns
Type Description
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
Name Description
request GetGlobalPublicDelegatedPrefixeRequest

The request to send to the server.

headers Metadata

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

deadline 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
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
Name Description
request GetGlobalPublicDelegatedPrefixeRequest

The request to send to the server.

options CallOptions

The options for the call.

Returns
Type Description
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
Name Description
request GetGlobalPublicDelegatedPrefixeRequest

The request to send to the server.

headers Metadata

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

deadline 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
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
Name Description
request InsertGlobalPublicDelegatedPrefixeRequest

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(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
Name Description
request InsertGlobalPublicDelegatedPrefixeRequest

The request to send to the server.

headers Metadata

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

deadline 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(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
Name Description
request InsertGlobalPublicDelegatedPrefixeRequest

The request to send to the server.

options CallOptions

The options for the call.

Returns
Type Description
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
Name Description
request InsertGlobalPublicDelegatedPrefixeRequest

The request to send to the server.

headers Metadata

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

deadline 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
AsyncUnaryCallOperation

The call object.

List(ListGlobalPublicDelegatedPrefixesRequest, CallOptions)

public virtual PublicDelegatedPrefixList List(ListGlobalPublicDelegatedPrefixesRequest request, CallOptions options)

Lists the global PublicDelegatedPrefixes for a project.

Parameters
Name Description
request ListGlobalPublicDelegatedPrefixesRequest

The request to send to the server.

options CallOptions

The options for the call.

Returns
Type Description
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
Name Description
request ListGlobalPublicDelegatedPrefixesRequest

The request to send to the server.

headers Metadata

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

deadline 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
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
Name Description
request ListGlobalPublicDelegatedPrefixesRequest

The request to send to the server.

options CallOptions

The options for the call.

Returns
Type Description
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
Name Description
request ListGlobalPublicDelegatedPrefixesRequest

The request to send to the server.

headers Metadata

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

deadline 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
AsyncUnaryCallPublicDelegatedPrefixList

The call object.

NewInstance(ClientBaseConfiguration)

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

Creates a new instance of client from given ClientBaseConfiguration.

Parameter
Name Description
configuration ClientBaseClientBaseConfiguration
Returns
Type Description
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
Name Description
request PatchGlobalPublicDelegatedPrefixeRequest

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(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
Name Description
request PatchGlobalPublicDelegatedPrefixeRequest

The request to send to the server.

headers Metadata

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

deadline 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(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
Name Description
request PatchGlobalPublicDelegatedPrefixeRequest

The request to send to the server.

options CallOptions

The options for the call.

Returns
Type Description
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
Name Description
request PatchGlobalPublicDelegatedPrefixeRequest

The request to send to the server.

headers Metadata

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

deadline 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
AsyncUnaryCallOperation

The call object.