Class PublicDelegatedPrefixes.PublicDelegatedPrefixesClient (2.1.0)

public class PublicDelegatedPrefixesClient : ClientBase<PublicDelegatedPrefixes.PublicDelegatedPrefixesClient>

Client for PublicDelegatedPrefixes

Inheritance

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

protected PublicDelegatedPrefixesClient(ClientBase.ClientBaseConfiguration configuration)

Protected constructor to allow creation of configured clients.

Parameter
NameDescription
configurationClientBase.ClientBaseConfiguration

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

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

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.

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
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
AsyncUnaryCall<PublicDelegatedPrefixAggregatedList>

The call object.

AggregatedListAsync(AggregatedListPublicDelegatedPrefixesRequest, Metadata, Nullable<DateTime>, CancellationToken)

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

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.

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

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

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

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

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.

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(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
AsyncUnaryCall<Operation>

The call object.

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

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

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.

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

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

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.

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

The call object.

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

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

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.

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

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

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.

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(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
AsyncUnaryCall<Operation>

The call object.

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

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

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.

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

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

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.

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

The call object.

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

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

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.

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

Creates a new instance of client from given ClientBaseConfiguration.

Parameter
NameDescription
configurationClientBase.ClientBaseConfiguration
Returns
TypeDescription
PublicDelegatedPrefixes.PublicDelegatedPrefixesClient
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, Nullable<DateTime>, CancellationToken)

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

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.

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(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
AsyncUnaryCall<Operation>

The call object.

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

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

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.

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.