public class PublicAdvertisedPrefixes.PublicAdvertisedPrefixesClient : ClientBase<PublicAdvertisedPrefixes.PublicAdvertisedPrefixesClient>
Reference documentation and code samples for the Compute Engine v1 API class PublicAdvertisedPrefixes.PublicAdvertisedPrefixesClient.
Client for PublicAdvertisedPrefixes
Inheritance
object > ClientBase > ClientBasePublicAdvertisedPrefixesPublicAdvertisedPrefixesClient > PublicAdvertisedPrefixes.PublicAdvertisedPrefixesClientNamespace
Google.Cloud.Compute.V1Assembly
Google.Cloud.Compute.V1.dll
Constructors
PublicAdvertisedPrefixesClient()
protected PublicAdvertisedPrefixesClient()
Protected parameterless constructor to allow creation of test doubles.
PublicAdvertisedPrefixesClient(CallInvoker)
public PublicAdvertisedPrefixesClient(CallInvoker callInvoker)
Creates a new client for PublicAdvertisedPrefixes that uses a custom CallInvoker
.
Parameter | |
---|---|
Name | Description |
callInvoker | CallInvoker The callInvoker to use to make remote calls. |
PublicAdvertisedPrefixesClient(ChannelBase)
public PublicAdvertisedPrefixesClient(ChannelBase channel)
Creates a new client for PublicAdvertisedPrefixes
Parameter | |
---|---|
Name | Description |
channel | ChannelBase The channel to use to make remote calls. |
PublicAdvertisedPrefixesClient(ClientBaseConfiguration)
protected PublicAdvertisedPrefixesClient(ClientBase.ClientBaseConfiguration configuration)
Protected constructor to allow creation of configured clients.
Parameter | |
---|---|
Name | Description |
configuration | ClientBaseClientBaseConfiguration The client configuration. |
Methods
CreateOperationsClientForGlobalOperations()
public virtual Operations.OperationsClient CreateOperationsClientForGlobalOperations()
Creates a new instance of Operations.OperationsClient using the same call invoker as this client, delegating to GlobalOperations.
Returns | |
---|---|
Type | Description |
OperationsOperationsClient | A new Operations client for the same target as this client. |
Delete(DeletePublicAdvertisedPrefixeRequest, CallOptions)
public virtual Operation Delete(DeletePublicAdvertisedPrefixeRequest request, CallOptions options)
Deletes the specified PublicAdvertisedPrefix
Parameters | |
---|---|
Name | Description |
request | DeletePublicAdvertisedPrefixeRequest The request to send to the server. |
options | CallOptions The options for the call. |
Returns | |
---|---|
Type | Description |
Operation | The response received from the server. |
Delete(DeletePublicAdvertisedPrefixeRequest, Metadata, DateTime?, CancellationToken)
public virtual Operation Delete(DeletePublicAdvertisedPrefixeRequest request, Metadata headers = null, DateTime? deadline = null, CancellationToken cancellationToken = default)
Deletes the specified PublicAdvertisedPrefix
Parameters | |
---|---|
Name | Description |
request | DeletePublicAdvertisedPrefixeRequest The request to send to the server. |
headers | Metadata The initial metadata to send with the call. This parameter is optional. |
deadline | DateTime An optional deadline for the call. The call will be cancelled if deadline is hit. |
cancellationToken | CancellationToken An optional token for canceling the call. |
Returns | |
---|---|
Type | Description |
Operation | The response received from the server. |
DeleteAsync(DeletePublicAdvertisedPrefixeRequest, CallOptions)
public virtual AsyncUnaryCall<Operation> DeleteAsync(DeletePublicAdvertisedPrefixeRequest request, CallOptions options)
Deletes the specified PublicAdvertisedPrefix
Parameters | |
---|---|
Name | Description |
request | DeletePublicAdvertisedPrefixeRequest The request to send to the server. |
options | CallOptions The options for the call. |
Returns | |
---|---|
Type | Description |
AsyncUnaryCallOperation | The call object. |
DeleteAsync(DeletePublicAdvertisedPrefixeRequest, Metadata, DateTime?, CancellationToken)
public virtual AsyncUnaryCall<Operation> DeleteAsync(DeletePublicAdvertisedPrefixeRequest request, Metadata headers = null, DateTime? deadline = null, CancellationToken cancellationToken = default)
Deletes the specified PublicAdvertisedPrefix
Parameters | |
---|---|
Name | Description |
request | DeletePublicAdvertisedPrefixeRequest The request to send to the server. |
headers | Metadata The initial metadata to send with the call. This parameter is optional. |
deadline | DateTime An optional deadline for the call. The call will be cancelled if deadline is hit. |
cancellationToken | CancellationToken An optional token for canceling the call. |
Returns | |
---|---|
Type | Description |
AsyncUnaryCallOperation | The call object. |
Get(GetPublicAdvertisedPrefixeRequest, CallOptions)
public virtual PublicAdvertisedPrefix Get(GetPublicAdvertisedPrefixeRequest request, CallOptions options)
Returns the specified PublicAdvertisedPrefix resource.
Parameters | |
---|---|
Name | Description |
request | GetPublicAdvertisedPrefixeRequest The request to send to the server. |
options | CallOptions The options for the call. |
Returns | |
---|---|
Type | Description |
PublicAdvertisedPrefix | The response received from the server. |
Get(GetPublicAdvertisedPrefixeRequest, Metadata, DateTime?, CancellationToken)
public virtual PublicAdvertisedPrefix Get(GetPublicAdvertisedPrefixeRequest request, Metadata headers = null, DateTime? deadline = null, CancellationToken cancellationToken = default)
Returns the specified PublicAdvertisedPrefix resource.
Parameters | |
---|---|
Name | Description |
request | GetPublicAdvertisedPrefixeRequest The request to send to the server. |
headers | Metadata The initial metadata to send with the call. This parameter is optional. |
deadline | DateTime An optional deadline for the call. The call will be cancelled if deadline is hit. |
cancellationToken | CancellationToken An optional token for canceling the call. |
Returns | |
---|---|
Type | Description |
PublicAdvertisedPrefix | The response received from the server. |
GetAsync(GetPublicAdvertisedPrefixeRequest, CallOptions)
public virtual AsyncUnaryCall<PublicAdvertisedPrefix> GetAsync(GetPublicAdvertisedPrefixeRequest request, CallOptions options)
Returns the specified PublicAdvertisedPrefix resource.
Parameters | |
---|---|
Name | Description |
request | GetPublicAdvertisedPrefixeRequest The request to send to the server. |
options | CallOptions The options for the call. |
Returns | |
---|---|
Type | Description |
AsyncUnaryCallPublicAdvertisedPrefix | The call object. |
GetAsync(GetPublicAdvertisedPrefixeRequest, Metadata, DateTime?, CancellationToken)
public virtual AsyncUnaryCall<PublicAdvertisedPrefix> GetAsync(GetPublicAdvertisedPrefixeRequest request, Metadata headers = null, DateTime? deadline = null, CancellationToken cancellationToken = default)
Returns the specified PublicAdvertisedPrefix resource.
Parameters | |
---|---|
Name | Description |
request | GetPublicAdvertisedPrefixeRequest The request to send to the server. |
headers | Metadata The initial metadata to send with the call. This parameter is optional. |
deadline | DateTime An optional deadline for the call. The call will be cancelled if deadline is hit. |
cancellationToken | CancellationToken An optional token for canceling the call. |
Returns | |
---|---|
Type | Description |
AsyncUnaryCallPublicAdvertisedPrefix | The call object. |
Insert(InsertPublicAdvertisedPrefixeRequest, CallOptions)
public virtual Operation Insert(InsertPublicAdvertisedPrefixeRequest request, CallOptions options)
Creates a PublicAdvertisedPrefix in the specified project using the parameters that are included in the request.
Parameters | |
---|---|
Name | Description |
request | InsertPublicAdvertisedPrefixeRequest The request to send to the server. |
options | CallOptions The options for the call. |
Returns | |
---|---|
Type | Description |
Operation | The response received from the server. |
Insert(InsertPublicAdvertisedPrefixeRequest, Metadata, DateTime?, CancellationToken)
public virtual Operation Insert(InsertPublicAdvertisedPrefixeRequest request, Metadata headers = null, DateTime? deadline = null, CancellationToken cancellationToken = default)
Creates a PublicAdvertisedPrefix in the specified project using the parameters that are included in the request.
Parameters | |
---|---|
Name | Description |
request | InsertPublicAdvertisedPrefixeRequest The request to send to the server. |
headers | Metadata The initial metadata to send with the call. This parameter is optional. |
deadline | DateTime An optional deadline for the call. The call will be cancelled if deadline is hit. |
cancellationToken | CancellationToken An optional token for canceling the call. |
Returns | |
---|---|
Type | Description |
Operation | The response received from the server. |
InsertAsync(InsertPublicAdvertisedPrefixeRequest, CallOptions)
public virtual AsyncUnaryCall<Operation> InsertAsync(InsertPublicAdvertisedPrefixeRequest request, CallOptions options)
Creates a PublicAdvertisedPrefix in the specified project using the parameters that are included in the request.
Parameters | |
---|---|
Name | Description |
request | InsertPublicAdvertisedPrefixeRequest The request to send to the server. |
options | CallOptions The options for the call. |
Returns | |
---|---|
Type | Description |
AsyncUnaryCallOperation | The call object. |
InsertAsync(InsertPublicAdvertisedPrefixeRequest, Metadata, DateTime?, CancellationToken)
public virtual AsyncUnaryCall<Operation> InsertAsync(InsertPublicAdvertisedPrefixeRequest request, Metadata headers = null, DateTime? deadline = null, CancellationToken cancellationToken = default)
Creates a PublicAdvertisedPrefix in the specified project using the parameters that are included in the request.
Parameters | |
---|---|
Name | Description |
request | InsertPublicAdvertisedPrefixeRequest The request to send to the server. |
headers | Metadata The initial metadata to send with the call. This parameter is optional. |
deadline | DateTime An optional deadline for the call. The call will be cancelled if deadline is hit. |
cancellationToken | CancellationToken An optional token for canceling the call. |
Returns | |
---|---|
Type | Description |
AsyncUnaryCallOperation | The call object. |
List(ListPublicAdvertisedPrefixesRequest, CallOptions)
public virtual PublicAdvertisedPrefixList List(ListPublicAdvertisedPrefixesRequest request, CallOptions options)
Lists the PublicAdvertisedPrefixes for a project.
Parameters | |
---|---|
Name | Description |
request | ListPublicAdvertisedPrefixesRequest The request to send to the server. |
options | CallOptions The options for the call. |
Returns | |
---|---|
Type | Description |
PublicAdvertisedPrefixList | The response received from the server. |
List(ListPublicAdvertisedPrefixesRequest, Metadata, DateTime?, CancellationToken)
public virtual PublicAdvertisedPrefixList List(ListPublicAdvertisedPrefixesRequest request, Metadata headers = null, DateTime? deadline = null, CancellationToken cancellationToken = default)
Lists the PublicAdvertisedPrefixes for a project.
Parameters | |
---|---|
Name | Description |
request | ListPublicAdvertisedPrefixesRequest The request to send to the server. |
headers | Metadata The initial metadata to send with the call. This parameter is optional. |
deadline | DateTime An optional deadline for the call. The call will be cancelled if deadline is hit. |
cancellationToken | CancellationToken An optional token for canceling the call. |
Returns | |
---|---|
Type | Description |
PublicAdvertisedPrefixList | The response received from the server. |
ListAsync(ListPublicAdvertisedPrefixesRequest, CallOptions)
public virtual AsyncUnaryCall<PublicAdvertisedPrefixList> ListAsync(ListPublicAdvertisedPrefixesRequest request, CallOptions options)
Lists the PublicAdvertisedPrefixes for a project.
Parameters | |
---|---|
Name | Description |
request | ListPublicAdvertisedPrefixesRequest The request to send to the server. |
options | CallOptions The options for the call. |
Returns | |
---|---|
Type | Description |
AsyncUnaryCallPublicAdvertisedPrefixList | The call object. |
ListAsync(ListPublicAdvertisedPrefixesRequest, Metadata, DateTime?, CancellationToken)
public virtual AsyncUnaryCall<PublicAdvertisedPrefixList> ListAsync(ListPublicAdvertisedPrefixesRequest request, Metadata headers = null, DateTime? deadline = null, CancellationToken cancellationToken = default)
Lists the PublicAdvertisedPrefixes for a project.
Parameters | |
---|---|
Name | Description |
request | ListPublicAdvertisedPrefixesRequest The request to send to the server. |
headers | Metadata The initial metadata to send with the call. This parameter is optional. |
deadline | DateTime An optional deadline for the call. The call will be cancelled if deadline is hit. |
cancellationToken | CancellationToken An optional token for canceling the call. |
Returns | |
---|---|
Type | Description |
AsyncUnaryCallPublicAdvertisedPrefixList | The call object. |
NewInstance(ClientBaseConfiguration)
protected override PublicAdvertisedPrefixes.PublicAdvertisedPrefixesClient NewInstance(ClientBase.ClientBaseConfiguration configuration)
Creates a new instance of client from given ClientBaseConfiguration
.
Parameter | |
---|---|
Name | Description |
configuration | ClientBaseClientBaseConfiguration |
Returns | |
---|---|
Type | Description |
PublicAdvertisedPrefixesPublicAdvertisedPrefixesClient |
Patch(PatchPublicAdvertisedPrefixeRequest, CallOptions)
public virtual Operation Patch(PatchPublicAdvertisedPrefixeRequest request, CallOptions options)
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 to send to the server. |
options | CallOptions The options for the call. |
Returns | |
---|---|
Type | Description |
Operation | The response received from the server. |
Patch(PatchPublicAdvertisedPrefixeRequest, Metadata, DateTime?, CancellationToken)
public virtual Operation Patch(PatchPublicAdvertisedPrefixeRequest request, Metadata headers = null, DateTime? deadline = null, CancellationToken cancellationToken = default)
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 to send to the server. |
headers | Metadata The initial metadata to send with the call. This parameter is optional. |
deadline | DateTime An optional deadline for the call. The call will be cancelled if deadline is hit. |
cancellationToken | CancellationToken An optional token for canceling the call. |
Returns | |
---|---|
Type | Description |
Operation | The response received from the server. |
PatchAsync(PatchPublicAdvertisedPrefixeRequest, CallOptions)
public virtual AsyncUnaryCall<Operation> PatchAsync(PatchPublicAdvertisedPrefixeRequest request, CallOptions options)
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 to send to the server. |
options | CallOptions The options for the call. |
Returns | |
---|---|
Type | Description |
AsyncUnaryCallOperation | The call object. |
PatchAsync(PatchPublicAdvertisedPrefixeRequest, Metadata, DateTime?, CancellationToken)
public virtual AsyncUnaryCall<Operation> PatchAsync(PatchPublicAdvertisedPrefixeRequest request, Metadata headers = null, DateTime? deadline = null, CancellationToken cancellationToken = default)
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 to send to the server. |
headers | Metadata The initial metadata to send with the call. This parameter is optional. |
deadline | DateTime An optional deadline for the call. The call will be cancelled if deadline is hit. |
cancellationToken | CancellationToken An optional token for canceling the call. |
Returns | |
---|---|
Type | Description |
AsyncUnaryCallOperation | The call object. |