public sealed class MachineTypesClientImpl : MachineTypesClientMachineTypes client wrapper implementation, for convenient use.
Namespace
Google.Cloud.Compute.V1Assembly
Google.Cloud.Compute.V1.dll
Remarks
The MachineTypes API.
Constructors
MachineTypesClientImpl(MachineTypes.MachineTypesClient, MachineTypesSettings)
public MachineTypesClientImpl(MachineTypes.MachineTypesClient grpcClient, MachineTypesSettings settings)Constructs a client wrapper for the MachineTypes service, with the specified gRPC client and settings.
| Parameters | |
|---|---|
| Name | Description | 
grpcClient | 
        MachineTypes.MachineTypesClientThe underlying gRPC client.  | 
      
settings | 
        MachineTypesSettingsThe base MachineTypesSettings used within this client.  | 
      
Properties
GrpcClient
public override MachineTypes.MachineTypesClient GrpcClient { get; }The underlying gRPC MachineTypes client
| Property Value | |
|---|---|
| Type | Description | 
MachineTypes.MachineTypesClient | 
        |
Methods
AggregatedList(AggregatedListMachineTypesRequest, CallSettings)
public override PagedEnumerable<MachineTypeAggregatedList, KeyValuePair<string, MachineTypesScopedList>> AggregatedList(AggregatedListMachineTypesRequest request, CallSettings callSettings = null)Retrieves an aggregated list of machine types.
| Parameters | |
|---|---|
| Name | Description | 
request | 
        AggregatedListMachineTypesRequestThe request object containing all of the parameters for the API call.  | 
      
callSettings | 
        CallSettingsIf not null, applies overrides to this RPC call.  | 
      
| Returns | |
|---|---|
| Type | Description | 
PagedEnumerable<MachineTypeAggregatedList, KeyValuePair<String, MachineTypesScopedList>> | 
        A pageable sequence of KeyValuePair<TKey,TValue> resources.  | 
      
AggregatedListAsync(AggregatedListMachineTypesRequest, CallSettings)
public override PagedAsyncEnumerable<MachineTypeAggregatedList, KeyValuePair<string, MachineTypesScopedList>> AggregatedListAsync(AggregatedListMachineTypesRequest request, CallSettings callSettings = null)Retrieves an aggregated list of machine types.
| Parameters | |
|---|---|
| Name | Description | 
request | 
        AggregatedListMachineTypesRequestThe request object containing all of the parameters for the API call.  | 
      
callSettings | 
        CallSettingsIf not null, applies overrides to this RPC call.  | 
      
| Returns | |
|---|---|
| Type | Description | 
PagedAsyncEnumerable<MachineTypeAggregatedList, KeyValuePair<String, MachineTypesScopedList>> | 
        A pageable asynchronous sequence of KeyValuePair<TKey,TValue> resources.  | 
      
Get(GetMachineTypeRequest, CallSettings)
public override MachineType Get(GetMachineTypeRequest request, CallSettings callSettings = null)Returns the specified machine type. Gets a list of available machine types by making a list() request.
| Parameters | |
|---|---|
| Name | Description | 
request | 
        GetMachineTypeRequestThe request object containing all of the parameters for the API call.  | 
      
callSettings | 
        CallSettingsIf not null, applies overrides to this RPC call.  | 
      
| Returns | |
|---|---|
| Type | Description | 
MachineType | 
        The RPC response.  | 
      
GetAsync(GetMachineTypeRequest, CallSettings)
public override Task<MachineType> GetAsync(GetMachineTypeRequest request, CallSettings callSettings = null)Returns the specified machine type. Gets a list of available machine types by making a list() request.
| Parameters | |
|---|---|
| Name | Description | 
request | 
        GetMachineTypeRequestThe request object containing all of the parameters for the API call.  | 
      
callSettings | 
        CallSettingsIf not null, applies overrides to this RPC call.  | 
      
| Returns | |
|---|---|
| Type | Description | 
Task<MachineType> | 
        A Task containing the RPC response.  | 
      
List(ListMachineTypesRequest, CallSettings)
public override PagedEnumerable<MachineTypeList, MachineType> List(ListMachineTypesRequest request, CallSettings callSettings = null)Retrieves a list of machine types available to the specified project.
| Parameters | |
|---|---|
| Name | Description | 
request | 
        ListMachineTypesRequestThe request object containing all of the parameters for the API call.  | 
      
callSettings | 
        CallSettingsIf not null, applies overrides to this RPC call.  | 
      
| Returns | |
|---|---|
| Type | Description | 
PagedEnumerable<MachineTypeList, MachineType> | 
        A pageable sequence of MachineType resources.  | 
      
ListAsync(ListMachineTypesRequest, CallSettings)
public override PagedAsyncEnumerable<MachineTypeList, MachineType> ListAsync(ListMachineTypesRequest request, CallSettings callSettings = null)Retrieves a list of machine types available to the specified project.
| Parameters | |
|---|---|
| Name | Description | 
request | 
        ListMachineTypesRequestThe request object containing all of the parameters for the API call.  | 
      
callSettings | 
        CallSettingsIf not null, applies overrides to this RPC call.  | 
      
| Returns | |
|---|---|
| Type | Description | 
PagedAsyncEnumerable<MachineTypeList, MachineType> | 
        A pageable asynchronous sequence of MachineType resources.  |