Compute Engine v1 API - Class PublicAdvertisedPrefixesClientImpl (2.15.0)

public sealed class PublicAdvertisedPrefixesClientImpl : PublicAdvertisedPrefixesClient

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

PublicAdvertisedPrefixes client wrapper implementation, for convenient use.

Inheritance

object > PublicAdvertisedPrefixesClient > PublicAdvertisedPrefixesClientImpl

Namespace

Google.Cloud.Compute.V1

Assembly

Google.Cloud.Compute.V1.dll

Remarks

The PublicAdvertisedPrefixes API.

Constructors

PublicAdvertisedPrefixesClientImpl(PublicAdvertisedPrefixesClient, PublicAdvertisedPrefixesSettings, ILogger)

public PublicAdvertisedPrefixesClientImpl(PublicAdvertisedPrefixes.PublicAdvertisedPrefixesClient grpcClient, PublicAdvertisedPrefixesSettings settings, ILogger logger)

Constructs a client wrapper for the PublicAdvertisedPrefixes service, with the specified gRPC client and settings.

Parameters
Name Description
grpcClient PublicAdvertisedPrefixesPublicAdvertisedPrefixesClient

The underlying gRPC client.

settings PublicAdvertisedPrefixesSettings

The base PublicAdvertisedPrefixesSettings used within this client.

logger ILogger

Optional ILogger to use within this client.

Properties

AnnounceOperationsClient

public override OperationsClient AnnounceOperationsClient { get; }

The long-running operations client for Announce.

Property Value
Type Description
OperationsClient
Overrides

DeleteOperationsClient

public override OperationsClient DeleteOperationsClient { get; }

The long-running operations client for Delete.

Property Value
Type Description
OperationsClient
Overrides

GrpcClient

public override PublicAdvertisedPrefixes.PublicAdvertisedPrefixesClient GrpcClient { get; }

The underlying gRPC PublicAdvertisedPrefixes client

Property Value
Type Description
PublicAdvertisedPrefixesPublicAdvertisedPrefixesClient
Overrides

InsertOperationsClient

public override OperationsClient InsertOperationsClient { get; }

The long-running operations client for Insert.

Property Value
Type Description
OperationsClient
Overrides

PatchOperationsClient

public override OperationsClient PatchOperationsClient { get; }

The long-running operations client for Patch.

Property Value
Type Description
OperationsClient
Overrides

WithdrawOperationsClient

public override OperationsClient WithdrawOperationsClient { get; }

The long-running operations client for Withdraw.

Property Value
Type Description
OperationsClient
Overrides

Methods

Announce(AnnouncePublicAdvertisedPrefixeRequest, CallSettings)

public override Operation<Operation, Operation> Announce(AnnouncePublicAdvertisedPrefixeRequest request, CallSettings callSettings = null)

Announces the specified PublicAdvertisedPrefix

Parameters
Name Description
request AnnouncePublicAdvertisedPrefixeRequest

The request object containing all of the parameters for the API call.

callSettings CallSettings

If not null, applies overrides to this RPC call.

Returns
Type Description
OperationOperationOperation

The RPC response.

Overrides

AnnounceAsync(AnnouncePublicAdvertisedPrefixeRequest, CallSettings)

public override Task<Operation<Operation, Operation>> AnnounceAsync(AnnouncePublicAdvertisedPrefixeRequest request, CallSettings callSettings = null)

Announces the specified PublicAdvertisedPrefix

Parameters
Name Description
request AnnouncePublicAdvertisedPrefixeRequest

The request object containing all of the parameters for the API call.

callSettings CallSettings

If not null, applies overrides to this RPC call.

Returns
Type Description
TaskOperationOperationOperation

A Task containing the RPC response.

Overrides

Delete(DeletePublicAdvertisedPrefixeRequest, CallSettings)

public override Operation<Operation, Operation> Delete(DeletePublicAdvertisedPrefixeRequest request, CallSettings callSettings = null)

Deletes the specified PublicAdvertisedPrefix

Parameters
Name Description
request DeletePublicAdvertisedPrefixeRequest

The request object containing all of the parameters for the API call.

callSettings CallSettings

If not null, applies overrides to this RPC call.

Returns
Type Description
OperationOperationOperation

The RPC response.

Overrides

DeleteAsync(DeletePublicAdvertisedPrefixeRequest, CallSettings)

public override Task<Operation<Operation, Operation>> DeleteAsync(DeletePublicAdvertisedPrefixeRequest request, CallSettings callSettings = null)

Deletes the specified PublicAdvertisedPrefix

Parameters
Name Description
request DeletePublicAdvertisedPrefixeRequest

The request object containing all of the parameters for the API call.

callSettings CallSettings

If not null, applies overrides to this RPC call.

Returns
Type Description
TaskOperationOperationOperation

A Task containing the RPC response.

Overrides

Get(GetPublicAdvertisedPrefixeRequest, CallSettings)

public override PublicAdvertisedPrefix Get(GetPublicAdvertisedPrefixeRequest request, CallSettings callSettings = null)

Returns the specified PublicAdvertisedPrefix resource.

Parameters
Name Description
request GetPublicAdvertisedPrefixeRequest

The request object containing all of the parameters for the API call.

callSettings CallSettings

If not null, applies overrides to this RPC call.

Returns
Type Description
PublicAdvertisedPrefix

The RPC response.

Overrides

GetAsync(GetPublicAdvertisedPrefixeRequest, CallSettings)

public override Task<PublicAdvertisedPrefix> GetAsync(GetPublicAdvertisedPrefixeRequest request, CallSettings callSettings = null)

Returns the specified PublicAdvertisedPrefix resource.

Parameters
Name Description
request GetPublicAdvertisedPrefixeRequest

The request object containing all of the parameters for the API call.

callSettings CallSettings

If not null, applies overrides to this RPC call.

Returns
Type Description
TaskPublicAdvertisedPrefix

A Task containing the RPC response.

Overrides

Insert(InsertPublicAdvertisedPrefixeRequest, CallSettings)

public override Operation<Operation, Operation> Insert(InsertPublicAdvertisedPrefixeRequest request, CallSettings callSettings = null)

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

Parameters
Name Description
request InsertPublicAdvertisedPrefixeRequest

The request object containing all of the parameters for the API call.

callSettings CallSettings

If not null, applies overrides to this RPC call.

Returns
Type Description
OperationOperationOperation

The RPC response.

Overrides

InsertAsync(InsertPublicAdvertisedPrefixeRequest, CallSettings)

public override Task<Operation<Operation, Operation>> InsertAsync(InsertPublicAdvertisedPrefixeRequest request, CallSettings callSettings = null)

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

Parameters
Name Description
request InsertPublicAdvertisedPrefixeRequest

The request object containing all of the parameters for the API call.

callSettings CallSettings

If not null, applies overrides to this RPC call.

Returns
Type Description
TaskOperationOperationOperation

A Task containing the RPC response.

Overrides

List(ListPublicAdvertisedPrefixesRequest, CallSettings)

public override PagedEnumerable<PublicAdvertisedPrefixList, PublicAdvertisedPrefix> List(ListPublicAdvertisedPrefixesRequest request, CallSettings callSettings = null)

Lists the PublicAdvertisedPrefixes for a project.

Parameters
Name Description
request ListPublicAdvertisedPrefixesRequest

The request object containing all of the parameters for the API call.

callSettings CallSettings

If not null, applies overrides to this RPC call.

Returns
Type Description
PagedEnumerablePublicAdvertisedPrefixListPublicAdvertisedPrefix

A pageable sequence of PublicAdvertisedPrefix resources.

Overrides

ListAsync(ListPublicAdvertisedPrefixesRequest, CallSettings)

public override PagedAsyncEnumerable<PublicAdvertisedPrefixList, PublicAdvertisedPrefix> ListAsync(ListPublicAdvertisedPrefixesRequest request, CallSettings callSettings = null)

Lists the PublicAdvertisedPrefixes for a project.

Parameters
Name Description
request ListPublicAdvertisedPrefixesRequest

The request object containing all of the parameters for the API call.

callSettings CallSettings

If not null, applies overrides to this RPC call.

Returns
Type Description
PagedAsyncEnumerablePublicAdvertisedPrefixListPublicAdvertisedPrefix

A pageable asynchronous sequence of PublicAdvertisedPrefix resources.

Overrides

Patch(PatchPublicAdvertisedPrefixeRequest, CallSettings)

public override Operation<Operation, Operation> Patch(PatchPublicAdvertisedPrefixeRequest request, CallSettings callSettings = null)

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
Name Description
request PatchPublicAdvertisedPrefixeRequest

The request object containing all of the parameters for the API call.

callSettings CallSettings

If not null, applies overrides to this RPC call.

Returns
Type Description
OperationOperationOperation

The RPC response.

Overrides

PatchAsync(PatchPublicAdvertisedPrefixeRequest, CallSettings)

public override Task<Operation<Operation, Operation>> PatchAsync(PatchPublicAdvertisedPrefixeRequest request, CallSettings callSettings = null)

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
Name Description
request PatchPublicAdvertisedPrefixeRequest

The request object containing all of the parameters for the API call.

callSettings CallSettings

If not null, applies overrides to this RPC call.

Returns
Type Description
TaskOperationOperationOperation

A Task containing the RPC response.

Overrides

Withdraw(WithdrawPublicAdvertisedPrefixeRequest, CallSettings)

public override Operation<Operation, Operation> Withdraw(WithdrawPublicAdvertisedPrefixeRequest request, CallSettings callSettings = null)

Withdraws the specified PublicAdvertisedPrefix

Parameters
Name Description
request WithdrawPublicAdvertisedPrefixeRequest

The request object containing all of the parameters for the API call.

callSettings CallSettings

If not null, applies overrides to this RPC call.

Returns
Type Description
OperationOperationOperation

The RPC response.

Overrides

WithdrawAsync(WithdrawPublicAdvertisedPrefixeRequest, CallSettings)

public override Task<Operation<Operation, Operation>> WithdrawAsync(WithdrawPublicAdvertisedPrefixeRequest request, CallSettings callSettings = null)

Withdraws the specified PublicAdvertisedPrefix

Parameters
Name Description
request WithdrawPublicAdvertisedPrefixeRequest

The request object containing all of the parameters for the API call.

callSettings CallSettings

If not null, applies overrides to this RPC call.

Returns
Type Description
TaskOperationOperationOperation

A Task containing the RPC response.

Overrides