Compute Engine v1 API - Class ProjectViewsClientImpl (4.0.0)

public sealed class ProjectViewsClientImpl : ProjectViewsClient

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

ProjectViews client wrapper implementation, for convenient use.

Inheritance

object > ProjectViewsClient > ProjectViewsClientImpl

Namespace

Google.Cloud.Compute.V1

Assembly

Google.Cloud.Compute.V1.dll

Remarks

The ProjectViews API.

Constructors

ProjectViewsClientImpl(ProjectViewsClient, ProjectViewsSettings, ILogger)

public ProjectViewsClientImpl(ProjectViews.ProjectViewsClient grpcClient, ProjectViewsSettings settings, ILogger logger)

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

Parameters
Name Description
grpcClient ProjectViewsProjectViewsClient

The underlying gRPC client.

settings ProjectViewsSettings

The base ProjectViewsSettings used within this client.

logger ILogger

Optional ILogger to use within this client.

Properties

GrpcClient

public override ProjectViews.ProjectViewsClient GrpcClient { get; }

The underlying gRPC ProjectViews client

Property Value
Type Description
ProjectViewsProjectViewsClient
Overrides

Methods

Get(GetProjectViewRequest, CallSettings)

public override ProjectView Get(GetProjectViewRequest request, CallSettings callSettings = null)

Returns the specified global ProjectViews resource, with a regional context. This regional API endpoint reads resource metadata from regional read-only replicas. Because changes are copied to these regional replicas asynchronously, for real-time resource reads or any write operations (creating, updating, or deleting resources), use the global projects.get endpoint.

Parameters
Name Description
request GetProjectViewRequest

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
ProjectView

The RPC response.

Overrides

GetAsync(GetProjectViewRequest, CallSettings)

public override Task<ProjectView> GetAsync(GetProjectViewRequest request, CallSettings callSettings = null)

Returns the specified global ProjectViews resource, with a regional context. This regional API endpoint reads resource metadata from regional read-only replicas. Because changes are copied to these regional replicas asynchronously, for real-time resource reads or any write operations (creating, updating, or deleting resources), use the global projects.get endpoint.

Parameters
Name Description
request GetProjectViewRequest

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
TaskProjectView

A Task containing the RPC response.

Overrides