public sealed class InterconnectLocationsClientImpl : InterconnectLocationsClient
InterconnectLocations client wrapper implementation, for convenient use.
Namespace
Google.Cloud.Compute.V1Assembly
Google.Cloud.Compute.V1.dll
Remarks
The InterconnectLocations API.
Constructors
InterconnectLocationsClientImpl(InterconnectLocations.InterconnectLocationsClient, InterconnectLocationsSettings)
public InterconnectLocationsClientImpl(InterconnectLocations.InterconnectLocationsClient grpcClient, InterconnectLocationsSettings settings)
Constructs a client wrapper for the InterconnectLocations service, with the specified gRPC client and settings.
Parameters | |
---|---|
Name | Description |
grpcClient | InterconnectLocations.InterconnectLocationsClient The underlying gRPC client. |
settings | InterconnectLocationsSettings The base InterconnectLocationsSettings used within this client. |
Properties
GrpcClient
public override InterconnectLocations.InterconnectLocationsClient GrpcClient { get; }
The underlying gRPC InterconnectLocations client
Property Value | |
---|---|
Type | Description |
InterconnectLocations.InterconnectLocationsClient |
Methods
Get(GetInterconnectLocationRequest, CallSettings)
public override InterconnectLocation Get(GetInterconnectLocationRequest request, CallSettings callSettings = null)
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 object containing all of the parameters for the API call. |
callSettings | CallSettings If not null, applies overrides to this RPC call. |
Returns | |
---|---|
Type | Description |
InterconnectLocation | The RPC response. |
GetAsync(GetInterconnectLocationRequest, CallSettings)
public override Task<InterconnectLocation> GetAsync(GetInterconnectLocationRequest request, CallSettings callSettings = null)
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 object containing all of the parameters for the API call. |
callSettings | CallSettings If not null, applies overrides to this RPC call. |
Returns | |
---|---|
Type | Description |
Task<InterconnectLocation> | A Task containing the RPC response. |
List(ListInterconnectLocationsRequest, CallSettings)
public override PagedEnumerable<InterconnectLocationList, InterconnectLocation> List(ListInterconnectLocationsRequest request, CallSettings callSettings = null)
Retrieves the list of interconnect locations available to the specified project.
Parameters | |
---|---|
Name | Description |
request | ListInterconnectLocationsRequest The request object containing all of the parameters for the API call. |
callSettings | CallSettings If not null, applies overrides to this RPC call. |
Returns | |
---|---|
Type | Description |
PagedEnumerable<InterconnectLocationList, InterconnectLocation> | A pageable sequence of InterconnectLocation resources. |
ListAsync(ListInterconnectLocationsRequest, CallSettings)
public override PagedAsyncEnumerable<InterconnectLocationList, InterconnectLocation> ListAsync(ListInterconnectLocationsRequest request, CallSettings callSettings = null)
Retrieves the list of interconnect locations available to the specified project.
Parameters | |
---|---|
Name | Description |
request | ListInterconnectLocationsRequest The request object containing all of the parameters for the API call. |
callSettings | CallSettings If not null, applies overrides to this RPC call. |
Returns | |
---|---|
Type | Description |
PagedAsyncEnumerable<InterconnectLocationList, InterconnectLocation> | A pageable asynchronous sequence of InterconnectLocation resources. |