public class SubnetworksClient : ClientBase<Subnetworks.SubnetworksClient>
Client for Subnetworks
Inheritance
Object > ClientBase > ClientBase<Subnetworks.SubnetworksClient> > Subnetworks.SubnetworksClientNamespace
Google.Cloud.Compute.V1Assembly
Google.Cloud.Compute.V1.dll
Constructors
SubnetworksClient()
protected SubnetworksClient()
Protected parameterless constructor to allow creation of test doubles.
SubnetworksClient(CallInvoker)
public SubnetworksClient(CallInvoker callInvoker)
Creates a new client for Subnetworks that uses a custom CallInvoker
.
Parameter | |
---|---|
Name | Description |
callInvoker | CallInvoker The callInvoker to use to make remote calls. |
SubnetworksClient(ChannelBase)
public SubnetworksClient(ChannelBase channel)
Creates a new client for Subnetworks
Parameter | |
---|---|
Name | Description |
channel | ChannelBase The channel to use to make remote calls. |
SubnetworksClient(ClientBase.ClientBaseConfiguration)
protected SubnetworksClient(ClientBase.ClientBaseConfiguration configuration)
Protected constructor to allow creation of configured clients.
Parameter | |
---|---|
Name | Description |
configuration | ClientBase.ClientBaseConfiguration The client configuration. |
Methods
AggregatedList(AggregatedListSubnetworksRequest, CallOptions)
public virtual SubnetworkAggregatedList AggregatedList(AggregatedListSubnetworksRequest request, CallOptions options)
Retrieves an aggregated list of subnetworks.
Parameters | |
---|---|
Name | Description |
request | AggregatedListSubnetworksRequest The request to send to the server. |
options | CallOptions The options for the call. |
Returns | |
---|---|
Type | Description |
SubnetworkAggregatedList | The response received from the server. |
AggregatedList(AggregatedListSubnetworksRequest, Metadata, Nullable<DateTime>, CancellationToken)
public virtual SubnetworkAggregatedList AggregatedList(AggregatedListSubnetworksRequest request, Metadata headers = null, DateTime? deadline = default(DateTime? ), CancellationToken cancellationToken = default(CancellationToken))
Retrieves an aggregated list of subnetworks.
Parameters | |
---|---|
Name | Description |
request | AggregatedListSubnetworksRequest 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 |
SubnetworkAggregatedList | The response received from the server. |
AggregatedListAsync(AggregatedListSubnetworksRequest, CallOptions)
public virtual AsyncUnaryCall<SubnetworkAggregatedList> AggregatedListAsync(AggregatedListSubnetworksRequest request, CallOptions options)
Retrieves an aggregated list of subnetworks.
Parameters | |
---|---|
Name | Description |
request | AggregatedListSubnetworksRequest The request to send to the server. |
options | CallOptions The options for the call. |
Returns | |
---|---|
Type | Description |
AsyncUnaryCall<SubnetworkAggregatedList> | The call object. |
AggregatedListAsync(AggregatedListSubnetworksRequest, Metadata, Nullable<DateTime>, CancellationToken)
public virtual AsyncUnaryCall<SubnetworkAggregatedList> AggregatedListAsync(AggregatedListSubnetworksRequest request, Metadata headers = null, DateTime? deadline = default(DateTime? ), CancellationToken cancellationToken = default(CancellationToken))
Retrieves an aggregated list of subnetworks.
Parameters | |
---|---|
Name | Description |
request | AggregatedListSubnetworksRequest 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<SubnetworkAggregatedList> | The call object. |
CreateOperationsClientForRegionOperations()
public virtual Operations.OperationsClient CreateOperationsClientForRegionOperations()
Creates a new instance of Operations.OperationsClient using the same call invoker as this client, delegating to RegionOperations.
Returns | |
---|---|
Type | Description |
Operations.OperationsClient | A new Operations client for the same target as this client. |
Delete(DeleteSubnetworkRequest, CallOptions)
public virtual Operation Delete(DeleteSubnetworkRequest request, CallOptions options)
Deletes the specified subnetwork.
Parameters | |
---|---|
Name | Description |
request | DeleteSubnetworkRequest 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(DeleteSubnetworkRequest, Metadata, Nullable<DateTime>, CancellationToken)
public virtual Operation Delete(DeleteSubnetworkRequest request, Metadata headers = null, DateTime? deadline = default(DateTime? ), CancellationToken cancellationToken = default(CancellationToken))
Deletes the specified subnetwork.
Parameters | |
---|---|
Name | Description |
request | DeleteSubnetworkRequest 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(DeleteSubnetworkRequest, CallOptions)
public virtual AsyncUnaryCall<Operation> DeleteAsync(DeleteSubnetworkRequest request, CallOptions options)
Deletes the specified subnetwork.
Parameters | |
---|---|
Name | Description |
request | DeleteSubnetworkRequest The request to send to the server. |
options | CallOptions The options for the call. |
Returns | |
---|---|
Type | Description |
AsyncUnaryCall<Operation> | The call object. |
DeleteAsync(DeleteSubnetworkRequest, Metadata, Nullable<DateTime>, CancellationToken)
public virtual AsyncUnaryCall<Operation> DeleteAsync(DeleteSubnetworkRequest request, Metadata headers = null, DateTime? deadline = default(DateTime? ), CancellationToken cancellationToken = default(CancellationToken))
Deletes the specified subnetwork.
Parameters | |
---|---|
Name | Description |
request | DeleteSubnetworkRequest 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. |
ExpandIpCidrRange(ExpandIpCidrRangeSubnetworkRequest, CallOptions)
public virtual Operation ExpandIpCidrRange(ExpandIpCidrRangeSubnetworkRequest request, CallOptions options)
Expands the IP CIDR range of the subnetwork to a specified value.
Parameters | |
---|---|
Name | Description |
request | ExpandIpCidrRangeSubnetworkRequest The request to send to the server. |
options | CallOptions The options for the call. |
Returns | |
---|---|
Type | Description |
Operation | The response received from the server. |
ExpandIpCidrRange(ExpandIpCidrRangeSubnetworkRequest, Metadata, Nullable<DateTime>, CancellationToken)
public virtual Operation ExpandIpCidrRange(ExpandIpCidrRangeSubnetworkRequest request, Metadata headers = null, DateTime? deadline = default(DateTime? ), CancellationToken cancellationToken = default(CancellationToken))
Expands the IP CIDR range of the subnetwork to a specified value.
Parameters | |
---|---|
Name | Description |
request | ExpandIpCidrRangeSubnetworkRequest 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. |
ExpandIpCidrRangeAsync(ExpandIpCidrRangeSubnetworkRequest, CallOptions)
public virtual AsyncUnaryCall<Operation> ExpandIpCidrRangeAsync(ExpandIpCidrRangeSubnetworkRequest request, CallOptions options)
Expands the IP CIDR range of the subnetwork to a specified value.
Parameters | |
---|---|
Name | Description |
request | ExpandIpCidrRangeSubnetworkRequest The request to send to the server. |
options | CallOptions The options for the call. |
Returns | |
---|---|
Type | Description |
AsyncUnaryCall<Operation> | The call object. |
ExpandIpCidrRangeAsync(ExpandIpCidrRangeSubnetworkRequest, Metadata, Nullable<DateTime>, CancellationToken)
public virtual AsyncUnaryCall<Operation> ExpandIpCidrRangeAsync(ExpandIpCidrRangeSubnetworkRequest request, Metadata headers = null, DateTime? deadline = default(DateTime? ), CancellationToken cancellationToken = default(CancellationToken))
Expands the IP CIDR range of the subnetwork to a specified value.
Parameters | |
---|---|
Name | Description |
request | ExpandIpCidrRangeSubnetworkRequest 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(GetSubnetworkRequest, CallOptions)
public virtual Subnetwork Get(GetSubnetworkRequest request, CallOptions options)
Returns the specified subnetwork. Gets a list of available subnetworks list() request.
Parameters | |
---|---|
Name | Description |
request | GetSubnetworkRequest The request to send to the server. |
options | CallOptions The options for the call. |
Returns | |
---|---|
Type | Description |
Subnetwork | The response received from the server. |
Get(GetSubnetworkRequest, Metadata, Nullable<DateTime>, CancellationToken)
public virtual Subnetwork Get(GetSubnetworkRequest request, Metadata headers = null, DateTime? deadline = default(DateTime? ), CancellationToken cancellationToken = default(CancellationToken))
Returns the specified subnetwork. Gets a list of available subnetworks list() request.
Parameters | |
---|---|
Name | Description |
request | GetSubnetworkRequest 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 |
Subnetwork | The response received from the server. |
GetAsync(GetSubnetworkRequest, CallOptions)
public virtual AsyncUnaryCall<Subnetwork> GetAsync(GetSubnetworkRequest request, CallOptions options)
Returns the specified subnetwork. Gets a list of available subnetworks list() request.
Parameters | |
---|---|
Name | Description |
request | GetSubnetworkRequest The request to send to the server. |
options | CallOptions The options for the call. |
Returns | |
---|---|
Type | Description |
AsyncUnaryCall<Subnetwork> | The call object. |
GetAsync(GetSubnetworkRequest, Metadata, Nullable<DateTime>, CancellationToken)
public virtual AsyncUnaryCall<Subnetwork> GetAsync(GetSubnetworkRequest request, Metadata headers = null, DateTime? deadline = default(DateTime? ), CancellationToken cancellationToken = default(CancellationToken))
Returns the specified subnetwork. Gets a list of available subnetworks list() request.
Parameters | |
---|---|
Name | Description |
request | GetSubnetworkRequest 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<Subnetwork> | The call object. |
GetIamPolicy(GetIamPolicySubnetworkRequest, CallOptions)
public virtual Policy GetIamPolicy(GetIamPolicySubnetworkRequest request, CallOptions options)
Gets the access control policy for a resource. May be empty if no such policy or resource exists.
Parameters | |
---|---|
Name | Description |
request | GetIamPolicySubnetworkRequest The request to send to the server. |
options | CallOptions The options for the call. |
Returns | |
---|---|
Type | Description |
Policy | The response received from the server. |
GetIamPolicy(GetIamPolicySubnetworkRequest, Metadata, Nullable<DateTime>, CancellationToken)
public virtual Policy GetIamPolicy(GetIamPolicySubnetworkRequest request, Metadata headers = null, DateTime? deadline = default(DateTime? ), CancellationToken cancellationToken = default(CancellationToken))
Gets the access control policy for a resource. May be empty if no such policy or resource exists.
Parameters | |
---|---|
Name | Description |
request | GetIamPolicySubnetworkRequest 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 |
Policy | The response received from the server. |
GetIamPolicyAsync(GetIamPolicySubnetworkRequest, CallOptions)
public virtual AsyncUnaryCall<Policy> GetIamPolicyAsync(GetIamPolicySubnetworkRequest request, CallOptions options)
Gets the access control policy for a resource. May be empty if no such policy or resource exists.
Parameters | |
---|---|
Name | Description |
request | GetIamPolicySubnetworkRequest The request to send to the server. |
options | CallOptions The options for the call. |
Returns | |
---|---|
Type | Description |
AsyncUnaryCall<Policy> | The call object. |
GetIamPolicyAsync(GetIamPolicySubnetworkRequest, Metadata, Nullable<DateTime>, CancellationToken)
public virtual AsyncUnaryCall<Policy> GetIamPolicyAsync(GetIamPolicySubnetworkRequest request, Metadata headers = null, DateTime? deadline = default(DateTime? ), CancellationToken cancellationToken = default(CancellationToken))
Gets the access control policy for a resource. May be empty if no such policy or resource exists.
Parameters | |
---|---|
Name | Description |
request | GetIamPolicySubnetworkRequest 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<Policy> | The call object. |
Insert(InsertSubnetworkRequest, CallOptions)
public virtual Operation Insert(InsertSubnetworkRequest request, CallOptions options)
Creates a subnetwork in the specified project using the data included in the request.
Parameters | |
---|---|
Name | Description |
request | InsertSubnetworkRequest 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(InsertSubnetworkRequest, Metadata, Nullable<DateTime>, CancellationToken)
public virtual Operation Insert(InsertSubnetworkRequest request, Metadata headers = null, DateTime? deadline = default(DateTime? ), CancellationToken cancellationToken = default(CancellationToken))
Creates a subnetwork in the specified project using the data included in the request.
Parameters | |
---|---|
Name | Description |
request | InsertSubnetworkRequest 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(InsertSubnetworkRequest, CallOptions)
public virtual AsyncUnaryCall<Operation> InsertAsync(InsertSubnetworkRequest request, CallOptions options)
Creates a subnetwork in the specified project using the data included in the request.
Parameters | |
---|---|
Name | Description |
request | InsertSubnetworkRequest The request to send to the server. |
options | CallOptions The options for the call. |
Returns | |
---|---|
Type | Description |
AsyncUnaryCall<Operation> | The call object. |
InsertAsync(InsertSubnetworkRequest, Metadata, Nullable<DateTime>, CancellationToken)
public virtual AsyncUnaryCall<Operation> InsertAsync(InsertSubnetworkRequest request, Metadata headers = null, DateTime? deadline = default(DateTime? ), CancellationToken cancellationToken = default(CancellationToken))
Creates a subnetwork in the specified project using the data included in the request.
Parameters | |
---|---|
Name | Description |
request | InsertSubnetworkRequest 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(ListSubnetworksRequest, CallOptions)
public virtual SubnetworkList List(ListSubnetworksRequest request, CallOptions options)
Retrieves a list of subnetworks available to the specified project.
Parameters | |
---|---|
Name | Description |
request | ListSubnetworksRequest The request to send to the server. |
options | CallOptions The options for the call. |
Returns | |
---|---|
Type | Description |
SubnetworkList | The response received from the server. |
List(ListSubnetworksRequest, Metadata, Nullable<DateTime>, CancellationToken)
public virtual SubnetworkList List(ListSubnetworksRequest request, Metadata headers = null, DateTime? deadline = default(DateTime? ), CancellationToken cancellationToken = default(CancellationToken))
Retrieves a list of subnetworks available to the specified project.
Parameters | |
---|---|
Name | Description |
request | ListSubnetworksRequest 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 |
SubnetworkList | The response received from the server. |
ListAsync(ListSubnetworksRequest, CallOptions)
public virtual AsyncUnaryCall<SubnetworkList> ListAsync(ListSubnetworksRequest request, CallOptions options)
Retrieves a list of subnetworks available to the specified project.
Parameters | |
---|---|
Name | Description |
request | ListSubnetworksRequest The request to send to the server. |
options | CallOptions The options for the call. |
Returns | |
---|---|
Type | Description |
AsyncUnaryCall<SubnetworkList> | The call object. |
ListAsync(ListSubnetworksRequest, Metadata, Nullable<DateTime>, CancellationToken)
public virtual AsyncUnaryCall<SubnetworkList> ListAsync(ListSubnetworksRequest request, Metadata headers = null, DateTime? deadline = default(DateTime? ), CancellationToken cancellationToken = default(CancellationToken))
Retrieves a list of subnetworks available to the specified project.
Parameters | |
---|---|
Name | Description |
request | ListSubnetworksRequest 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<SubnetworkList> | The call object. |
ListUsable(ListUsableSubnetworksRequest, CallOptions)
public virtual UsableSubnetworksAggregatedList ListUsable(ListUsableSubnetworksRequest request, CallOptions options)
Retrieves an aggregated list of all usable subnetworks in the project.
Parameters | |
---|---|
Name | Description |
request | ListUsableSubnetworksRequest The request to send to the server. |
options | CallOptions The options for the call. |
Returns | |
---|---|
Type | Description |
UsableSubnetworksAggregatedList | The response received from the server. |
ListUsable(ListUsableSubnetworksRequest, Metadata, Nullable<DateTime>, CancellationToken)
public virtual UsableSubnetworksAggregatedList ListUsable(ListUsableSubnetworksRequest request, Metadata headers = null, DateTime? deadline = default(DateTime? ), CancellationToken cancellationToken = default(CancellationToken))
Retrieves an aggregated list of all usable subnetworks in the project.
Parameters | |
---|---|
Name | Description |
request | ListUsableSubnetworksRequest 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 |
UsableSubnetworksAggregatedList | The response received from the server. |
ListUsableAsync(ListUsableSubnetworksRequest, CallOptions)
public virtual AsyncUnaryCall<UsableSubnetworksAggregatedList> ListUsableAsync(ListUsableSubnetworksRequest request, CallOptions options)
Retrieves an aggregated list of all usable subnetworks in the project.
Parameters | |
---|---|
Name | Description |
request | ListUsableSubnetworksRequest The request to send to the server. |
options | CallOptions The options for the call. |
Returns | |
---|---|
Type | Description |
AsyncUnaryCall<UsableSubnetworksAggregatedList> | The call object. |
ListUsableAsync(ListUsableSubnetworksRequest, Metadata, Nullable<DateTime>, CancellationToken)
public virtual AsyncUnaryCall<UsableSubnetworksAggregatedList> ListUsableAsync(ListUsableSubnetworksRequest request, Metadata headers = null, DateTime? deadline = default(DateTime? ), CancellationToken cancellationToken = default(CancellationToken))
Retrieves an aggregated list of all usable subnetworks in the project.
Parameters | |
---|---|
Name | Description |
request | ListUsableSubnetworksRequest 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<UsableSubnetworksAggregatedList> | The call object. |
NewInstance(ClientBase.ClientBaseConfiguration)
protected override Subnetworks.SubnetworksClient NewInstance(ClientBase.ClientBaseConfiguration configuration)
Creates a new instance of client from given ClientBaseConfiguration
.
Parameter | |
---|---|
Name | Description |
configuration | ClientBase.ClientBaseConfiguration |
Returns | |
---|---|
Type | Description |
Subnetworks.SubnetworksClient |
Patch(PatchSubnetworkRequest, CallOptions)
public virtual Operation Patch(PatchSubnetworkRequest request, CallOptions options)
Patches the specified subnetwork with the data included in the request. Only certain fields can be updated with a patch request as indicated in the field descriptions. You must specify the current fingerprint of the subnetwork resource being patched.
Parameters | |
---|---|
Name | Description |
request | PatchSubnetworkRequest 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(PatchSubnetworkRequest, Metadata, Nullable<DateTime>, CancellationToken)
public virtual Operation Patch(PatchSubnetworkRequest request, Metadata headers = null, DateTime? deadline = default(DateTime? ), CancellationToken cancellationToken = default(CancellationToken))
Patches the specified subnetwork with the data included in the request. Only certain fields can be updated with a patch request as indicated in the field descriptions. You must specify the current fingerprint of the subnetwork resource being patched.
Parameters | |
---|---|
Name | Description |
request | PatchSubnetworkRequest 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(PatchSubnetworkRequest, CallOptions)
public virtual AsyncUnaryCall<Operation> PatchAsync(PatchSubnetworkRequest request, CallOptions options)
Patches the specified subnetwork with the data included in the request. Only certain fields can be updated with a patch request as indicated in the field descriptions. You must specify the current fingerprint of the subnetwork resource being patched.
Parameters | |
---|---|
Name | Description |
request | PatchSubnetworkRequest The request to send to the server. |
options | CallOptions The options for the call. |
Returns | |
---|---|
Type | Description |
AsyncUnaryCall<Operation> | The call object. |
PatchAsync(PatchSubnetworkRequest, Metadata, Nullable<DateTime>, CancellationToken)
public virtual AsyncUnaryCall<Operation> PatchAsync(PatchSubnetworkRequest request, Metadata headers = null, DateTime? deadline = default(DateTime? ), CancellationToken cancellationToken = default(CancellationToken))
Patches the specified subnetwork with the data included in the request. Only certain fields can be updated with a patch request as indicated in the field descriptions. You must specify the current fingerprint of the subnetwork resource being patched.
Parameters | |
---|---|
Name | Description |
request | PatchSubnetworkRequest 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. |
SetIamPolicy(SetIamPolicySubnetworkRequest, CallOptions)
public virtual Policy SetIamPolicy(SetIamPolicySubnetworkRequest request, CallOptions options)
Sets the access control policy on the specified resource. Replaces any existing policy.
Parameters | |
---|---|
Name | Description |
request | SetIamPolicySubnetworkRequest The request to send to the server. |
options | CallOptions The options for the call. |
Returns | |
---|---|
Type | Description |
Policy | The response received from the server. |
SetIamPolicy(SetIamPolicySubnetworkRequest, Metadata, Nullable<DateTime>, CancellationToken)
public virtual Policy SetIamPolicy(SetIamPolicySubnetworkRequest request, Metadata headers = null, DateTime? deadline = default(DateTime? ), CancellationToken cancellationToken = default(CancellationToken))
Sets the access control policy on the specified resource. Replaces any existing policy.
Parameters | |
---|---|
Name | Description |
request | SetIamPolicySubnetworkRequest 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 |
Policy | The response received from the server. |
SetIamPolicyAsync(SetIamPolicySubnetworkRequest, CallOptions)
public virtual AsyncUnaryCall<Policy> SetIamPolicyAsync(SetIamPolicySubnetworkRequest request, CallOptions options)
Sets the access control policy on the specified resource. Replaces any existing policy.
Parameters | |
---|---|
Name | Description |
request | SetIamPolicySubnetworkRequest The request to send to the server. |
options | CallOptions The options for the call. |
Returns | |
---|---|
Type | Description |
AsyncUnaryCall<Policy> | The call object. |
SetIamPolicyAsync(SetIamPolicySubnetworkRequest, Metadata, Nullable<DateTime>, CancellationToken)
public virtual AsyncUnaryCall<Policy> SetIamPolicyAsync(SetIamPolicySubnetworkRequest request, Metadata headers = null, DateTime? deadline = default(DateTime? ), CancellationToken cancellationToken = default(CancellationToken))
Sets the access control policy on the specified resource. Replaces any existing policy.
Parameters | |
---|---|
Name | Description |
request | SetIamPolicySubnetworkRequest 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<Policy> | The call object. |
SetPrivateIpGoogleAccess(SetPrivateIpGoogleAccessSubnetworkRequest, CallOptions)
public virtual Operation SetPrivateIpGoogleAccess(SetPrivateIpGoogleAccessSubnetworkRequest request, CallOptions options)
Set whether VMs in this subnet can access Google services without assigning external IP addresses through Private Google Access.
Parameters | |
---|---|
Name | Description |
request | SetPrivateIpGoogleAccessSubnetworkRequest The request to send to the server. |
options | CallOptions The options for the call. |
Returns | |
---|---|
Type | Description |
Operation | The response received from the server. |
SetPrivateIpGoogleAccess(SetPrivateIpGoogleAccessSubnetworkRequest, Metadata, Nullable<DateTime>, CancellationToken)
public virtual Operation SetPrivateIpGoogleAccess(SetPrivateIpGoogleAccessSubnetworkRequest request, Metadata headers = null, DateTime? deadline = default(DateTime? ), CancellationToken cancellationToken = default(CancellationToken))
Set whether VMs in this subnet can access Google services without assigning external IP addresses through Private Google Access.
Parameters | |
---|---|
Name | Description |
request | SetPrivateIpGoogleAccessSubnetworkRequest 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. |
SetPrivateIpGoogleAccessAsync(SetPrivateIpGoogleAccessSubnetworkRequest, CallOptions)
public virtual AsyncUnaryCall<Operation> SetPrivateIpGoogleAccessAsync(SetPrivateIpGoogleAccessSubnetworkRequest request, CallOptions options)
Set whether VMs in this subnet can access Google services without assigning external IP addresses through Private Google Access.
Parameters | |
---|---|
Name | Description |
request | SetPrivateIpGoogleAccessSubnetworkRequest The request to send to the server. |
options | CallOptions The options for the call. |
Returns | |
---|---|
Type | Description |
AsyncUnaryCall<Operation> | The call object. |
SetPrivateIpGoogleAccessAsync(SetPrivateIpGoogleAccessSubnetworkRequest, Metadata, Nullable<DateTime>, CancellationToken)
public virtual AsyncUnaryCall<Operation> SetPrivateIpGoogleAccessAsync(SetPrivateIpGoogleAccessSubnetworkRequest request, Metadata headers = null, DateTime? deadline = default(DateTime? ), CancellationToken cancellationToken = default(CancellationToken))
Set whether VMs in this subnet can access Google services without assigning external IP addresses through Private Google Access.
Parameters | |
---|---|
Name | Description |
request | SetPrivateIpGoogleAccessSubnetworkRequest 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. |
TestIamPermissions(TestIamPermissionsSubnetworkRequest, CallOptions)
public virtual TestPermissionsResponse TestIamPermissions(TestIamPermissionsSubnetworkRequest request, CallOptions options)
Returns permissions that a caller has on the specified resource.
Parameters | |
---|---|
Name | Description |
request | TestIamPermissionsSubnetworkRequest The request to send to the server. |
options | CallOptions The options for the call. |
Returns | |
---|---|
Type | Description |
TestPermissionsResponse | The response received from the server. |
TestIamPermissions(TestIamPermissionsSubnetworkRequest, Metadata, Nullable<DateTime>, CancellationToken)
public virtual TestPermissionsResponse TestIamPermissions(TestIamPermissionsSubnetworkRequest request, Metadata headers = null, DateTime? deadline = default(DateTime? ), CancellationToken cancellationToken = default(CancellationToken))
Returns permissions that a caller has on the specified resource.
Parameters | |
---|---|
Name | Description |
request | TestIamPermissionsSubnetworkRequest 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 |
TestPermissionsResponse | The response received from the server. |
TestIamPermissionsAsync(TestIamPermissionsSubnetworkRequest, CallOptions)
public virtual AsyncUnaryCall<TestPermissionsResponse> TestIamPermissionsAsync(TestIamPermissionsSubnetworkRequest request, CallOptions options)
Returns permissions that a caller has on the specified resource.
Parameters | |
---|---|
Name | Description |
request | TestIamPermissionsSubnetworkRequest The request to send to the server. |
options | CallOptions The options for the call. |
Returns | |
---|---|
Type | Description |
AsyncUnaryCall<TestPermissionsResponse> | The call object. |
TestIamPermissionsAsync(TestIamPermissionsSubnetworkRequest, Metadata, Nullable<DateTime>, CancellationToken)
public virtual AsyncUnaryCall<TestPermissionsResponse> TestIamPermissionsAsync(TestIamPermissionsSubnetworkRequest request, Metadata headers = null, DateTime? deadline = default(DateTime? ), CancellationToken cancellationToken = default(CancellationToken))
Returns permissions that a caller has on the specified resource.
Parameters | |
---|---|
Name | Description |
request | TestIamPermissionsSubnetworkRequest 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<TestPermissionsResponse> | The call object. |