Class PublicAdvertisedPrefixes.PublicAdvertisedPrefixesClient (2.1.0)

public class PublicAdvertisedPrefixesClient : ClientBase<PublicAdvertisedPrefixes.PublicAdvertisedPrefixesClient>

Client for PublicAdvertisedPrefixes

Inheritance

Object > ClientBase > ClientBase<PublicAdvertisedPrefixes.PublicAdvertisedPrefixesClient> > PublicAdvertisedPrefixes.PublicAdvertisedPrefixesClient

Namespace

Google.Cloud.Compute.V1

Assembly

Google.Cloud.Compute.V1.dll

Constructors

PublicAdvertisedPrefixesClient()

protected PublicAdvertisedPrefixesClient()

Protected parameterless constructor to allow creation of test doubles.

PublicAdvertisedPrefixesClient(CallInvoker)

public PublicAdvertisedPrefixesClient(CallInvoker callInvoker)

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

Parameter
NameDescription
callInvokerCallInvoker

The callInvoker to use to make remote calls.

PublicAdvertisedPrefixesClient(ChannelBase)

public PublicAdvertisedPrefixesClient(ChannelBase channel)

Creates a new client for PublicAdvertisedPrefixes

Parameter
NameDescription
channelChannelBase

The channel to use to make remote calls.

PublicAdvertisedPrefixesClient(ClientBase.ClientBaseConfiguration)

protected PublicAdvertisedPrefixesClient(ClientBase.ClientBaseConfiguration configuration)

Protected constructor to allow creation of configured clients.

Parameter
NameDescription
configurationClientBase.ClientBaseConfiguration

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

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

Delete(DeletePublicAdvertisedPrefixeRequest, CallOptions)

public virtual Operation Delete(DeletePublicAdvertisedPrefixeRequest request, CallOptions options)

Deletes the specified PublicAdvertisedPrefix

Parameters
NameDescription
requestDeletePublicAdvertisedPrefixeRequest

The request to send to the server.

optionsCallOptions

The options for the call.

Returns
TypeDescription
Operation

The response received from the server.

Delete(DeletePublicAdvertisedPrefixeRequest, Metadata, Nullable<DateTime>, CancellationToken)

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

Deletes the specified PublicAdvertisedPrefix

Parameters
NameDescription
requestDeletePublicAdvertisedPrefixeRequest

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

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

Deletes the specified PublicAdvertisedPrefix

Parameters
NameDescription
requestDeletePublicAdvertisedPrefixeRequest

The request to send to the server.

optionsCallOptions

The options for the call.

Returns
TypeDescription
AsyncUnaryCall<Operation>

The call object.

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

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

Deletes the specified PublicAdvertisedPrefix

Parameters
NameDescription
requestDeletePublicAdvertisedPrefixeRequest

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

public virtual PublicAdvertisedPrefix Get(GetPublicAdvertisedPrefixeRequest request, CallOptions options)

Returns the specified PublicAdvertisedPrefix resource.

Parameters
NameDescription
requestGetPublicAdvertisedPrefixeRequest

The request to send to the server.

optionsCallOptions

The options for the call.

Returns
TypeDescription
PublicAdvertisedPrefix

The response received from the server.

Get(GetPublicAdvertisedPrefixeRequest, Metadata, Nullable<DateTime>, CancellationToken)

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

Returns the specified PublicAdvertisedPrefix resource.

Parameters
NameDescription
requestGetPublicAdvertisedPrefixeRequest

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
PublicAdvertisedPrefix

The response received from the server.

GetAsync(GetPublicAdvertisedPrefixeRequest, CallOptions)

public virtual AsyncUnaryCall<PublicAdvertisedPrefix> GetAsync(GetPublicAdvertisedPrefixeRequest request, CallOptions options)

Returns the specified PublicAdvertisedPrefix resource.

Parameters
NameDescription
requestGetPublicAdvertisedPrefixeRequest

The request to send to the server.

optionsCallOptions

The options for the call.

Returns
TypeDescription
AsyncUnaryCall<PublicAdvertisedPrefix>

The call object.

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

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

Returns the specified PublicAdvertisedPrefix resource.

Parameters
NameDescription
requestGetPublicAdvertisedPrefixeRequest

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

The call object.

Insert(InsertPublicAdvertisedPrefixeRequest, CallOptions)

public virtual Operation Insert(InsertPublicAdvertisedPrefixeRequest request, CallOptions options)

Creates a PublicAdvertisedPrefix in the specified project using the parameters that are included in the request.

Parameters
NameDescription
requestInsertPublicAdvertisedPrefixeRequest

The request to send to the server.

optionsCallOptions

The options for the call.

Returns
TypeDescription
Operation

The response received from the server.

Insert(InsertPublicAdvertisedPrefixeRequest, Metadata, Nullable<DateTime>, CancellationToken)

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

Creates a PublicAdvertisedPrefix in the specified project using the parameters that are included in the request.

Parameters
NameDescription
requestInsertPublicAdvertisedPrefixeRequest

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

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

Creates a PublicAdvertisedPrefix in the specified project using the parameters that are included in the request.

Parameters
NameDescription
requestInsertPublicAdvertisedPrefixeRequest

The request to send to the server.

optionsCallOptions

The options for the call.

Returns
TypeDescription
AsyncUnaryCall<Operation>

The call object.

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

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

Creates a PublicAdvertisedPrefix in the specified project using the parameters that are included in the request.

Parameters
NameDescription
requestInsertPublicAdvertisedPrefixeRequest

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

public virtual PublicAdvertisedPrefixList List(ListPublicAdvertisedPrefixesRequest request, CallOptions options)

Lists the PublicAdvertisedPrefixes for a project.

Parameters
NameDescription
requestListPublicAdvertisedPrefixesRequest

The request to send to the server.

optionsCallOptions

The options for the call.

Returns
TypeDescription
PublicAdvertisedPrefixList

The response received from the server.

List(ListPublicAdvertisedPrefixesRequest, Metadata, Nullable<DateTime>, CancellationToken)

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

Lists the PublicAdvertisedPrefixes for a project.

Parameters
NameDescription
requestListPublicAdvertisedPrefixesRequest

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
PublicAdvertisedPrefixList

The response received from the server.

ListAsync(ListPublicAdvertisedPrefixesRequest, CallOptions)

public virtual AsyncUnaryCall<PublicAdvertisedPrefixList> ListAsync(ListPublicAdvertisedPrefixesRequest request, CallOptions options)

Lists the PublicAdvertisedPrefixes for a project.

Parameters
NameDescription
requestListPublicAdvertisedPrefixesRequest

The request to send to the server.

optionsCallOptions

The options for the call.

Returns
TypeDescription
AsyncUnaryCall<PublicAdvertisedPrefixList>

The call object.

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

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

Lists the PublicAdvertisedPrefixes for a project.

Parameters
NameDescription
requestListPublicAdvertisedPrefixesRequest

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

The call object.

NewInstance(ClientBase.ClientBaseConfiguration)

protected override PublicAdvertisedPrefixes.PublicAdvertisedPrefixesClient NewInstance(ClientBase.ClientBaseConfiguration configuration)

Creates a new instance of client from given ClientBaseConfiguration.

Parameter
NameDescription
configurationClientBase.ClientBaseConfiguration
Returns
TypeDescription
PublicAdvertisedPrefixes.PublicAdvertisedPrefixesClient
Overrides
Grpc.Core.ClientBase<Google.Cloud.Compute.V1.PublicAdvertisedPrefixes.PublicAdvertisedPrefixesClient>.NewInstance(Grpc.Core.ClientBase.ClientBaseConfiguration)

Patch(PatchPublicAdvertisedPrefixeRequest, CallOptions)

public virtual Operation Patch(PatchPublicAdvertisedPrefixeRequest request, CallOptions options)

Patches the specified Router resource with the data included in the request. This method supports PATCH semantics and uses JSON merge patch format and processing rules.

Parameters
NameDescription
requestPatchPublicAdvertisedPrefixeRequest

The request to send to the server.

optionsCallOptions

The options for the call.

Returns
TypeDescription
Operation

The response received from the server.

Patch(PatchPublicAdvertisedPrefixeRequest, Metadata, Nullable<DateTime>, CancellationToken)

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

Patches the specified Router resource with the data included in the request. This method supports PATCH semantics and uses JSON merge patch format and processing rules.

Parameters
NameDescription
requestPatchPublicAdvertisedPrefixeRequest

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

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

Patches the specified Router resource with the data included in the request. This method supports PATCH semantics and uses JSON merge patch format and processing rules.

Parameters
NameDescription
requestPatchPublicAdvertisedPrefixeRequest

The request to send to the server.

optionsCallOptions

The options for the call.

Returns
TypeDescription
AsyncUnaryCall<Operation>

The call object.

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

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

Patches the specified Router resource with the data included in the request. This method supports PATCH semantics and uses JSON merge patch format and processing rules.

Parameters
NameDescription
requestPatchPublicAdvertisedPrefixeRequest

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.