- 3.22.0 (latest)
- 3.21.0
- 3.20.0
- 3.19.0
- 3.18.0
- 3.17.0
- 3.16.0
- 3.15.0
- 3.14.0
- 3.13.0
- 3.12.0
- 3.11.0
- 3.10.0
- 3.9.0
- 3.8.0
- 3.7.0
- 3.6.0
- 3.5.0
- 3.4.0
- 3.3.0
- 3.2.0
- 3.1.0
- 3.0.0
- 2.17.0
- 2.16.0
- 2.15.0
- 2.14.0
- 2.13.0
- 2.12.0
- 2.11.0
- 2.10.0
- 2.9.0
- 2.8.0
- 2.7.0
- 2.6.0
- 2.5.0
- 2.4.0
- 2.3.0
- 2.2.0
- 2.1.0
- 2.0.0
- 1.4.0
- 1.3.0
- 1.2.0
- 1.1.0
- 1.0.0
public class CrossSiteNetworks.CrossSiteNetworksClient : ClientBase<CrossSiteNetworks.CrossSiteNetworksClient>Reference documentation and code samples for the Compute Engine v1 API class CrossSiteNetworks.CrossSiteNetworksClient.
Client for CrossSiteNetworks
Inheritance
object > ClientBase > ClientBaseCrossSiteNetworksCrossSiteNetworksClient > CrossSiteNetworks.CrossSiteNetworksClientNamespace
Google.Cloud.Compute.V1Assembly
Google.Cloud.Compute.V1.dll
Constructors
CrossSiteNetworksClient()
protected CrossSiteNetworksClient()Protected parameterless constructor to allow creation of test doubles.
CrossSiteNetworksClient(CallInvoker)
public CrossSiteNetworksClient(CallInvoker callInvoker)Creates a new client for CrossSiteNetworks that uses a custom CallInvoker.
| Parameter | |
|---|---|
| Name | Description |
callInvoker |
CallInvokerThe callInvoker to use to make remote calls. |
CrossSiteNetworksClient(ChannelBase)
public CrossSiteNetworksClient(ChannelBase channel)Creates a new client for CrossSiteNetworks
| Parameter | |
|---|---|
| Name | Description |
channel |
ChannelBaseThe channel to use to make remote calls. |
CrossSiteNetworksClient(ClientBaseConfiguration)
protected CrossSiteNetworksClient(ClientBase.ClientBaseConfiguration configuration)Protected constructor to allow creation of configured clients.
| Parameter | |
|---|---|
| Name | Description |
configuration |
ClientBaseClientBaseConfigurationThe client configuration. |
Methods
CreateOperationsClientForGlobalOperations()
public virtual Operations.OperationsClient CreateOperationsClientForGlobalOperations()Creates a new instance of Operations.OperationsClient using the same call invoker as this client, delegating to GlobalOperations.
| Returns | |
|---|---|
| Type | Description |
OperationsOperationsClient |
A new Operations client for the same target as this client. |
Delete(DeleteCrossSiteNetworkRequest, CallOptions)
public virtual Operation Delete(DeleteCrossSiteNetworkRequest request, CallOptions options)Deletes the specified cross-site network in the given scope.
| Parameters | |
|---|---|
| Name | Description |
request |
DeleteCrossSiteNetworkRequestThe request to send to the server. |
options |
CallOptionsThe options for the call. |
| Returns | |
|---|---|
| Type | Description |
Operation |
The response received from the server. |
Delete(DeleteCrossSiteNetworkRequest, Metadata, DateTime?, CancellationToken)
public virtual Operation Delete(DeleteCrossSiteNetworkRequest request, Metadata headers = null, DateTime? deadline = null, CancellationToken cancellationToken = default)Deletes the specified cross-site network in the given scope.
| Parameters | |
|---|---|
| Name | Description |
request |
DeleteCrossSiteNetworkRequestThe request to send to the server. |
headers |
MetadataThe initial metadata to send with the call. This parameter is optional. |
deadline |
System.DateTimeAn optional deadline for the call. The call will be cancelled if deadline is hit. |
cancellationToken |
CancellationTokenAn optional token for canceling the call. |
| Returns | |
|---|---|
| Type | Description |
Operation |
The response received from the server. |
DeleteAsync(DeleteCrossSiteNetworkRequest, CallOptions)
public virtual AsyncUnaryCall<Operation> DeleteAsync(DeleteCrossSiteNetworkRequest request, CallOptions options)Deletes the specified cross-site network in the given scope.
| Parameters | |
|---|---|
| Name | Description |
request |
DeleteCrossSiteNetworkRequestThe request to send to the server. |
options |
CallOptionsThe options for the call. |
| Returns | |
|---|---|
| Type | Description |
AsyncUnaryCallOperation |
The call object. |
DeleteAsync(DeleteCrossSiteNetworkRequest, Metadata, DateTime?, CancellationToken)
public virtual AsyncUnaryCall<Operation> DeleteAsync(DeleteCrossSiteNetworkRequest request, Metadata headers = null, DateTime? deadline = null, CancellationToken cancellationToken = default)Deletes the specified cross-site network in the given scope.
| Parameters | |
|---|---|
| Name | Description |
request |
DeleteCrossSiteNetworkRequestThe request to send to the server. |
headers |
MetadataThe initial metadata to send with the call. This parameter is optional. |
deadline |
System.DateTimeAn optional deadline for the call. The call will be cancelled if deadline is hit. |
cancellationToken |
CancellationTokenAn optional token for canceling the call. |
| Returns | |
|---|---|
| Type | Description |
AsyncUnaryCallOperation |
The call object. |
Get(GetCrossSiteNetworkRequest, CallOptions)
public virtual CrossSiteNetwork Get(GetCrossSiteNetworkRequest request, CallOptions options)Returns the specified cross-site network in the given scope.
| Parameters | |
|---|---|
| Name | Description |
request |
GetCrossSiteNetworkRequestThe request to send to the server. |
options |
CallOptionsThe options for the call. |
| Returns | |
|---|---|
| Type | Description |
CrossSiteNetwork |
The response received from the server. |
Get(GetCrossSiteNetworkRequest, Metadata, DateTime?, CancellationToken)
public virtual CrossSiteNetwork Get(GetCrossSiteNetworkRequest request, Metadata headers = null, DateTime? deadline = null, CancellationToken cancellationToken = default)Returns the specified cross-site network in the given scope.
| Parameters | |
|---|---|
| Name | Description |
request |
GetCrossSiteNetworkRequestThe request to send to the server. |
headers |
MetadataThe initial metadata to send with the call. This parameter is optional. |
deadline |
System.DateTimeAn optional deadline for the call. The call will be cancelled if deadline is hit. |
cancellationToken |
CancellationTokenAn optional token for canceling the call. |
| Returns | |
|---|---|
| Type | Description |
CrossSiteNetwork |
The response received from the server. |
GetAsync(GetCrossSiteNetworkRequest, CallOptions)
public virtual AsyncUnaryCall<CrossSiteNetwork> GetAsync(GetCrossSiteNetworkRequest request, CallOptions options)Returns the specified cross-site network in the given scope.
| Parameters | |
|---|---|
| Name | Description |
request |
GetCrossSiteNetworkRequestThe request to send to the server. |
options |
CallOptionsThe options for the call. |
| Returns | |
|---|---|
| Type | Description |
AsyncUnaryCallCrossSiteNetwork |
The call object. |
GetAsync(GetCrossSiteNetworkRequest, Metadata, DateTime?, CancellationToken)
public virtual AsyncUnaryCall<CrossSiteNetwork> GetAsync(GetCrossSiteNetworkRequest request, Metadata headers = null, DateTime? deadline = null, CancellationToken cancellationToken = default)Returns the specified cross-site network in the given scope.
| Parameters | |
|---|---|
| Name | Description |
request |
GetCrossSiteNetworkRequestThe request to send to the server. |
headers |
MetadataThe initial metadata to send with the call. This parameter is optional. |
deadline |
System.DateTimeAn optional deadline for the call. The call will be cancelled if deadline is hit. |
cancellationToken |
CancellationTokenAn optional token for canceling the call. |
| Returns | |
|---|---|
| Type | Description |
AsyncUnaryCallCrossSiteNetwork |
The call object. |
Insert(InsertCrossSiteNetworkRequest, CallOptions)
public virtual Operation Insert(InsertCrossSiteNetworkRequest request, CallOptions options)Creates a cross-site network in the specified project in the given scope using the parameters that are included in the request.
| Parameters | |
|---|---|
| Name | Description |
request |
InsertCrossSiteNetworkRequestThe request to send to the server. |
options |
CallOptionsThe options for the call. |
| Returns | |
|---|---|
| Type | Description |
Operation |
The response received from the server. |
Insert(InsertCrossSiteNetworkRequest, Metadata, DateTime?, CancellationToken)
public virtual Operation Insert(InsertCrossSiteNetworkRequest request, Metadata headers = null, DateTime? deadline = null, CancellationToken cancellationToken = default)Creates a cross-site network in the specified project in the given scope using the parameters that are included in the request.
| Parameters | |
|---|---|
| Name | Description |
request |
InsertCrossSiteNetworkRequestThe request to send to the server. |
headers |
MetadataThe initial metadata to send with the call. This parameter is optional. |
deadline |
System.DateTimeAn optional deadline for the call. The call will be cancelled if deadline is hit. |
cancellationToken |
CancellationTokenAn optional token for canceling the call. |
| Returns | |
|---|---|
| Type | Description |
Operation |
The response received from the server. |
InsertAsync(InsertCrossSiteNetworkRequest, CallOptions)
public virtual AsyncUnaryCall<Operation> InsertAsync(InsertCrossSiteNetworkRequest request, CallOptions options)Creates a cross-site network in the specified project in the given scope using the parameters that are included in the request.
| Parameters | |
|---|---|
| Name | Description |
request |
InsertCrossSiteNetworkRequestThe request to send to the server. |
options |
CallOptionsThe options for the call. |
| Returns | |
|---|---|
| Type | Description |
AsyncUnaryCallOperation |
The call object. |
InsertAsync(InsertCrossSiteNetworkRequest, Metadata, DateTime?, CancellationToken)
public virtual AsyncUnaryCall<Operation> InsertAsync(InsertCrossSiteNetworkRequest request, Metadata headers = null, DateTime? deadline = null, CancellationToken cancellationToken = default)Creates a cross-site network in the specified project in the given scope using the parameters that are included in the request.
| Parameters | |
|---|---|
| Name | Description |
request |
InsertCrossSiteNetworkRequestThe request to send to the server. |
headers |
MetadataThe initial metadata to send with the call. This parameter is optional. |
deadline |
System.DateTimeAn optional deadline for the call. The call will be cancelled if deadline is hit. |
cancellationToken |
CancellationTokenAn optional token for canceling the call. |
| Returns | |
|---|---|
| Type | Description |
AsyncUnaryCallOperation |
The call object. |
List(ListCrossSiteNetworksRequest, CallOptions)
public virtual CrossSiteNetworkList List(ListCrossSiteNetworksRequest request, CallOptions options)Lists the cross-site networks for a project in the given scope.
| Parameters | |
|---|---|
| Name | Description |
request |
ListCrossSiteNetworksRequestThe request to send to the server. |
options |
CallOptionsThe options for the call. |
| Returns | |
|---|---|
| Type | Description |
CrossSiteNetworkList |
The response received from the server. |
List(ListCrossSiteNetworksRequest, Metadata, DateTime?, CancellationToken)
public virtual CrossSiteNetworkList List(ListCrossSiteNetworksRequest request, Metadata headers = null, DateTime? deadline = null, CancellationToken cancellationToken = default)Lists the cross-site networks for a project in the given scope.
| Parameters | |
|---|---|
| Name | Description |
request |
ListCrossSiteNetworksRequestThe request to send to the server. |
headers |
MetadataThe initial metadata to send with the call. This parameter is optional. |
deadline |
System.DateTimeAn optional deadline for the call. The call will be cancelled if deadline is hit. |
cancellationToken |
CancellationTokenAn optional token for canceling the call. |
| Returns | |
|---|---|
| Type | Description |
CrossSiteNetworkList |
The response received from the server. |
ListAsync(ListCrossSiteNetworksRequest, CallOptions)
public virtual AsyncUnaryCall<CrossSiteNetworkList> ListAsync(ListCrossSiteNetworksRequest request, CallOptions options)Lists the cross-site networks for a project in the given scope.
| Parameters | |
|---|---|
| Name | Description |
request |
ListCrossSiteNetworksRequestThe request to send to the server. |
options |
CallOptionsThe options for the call. |
| Returns | |
|---|---|
| Type | Description |
AsyncUnaryCallCrossSiteNetworkList |
The call object. |
ListAsync(ListCrossSiteNetworksRequest, Metadata, DateTime?, CancellationToken)
public virtual AsyncUnaryCall<CrossSiteNetworkList> ListAsync(ListCrossSiteNetworksRequest request, Metadata headers = null, DateTime? deadline = null, CancellationToken cancellationToken = default)Lists the cross-site networks for a project in the given scope.
| Parameters | |
|---|---|
| Name | Description |
request |
ListCrossSiteNetworksRequestThe request to send to the server. |
headers |
MetadataThe initial metadata to send with the call. This parameter is optional. |
deadline |
System.DateTimeAn optional deadline for the call. The call will be cancelled if deadline is hit. |
cancellationToken |
CancellationTokenAn optional token for canceling the call. |
| Returns | |
|---|---|
| Type | Description |
AsyncUnaryCallCrossSiteNetworkList |
The call object. |
NewInstance(ClientBaseConfiguration)
protected override CrossSiteNetworks.CrossSiteNetworksClient NewInstance(ClientBase.ClientBaseConfiguration configuration)Creates a new instance of client from given ClientBaseConfiguration.
| Parameter | |
|---|---|
| Name | Description |
configuration |
ClientBaseClientBaseConfiguration |
| Returns | |
|---|---|
| Type | Description |
CrossSiteNetworksCrossSiteNetworksClient |
|
Patch(PatchCrossSiteNetworkRequest, CallOptions)
public virtual Operation Patch(PatchCrossSiteNetworkRequest request, CallOptions options)Updates the specified cross-site network with the data included in the request. This method supportsPATCH semantics and uses theJSON merge patch format and processing rules.
| Parameters | |
|---|---|
| Name | Description |
request |
PatchCrossSiteNetworkRequestThe request to send to the server. |
options |
CallOptionsThe options for the call. |
| Returns | |
|---|---|
| Type | Description |
Operation |
The response received from the server. |
Patch(PatchCrossSiteNetworkRequest, Metadata, DateTime?, CancellationToken)
public virtual Operation Patch(PatchCrossSiteNetworkRequest request, Metadata headers = null, DateTime? deadline = null, CancellationToken cancellationToken = default)Updates the specified cross-site network with the data included in the request. This method supportsPATCH semantics and uses theJSON merge patch format and processing rules.
| Parameters | |
|---|---|
| Name | Description |
request |
PatchCrossSiteNetworkRequestThe request to send to the server. |
headers |
MetadataThe initial metadata to send with the call. This parameter is optional. |
deadline |
System.DateTimeAn optional deadline for the call. The call will be cancelled if deadline is hit. |
cancellationToken |
CancellationTokenAn optional token for canceling the call. |
| Returns | |
|---|---|
| Type | Description |
Operation |
The response received from the server. |
PatchAsync(PatchCrossSiteNetworkRequest, CallOptions)
public virtual AsyncUnaryCall<Operation> PatchAsync(PatchCrossSiteNetworkRequest request, CallOptions options)Updates the specified cross-site network with the data included in the request. This method supportsPATCH semantics and uses theJSON merge patch format and processing rules.
| Parameters | |
|---|---|
| Name | Description |
request |
PatchCrossSiteNetworkRequestThe request to send to the server. |
options |
CallOptionsThe options for the call. |
| Returns | |
|---|---|
| Type | Description |
AsyncUnaryCallOperation |
The call object. |
PatchAsync(PatchCrossSiteNetworkRequest, Metadata, DateTime?, CancellationToken)
public virtual AsyncUnaryCall<Operation> PatchAsync(PatchCrossSiteNetworkRequest request, Metadata headers = null, DateTime? deadline = null, CancellationToken cancellationToken = default)Updates the specified cross-site network with the data included in the request. This method supportsPATCH semantics and uses theJSON merge patch format and processing rules.
| Parameters | |
|---|---|
| Name | Description |
request |
PatchCrossSiteNetworkRequestThe request to send to the server. |
headers |
MetadataThe initial metadata to send with the call. This parameter is optional. |
deadline |
System.DateTimeAn optional deadline for the call. The call will be cancelled if deadline is hit. |
cancellationToken |
CancellationTokenAn optional token for canceling the call. |
| Returns | |
|---|---|
| Type | Description |
AsyncUnaryCallOperation |
The call object. |