public sealed class ProjectViewsClientImpl : ProjectViewsClientReference documentation and code samples for the Compute Engine v1 API class ProjectViewsClientImpl.
ProjectViews client wrapper implementation, for convenient use.
Namespace
Google.Cloud.Compute.V1Assembly
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 |
ProjectViewsProjectViewsClientThe underlying gRPC client. |
settings |
ProjectViewsSettingsThe base ProjectViewsSettings used within this client. |
logger |
ILoggerOptional ILogger to use within this client. |
Properties
GrpcClient
public override ProjectViews.ProjectViewsClient GrpcClient { get; }The underlying gRPC ProjectViews client
| Property Value | |
|---|---|
| Type | Description |
ProjectViewsProjectViewsClient |
|
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 |
GetProjectViewRequestThe request object containing all of the parameters for the API call. |
callSettings |
CallSettingsIf not null, applies overrides to this RPC call. |
| Returns | |
|---|---|
| Type | Description |
ProjectView |
The RPC response. |
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 |
GetProjectViewRequestThe request object containing all of the parameters for the API call. |
callSettings |
CallSettingsIf not null, applies overrides to this RPC call. |
| Returns | |
|---|---|
| Type | Description |
TaskProjectView |
A Task containing the RPC response. |