public class GlobalPublicDelegatedPrefixesClient : ClientBase<GlobalPublicDelegatedPrefixes.GlobalPublicDelegatedPrefixesClient>
Reference documentation and code samples for the Compute Engine v1 API class GlobalPublicDelegatedPrefixes.GlobalPublicDelegatedPrefixesClient.
Client for GlobalPublicDelegatedPrefixes
Inheritance
Object > ClientBase > ClientBase<GlobalPublicDelegatedPrefixes.GlobalPublicDelegatedPrefixesClient> > GlobalPublicDelegatedPrefixes.GlobalPublicDelegatedPrefixesClientNamespace
Google.Cloud.Compute.V1Assembly
Google.Cloud.Compute.V1.dll
Constructors
GlobalPublicDelegatedPrefixesClient()
protected GlobalPublicDelegatedPrefixesClient()
Protected parameterless constructor to allow creation of test doubles.
GlobalPublicDelegatedPrefixesClient(CallInvoker)
public GlobalPublicDelegatedPrefixesClient(CallInvoker callInvoker)
Creates a new client for GlobalPublicDelegatedPrefixes that uses a custom CallInvoker
.
Parameter | |
---|---|
Name | Description |
callInvoker | CallInvoker The callInvoker to use to make remote calls. |
GlobalPublicDelegatedPrefixesClient(ChannelBase)
public GlobalPublicDelegatedPrefixesClient(ChannelBase channel)
Creates a new client for GlobalPublicDelegatedPrefixes
Parameter | |
---|---|
Name | Description |
channel | ChannelBase The channel to use to make remote calls. |
GlobalPublicDelegatedPrefixesClient(ClientBase.ClientBaseConfiguration)
protected GlobalPublicDelegatedPrefixesClient(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(DeleteGlobalPublicDelegatedPrefixeRequest, CallOptions)
public virtual Operation Delete(DeleteGlobalPublicDelegatedPrefixeRequest request, CallOptions options)
Deletes the specified global PublicDelegatedPrefix.
Parameters | |
---|---|
Name | Description |
request | DeleteGlobalPublicDelegatedPrefixeRequest 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(DeleteGlobalPublicDelegatedPrefixeRequest, Metadata, Nullable<DateTime>, CancellationToken)
public virtual Operation Delete(DeleteGlobalPublicDelegatedPrefixeRequest request, Metadata headers = null, DateTime? deadline = null, CancellationToken cancellationToken = default(CancellationToken))
Deletes the specified global PublicDelegatedPrefix.
Parameters | |
---|---|
Name | Description |
request | DeleteGlobalPublicDelegatedPrefixeRequest 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(DeleteGlobalPublicDelegatedPrefixeRequest, CallOptions)
public virtual AsyncUnaryCall<Operation> DeleteAsync(DeleteGlobalPublicDelegatedPrefixeRequest request, CallOptions options)
Deletes the specified global PublicDelegatedPrefix.
Parameters | |
---|---|
Name | Description |
request | DeleteGlobalPublicDelegatedPrefixeRequest The request to send to the server. |
options | CallOptions The options for the call. |
Returns | |
---|---|
Type | Description |
AsyncUnaryCall<Operation> | The call object. |
DeleteAsync(DeleteGlobalPublicDelegatedPrefixeRequest, Metadata, Nullable<DateTime>, CancellationToken)
public virtual AsyncUnaryCall<Operation> DeleteAsync(DeleteGlobalPublicDelegatedPrefixeRequest request, Metadata headers = null, DateTime? deadline = null, CancellationToken cancellationToken = default(CancellationToken))
Deletes the specified global PublicDelegatedPrefix.
Parameters | |
---|---|
Name | Description |
request | DeleteGlobalPublicDelegatedPrefixeRequest 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(GetGlobalPublicDelegatedPrefixeRequest, CallOptions)
public virtual PublicDelegatedPrefix Get(GetGlobalPublicDelegatedPrefixeRequest request, CallOptions options)
Returns the specified global PublicDelegatedPrefix resource.
Parameters | |
---|---|
Name | Description |
request | GetGlobalPublicDelegatedPrefixeRequest The request to send to the server. |
options | CallOptions The options for the call. |
Returns | |
---|---|
Type | Description |
PublicDelegatedPrefix | The response received from the server. |
Get(GetGlobalPublicDelegatedPrefixeRequest, Metadata, Nullable<DateTime>, CancellationToken)
public virtual PublicDelegatedPrefix Get(GetGlobalPublicDelegatedPrefixeRequest request, Metadata headers = null, DateTime? deadline = null, CancellationToken cancellationToken = default(CancellationToken))
Returns the specified global PublicDelegatedPrefix resource.
Parameters | |
---|---|
Name | Description |
request | GetGlobalPublicDelegatedPrefixeRequest 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 |
PublicDelegatedPrefix | The response received from the server. |
GetAsync(GetGlobalPublicDelegatedPrefixeRequest, CallOptions)
public virtual AsyncUnaryCall<PublicDelegatedPrefix> GetAsync(GetGlobalPublicDelegatedPrefixeRequest request, CallOptions options)
Returns the specified global PublicDelegatedPrefix resource.
Parameters | |
---|---|
Name | Description |
request | GetGlobalPublicDelegatedPrefixeRequest The request to send to the server. |
options | CallOptions The options for the call. |
Returns | |
---|---|
Type | Description |
AsyncUnaryCall<PublicDelegatedPrefix> | The call object. |
GetAsync(GetGlobalPublicDelegatedPrefixeRequest, Metadata, Nullable<DateTime>, CancellationToken)
public virtual AsyncUnaryCall<PublicDelegatedPrefix> GetAsync(GetGlobalPublicDelegatedPrefixeRequest request, Metadata headers = null, DateTime? deadline = null, CancellationToken cancellationToken = default(CancellationToken))
Returns the specified global PublicDelegatedPrefix resource.
Parameters | |
---|---|
Name | Description |
request | GetGlobalPublicDelegatedPrefixeRequest 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<PublicDelegatedPrefix> | The call object. |
Insert(InsertGlobalPublicDelegatedPrefixeRequest, CallOptions)
public virtual Operation Insert(InsertGlobalPublicDelegatedPrefixeRequest request, CallOptions options)
Creates a global PublicDelegatedPrefix in the specified project using the parameters that are included in the request.
Parameters | |
---|---|
Name | Description |
request | InsertGlobalPublicDelegatedPrefixeRequest 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(InsertGlobalPublicDelegatedPrefixeRequest, Metadata, Nullable<DateTime>, CancellationToken)
public virtual Operation Insert(InsertGlobalPublicDelegatedPrefixeRequest request, Metadata headers = null, DateTime? deadline = null, CancellationToken cancellationToken = default(CancellationToken))
Creates a global PublicDelegatedPrefix in the specified project using the parameters that are included in the request.
Parameters | |
---|---|
Name | Description |
request | InsertGlobalPublicDelegatedPrefixeRequest 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(InsertGlobalPublicDelegatedPrefixeRequest, CallOptions)
public virtual AsyncUnaryCall<Operation> InsertAsync(InsertGlobalPublicDelegatedPrefixeRequest request, CallOptions options)
Creates a global PublicDelegatedPrefix in the specified project using the parameters that are included in the request.
Parameters | |
---|---|
Name | Description |
request | InsertGlobalPublicDelegatedPrefixeRequest The request to send to the server. |
options | CallOptions The options for the call. |
Returns | |
---|---|
Type | Description |
AsyncUnaryCall<Operation> | The call object. |
InsertAsync(InsertGlobalPublicDelegatedPrefixeRequest, Metadata, Nullable<DateTime>, CancellationToken)
public virtual AsyncUnaryCall<Operation> InsertAsync(InsertGlobalPublicDelegatedPrefixeRequest request, Metadata headers = null, DateTime? deadline = null, CancellationToken cancellationToken = default(CancellationToken))
Creates a global PublicDelegatedPrefix in the specified project using the parameters that are included in the request.
Parameters | |
---|---|
Name | Description |
request | InsertGlobalPublicDelegatedPrefixeRequest 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(ListGlobalPublicDelegatedPrefixesRequest, CallOptions)
public virtual PublicDelegatedPrefixList List(ListGlobalPublicDelegatedPrefixesRequest request, CallOptions options)
Lists the global PublicDelegatedPrefixes for a project.
Parameters | |
---|---|
Name | Description |
request | ListGlobalPublicDelegatedPrefixesRequest The request to send to the server. |
options | CallOptions The options for the call. |
Returns | |
---|---|
Type | Description |
PublicDelegatedPrefixList | The response received from the server. |
List(ListGlobalPublicDelegatedPrefixesRequest, Metadata, Nullable<DateTime>, CancellationToken)
public virtual PublicDelegatedPrefixList List(ListGlobalPublicDelegatedPrefixesRequest request, Metadata headers = null, DateTime? deadline = null, CancellationToken cancellationToken = default(CancellationToken))
Lists the global PublicDelegatedPrefixes for a project.
Parameters | |
---|---|
Name | Description |
request | ListGlobalPublicDelegatedPrefixesRequest 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 |
PublicDelegatedPrefixList | The response received from the server. |
ListAsync(ListGlobalPublicDelegatedPrefixesRequest, CallOptions)
public virtual AsyncUnaryCall<PublicDelegatedPrefixList> ListAsync(ListGlobalPublicDelegatedPrefixesRequest request, CallOptions options)
Lists the global PublicDelegatedPrefixes for a project.
Parameters | |
---|---|
Name | Description |
request | ListGlobalPublicDelegatedPrefixesRequest The request to send to the server. |
options | CallOptions The options for the call. |
Returns | |
---|---|
Type | Description |
AsyncUnaryCall<PublicDelegatedPrefixList> | The call object. |
ListAsync(ListGlobalPublicDelegatedPrefixesRequest, Metadata, Nullable<DateTime>, CancellationToken)
public virtual AsyncUnaryCall<PublicDelegatedPrefixList> ListAsync(ListGlobalPublicDelegatedPrefixesRequest request, Metadata headers = null, DateTime? deadline = null, CancellationToken cancellationToken = default(CancellationToken))
Lists the global PublicDelegatedPrefixes for a project.
Parameters | |
---|---|
Name | Description |
request | ListGlobalPublicDelegatedPrefixesRequest 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<PublicDelegatedPrefixList> | The call object. |
NewInstance(ClientBase.ClientBaseConfiguration)
protected override GlobalPublicDelegatedPrefixes.GlobalPublicDelegatedPrefixesClient NewInstance(ClientBase.ClientBaseConfiguration configuration)
Creates a new instance of client from given ClientBaseConfiguration
.
Parameter | |
---|---|
Name | Description |
configuration | ClientBase.ClientBaseConfiguration |
Returns | |
---|---|
Type | Description |
GlobalPublicDelegatedPrefixes.GlobalPublicDelegatedPrefixesClient |
Patch(PatchGlobalPublicDelegatedPrefixeRequest, CallOptions)
public virtual Operation Patch(PatchGlobalPublicDelegatedPrefixeRequest request, CallOptions options)
Patches the specified global PublicDelegatedPrefix 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 | PatchGlobalPublicDelegatedPrefixeRequest 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(PatchGlobalPublicDelegatedPrefixeRequest, Metadata, Nullable<DateTime>, CancellationToken)
public virtual Operation Patch(PatchGlobalPublicDelegatedPrefixeRequest request, Metadata headers = null, DateTime? deadline = null, CancellationToken cancellationToken = default(CancellationToken))
Patches the specified global PublicDelegatedPrefix 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 | PatchGlobalPublicDelegatedPrefixeRequest 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(PatchGlobalPublicDelegatedPrefixeRequest, CallOptions)
public virtual AsyncUnaryCall<Operation> PatchAsync(PatchGlobalPublicDelegatedPrefixeRequest request, CallOptions options)
Patches the specified global PublicDelegatedPrefix 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 | PatchGlobalPublicDelegatedPrefixeRequest The request to send to the server. |
options | CallOptions The options for the call. |
Returns | |
---|---|
Type | Description |
AsyncUnaryCall<Operation> | The call object. |
PatchAsync(PatchGlobalPublicDelegatedPrefixeRequest, Metadata, Nullable<DateTime>, CancellationToken)
public virtual AsyncUnaryCall<Operation> PatchAsync(PatchGlobalPublicDelegatedPrefixeRequest request, Metadata headers = null, DateTime? deadline = null, CancellationToken cancellationToken = default(CancellationToken))
Patches the specified global PublicDelegatedPrefix 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 | PatchGlobalPublicDelegatedPrefixeRequest 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. |