Compute Engine v1 API - Class PublicDelegatedPrefixes.PublicDelegatedPrefixesClient (2.17.0)

public class PublicDelegatedPrefixes.PublicDelegatedPrefixesClient : ClientBase<PublicDelegatedPrefixes.PublicDelegatedPrefixesClient>

Reference documentation and code samples for the Compute Engine v1 API class PublicDelegatedPrefixes.PublicDelegatedPrefixesClient.

Client for PublicDelegatedPrefixes

Inheritance

object > ClientBase > ClientBasePublicDelegatedPrefixesPublicDelegatedPrefixesClient > PublicDelegatedPrefixes.PublicDelegatedPrefixesClient

Namespace

Google.Cloud.Compute.V1

Assembly

Google.Cloud.Compute.V1.dll

Constructors

PublicDelegatedPrefixesClient()

protected PublicDelegatedPrefixesClient()

Protected parameterless constructor to allow creation of test doubles.

PublicDelegatedPrefixesClient(CallInvoker)

public PublicDelegatedPrefixesClient(CallInvoker callInvoker)

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

Parameter
Name Description
callInvoker CallInvoker

The callInvoker to use to make remote calls.

PublicDelegatedPrefixesClient(ChannelBase)

public PublicDelegatedPrefixesClient(ChannelBase channel)

Creates a new client for PublicDelegatedPrefixes

Parameter
Name Description
channel ChannelBase

The channel to use to make remote calls.

PublicDelegatedPrefixesClient(ClientBaseConfiguration)

protected PublicDelegatedPrefixesClient(ClientBase.ClientBaseConfiguration configuration)

Protected constructor to allow creation of configured clients.

Parameter
Name Description
configuration ClientBaseClientBaseConfiguration

The client configuration.

Methods

AggregatedList(AggregatedListPublicDelegatedPrefixesRequest, CallOptions)

public virtual PublicDelegatedPrefixAggregatedList AggregatedList(AggregatedListPublicDelegatedPrefixesRequest request, CallOptions options)

Lists all PublicDelegatedPrefix resources owned by the specific project across all scopes. To prevent failure, Google recommends that you set the returnPartialSuccess parameter to true.

Parameters
Name Description
request AggregatedListPublicDelegatedPrefixesRequest

The request to send to the server.

options CallOptions

The options for the call.

Returns
Type Description
PublicDelegatedPrefixAggregatedList

The response received from the server.

AggregatedList(AggregatedListPublicDelegatedPrefixesRequest, Metadata, DateTime?, CancellationToken)

public virtual PublicDelegatedPrefixAggregatedList AggregatedList(AggregatedListPublicDelegatedPrefixesRequest request, Metadata headers = null, DateTime? deadline = null, CancellationToken cancellationToken = default)

Lists all PublicDelegatedPrefix resources owned by the specific project across all scopes. To prevent failure, Google recommends that you set the returnPartialSuccess parameter to true.

Parameters
Name Description
request AggregatedListPublicDelegatedPrefixesRequest

The request to send to the server.

headers Metadata

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

deadline System.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
PublicDelegatedPrefixAggregatedList

The response received from the server.

AggregatedListAsync(AggregatedListPublicDelegatedPrefixesRequest, CallOptions)

public virtual AsyncUnaryCall<PublicDelegatedPrefixAggregatedList> AggregatedListAsync(AggregatedListPublicDelegatedPrefixesRequest request, CallOptions options)

Lists all PublicDelegatedPrefix resources owned by the specific project across all scopes. To prevent failure, Google recommends that you set the returnPartialSuccess parameter to true.

Parameters
Name Description
request AggregatedListPublicDelegatedPrefixesRequest

The request to send to the server.

options CallOptions

The options for the call.

Returns
Type Description
AsyncUnaryCallPublicDelegatedPrefixAggregatedList

The call object.

AggregatedListAsync(AggregatedListPublicDelegatedPrefixesRequest, Metadata, DateTime?, CancellationToken)

public virtual AsyncUnaryCall<PublicDelegatedPrefixAggregatedList> AggregatedListAsync(AggregatedListPublicDelegatedPrefixesRequest request, Metadata headers = null, DateTime? deadline = null, CancellationToken cancellationToken = default)

Lists all PublicDelegatedPrefix resources owned by the specific project across all scopes. To prevent failure, Google recommends that you set the returnPartialSuccess parameter to true.

Parameters
Name Description
request AggregatedListPublicDelegatedPrefixesRequest

The request to send to the server.

headers Metadata

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

deadline System.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
AsyncUnaryCallPublicDelegatedPrefixAggregatedList

The call object.

Announce(AnnouncePublicDelegatedPrefixeRequest, CallOptions)

public virtual Operation Announce(AnnouncePublicDelegatedPrefixeRequest request, CallOptions options)

Announces the specified PublicDelegatedPrefix in the given region.

Parameters
Name Description
request AnnouncePublicDelegatedPrefixeRequest

The request to send to the server.

options CallOptions

The options for the call.

Returns
Type Description
Operation

The response received from the server.

Announce(AnnouncePublicDelegatedPrefixeRequest, Metadata, DateTime?, CancellationToken)

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

Announces the specified PublicDelegatedPrefix in the given region.

Parameters
Name Description
request AnnouncePublicDelegatedPrefixeRequest

The request to send to the server.

headers Metadata

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

deadline System.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.

AnnounceAsync(AnnouncePublicDelegatedPrefixeRequest, CallOptions)

public virtual AsyncUnaryCall<Operation> AnnounceAsync(AnnouncePublicDelegatedPrefixeRequest request, CallOptions options)

Announces the specified PublicDelegatedPrefix in the given region.

Parameters
Name Description
request AnnouncePublicDelegatedPrefixeRequest

The request to send to the server.

options CallOptions

The options for the call.

Returns
Type Description
AsyncUnaryCallOperation

The call object.

AnnounceAsync(AnnouncePublicDelegatedPrefixeRequest, Metadata, DateTime?, CancellationToken)

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

Announces the specified PublicDelegatedPrefix in the given region.

Parameters
Name Description
request AnnouncePublicDelegatedPrefixeRequest

The request to send to the server.

headers Metadata

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

deadline System.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.

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
OperationsOperationsClient

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

Delete(DeletePublicDelegatedPrefixeRequest, CallOptions)

public virtual Operation Delete(DeletePublicDelegatedPrefixeRequest request, CallOptions options)

Deletes the specified PublicDelegatedPrefix in the given region.

Parameters
Name Description
request DeletePublicDelegatedPrefixeRequest

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

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

Deletes the specified PublicDelegatedPrefix in the given region.

Parameters
Name Description
request DeletePublicDelegatedPrefixeRequest

The request to send to the server.

headers Metadata

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

deadline System.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(DeletePublicDelegatedPrefixeRequest, CallOptions)

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

Deletes the specified PublicDelegatedPrefix in the given region.

Parameters
Name Description
request DeletePublicDelegatedPrefixeRequest

The request to send to the server.

options CallOptions

The options for the call.

Returns
Type Description
AsyncUnaryCallOperation

The call object.

DeleteAsync(DeletePublicDelegatedPrefixeRequest, Metadata, DateTime?, CancellationToken)

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

Deletes the specified PublicDelegatedPrefix in the given region.

Parameters
Name Description
request DeletePublicDelegatedPrefixeRequest

The request to send to the server.

headers Metadata

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

deadline System.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(GetPublicDelegatedPrefixeRequest, CallOptions)

public virtual PublicDelegatedPrefix Get(GetPublicDelegatedPrefixeRequest request, CallOptions options)

Returns the specified PublicDelegatedPrefix resource in the given region.

Parameters
Name Description
request GetPublicDelegatedPrefixeRequest

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

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

Returns the specified PublicDelegatedPrefix resource in the given region.

Parameters
Name Description
request GetPublicDelegatedPrefixeRequest

The request to send to the server.

headers Metadata

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

deadline System.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(GetPublicDelegatedPrefixeRequest, CallOptions)

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

Returns the specified PublicDelegatedPrefix resource in the given region.

Parameters
Name Description
request GetPublicDelegatedPrefixeRequest

The request to send to the server.

options CallOptions

The options for the call.

Returns
Type Description
AsyncUnaryCallPublicDelegatedPrefix

The call object.

GetAsync(GetPublicDelegatedPrefixeRequest, Metadata, DateTime?, CancellationToken)

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

Returns the specified PublicDelegatedPrefix resource in the given region.

Parameters
Name Description
request GetPublicDelegatedPrefixeRequest

The request to send to the server.

headers Metadata

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

deadline System.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(InsertPublicDelegatedPrefixeRequest, CallOptions)

public virtual Operation Insert(InsertPublicDelegatedPrefixeRequest request, CallOptions options)

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

Parameters
Name Description
request InsertPublicDelegatedPrefixeRequest

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

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

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

Parameters
Name Description
request InsertPublicDelegatedPrefixeRequest

The request to send to the server.

headers Metadata

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

deadline System.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(InsertPublicDelegatedPrefixeRequest, CallOptions)

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

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

Parameters
Name Description
request InsertPublicDelegatedPrefixeRequest

The request to send to the server.

options CallOptions

The options for the call.

Returns
Type Description
AsyncUnaryCallOperation

The call object.

InsertAsync(InsertPublicDelegatedPrefixeRequest, Metadata, DateTime?, CancellationToken)

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

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

Parameters
Name Description
request InsertPublicDelegatedPrefixeRequest

The request to send to the server.

headers Metadata

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

deadline System.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(ListPublicDelegatedPrefixesRequest, CallOptions)

public virtual PublicDelegatedPrefixList List(ListPublicDelegatedPrefixesRequest request, CallOptions options)

Lists the PublicDelegatedPrefixes for a project in the given region.

Parameters
Name Description
request ListPublicDelegatedPrefixesRequest

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

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

Lists the PublicDelegatedPrefixes for a project in the given region.

Parameters
Name Description
request ListPublicDelegatedPrefixesRequest

The request to send to the server.

headers Metadata

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

deadline System.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(ListPublicDelegatedPrefixesRequest, CallOptions)

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

Lists the PublicDelegatedPrefixes for a project in the given region.

Parameters
Name Description
request ListPublicDelegatedPrefixesRequest

The request to send to the server.

options CallOptions

The options for the call.

Returns
Type Description
AsyncUnaryCallPublicDelegatedPrefixList

The call object.

ListAsync(ListPublicDelegatedPrefixesRequest, Metadata, DateTime?, CancellationToken)

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

Lists the PublicDelegatedPrefixes for a project in the given region.

Parameters
Name Description
request ListPublicDelegatedPrefixesRequest

The request to send to the server.

headers Metadata

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

deadline System.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 PublicDelegatedPrefixes.PublicDelegatedPrefixesClient NewInstance(ClientBase.ClientBaseConfiguration configuration)

Creates a new instance of client from given ClientBaseConfiguration.

Parameter
Name Description
configuration ClientBaseClientBaseConfiguration
Returns
Type Description
PublicDelegatedPrefixesPublicDelegatedPrefixesClient
Overrides
Grpc.Core.ClientBase<Google.Cloud.Compute.V1.PublicDelegatedPrefixes.PublicDelegatedPrefixesClient>.NewInstance(Grpc.Core.ClientBase.ClientBaseConfiguration)

Patch(PatchPublicDelegatedPrefixeRequest, CallOptions)

public virtual Operation Patch(PatchPublicDelegatedPrefixeRequest request, CallOptions options)

Patches the specified 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 PatchPublicDelegatedPrefixeRequest

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

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

Patches the specified 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 PatchPublicDelegatedPrefixeRequest

The request to send to the server.

headers Metadata

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

deadline System.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(PatchPublicDelegatedPrefixeRequest, CallOptions)

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

Patches the specified 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 PatchPublicDelegatedPrefixeRequest

The request to send to the server.

options CallOptions

The options for the call.

Returns
Type Description
AsyncUnaryCallOperation

The call object.

PatchAsync(PatchPublicDelegatedPrefixeRequest, Metadata, DateTime?, CancellationToken)

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

Patches the specified 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 PatchPublicDelegatedPrefixeRequest

The request to send to the server.

headers Metadata

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

deadline System.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.

Withdraw(WithdrawPublicDelegatedPrefixeRequest, CallOptions)

public virtual Operation Withdraw(WithdrawPublicDelegatedPrefixeRequest request, CallOptions options)

Withdraws the specified PublicDelegatedPrefix in the given region.

Parameters
Name Description
request WithdrawPublicDelegatedPrefixeRequest

The request to send to the server.

options CallOptions

The options for the call.

Returns
Type Description
Operation

The response received from the server.

Withdraw(WithdrawPublicDelegatedPrefixeRequest, Metadata, DateTime?, CancellationToken)

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

Withdraws the specified PublicDelegatedPrefix in the given region.

Parameters
Name Description
request WithdrawPublicDelegatedPrefixeRequest

The request to send to the server.

headers Metadata

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

deadline System.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.

WithdrawAsync(WithdrawPublicDelegatedPrefixeRequest, CallOptions)

public virtual AsyncUnaryCall<Operation> WithdrawAsync(WithdrawPublicDelegatedPrefixeRequest request, CallOptions options)

Withdraws the specified PublicDelegatedPrefix in the given region.

Parameters
Name Description
request WithdrawPublicDelegatedPrefixeRequest

The request to send to the server.

options CallOptions

The options for the call.

Returns
Type Description
AsyncUnaryCallOperation

The call object.

WithdrawAsync(WithdrawPublicDelegatedPrefixeRequest, Metadata, DateTime?, CancellationToken)

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

Withdraws the specified PublicDelegatedPrefix in the given region.

Parameters
Name Description
request WithdrawPublicDelegatedPrefixeRequest

The request to send to the server.

headers Metadata

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

deadline System.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.