Class PublicAdvertisedPrefixesClientImpl (1.3.0)

public sealed class PublicAdvertisedPrefixesClientImpl : PublicAdvertisedPrefixesClient

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(PublicAdvertisedPrefixes.PublicAdvertisedPrefixesClient, PublicAdvertisedPrefixesSettings)

public PublicAdvertisedPrefixesClientImpl(PublicAdvertisedPrefixes.PublicAdvertisedPrefixesClient grpcClient, PublicAdvertisedPrefixesSettings settings)

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

Parameters
NameDescription
grpcClientPublicAdvertisedPrefixes.PublicAdvertisedPrefixesClient

The underlying gRPC client.

settingsPublicAdvertisedPrefixesSettings

The base PublicAdvertisedPrefixesSettings used within this client.

Properties

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

Methods

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
Operation<Operation, Operation>

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
Task<Operation<Operation, Operation>>

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

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
Operation<Operation, Operation>

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
Task<Operation<Operation, Operation>>

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
PagedEnumerable<PublicAdvertisedPrefixList, PublicAdvertisedPrefix>

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
PagedAsyncEnumerable<PublicAdvertisedPrefixList, PublicAdvertisedPrefix>

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
Operation<Operation, Operation>

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
Task<Operation<Operation, Operation>>

A Task containing the RPC response.

Overrides