public sealed class PublicAdvertisedPrefixesClientImpl : PublicAdvertisedPrefixesClient
PublicAdvertisedPrefixes client wrapper implementation, for convenient use.
Namespace
Google.Cloud.Compute.V1Assembly
Google.Cloud.Compute.V1.dll
Remarks
The PublicAdvertisedPrefixes API.
Constructors
PublicAdvertisedPrefixesClientImpl(PublicAdvertisedPrefixes.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 | PublicAdvertisedPrefixes.PublicAdvertisedPrefixesClient The underlying gRPC client. |
settings | PublicAdvertisedPrefixesSettings The base PublicAdvertisedPrefixesSettings used within this client. |
logger | ILogger Optional ILogger to use within this client. |
Properties
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 |
PublicAdvertisedPrefixes.PublicAdvertisedPrefixesClient |
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 |
Methods
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 |
Operation<Operation, Operation> | The RPC response. |
DeleteAsync(DeletePublicAdvertisedPrefixeRequest, CallSettings)
public override async 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 |
Task<Operation<Operation, Operation>> | 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 |
Task<PublicAdvertisedPrefix> | 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 |
Operation<Operation, Operation> | The RPC response. |
InsertAsync(InsertPublicAdvertisedPrefixeRequest, CallSettings)
public override async 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 |
Task<Operation<Operation, Operation>> | 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 |
PagedEnumerable<PublicAdvertisedPrefixList, PublicAdvertisedPrefix> | 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 |
PagedAsyncEnumerable<PublicAdvertisedPrefixList, PublicAdvertisedPrefix> | 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 |
Operation<Operation, Operation> | The RPC response. |
PatchAsync(PatchPublicAdvertisedPrefixeRequest, CallSettings)
public override async 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 |
Task<Operation<Operation, Operation>> | A Task containing the RPC response. |