Compute Engine v1 API - Class PublicDelegatedPrefixes.PublicDelegatedPrefixesClient (2.7.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

GoogleCloudGoogle.Cloud.ComputeV1

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

The callInvoker to use to make remote calls.

PublicDelegatedPrefixesClient(ChannelBase)

public PublicDelegatedPrefixesClient(ChannelBase channel)

Creates a new client for PublicDelegatedPrefixes

Parameter
NameDescription
channelChannelBase

The channel to use to make remote calls.

PublicDelegatedPrefixesClient(ClientBaseConfiguration)

protected PublicDelegatedPrefixesClient(ClientBase.ClientBaseConfiguration configuration)

Protected constructor to allow creation of configured clients.

Parameter
NameDescription
configurationClientBaseClientBaseConfiguration

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.

Parameters
NameDescription
requestAggregatedListPublicDelegatedPrefixesRequest

The request to send to the server.

optionsCallOptions

The options for the call.

Returns
TypeDescription
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.

Parameters
NameDescription
requestAggregatedListPublicDelegatedPrefixesRequest

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

Parameters
NameDescription
requestAggregatedListPublicDelegatedPrefixesRequest

The request to send to the server.

optionsCallOptions

The options for the call.

Returns
TypeDescription
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.

Parameters
NameDescription
requestAggregatedListPublicDelegatedPrefixesRequest

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
AsyncUnaryCallPublicDelegatedPrefixAggregatedList

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

The request to send to the server.

optionsCallOptions

The options for the call.

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

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

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

Deletes the specified PublicDelegatedPrefix in the given region.

Parameters
NameDescription
requestDeletePublicDelegatedPrefixeRequest

The request to send to the server.

optionsCallOptions

The options for the call.

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

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

public virtual PublicDelegatedPrefix Get(GetPublicDelegatedPrefixeRequest request, CallOptions options)

Returns the specified PublicDelegatedPrefix resource in the given region.

Parameters
NameDescription
requestGetPublicDelegatedPrefixeRequest

The request to send to the server.

optionsCallOptions

The options for the call.

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

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

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

Returns the specified PublicDelegatedPrefix resource in the given region.

Parameters
NameDescription
requestGetPublicDelegatedPrefixeRequest

The request to send to the server.

optionsCallOptions

The options for the call.

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

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(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
NameDescription
requestInsertPublicDelegatedPrefixeRequest

The request to send to the server.

optionsCallOptions

The options for the call.

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

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(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
NameDescription
requestInsertPublicDelegatedPrefixeRequest

The request to send to the server.

optionsCallOptions

The options for the call.

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

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

public virtual PublicDelegatedPrefixList List(ListPublicDelegatedPrefixesRequest request, CallOptions options)

Lists the PublicDelegatedPrefixes for a project in the given region.

Parameters
NameDescription
requestListPublicDelegatedPrefixesRequest

The request to send to the server.

optionsCallOptions

The options for the call.

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

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

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

Lists the PublicDelegatedPrefixes for a project in the given region.

Parameters
NameDescription
requestListPublicDelegatedPrefixesRequest

The request to send to the server.

optionsCallOptions

The options for the call.

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

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

Creates a new instance of client from given ClientBaseConfiguration.

Parameter
NameDescription
configurationClientBaseClientBaseConfiguration
Returns
TypeDescription
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
NameDescription
requestPatchPublicDelegatedPrefixeRequest

The request to send to the server.

optionsCallOptions

The options for the call.

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

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(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
NameDescription
requestPatchPublicDelegatedPrefixeRequest

The request to send to the server.

optionsCallOptions

The options for the call.

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

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.