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.
Namespace
Google.Cloud.Compute.V1Assembly
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 |
DeleteOperationsClient
public override OperationsClient DeleteOperationsClient { get; }
The long-running operations client for Delete
.
Property Value | |
---|---|
Type | Description |
OperationsClient |
GrpcClient
public override PublicAdvertisedPrefixes.PublicAdvertisedPrefixesClient GrpcClient { get; }
The underlying gRPC PublicAdvertisedPrefixes client
Property Value | |
---|---|
Type | Description |
PublicAdvertisedPrefixesPublicAdvertisedPrefixesClient |
InsertOperationsClient
public override OperationsClient InsertOperationsClient { get; }
The long-running operations client for Insert
.
Property Value | |
---|---|
Type | Description |
OperationsClient |
PatchOperationsClient
public override OperationsClient PatchOperationsClient { get; }
The long-running operations client for Patch
.
Property Value | |
---|---|
Type | Description |
OperationsClient |
WithdrawOperationsClient
public override OperationsClient WithdrawOperationsClient { get; }
The long-running operations client for Withdraw
.
Property Value | |
---|---|
Type | Description |
OperationsClient |
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. |
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. |
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. |
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. |
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. |
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. |
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. |
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. |
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. |
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. |
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. |
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. |
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. |
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. |