public sealed class GlobalForwardingRulesClientImpl : GlobalForwardingRulesClientReference documentation and code samples for the Compute Engine v1 API class GlobalForwardingRulesClientImpl.
GlobalForwardingRules client wrapper implementation, for convenient use.
Namespace
Google.Cloud.Compute.V1Assembly
Google.Cloud.Compute.V1.dll
Remarks
The GlobalForwardingRules API.
Constructors
GlobalForwardingRulesClientImpl(GlobalForwardingRulesClient, GlobalForwardingRulesSettings, ILogger)
public GlobalForwardingRulesClientImpl(GlobalForwardingRules.GlobalForwardingRulesClient grpcClient, GlobalForwardingRulesSettings settings, ILogger logger)Constructs a client wrapper for the GlobalForwardingRules service, with the specified gRPC client and settings.
| Parameters | |
|---|---|
| Name | Description |
grpcClient |
GlobalForwardingRulesGlobalForwardingRulesClientThe underlying gRPC client. |
settings |
GlobalForwardingRulesSettingsThe base GlobalForwardingRulesSettings used within this client. |
logger |
ILoggerOptional ILogger to use within this client. |
Properties
DeleteOperationsClient
public override OperationsClient DeleteOperationsClient { get; }The long-running operations client for Delete.
| Property Value | |
|---|---|
| Type | Description |
OperationsClient |
|
GrpcClient
public override GlobalForwardingRules.GlobalForwardingRulesClient GrpcClient { get; }The underlying gRPC GlobalForwardingRules client
| Property Value | |
|---|---|
| Type | Description |
GlobalForwardingRulesGlobalForwardingRulesClient |
|
InsertOperationsClient
public override OperationsClient InsertOperationsClient { get; }The long-running operations client for Insert.
| Property Value | |
|---|---|
| Type | Description |
OperationsClient |
|
PatchOperationsClient
public override OperationsClient PatchOperationsClient { get; }The long-running operations client for Patch.
| Property Value | |
|---|---|
| Type | Description |
OperationsClient |
|
SetLabelsOperationsClient
public override OperationsClient SetLabelsOperationsClient { get; }The long-running operations client for SetLabels.
| Property Value | |
|---|---|
| Type | Description |
OperationsClient |
|
SetTargetOperationsClient
public override OperationsClient SetTargetOperationsClient { get; }The long-running operations client for SetTarget.
| Property Value | |
|---|---|
| Type | Description |
OperationsClient |
|
Methods
Delete(DeleteGlobalForwardingRuleRequest, CallSettings)
public override Operation<Operation, Operation> Delete(DeleteGlobalForwardingRuleRequest request, CallSettings callSettings = null)Deletes the specified GlobalForwardingRule resource.
| Parameters | |
|---|---|
| Name | Description |
request |
DeleteGlobalForwardingRuleRequestThe request object containing all of the parameters for the API call. |
callSettings |
CallSettingsIf not null, applies overrides to this RPC call. |
| Returns | |
|---|---|
| Type | Description |
OperationOperationOperation |
The RPC response. |
DeleteAsync(DeleteGlobalForwardingRuleRequest, CallSettings)
public override Task<Operation<Operation, Operation>> DeleteAsync(DeleteGlobalForwardingRuleRequest request, CallSettings callSettings = null)Deletes the specified GlobalForwardingRule resource.
| Parameters | |
|---|---|
| Name | Description |
request |
DeleteGlobalForwardingRuleRequestThe request object containing all of the parameters for the API call. |
callSettings |
CallSettingsIf not null, applies overrides to this RPC call. |
| Returns | |
|---|---|
| Type | Description |
TaskOperationOperationOperation |
A Task containing the RPC response. |
Get(GetGlobalForwardingRuleRequest, CallSettings)
public override ForwardingRule Get(GetGlobalForwardingRuleRequest request, CallSettings callSettings = null)Returns the specified GlobalForwardingRule resource. Gets a list of available forwarding rules by making a list() request.
| Parameters | |
|---|---|
| Name | Description |
request |
GetGlobalForwardingRuleRequestThe request object containing all of the parameters for the API call. |
callSettings |
CallSettingsIf not null, applies overrides to this RPC call. |
| Returns | |
|---|---|
| Type | Description |
ForwardingRule |
The RPC response. |
GetAsync(GetGlobalForwardingRuleRequest, CallSettings)
public override Task<ForwardingRule> GetAsync(GetGlobalForwardingRuleRequest request, CallSettings callSettings = null)Returns the specified GlobalForwardingRule resource. Gets a list of available forwarding rules by making a list() request.
| Parameters | |
|---|---|
| Name | Description |
request |
GetGlobalForwardingRuleRequestThe request object containing all of the parameters for the API call. |
callSettings |
CallSettingsIf not null, applies overrides to this RPC call. |
| Returns | |
|---|---|
| Type | Description |
TaskForwardingRule |
A Task containing the RPC response. |
Insert(InsertGlobalForwardingRuleRequest, CallSettings)
public override Operation<Operation, Operation> Insert(InsertGlobalForwardingRuleRequest request, CallSettings callSettings = null)Creates a GlobalForwardingRule resource in the specified project using the data included in the request.
| Parameters | |
|---|---|
| Name | Description |
request |
InsertGlobalForwardingRuleRequestThe request object containing all of the parameters for the API call. |
callSettings |
CallSettingsIf not null, applies overrides to this RPC call. |
| Returns | |
|---|---|
| Type | Description |
OperationOperationOperation |
The RPC response. |
InsertAsync(InsertGlobalForwardingRuleRequest, CallSettings)
public override Task<Operation<Operation, Operation>> InsertAsync(InsertGlobalForwardingRuleRequest request, CallSettings callSettings = null)Creates a GlobalForwardingRule resource in the specified project using the data included in the request.
| Parameters | |
|---|---|
| Name | Description |
request |
InsertGlobalForwardingRuleRequestThe request object containing all of the parameters for the API call. |
callSettings |
CallSettingsIf not null, applies overrides to this RPC call. |
| Returns | |
|---|---|
| Type | Description |
TaskOperationOperationOperation |
A Task containing the RPC response. |
List(ListGlobalForwardingRulesRequest, CallSettings)
public override PagedEnumerable<ForwardingRuleList, ForwardingRule> List(ListGlobalForwardingRulesRequest request, CallSettings callSettings = null)Retrieves a list of GlobalForwardingRule resources available to the specified project.
| Parameters | |
|---|---|
| Name | Description |
request |
ListGlobalForwardingRulesRequestThe request object containing all of the parameters for the API call. |
callSettings |
CallSettingsIf not null, applies overrides to this RPC call. |
| Returns | |
|---|---|
| Type | Description |
PagedEnumerableForwardingRuleListForwardingRule |
A pageable sequence of ForwardingRule resources. |
ListAsync(ListGlobalForwardingRulesRequest, CallSettings)
public override PagedAsyncEnumerable<ForwardingRuleList, ForwardingRule> ListAsync(ListGlobalForwardingRulesRequest request, CallSettings callSettings = null)Retrieves a list of GlobalForwardingRule resources available to the specified project.
| Parameters | |
|---|---|
| Name | Description |
request |
ListGlobalForwardingRulesRequestThe request object containing all of the parameters for the API call. |
callSettings |
CallSettingsIf not null, applies overrides to this RPC call. |
| Returns | |
|---|---|
| Type | Description |
PagedAsyncEnumerableForwardingRuleListForwardingRule |
A pageable asynchronous sequence of ForwardingRule resources. |
Patch(PatchGlobalForwardingRuleRequest, CallSettings)
public override Operation<Operation, Operation> Patch(PatchGlobalForwardingRuleRequest request, CallSettings callSettings = null)Updates the specified forwarding rule with the data included in the request. This method supports PATCH semantics and uses the JSON merge patch format and processing rules. Currently, you can only patch the network_tier field.
| Parameters | |
|---|---|
| Name | Description |
request |
PatchGlobalForwardingRuleRequestThe request object containing all of the parameters for the API call. |
callSettings |
CallSettingsIf not null, applies overrides to this RPC call. |
| Returns | |
|---|---|
| Type | Description |
OperationOperationOperation |
The RPC response. |
PatchAsync(PatchGlobalForwardingRuleRequest, CallSettings)
public override Task<Operation<Operation, Operation>> PatchAsync(PatchGlobalForwardingRuleRequest request, CallSettings callSettings = null)Updates the specified forwarding rule with the data included in the request. This method supports PATCH semantics and uses the JSON merge patch format and processing rules. Currently, you can only patch the network_tier field.
| Parameters | |
|---|---|
| Name | Description |
request |
PatchGlobalForwardingRuleRequestThe request object containing all of the parameters for the API call. |
callSettings |
CallSettingsIf not null, applies overrides to this RPC call. |
| Returns | |
|---|---|
| Type | Description |
TaskOperationOperationOperation |
A Task containing the RPC response. |
SetLabels(SetLabelsGlobalForwardingRuleRequest, CallSettings)
public override Operation<Operation, Operation> SetLabels(SetLabelsGlobalForwardingRuleRequest request, CallSettings callSettings = null)Sets the labels on the specified resource. To learn more about labels, read the Labeling resources documentation.
| Parameters | |
|---|---|
| Name | Description |
request |
SetLabelsGlobalForwardingRuleRequestThe request object containing all of the parameters for the API call. |
callSettings |
CallSettingsIf not null, applies overrides to this RPC call. |
| Returns | |
|---|---|
| Type | Description |
OperationOperationOperation |
The RPC response. |
SetLabelsAsync(SetLabelsGlobalForwardingRuleRequest, CallSettings)
public override Task<Operation<Operation, Operation>> SetLabelsAsync(SetLabelsGlobalForwardingRuleRequest request, CallSettings callSettings = null)Sets the labels on the specified resource. To learn more about labels, read the Labeling resources documentation.
| Parameters | |
|---|---|
| Name | Description |
request |
SetLabelsGlobalForwardingRuleRequestThe request object containing all of the parameters for the API call. |
callSettings |
CallSettingsIf not null, applies overrides to this RPC call. |
| Returns | |
|---|---|
| Type | Description |
TaskOperationOperationOperation |
A Task containing the RPC response. |
SetTarget(SetTargetGlobalForwardingRuleRequest, CallSettings)
public override Operation<Operation, Operation> SetTarget(SetTargetGlobalForwardingRuleRequest request, CallSettings callSettings = null)Changes target URL for the GlobalForwardingRule resource. The new target should be of the same type as the old target.
| Parameters | |
|---|---|
| Name | Description |
request |
SetTargetGlobalForwardingRuleRequestThe request object containing all of the parameters for the API call. |
callSettings |
CallSettingsIf not null, applies overrides to this RPC call. |
| Returns | |
|---|---|
| Type | Description |
OperationOperationOperation |
The RPC response. |
SetTargetAsync(SetTargetGlobalForwardingRuleRequest, CallSettings)
public override Task<Operation<Operation, Operation>> SetTargetAsync(SetTargetGlobalForwardingRuleRequest request, CallSettings callSettings = null)Changes target URL for the GlobalForwardingRule resource. The new target should be of the same type as the old target.
| Parameters | |
|---|---|
| Name | Description |
request |
SetTargetGlobalForwardingRuleRequestThe request object containing all of the parameters for the API call. |
callSettings |
CallSettingsIf not null, applies overrides to this RPC call. |
| Returns | |
|---|---|
| Type | Description |
TaskOperationOperationOperation |
A Task containing the RPC response. |