Compute Engine v1 API - Class GlobalFrontendSettingsService.GlobalFrontendSettingsServiceClient (4.0.0)

public class GlobalFrontendSettingsService.GlobalFrontendSettingsServiceClient : ClientBase<GlobalFrontendSettingsService.GlobalFrontendSettingsServiceClient>

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

Client for GlobalFrontendSettingsService

Inheritance

object > ClientBase > ClientBaseGlobalFrontendSettingsServiceGlobalFrontendSettingsServiceClient > GlobalFrontendSettingsService.GlobalFrontendSettingsServiceClient

Namespace

Google.Cloud.Compute.V1

Assembly

Google.Cloud.Compute.V1.dll

Constructors

GlobalFrontendSettingsServiceClient()

protected GlobalFrontendSettingsServiceClient()

Protected parameterless constructor to allow creation of test doubles.

GlobalFrontendSettingsServiceClient(CallInvoker)

public GlobalFrontendSettingsServiceClient(CallInvoker callInvoker)

Creates a new client for GlobalFrontendSettingsService that uses a custom CallInvoker.

Parameter
Name Description
callInvoker CallInvoker

The callInvoker to use to make remote calls.

GlobalFrontendSettingsServiceClient(ChannelBase)

public GlobalFrontendSettingsServiceClient(ChannelBase channel)

Creates a new client for GlobalFrontendSettingsService

Parameter
Name Description
channel ChannelBase

The channel to use to make remote calls.

GlobalFrontendSettingsServiceClient(ClientBaseConfiguration)

protected GlobalFrontendSettingsServiceClient(ClientBase.ClientBaseConfiguration configuration)

Protected constructor to allow creation of configured clients.

Parameter
Name Description
configuration ClientBaseClientBaseConfiguration

The client configuration.

Methods

Get(GetGlobalFrontendSettingRequest, CallOptions)

public virtual GlobalFrontendSettings Get(GetGlobalFrontendSettingRequest request, CallOptions options)

Gets the Global Frontend Billing Bundle Settings for a project.

Parameters
Name Description
request GetGlobalFrontendSettingRequest

The request to send to the server.

options CallOptions

The options for the call.

Returns
Type Description
GlobalFrontendSettings

The response received from the server.

Get(GetGlobalFrontendSettingRequest, Metadata, DateTime?, CancellationToken)

public virtual GlobalFrontendSettings Get(GetGlobalFrontendSettingRequest request, Metadata headers = null, DateTime? deadline = null, CancellationToken cancellationToken = default)

Gets the Global Frontend Billing Bundle Settings for a project.

Parameters
Name Description
request GetGlobalFrontendSettingRequest

The request to send to the server.

headers Metadata

The initial metadata to send with the call. This parameter is optional.

deadline System.DateTime

An optional deadline for the call. The call will be cancelled if deadline is hit.

cancellationToken CancellationToken

An optional token for canceling the call.

Returns
Type Description
GlobalFrontendSettings

The response received from the server.

GetAsync(GetGlobalFrontendSettingRequest, CallOptions)

public virtual AsyncUnaryCall<GlobalFrontendSettings> GetAsync(GetGlobalFrontendSettingRequest request, CallOptions options)

Gets the Global Frontend Billing Bundle Settings for a project.

Parameters
Name Description
request GetGlobalFrontendSettingRequest

The request to send to the server.

options CallOptions

The options for the call.

Returns
Type Description
AsyncUnaryCallGlobalFrontendSettings

The call object.

GetAsync(GetGlobalFrontendSettingRequest, Metadata, DateTime?, CancellationToken)

public virtual AsyncUnaryCall<GlobalFrontendSettings> GetAsync(GetGlobalFrontendSettingRequest request, Metadata headers = null, DateTime? deadline = null, CancellationToken cancellationToken = default)

Gets the Global Frontend Billing Bundle Settings for a project.

Parameters
Name Description
request GetGlobalFrontendSettingRequest

The request to send to the server.

headers Metadata

The initial metadata to send with the call. This parameter is optional.

deadline System.DateTime

An optional deadline for the call. The call will be cancelled if deadline is hit.

cancellationToken CancellationToken

An optional token for canceling the call.

Returns
Type Description
AsyncUnaryCallGlobalFrontendSettings

The call object.

NewInstance(ClientBaseConfiguration)

protected override GlobalFrontendSettingsService.GlobalFrontendSettingsServiceClient NewInstance(ClientBase.ClientBaseConfiguration configuration)

Creates a new instance of client from given ClientBaseConfiguration.

Parameter
Name Description
configuration ClientBaseClientBaseConfiguration
Returns
Type Description
GlobalFrontendSettingsServiceGlobalFrontendSettingsServiceClient
Overrides
Grpc.Core.ClientBase<Google.Cloud.Compute.V1.GlobalFrontendSettingsService.GlobalFrontendSettingsServiceClient>.NewInstance(Grpc.Core.ClientBase.ClientBaseConfiguration)

Patch(PatchGlobalFrontendSettingRequest, CallOptions)

public virtual GlobalFrontendSettingsPatchResponse Patch(PatchGlobalFrontendSettingRequest request, CallOptions options)

Updates the Global Frontend Billing Bundle Settings for a project.

Parameters
Name Description
request PatchGlobalFrontendSettingRequest

The request to send to the server.

options CallOptions

The options for the call.

Returns
Type Description
GlobalFrontendSettingsPatchResponse

The response received from the server.

Patch(PatchGlobalFrontendSettingRequest, Metadata, DateTime?, CancellationToken)

public virtual GlobalFrontendSettingsPatchResponse Patch(PatchGlobalFrontendSettingRequest request, Metadata headers = null, DateTime? deadline = null, CancellationToken cancellationToken = default)

Updates the Global Frontend Billing Bundle Settings for a project.

Parameters
Name Description
request PatchGlobalFrontendSettingRequest

The request to send to the server.

headers Metadata

The initial metadata to send with the call. This parameter is optional.

deadline System.DateTime

An optional deadline for the call. The call will be cancelled if deadline is hit.

cancellationToken CancellationToken

An optional token for canceling the call.

Returns
Type Description
GlobalFrontendSettingsPatchResponse

The response received from the server.

PatchAsync(PatchGlobalFrontendSettingRequest, CallOptions)

public virtual AsyncUnaryCall<GlobalFrontendSettingsPatchResponse> PatchAsync(PatchGlobalFrontendSettingRequest request, CallOptions options)

Updates the Global Frontend Billing Bundle Settings for a project.

Parameters
Name Description
request PatchGlobalFrontendSettingRequest

The request to send to the server.

options CallOptions

The options for the call.

Returns
Type Description
AsyncUnaryCallGlobalFrontendSettingsPatchResponse

The call object.

PatchAsync(PatchGlobalFrontendSettingRequest, Metadata, DateTime?, CancellationToken)

public virtual AsyncUnaryCall<GlobalFrontendSettingsPatchResponse> PatchAsync(PatchGlobalFrontendSettingRequest request, Metadata headers = null, DateTime? deadline = null, CancellationToken cancellationToken = default)

Updates the Global Frontend Billing Bundle Settings for a project.

Parameters
Name Description
request PatchGlobalFrontendSettingRequest

The request to send to the server.

headers Metadata

The initial metadata to send with the call. This parameter is optional.

deadline System.DateTime

An optional deadline for the call. The call will be cancelled if deadline is hit.

cancellationToken CancellationToken

An optional token for canceling the call.

Returns
Type Description
AsyncUnaryCallGlobalFrontendSettingsPatchResponse

The call object.