public class InterconnectLocationsClient : ClientBase<InterconnectLocations.InterconnectLocationsClient>
Client for InterconnectLocations
Inheritance
Object > ClientBase > ClientBase<InterconnectLocations.InterconnectLocationsClient> > InterconnectLocations.InterconnectLocationsClientNamespace
Google.Cloud.Compute.V1Assembly
Google.Cloud.Compute.V1.dll
Constructors
InterconnectLocationsClient()
protected InterconnectLocationsClient()
Protected parameterless constructor to allow creation of test doubles.
InterconnectLocationsClient(CallInvoker)
public InterconnectLocationsClient(CallInvoker callInvoker)
Creates a new client for InterconnectLocations that uses a custom CallInvoker
.
Parameter | |
---|---|
Name | Description |
callInvoker | CallInvoker The callInvoker to use to make remote calls. |
InterconnectLocationsClient(ChannelBase)
public InterconnectLocationsClient(ChannelBase channel)
Creates a new client for InterconnectLocations
Parameter | |
---|---|
Name | Description |
channel | ChannelBase The channel to use to make remote calls. |
InterconnectLocationsClient(ClientBase.ClientBaseConfiguration)
protected InterconnectLocationsClient(ClientBase.ClientBaseConfiguration configuration)
Protected constructor to allow creation of configured clients.
Parameter | |
---|---|
Name | Description |
configuration | ClientBase.ClientBaseConfiguration The client configuration. |
Methods
Get(GetInterconnectLocationRequest, CallOptions)
public virtual InterconnectLocation Get(GetInterconnectLocationRequest request, CallOptions options)
Returns the details for the specified interconnect location. Gets a list of available interconnect locations by making a list() request.
Parameters | |
---|---|
Name | Description |
request | GetInterconnectLocationRequest The request to send to the server. |
options | CallOptions The options for the call. |
Returns | |
---|---|
Type | Description |
InterconnectLocation | The response received from the server. |
Get(GetInterconnectLocationRequest, Metadata, Nullable<DateTime>, CancellationToken)
public virtual InterconnectLocation Get(GetInterconnectLocationRequest request, Metadata headers = null, DateTime? deadline = null, CancellationToken cancellationToken = default(CancellationToken))
Returns the details for the specified interconnect location. Gets a list of available interconnect locations by making a list() request.
Parameters | |
---|---|
Name | Description |
request | GetInterconnectLocationRequest 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 |
InterconnectLocation | The response received from the server. |
GetAsync(GetInterconnectLocationRequest, CallOptions)
public virtual AsyncUnaryCall<InterconnectLocation> GetAsync(GetInterconnectLocationRequest request, CallOptions options)
Returns the details for the specified interconnect location. Gets a list of available interconnect locations by making a list() request.
Parameters | |
---|---|
Name | Description |
request | GetInterconnectLocationRequest The request to send to the server. |
options | CallOptions The options for the call. |
Returns | |
---|---|
Type | Description |
AsyncUnaryCall<InterconnectLocation> | The call object. |
GetAsync(GetInterconnectLocationRequest, Metadata, Nullable<DateTime>, CancellationToken)
public virtual AsyncUnaryCall<InterconnectLocation> GetAsync(GetInterconnectLocationRequest request, Metadata headers = null, DateTime? deadline = null, CancellationToken cancellationToken = default(CancellationToken))
Returns the details for the specified interconnect location. Gets a list of available interconnect locations by making a list() request.
Parameters | |
---|---|
Name | Description |
request | GetInterconnectLocationRequest 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<InterconnectLocation> | The call object. |
List(ListInterconnectLocationsRequest, CallOptions)
public virtual InterconnectLocationList List(ListInterconnectLocationsRequest request, CallOptions options)
Retrieves the list of interconnect locations available to the specified project.
Parameters | |
---|---|
Name | Description |
request | ListInterconnectLocationsRequest The request to send to the server. |
options | CallOptions The options for the call. |
Returns | |
---|---|
Type | Description |
InterconnectLocationList | The response received from the server. |
List(ListInterconnectLocationsRequest, Metadata, Nullable<DateTime>, CancellationToken)
public virtual InterconnectLocationList List(ListInterconnectLocationsRequest request, Metadata headers = null, DateTime? deadline = null, CancellationToken cancellationToken = default(CancellationToken))
Retrieves the list of interconnect locations available to the specified project.
Parameters | |
---|---|
Name | Description |
request | ListInterconnectLocationsRequest 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 |
InterconnectLocationList | The response received from the server. |
ListAsync(ListInterconnectLocationsRequest, CallOptions)
public virtual AsyncUnaryCall<InterconnectLocationList> ListAsync(ListInterconnectLocationsRequest request, CallOptions options)
Retrieves the list of interconnect locations available to the specified project.
Parameters | |
---|---|
Name | Description |
request | ListInterconnectLocationsRequest The request to send to the server. |
options | CallOptions The options for the call. |
Returns | |
---|---|
Type | Description |
AsyncUnaryCall<InterconnectLocationList> | The call object. |
ListAsync(ListInterconnectLocationsRequest, Metadata, Nullable<DateTime>, CancellationToken)
public virtual AsyncUnaryCall<InterconnectLocationList> ListAsync(ListInterconnectLocationsRequest request, Metadata headers = null, DateTime? deadline = null, CancellationToken cancellationToken = default(CancellationToken))
Retrieves the list of interconnect locations available to the specified project.
Parameters | |
---|---|
Name | Description |
request | ListInterconnectLocationsRequest 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<InterconnectLocationList> | The call object. |
NewInstance(ClientBase.ClientBaseConfiguration)
protected override InterconnectLocations.InterconnectLocationsClient NewInstance(ClientBase.ClientBaseConfiguration configuration)
Creates a new instance of client from given ClientBaseConfiguration
.
Parameter | |
---|---|
Name | Description |
configuration | ClientBase.ClientBaseConfiguration |
Returns | |
---|---|
Type | Description |
InterconnectLocations.InterconnectLocationsClient |