public abstract class GlobalFrontendSettingsServiceClientReference documentation and code samples for the Compute Engine v1 API class GlobalFrontendSettingsServiceClient.
GlobalFrontendSettingsService client wrapper, for convenient use. This client implements API version 2026-09-01.
Derived Types
Namespace
Google.Cloud.Compute.V1Assembly
Google.Cloud.Compute.V1.dll
Remarks
The GlobalFrontendSettings API.
Properties
DefaultEndpoint
public static string DefaultEndpoint { get; }The default endpoint for the GlobalFrontendSettingsService service, which is a host of "compute.googleapis.com" and a port of 443.
| Property Value | |
|---|---|
| Type | Description |
string |
|
DefaultScopes
public static IReadOnlyList<string> DefaultScopes { get; }The default GlobalFrontendSettingsService scopes.
| Property Value | |
|---|---|
| Type | Description |
IReadOnlyListstring |
|
The default GlobalFrontendSettingsService scopes are:
GrpcClient
public virtual GlobalFrontendSettingsService.GlobalFrontendSettingsServiceClient GrpcClient { get; }The underlying gRPC GlobalFrontendSettingsService client
| Property Value | |
|---|---|
| Type | Description |
GlobalFrontendSettingsServiceGlobalFrontendSettingsServiceClient |
|
ServiceMetadata
public static ServiceMetadata ServiceMetadata { get; }The service metadata associated with this client type.
| Property Value | |
|---|---|
| Type | Description |
ServiceMetadata |
|
Methods
Create()
public static GlobalFrontendSettingsServiceClient Create()Synchronously creates a GlobalFrontendSettingsServiceClient using the default credentials, endpoint and settings. To specify custom credentials or other settings, use GlobalFrontendSettingsServiceClientBuilder.
| Returns | |
|---|---|
| Type | Description |
GlobalFrontendSettingsServiceClient |
The created GlobalFrontendSettingsServiceClient. |
CreateAsync(CancellationToken)
public static Task<GlobalFrontendSettingsServiceClient> CreateAsync(CancellationToken cancellationToken = default)Asynchronously creates a GlobalFrontendSettingsServiceClient using the default credentials, endpoint and settings. To specify custom credentials or other settings, use GlobalFrontendSettingsServiceClientBuilder.
| Parameter | |
|---|---|
| Name | Description |
cancellationToken |
CancellationTokenThe CancellationToken to use while creating the client. |
| Returns | |
|---|---|
| Type | Description |
TaskGlobalFrontendSettingsServiceClient |
The task representing the created GlobalFrontendSettingsServiceClient. |
Get(GetGlobalFrontendSettingRequest, CallSettings)
public virtual GlobalFrontendSettings Get(GetGlobalFrontendSettingRequest request, CallSettings callSettings = null)Gets the Global Frontend Billing Bundle Settings for a project.
| Parameters | |
|---|---|
| Name | Description |
request |
GetGlobalFrontendSettingRequestThe request object containing all of the parameters for the API call. |
callSettings |
CallSettingsIf not null, applies overrides to this RPC call. |
| Returns | |
|---|---|
| Type | Description |
GlobalFrontendSettings |
The RPC response. |
// Create client
GlobalFrontendSettingsServiceClient globalFrontendSettingsServiceClient = GlobalFrontendSettingsServiceClient.Create();
// Initialize request argument(s)
GetGlobalFrontendSettingRequest request = new GetGlobalFrontendSettingRequest { Project = "", };
// Make the request
GlobalFrontendSettings response = globalFrontendSettingsServiceClient.Get(request);
Get(string, CallSettings)
public virtual GlobalFrontendSettings Get(string project, CallSettings callSettings = null)Gets the Global Frontend Billing Bundle Settings for a project.
| Parameters | |
|---|---|
| Name | Description |
project |
stringRequired. Project ID for this request. |
callSettings |
CallSettingsIf not null, applies overrides to this RPC call. |
| Returns | |
|---|---|
| Type | Description |
GlobalFrontendSettings |
The RPC response. |
// Create client
GlobalFrontendSettingsServiceClient globalFrontendSettingsServiceClient = GlobalFrontendSettingsServiceClient.Create();
// Initialize request argument(s)
string project = "";
// Make the request
GlobalFrontendSettings response = globalFrontendSettingsServiceClient.Get(project);
GetAsync(GetGlobalFrontendSettingRequest, CallSettings)
public virtual Task<GlobalFrontendSettings> GetAsync(GetGlobalFrontendSettingRequest request, CallSettings callSettings = null)Gets the Global Frontend Billing Bundle Settings for a project.
| Parameters | |
|---|---|
| Name | Description |
request |
GetGlobalFrontendSettingRequestThe request object containing all of the parameters for the API call. |
callSettings |
CallSettingsIf not null, applies overrides to this RPC call. |
| Returns | |
|---|---|
| Type | Description |
TaskGlobalFrontendSettings |
A Task containing the RPC response. |
// Create client
GlobalFrontendSettingsServiceClient globalFrontendSettingsServiceClient = await GlobalFrontendSettingsServiceClient.CreateAsync();
// Initialize request argument(s)
GetGlobalFrontendSettingRequest request = new GetGlobalFrontendSettingRequest { Project = "", };
// Make the request
GlobalFrontendSettings response = await globalFrontendSettingsServiceClient.GetAsync(request);
GetAsync(GetGlobalFrontendSettingRequest, CancellationToken)
public virtual Task<GlobalFrontendSettings> GetAsync(GetGlobalFrontendSettingRequest request, CancellationToken cancellationToken)Gets the Global Frontend Billing Bundle Settings for a project.
| Parameters | |
|---|---|
| Name | Description |
request |
GetGlobalFrontendSettingRequestThe request object containing all of the parameters for the API call. |
cancellationToken |
CancellationTokenA CancellationToken to use for this RPC. |
| Returns | |
|---|---|
| Type | Description |
TaskGlobalFrontendSettings |
A Task containing the RPC response. |
// Create client
GlobalFrontendSettingsServiceClient globalFrontendSettingsServiceClient = await GlobalFrontendSettingsServiceClient.CreateAsync();
// Initialize request argument(s)
GetGlobalFrontendSettingRequest request = new GetGlobalFrontendSettingRequest { Project = "", };
// Make the request
GlobalFrontendSettings response = await globalFrontendSettingsServiceClient.GetAsync(request);
GetAsync(string, CallSettings)
public virtual Task<GlobalFrontendSettings> GetAsync(string project, CallSettings callSettings = null)Gets the Global Frontend Billing Bundle Settings for a project.
| Parameters | |
|---|---|
| Name | Description |
project |
stringRequired. Project ID for this request. |
callSettings |
CallSettingsIf not null, applies overrides to this RPC call. |
| Returns | |
|---|---|
| Type | Description |
TaskGlobalFrontendSettings |
A Task containing the RPC response. |
// Create client
GlobalFrontendSettingsServiceClient globalFrontendSettingsServiceClient = await GlobalFrontendSettingsServiceClient.CreateAsync();
// Initialize request argument(s)
string project = "";
// Make the request
GlobalFrontendSettings response = await globalFrontendSettingsServiceClient.GetAsync(project);
GetAsync(string, CancellationToken)
public virtual Task<GlobalFrontendSettings> GetAsync(string project, CancellationToken cancellationToken)Gets the Global Frontend Billing Bundle Settings for a project.
| Parameters | |
|---|---|
| Name | Description |
project |
stringRequired. Project ID for this request. |
cancellationToken |
CancellationTokenA CancellationToken to use for this RPC. |
| Returns | |
|---|---|
| Type | Description |
TaskGlobalFrontendSettings |
A Task containing the RPC response. |
// Create client
GlobalFrontendSettingsServiceClient globalFrontendSettingsServiceClient = await GlobalFrontendSettingsServiceClient.CreateAsync();
// Initialize request argument(s)
string project = "";
// Make the request
GlobalFrontendSettings response = await globalFrontendSettingsServiceClient.GetAsync(project);
Patch(PatchGlobalFrontendSettingRequest, CallSettings)
public virtual GlobalFrontendSettingsPatchResponse Patch(PatchGlobalFrontendSettingRequest request, CallSettings callSettings = null)Updates the Global Frontend Billing Bundle Settings for a project.
| Parameters | |
|---|---|
| Name | Description |
request |
PatchGlobalFrontendSettingRequestThe request object containing all of the parameters for the API call. |
callSettings |
CallSettingsIf not null, applies overrides to this RPC call. |
| Returns | |
|---|---|
| Type | Description |
GlobalFrontendSettingsPatchResponse |
The RPC response. |
// Create client
GlobalFrontendSettingsServiceClient globalFrontendSettingsServiceClient = GlobalFrontendSettingsServiceClient.Create();
// Initialize request argument(s)
PatchGlobalFrontendSettingRequest request = new PatchGlobalFrontendSettingRequest
{
RequestId = "",
Project = "",
GlobalFrontendSettingsResource = new GlobalFrontendSettings(),
UpdateMask = "",
};
// Make the request
GlobalFrontendSettingsPatchResponse response = globalFrontendSettingsServiceClient.Patch(request);
Patch(string, GlobalFrontendSettings, CallSettings)
public virtual GlobalFrontendSettingsPatchResponse Patch(string project, GlobalFrontendSettings globalFrontendSettingsResource, CallSettings callSettings = null)Updates the Global Frontend Billing Bundle Settings for a project.
| Parameters | |
|---|---|
| Name | Description |
project |
stringRequired. Project ID for this request. |
globalFrontendSettingsResource |
GlobalFrontendSettingsThe body resource for this request |
callSettings |
CallSettingsIf not null, applies overrides to this RPC call. |
| Returns | |
|---|---|
| Type | Description |
GlobalFrontendSettingsPatchResponse |
The RPC response. |
// Create client
GlobalFrontendSettingsServiceClient globalFrontendSettingsServiceClient = GlobalFrontendSettingsServiceClient.Create();
// Initialize request argument(s)
string project = "";
GlobalFrontendSettings globalFrontendSettingsResource = new GlobalFrontendSettings();
// Make the request
GlobalFrontendSettingsPatchResponse response = globalFrontendSettingsServiceClient.Patch(project, globalFrontendSettingsResource);
PatchAsync(PatchGlobalFrontendSettingRequest, CallSettings)
public virtual Task<GlobalFrontendSettingsPatchResponse> PatchAsync(PatchGlobalFrontendSettingRequest request, CallSettings callSettings = null)Updates the Global Frontend Billing Bundle Settings for a project.
| Parameters | |
|---|---|
| Name | Description |
request |
PatchGlobalFrontendSettingRequestThe request object containing all of the parameters for the API call. |
callSettings |
CallSettingsIf not null, applies overrides to this RPC call. |
| Returns | |
|---|---|
| Type | Description |
TaskGlobalFrontendSettingsPatchResponse |
A Task containing the RPC response. |
// Create client
GlobalFrontendSettingsServiceClient globalFrontendSettingsServiceClient = await GlobalFrontendSettingsServiceClient.CreateAsync();
// Initialize request argument(s)
PatchGlobalFrontendSettingRequest request = new PatchGlobalFrontendSettingRequest
{
RequestId = "",
Project = "",
GlobalFrontendSettingsResource = new GlobalFrontendSettings(),
UpdateMask = "",
};
// Make the request
GlobalFrontendSettingsPatchResponse response = await globalFrontendSettingsServiceClient.PatchAsync(request);
PatchAsync(PatchGlobalFrontendSettingRequest, CancellationToken)
public virtual Task<GlobalFrontendSettingsPatchResponse> PatchAsync(PatchGlobalFrontendSettingRequest request, CancellationToken cancellationToken)Updates the Global Frontend Billing Bundle Settings for a project.
| Parameters | |
|---|---|
| Name | Description |
request |
PatchGlobalFrontendSettingRequestThe request object containing all of the parameters for the API call. |
cancellationToken |
CancellationTokenA CancellationToken to use for this RPC. |
| Returns | |
|---|---|
| Type | Description |
TaskGlobalFrontendSettingsPatchResponse |
A Task containing the RPC response. |
// Create client
GlobalFrontendSettingsServiceClient globalFrontendSettingsServiceClient = await GlobalFrontendSettingsServiceClient.CreateAsync();
// Initialize request argument(s)
PatchGlobalFrontendSettingRequest request = new PatchGlobalFrontendSettingRequest
{
RequestId = "",
Project = "",
GlobalFrontendSettingsResource = new GlobalFrontendSettings(),
UpdateMask = "",
};
// Make the request
GlobalFrontendSettingsPatchResponse response = await globalFrontendSettingsServiceClient.PatchAsync(request);
PatchAsync(string, GlobalFrontendSettings, CallSettings)
public virtual Task<GlobalFrontendSettingsPatchResponse> PatchAsync(string project, GlobalFrontendSettings globalFrontendSettingsResource, CallSettings callSettings = null)Updates the Global Frontend Billing Bundle Settings for a project.
| Parameters | |
|---|---|
| Name | Description |
project |
stringRequired. Project ID for this request. |
globalFrontendSettingsResource |
GlobalFrontendSettingsThe body resource for this request |
callSettings |
CallSettingsIf not null, applies overrides to this RPC call. |
| Returns | |
|---|---|
| Type | Description |
TaskGlobalFrontendSettingsPatchResponse |
A Task containing the RPC response. |
// Create client
GlobalFrontendSettingsServiceClient globalFrontendSettingsServiceClient = await GlobalFrontendSettingsServiceClient.CreateAsync();
// Initialize request argument(s)
string project = "";
GlobalFrontendSettings globalFrontendSettingsResource = new GlobalFrontendSettings();
// Make the request
GlobalFrontendSettingsPatchResponse response = await globalFrontendSettingsServiceClient.PatchAsync(project, globalFrontendSettingsResource);
PatchAsync(string, GlobalFrontendSettings, CancellationToken)
public virtual Task<GlobalFrontendSettingsPatchResponse> PatchAsync(string project, GlobalFrontendSettings globalFrontendSettingsResource, CancellationToken cancellationToken)Updates the Global Frontend Billing Bundle Settings for a project.
| Parameters | |
|---|---|
| Name | Description |
project |
stringRequired. Project ID for this request. |
globalFrontendSettingsResource |
GlobalFrontendSettingsThe body resource for this request |
cancellationToken |
CancellationTokenA CancellationToken to use for this RPC. |
| Returns | |
|---|---|
| Type | Description |
TaskGlobalFrontendSettingsPatchResponse |
A Task containing the RPC response. |
// Create client
GlobalFrontendSettingsServiceClient globalFrontendSettingsServiceClient = await GlobalFrontendSettingsServiceClient.CreateAsync();
// Initialize request argument(s)
string project = "";
GlobalFrontendSettings globalFrontendSettingsResource = new GlobalFrontendSettings();
// Make the request
GlobalFrontendSettingsPatchResponse response = await globalFrontendSettingsServiceClient.PatchAsync(project, globalFrontendSettingsResource);
ShutdownDefaultChannelsAsync()
public static Task ShutdownDefaultChannelsAsync()Shuts down any channels automatically created by Create() and CreateAsync(CancellationToken). Channels which weren't automatically created are not affected.
| Returns | |
|---|---|
| Type | Description |
Task |
A task representing the asynchronous shutdown operation. |
After calling this method, further calls to Create() and CreateAsync(CancellationToken) will create new channels, which could in turn be shut down by another call to this method.