Compute Engine v1 API - Class PreviewFeaturesClientImpl (3.18.0)

public sealed class PreviewFeaturesClientImpl : PreviewFeaturesClient

Reference documentation and code samples for the Compute Engine v1 API class PreviewFeaturesClientImpl.

PreviewFeatures client wrapper implementation, for convenient use.

Inheritance

object > PreviewFeaturesClient > PreviewFeaturesClientImpl

Namespace

Google.Cloud.Compute.V1

Assembly

Google.Cloud.Compute.V1.dll

Remarks

The PreviewFeatures API.

Constructors

PreviewFeaturesClientImpl(PreviewFeaturesClient, PreviewFeaturesSettings, ILogger)

public PreviewFeaturesClientImpl(PreviewFeatures.PreviewFeaturesClient grpcClient, PreviewFeaturesSettings settings, ILogger logger)

Constructs a client wrapper for the PreviewFeatures service, with the specified gRPC client and settings.

Parameters
Name Description
grpcClient PreviewFeaturesPreviewFeaturesClient

The underlying gRPC client.

settings PreviewFeaturesSettings

The base PreviewFeaturesSettings used within this client.

logger ILogger

Optional ILogger to use within this client.

Properties

GrpcClient

public override PreviewFeatures.PreviewFeaturesClient GrpcClient { get; }

The underlying gRPC PreviewFeatures client

Property Value
Type Description
PreviewFeaturesPreviewFeaturesClient
Overrides

UpdateOperationsClient

public override OperationsClient UpdateOperationsClient { get; }

The long-running operations client for Update.

Property Value
Type Description
OperationsClient
Overrides

Methods

Get(GetPreviewFeatureRequest, CallSettings)

public override PreviewFeature Get(GetPreviewFeatureRequest request, CallSettings callSettings = null)

Returns the details of the given PreviewFeature.

Parameters
Name Description
request GetPreviewFeatureRequest

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
PreviewFeature

The RPC response.

Overrides

GetAsync(GetPreviewFeatureRequest, CallSettings)

public override Task<PreviewFeature> GetAsync(GetPreviewFeatureRequest request, CallSettings callSettings = null)

Returns the details of the given PreviewFeature.

Parameters
Name Description
request GetPreviewFeatureRequest

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
TaskPreviewFeature

A Task containing the RPC response.

Overrides

List(ListPreviewFeaturesRequest, CallSettings)

public override PagedEnumerable<PreviewFeatureList, PreviewFeature> List(ListPreviewFeaturesRequest request, CallSettings callSettings = null)

Returns the details of the given PreviewFeature.

Parameters
Name Description
request ListPreviewFeaturesRequest

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
PagedEnumerablePreviewFeatureListPreviewFeature

A pageable sequence of PreviewFeature resources.

Overrides

ListAsync(ListPreviewFeaturesRequest, CallSettings)

public override PagedAsyncEnumerable<PreviewFeatureList, PreviewFeature> ListAsync(ListPreviewFeaturesRequest request, CallSettings callSettings = null)

Returns the details of the given PreviewFeature.

Parameters
Name Description
request ListPreviewFeaturesRequest

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
PagedAsyncEnumerablePreviewFeatureListPreviewFeature

A pageable asynchronous sequence of PreviewFeature resources.

Overrides

Update(UpdatePreviewFeatureRequest, CallSettings)

public override Operation<Operation, Operation> Update(UpdatePreviewFeatureRequest request, CallSettings callSettings = null)

Patches the given PreviewFeature. This method is used to enable or disable a PreviewFeature.

Parameters
Name Description
request UpdatePreviewFeatureRequest

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
OperationOperationOperation

The RPC response.

Overrides

UpdateAsync(UpdatePreviewFeatureRequest, CallSettings)

public override Task<Operation<Operation, Operation>> UpdateAsync(UpdatePreviewFeatureRequest request, CallSettings callSettings = null)

Patches the given PreviewFeature. This method is used to enable or disable a PreviewFeature.

Parameters
Name Description
request UpdatePreviewFeatureRequest

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
TaskOperationOperationOperation

A Task containing the RPC response.

Overrides