public class Subnetworks.SubnetworksClient : ClientBase<Subnetworks.SubnetworksClient>
Reference documentation and code samples for the Compute Engine v1 API class Subnetworks.SubnetworksClient.
Client for Subnetworks
Inheritance
object > ClientBase > ClientBaseSubnetworksSubnetworksClient > 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(ClientBaseConfiguration)
protected SubnetworksClient(ClientBase.ClientBaseConfiguration configuration)
Protected constructor to allow creation of configured clients.
Parameter | |
---|---|
Name | Description |
configuration | ClientBaseClientBaseConfiguration 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, DateTime?, CancellationToken)
public virtual SubnetworkAggregatedList AggregatedList(AggregatedListSubnetworksRequest request, Metadata headers = null, DateTime? deadline = null, CancellationToken cancellationToken = default)
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 | 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 |
AsyncUnaryCallSubnetworkAggregatedList | The call object. |
AggregatedListAsync(AggregatedListSubnetworksRequest, Metadata, DateTime?, CancellationToken)
public virtual AsyncUnaryCall<SubnetworkAggregatedList> AggregatedListAsync(AggregatedListSubnetworksRequest request, Metadata headers = null, DateTime? deadline = null, CancellationToken cancellationToken = default)
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 | 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 |
AsyncUnaryCallSubnetworkAggregatedList | 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 |
OperationsOperationsClient | 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, DateTime?, CancellationToken)
public virtual Operation Delete(DeleteSubnetworkRequest request, Metadata headers = null, DateTime? deadline = null, CancellationToken cancellationToken = default)
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 | 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 |
AsyncUnaryCallOperation | The call object. |
DeleteAsync(DeleteSubnetworkRequest, Metadata, DateTime?, CancellationToken)
public virtual AsyncUnaryCall<Operation> DeleteAsync(DeleteSubnetworkRequest request, Metadata headers = null, DateTime? deadline = null, CancellationToken cancellationToken = default)
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 | 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. |
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, DateTime?, CancellationToken)
public virtual Operation ExpandIpCidrRange(ExpandIpCidrRangeSubnetworkRequest request, Metadata headers = null, DateTime? deadline = null, CancellationToken cancellationToken = default)
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 | 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 |
AsyncUnaryCallOperation | The call object. |
ExpandIpCidrRangeAsync(ExpandIpCidrRangeSubnetworkRequest, Metadata, DateTime?, CancellationToken)
public virtual AsyncUnaryCall<Operation> ExpandIpCidrRangeAsync(ExpandIpCidrRangeSubnetworkRequest request, Metadata headers = null, DateTime? deadline = null, CancellationToken cancellationToken = default)
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 | 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(GetSubnetworkRequest, CallOptions)
public virtual Subnetwork Get(GetSubnetworkRequest request, CallOptions options)
Returns the specified subnetwork.
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, DateTime?, CancellationToken)
public virtual Subnetwork Get(GetSubnetworkRequest request, Metadata headers = null, DateTime? deadline = null, CancellationToken cancellationToken = default)
Returns the specified subnetwork.
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 | 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.
Parameters | |
---|---|
Name | Description |
request | GetSubnetworkRequest The request to send to the server. |
options | CallOptions The options for the call. |
Returns | |
---|---|
Type | Description |
AsyncUnaryCallSubnetwork | The call object. |
GetAsync(GetSubnetworkRequest, Metadata, DateTime?, CancellationToken)
public virtual AsyncUnaryCall<Subnetwork> GetAsync(GetSubnetworkRequest request, Metadata headers = null, DateTime? deadline = null, CancellationToken cancellationToken = default)
Returns the specified subnetwork.
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 | 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 |
AsyncUnaryCallSubnetwork | 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, DateTime?, CancellationToken)
public virtual Policy GetIamPolicy(GetIamPolicySubnetworkRequest request, Metadata headers = null, DateTime? deadline = null, CancellationToken cancellationToken = default)
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 | 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 |
AsyncUnaryCallPolicy | The call object. |
GetIamPolicyAsync(GetIamPolicySubnetworkRequest, Metadata, DateTime?, CancellationToken)
public virtual AsyncUnaryCall<Policy> GetIamPolicyAsync(GetIamPolicySubnetworkRequest request, Metadata headers = null, DateTime? deadline = null, CancellationToken cancellationToken = default)
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 | 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 |
AsyncUnaryCallPolicy | 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, DateTime?, CancellationToken)
public virtual Operation Insert(InsertSubnetworkRequest request, Metadata headers = null, DateTime? deadline = null, CancellationToken cancellationToken = default)
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 | 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 |
AsyncUnaryCallOperation | The call object. |
InsertAsync(InsertSubnetworkRequest, Metadata, DateTime?, CancellationToken)
public virtual AsyncUnaryCall<Operation> InsertAsync(InsertSubnetworkRequest request, Metadata headers = null, DateTime? deadline = null, CancellationToken cancellationToken = default)
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 | 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(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, DateTime?, CancellationToken)
public virtual SubnetworkList List(ListSubnetworksRequest request, Metadata headers = null, DateTime? deadline = null, CancellationToken cancellationToken = default)
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 | 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 |
AsyncUnaryCallSubnetworkList | The call object. |
ListAsync(ListSubnetworksRequest, Metadata, DateTime?, CancellationToken)
public virtual AsyncUnaryCall<SubnetworkList> ListAsync(ListSubnetworksRequest request, Metadata headers = null, DateTime? deadline = null, CancellationToken cancellationToken = default)
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 | 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 |
AsyncUnaryCallSubnetworkList | 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, DateTime?, CancellationToken)
public virtual UsableSubnetworksAggregatedList ListUsable(ListUsableSubnetworksRequest request, Metadata headers = null, DateTime? deadline = null, CancellationToken cancellationToken = default)
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 | 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 |
AsyncUnaryCallUsableSubnetworksAggregatedList | The call object. |
ListUsableAsync(ListUsableSubnetworksRequest, Metadata, DateTime?, CancellationToken)
public virtual AsyncUnaryCall<UsableSubnetworksAggregatedList> ListUsableAsync(ListUsableSubnetworksRequest request, Metadata headers = null, DateTime? deadline = null, CancellationToken cancellationToken = default)
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 | 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 |
AsyncUnaryCallUsableSubnetworksAggregatedList | The call object. |
NewInstance(ClientBaseConfiguration)
protected override Subnetworks.SubnetworksClient NewInstance(ClientBase.ClientBaseConfiguration configuration)
Creates a new instance of client from given ClientBaseConfiguration
.
Parameter | |
---|---|
Name | Description |
configuration | ClientBaseClientBaseConfiguration |
Returns | |
---|---|
Type | Description |
SubnetworksSubnetworksClient |
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, DateTime?, CancellationToken)
public virtual Operation Patch(PatchSubnetworkRequest request, Metadata headers = null, DateTime? deadline = null, CancellationToken cancellationToken = default)
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 | 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 |
AsyncUnaryCallOperation | The call object. |
PatchAsync(PatchSubnetworkRequest, Metadata, DateTime?, CancellationToken)
public virtual AsyncUnaryCall<Operation> PatchAsync(PatchSubnetworkRequest request, Metadata headers = null, DateTime? deadline = null, CancellationToken cancellationToken = default)
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 | 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. |
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, DateTime?, CancellationToken)
public virtual Policy SetIamPolicy(SetIamPolicySubnetworkRequest request, Metadata headers = null, DateTime? deadline = null, CancellationToken cancellationToken = default)
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 | 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 |
AsyncUnaryCallPolicy | The call object. |
SetIamPolicyAsync(SetIamPolicySubnetworkRequest, Metadata, DateTime?, CancellationToken)
public virtual AsyncUnaryCall<Policy> SetIamPolicyAsync(SetIamPolicySubnetworkRequest request, Metadata headers = null, DateTime? deadline = null, CancellationToken cancellationToken = default)
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 | 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 |
AsyncUnaryCallPolicy | 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, DateTime?, CancellationToken)
public virtual Operation SetPrivateIpGoogleAccess(SetPrivateIpGoogleAccessSubnetworkRequest request, Metadata headers = null, DateTime? deadline = null, CancellationToken cancellationToken = default)
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 | 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 |
AsyncUnaryCallOperation | The call object. |
SetPrivateIpGoogleAccessAsync(SetPrivateIpGoogleAccessSubnetworkRequest, Metadata, DateTime?, CancellationToken)
public virtual AsyncUnaryCall<Operation> SetPrivateIpGoogleAccessAsync(SetPrivateIpGoogleAccessSubnetworkRequest request, Metadata headers = null, DateTime? deadline = null, CancellationToken cancellationToken = default)
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 | 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. |
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, DateTime?, CancellationToken)
public virtual TestPermissionsResponse TestIamPermissions(TestIamPermissionsSubnetworkRequest request, Metadata headers = null, DateTime? deadline = null, CancellationToken cancellationToken = default)
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 | 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 |
AsyncUnaryCallTestPermissionsResponse | The call object. |
TestIamPermissionsAsync(TestIamPermissionsSubnetworkRequest, Metadata, DateTime?, CancellationToken)
public virtual AsyncUnaryCall<TestPermissionsResponse> TestIamPermissionsAsync(TestIamPermissionsSubnetworkRequest request, Metadata headers = null, DateTime? deadline = null, CancellationToken cancellationToken = default)
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 | 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 |
AsyncUnaryCallTestPermissionsResponse | The call object. |