Compute Engine v1 API - Class PublicAdvertisedPrefixesClientImpl (2.12.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
NameDescription
grpcClientPublicAdvertisedPrefixesPublicAdvertisedPrefixesClient

The underlying gRPC client.

settingsPublicAdvertisedPrefixesSettings

The base PublicAdvertisedPrefixesSettings used within this client.

loggerILogger

Optional ILogger to use within this client.

Properties

AnnounceOperationsClient

public override OperationsClient AnnounceOperationsClient { get; }

The long-running operations client for Announce.

Property Value
TypeDescription
OperationsClient
Overrides

DeleteOperationsClient

public override OperationsClient DeleteOperationsClient { get; }

The long-running operations client for Delete.

Property Value
TypeDescription
OperationsClient
Overrides

GrpcClient

public override PublicAdvertisedPrefixes.PublicAdvertisedPrefixesClient GrpcClient { get; }

The underlying gRPC PublicAdvertisedPrefixes client

Property Value
TypeDescription
PublicAdvertisedPrefixesPublicAdvertisedPrefixesClient
Overrides

InsertOperationsClient

public override OperationsClient InsertOperationsClient { get; }

The long-running operations client for Insert.

Property Value
TypeDescription
OperationsClient
Overrides

PatchOperationsClient

public override OperationsClient PatchOperationsClient { get; }

The long-running operations client for Patch.

Property Value
TypeDescription
OperationsClient
Overrides

WithdrawOperationsClient

public override OperationsClient WithdrawOperationsClient { get; }

The long-running operations client for Withdraw.

Property Value
TypeDescription
OperationsClient
Overrides

Methods

Announce(AnnouncePublicAdvertisedPrefixeRequest, CallSettings)

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

Announces the specified PublicAdvertisedPrefix

Parameters
NameDescription
requestAnnouncePublicAdvertisedPrefixeRequest

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

callSettingsCallSettings

If not null, applies overrides to this RPC call.

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

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

callSettingsCallSettings

If not null, applies overrides to this RPC call.

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

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

callSettingsCallSettings

If not null, applies overrides to this RPC call.

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

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

callSettingsCallSettings

If not null, applies overrides to this RPC call.

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

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

callSettingsCallSettings

If not null, applies overrides to this RPC call.

Returns
TypeDescription
PublicAdvertisedPrefix

The RPC response.

Overrides

GetAsync(GetPublicAdvertisedPrefixeRequest, CallSettings)

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

Returns the specified PublicAdvertisedPrefix resource.

Parameters
NameDescription
requestGetPublicAdvertisedPrefixeRequest

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

callSettingsCallSettings

If not null, applies overrides to this RPC call.

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

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

callSettingsCallSettings

If not null, applies overrides to this RPC call.

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

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

callSettingsCallSettings

If not null, applies overrides to this RPC call.

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

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

callSettingsCallSettings

If not null, applies overrides to this RPC call.

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

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

callSettingsCallSettings

If not null, applies overrides to this RPC call.

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

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

callSettingsCallSettings

If not null, applies overrides to this RPC call.

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

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

callSettingsCallSettings

If not null, applies overrides to this RPC call.

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

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

callSettingsCallSettings

If not null, applies overrides to this RPC call.

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

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

callSettingsCallSettings

If not null, applies overrides to this RPC call.

Returns
TypeDescription
TaskOperationOperationOperation

A Task containing the RPC response.

Overrides