public class PublicAdvertisedPrefixesClient : ClientBase<PublicAdvertisedPrefixes.PublicAdvertisedPrefixesClient>
Client for PublicAdvertisedPrefixes
Inheritance
Object > ClientBase > ClientBase<PublicAdvertisedPrefixes.PublicAdvertisedPrefixesClient> > 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(ClientBase.ClientBaseConfiguration)
protected PublicAdvertisedPrefixesClient(ClientBase.ClientBaseConfiguration configuration)
Protected constructor to allow creation of configured clients.
Parameter | |
---|---|
Name | Description |
configuration | ClientBase.ClientBaseConfiguration 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 |
Operations.OperationsClient | 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, Nullable<DateTime>, CancellationToken)
public virtual Operation Delete(DeletePublicAdvertisedPrefixeRequest request, Metadata headers = null, DateTime? deadline = default(DateTime? ), CancellationToken cancellationToken = default(CancellationToken))
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 | Nullable<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 |
AsyncUnaryCall<Operation> | The call object. |
DeleteAsync(DeletePublicAdvertisedPrefixeRequest, Metadata, Nullable<DateTime>, CancellationToken)
public virtual AsyncUnaryCall<Operation> DeleteAsync(DeletePublicAdvertisedPrefixeRequest request, Metadata headers = null, DateTime? deadline = default(DateTime? ), CancellationToken cancellationToken = default(CancellationToken))
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 | Nullable<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 |
AsyncUnaryCall<Operation> | 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, Nullable<DateTime>, CancellationToken)
public virtual PublicAdvertisedPrefix Get(GetPublicAdvertisedPrefixeRequest request, Metadata headers = null, DateTime? deadline = default(DateTime? ), CancellationToken cancellationToken = default(CancellationToken))
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 | Nullable<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 |
AsyncUnaryCall<PublicAdvertisedPrefix> | The call object. |
GetAsync(GetPublicAdvertisedPrefixeRequest, Metadata, Nullable<DateTime>, CancellationToken)
public virtual AsyncUnaryCall<PublicAdvertisedPrefix> GetAsync(GetPublicAdvertisedPrefixeRequest request, Metadata headers = null, DateTime? deadline = default(DateTime? ), CancellationToken cancellationToken = default(CancellationToken))
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 | Nullable<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 |
AsyncUnaryCall<PublicAdvertisedPrefix> | 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, Nullable<DateTime>, CancellationToken)
public virtual Operation Insert(InsertPublicAdvertisedPrefixeRequest request, Metadata headers = null, DateTime? deadline = default(DateTime? ), CancellationToken cancellationToken = default(CancellationToken))
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 | Nullable<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 |
AsyncUnaryCall<Operation> | The call object. |
InsertAsync(InsertPublicAdvertisedPrefixeRequest, Metadata, Nullable<DateTime>, CancellationToken)
public virtual AsyncUnaryCall<Operation> InsertAsync(InsertPublicAdvertisedPrefixeRequest request, Metadata headers = null, DateTime? deadline = default(DateTime? ), CancellationToken cancellationToken = default(CancellationToken))
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 | Nullable<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 |
AsyncUnaryCall<Operation> | 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, Nullable<DateTime>, CancellationToken)
public virtual PublicAdvertisedPrefixList List(ListPublicAdvertisedPrefixesRequest request, Metadata headers = null, DateTime? deadline = default(DateTime? ), CancellationToken cancellationToken = default(CancellationToken))
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 | Nullable<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 |
AsyncUnaryCall<PublicAdvertisedPrefixList> | The call object. |
ListAsync(ListPublicAdvertisedPrefixesRequest, Metadata, Nullable<DateTime>, CancellationToken)
public virtual AsyncUnaryCall<PublicAdvertisedPrefixList> ListAsync(ListPublicAdvertisedPrefixesRequest request, Metadata headers = null, DateTime? deadline = default(DateTime? ), CancellationToken cancellationToken = default(CancellationToken))
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 | Nullable<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 |
AsyncUnaryCall<PublicAdvertisedPrefixList> | The call object. |
NewInstance(ClientBase.ClientBaseConfiguration)
protected override PublicAdvertisedPrefixes.PublicAdvertisedPrefixesClient NewInstance(ClientBase.ClientBaseConfiguration configuration)
Creates a new instance of client from given ClientBaseConfiguration
.
Parameter | |
---|---|
Name | Description |
configuration | ClientBase.ClientBaseConfiguration |
Returns | |
---|---|
Type | Description |
PublicAdvertisedPrefixes.PublicAdvertisedPrefixesClient |
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, Nullable<DateTime>, CancellationToken)
public virtual Operation Patch(PatchPublicAdvertisedPrefixeRequest request, Metadata headers = null, DateTime? deadline = default(DateTime? ), CancellationToken cancellationToken = default(CancellationToken))
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 | Nullable<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 |
AsyncUnaryCall<Operation> | The call object. |
PatchAsync(PatchPublicAdvertisedPrefixeRequest, Metadata, Nullable<DateTime>, CancellationToken)
public virtual AsyncUnaryCall<Operation> PatchAsync(PatchPublicAdvertisedPrefixeRequest request, Metadata headers = null, DateTime? deadline = default(DateTime? ), CancellationToken cancellationToken = default(CancellationToken))
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 | Nullable<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 |
AsyncUnaryCall<Operation> | The call object. |