public class InterconnectRemoteLocations.InterconnectRemoteLocationsClient : ClientBase<InterconnectRemoteLocations.InterconnectRemoteLocationsClient>
Reference documentation and code samples for the Compute Engine v1 API class InterconnectRemoteLocations.InterconnectRemoteLocationsClient.
Client for InterconnectRemoteLocations
Inheritance
object > ClientBase > ClientBaseInterconnectRemoteLocationsInterconnectRemoteLocationsClient > InterconnectRemoteLocations.InterconnectRemoteLocationsClientNamespace
Google.Cloud.Compute.V1Assembly
Google.Cloud.Compute.V1.dll
Constructors
InterconnectRemoteLocationsClient()
protected InterconnectRemoteLocationsClient()
Protected parameterless constructor to allow creation of test doubles.
InterconnectRemoteLocationsClient(CallInvoker)
public InterconnectRemoteLocationsClient(CallInvoker callInvoker)
Creates a new client for InterconnectRemoteLocations that uses a custom CallInvoker
.
Parameter | |
---|---|
Name | Description |
callInvoker |
CallInvoker The callInvoker to use to make remote calls. |
InterconnectRemoteLocationsClient(ChannelBase)
public InterconnectRemoteLocationsClient(ChannelBase channel)
Creates a new client for InterconnectRemoteLocations
Parameter | |
---|---|
Name | Description |
channel |
ChannelBase The channel to use to make remote calls. |
InterconnectRemoteLocationsClient(ClientBaseConfiguration)
protected InterconnectRemoteLocationsClient(ClientBase.ClientBaseConfiguration configuration)
Protected constructor to allow creation of configured clients.
Parameter | |
---|---|
Name | Description |
configuration |
ClientBaseClientBaseConfiguration The client configuration. |
Methods
Get(GetInterconnectRemoteLocationRequest, CallOptions)
public virtual InterconnectRemoteLocation Get(GetInterconnectRemoteLocationRequest request, CallOptions options)
Returns the details for the specified interconnect remote location. Gets a list of available interconnect remote locations by making a list() request.
Parameters | |
---|---|
Name | Description |
request |
GetInterconnectRemoteLocationRequest The request to send to the server. |
options |
CallOptions The options for the call. |
Returns | |
---|---|
Type | Description |
InterconnectRemoteLocation |
The response received from the server. |
Get(GetInterconnectRemoteLocationRequest, Metadata, DateTime?, CancellationToken)
public virtual InterconnectRemoteLocation Get(GetInterconnectRemoteLocationRequest request, Metadata headers = null, DateTime? deadline = null, CancellationToken cancellationToken = default)
Returns the details for the specified interconnect remote location. Gets a list of available interconnect remote locations by making a list() request.
Parameters | |
---|---|
Name | Description |
request |
GetInterconnectRemoteLocationRequest The request to send to the server. |
headers |
Metadata The initial metadata to send with the call. This parameter is optional. |
deadline |
System.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 |
InterconnectRemoteLocation |
The response received from the server. |
GetAsync(GetInterconnectRemoteLocationRequest, CallOptions)
public virtual AsyncUnaryCall<InterconnectRemoteLocation> GetAsync(GetInterconnectRemoteLocationRequest request, CallOptions options)
Returns the details for the specified interconnect remote location. Gets a list of available interconnect remote locations by making a list() request.
Parameters | |
---|---|
Name | Description |
request |
GetInterconnectRemoteLocationRequest The request to send to the server. |
options |
CallOptions The options for the call. |
Returns | |
---|---|
Type | Description |
AsyncUnaryCallInterconnectRemoteLocation |
The call object. |
GetAsync(GetInterconnectRemoteLocationRequest, Metadata, DateTime?, CancellationToken)
public virtual AsyncUnaryCall<InterconnectRemoteLocation> GetAsync(GetInterconnectRemoteLocationRequest request, Metadata headers = null, DateTime? deadline = null, CancellationToken cancellationToken = default)
Returns the details for the specified interconnect remote location. Gets a list of available interconnect remote locations by making a list() request.
Parameters | |
---|---|
Name | Description |
request |
GetInterconnectRemoteLocationRequest The request to send to the server. |
headers |
Metadata The initial metadata to send with the call. This parameter is optional. |
deadline |
System.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 |
AsyncUnaryCallInterconnectRemoteLocation |
The call object. |
List(ListInterconnectRemoteLocationsRequest, CallOptions)
public virtual InterconnectRemoteLocationList List(ListInterconnectRemoteLocationsRequest request, CallOptions options)
Retrieves the list of interconnect remote locations available to the specified project.
Parameters | |
---|---|
Name | Description |
request |
ListInterconnectRemoteLocationsRequest The request to send to the server. |
options |
CallOptions The options for the call. |
Returns | |
---|---|
Type | Description |
InterconnectRemoteLocationList |
The response received from the server. |
List(ListInterconnectRemoteLocationsRequest, Metadata, DateTime?, CancellationToken)
public virtual InterconnectRemoteLocationList List(ListInterconnectRemoteLocationsRequest request, Metadata headers = null, DateTime? deadline = null, CancellationToken cancellationToken = default)
Retrieves the list of interconnect remote locations available to the specified project.
Parameters | |
---|---|
Name | Description |
request |
ListInterconnectRemoteLocationsRequest The request to send to the server. |
headers |
Metadata The initial metadata to send with the call. This parameter is optional. |
deadline |
System.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 |
InterconnectRemoteLocationList |
The response received from the server. |
ListAsync(ListInterconnectRemoteLocationsRequest, CallOptions)
public virtual AsyncUnaryCall<InterconnectRemoteLocationList> ListAsync(ListInterconnectRemoteLocationsRequest request, CallOptions options)
Retrieves the list of interconnect remote locations available to the specified project.
Parameters | |
---|---|
Name | Description |
request |
ListInterconnectRemoteLocationsRequest The request to send to the server. |
options |
CallOptions The options for the call. |
Returns | |
---|---|
Type | Description |
AsyncUnaryCallInterconnectRemoteLocationList |
The call object. |
ListAsync(ListInterconnectRemoteLocationsRequest, Metadata, DateTime?, CancellationToken)
public virtual AsyncUnaryCall<InterconnectRemoteLocationList> ListAsync(ListInterconnectRemoteLocationsRequest request, Metadata headers = null, DateTime? deadline = null, CancellationToken cancellationToken = default)
Retrieves the list of interconnect remote locations available to the specified project.
Parameters | |
---|---|
Name | Description |
request |
ListInterconnectRemoteLocationsRequest The request to send to the server. |
headers |
Metadata The initial metadata to send with the call. This parameter is optional. |
deadline |
System.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 |
AsyncUnaryCallInterconnectRemoteLocationList |
The call object. |
NewInstance(ClientBaseConfiguration)
protected override InterconnectRemoteLocations.InterconnectRemoteLocationsClient NewInstance(ClientBase.ClientBaseConfiguration configuration)
Creates a new instance of client from given ClientBaseConfiguration
.
Parameter | |
---|---|
Name | Description |
configuration |
ClientBaseClientBaseConfiguration |
Returns | |
---|---|
Type | Description |
InterconnectRemoteLocationsInterconnectRemoteLocationsClient |