public abstract class DepServiceClientReference documentation and code samples for the Network Services v1 API class DepServiceClient.
DepService client wrapper, for convenient use.
Derived Types
Namespace
Google.Cloud.NetworkServices.V1Assembly
Google.Cloud.NetworkServices.V1.dll
Remarks
Service describing handlers for resources.
Properties
CreateAuthzExtensionOperationsClient
public virtual OperationsClient CreateAuthzExtensionOperationsClient { get; }The long-running operations client for CreateAuthzExtension.
| Property Value | |
|---|---|
| Type | Description |
OperationsClient |
|
CreateLbEdgeExtensionOperationsClient
public virtual OperationsClient CreateLbEdgeExtensionOperationsClient { get; }The long-running operations client for CreateLbEdgeExtension.
| Property Value | |
|---|---|
| Type | Description |
OperationsClient |
|
CreateLbRouteExtensionOperationsClient
public virtual OperationsClient CreateLbRouteExtensionOperationsClient { get; }The long-running operations client for CreateLbRouteExtension.
| Property Value | |
|---|---|
| Type | Description |
OperationsClient |
|
CreateLbTrafficExtensionOperationsClient
public virtual OperationsClient CreateLbTrafficExtensionOperationsClient { get; }The long-running operations client for CreateLbTrafficExtension.
| Property Value | |
|---|---|
| Type | Description |
OperationsClient |
|
DefaultEndpoint
public static string DefaultEndpoint { get; }The default endpoint for the DepService service, which is a host of "networkservices.googleapis.com" and a port of 443.
| Property Value | |
|---|---|
| Type | Description |
string |
|
DefaultScopes
public static IReadOnlyList<string> DefaultScopes { get; }The default DepService scopes.
| Property Value | |
|---|---|
| Type | Description |
IReadOnlyListstring |
|
The default DepService scopes are:
DeleteAuthzExtensionOperationsClient
public virtual OperationsClient DeleteAuthzExtensionOperationsClient { get; }The long-running operations client for DeleteAuthzExtension.
| Property Value | |
|---|---|
| Type | Description |
OperationsClient |
|
DeleteLbEdgeExtensionOperationsClient
public virtual OperationsClient DeleteLbEdgeExtensionOperationsClient { get; }The long-running operations client for DeleteLbEdgeExtension.
| Property Value | |
|---|---|
| Type | Description |
OperationsClient |
|
DeleteLbRouteExtensionOperationsClient
public virtual OperationsClient DeleteLbRouteExtensionOperationsClient { get; }The long-running operations client for DeleteLbRouteExtension.
| Property Value | |
|---|---|
| Type | Description |
OperationsClient |
|
DeleteLbTrafficExtensionOperationsClient
public virtual OperationsClient DeleteLbTrafficExtensionOperationsClient { get; }The long-running operations client for DeleteLbTrafficExtension.
| Property Value | |
|---|---|
| Type | Description |
OperationsClient |
|
GrpcClient
public virtual DepService.DepServiceClient GrpcClient { get; }The underlying gRPC DepService client
| Property Value | |
|---|---|
| Type | Description |
DepServiceDepServiceClient |
|
IAMPolicyClient
public virtual IAMPolicyClient IAMPolicyClient { get; }The IAMPolicyClient associated with this client.
| Property Value | |
|---|---|
| Type | Description |
IAMPolicyClient |
|
LocationsClient
public virtual LocationsClient LocationsClient { get; }The LocationsClient associated with this client.
| Property Value | |
|---|---|
| Type | Description |
LocationsClient |
|
ServiceMetadata
public static ServiceMetadata ServiceMetadata { get; }The service metadata associated with this client type.
| Property Value | |
|---|---|
| Type | Description |
ServiceMetadata |
|
UpdateAuthzExtensionOperationsClient
public virtual OperationsClient UpdateAuthzExtensionOperationsClient { get; }The long-running operations client for UpdateAuthzExtension.
| Property Value | |
|---|---|
| Type | Description |
OperationsClient |
|
UpdateLbEdgeExtensionOperationsClient
public virtual OperationsClient UpdateLbEdgeExtensionOperationsClient { get; }The long-running operations client for UpdateLbEdgeExtension.
| Property Value | |
|---|---|
| Type | Description |
OperationsClient |
|
UpdateLbRouteExtensionOperationsClient
public virtual OperationsClient UpdateLbRouteExtensionOperationsClient { get; }The long-running operations client for UpdateLbRouteExtension.
| Property Value | |
|---|---|
| Type | Description |
OperationsClient |
|
UpdateLbTrafficExtensionOperationsClient
public virtual OperationsClient UpdateLbTrafficExtensionOperationsClient { get; }The long-running operations client for UpdateLbTrafficExtension.
| Property Value | |
|---|---|
| Type | Description |
OperationsClient |
|
Methods
Create()
public static DepServiceClient Create()Synchronously creates a DepServiceClient using the default credentials, endpoint and settings. To specify custom credentials or other settings, use DepServiceClientBuilder.
| Returns | |
|---|---|
| Type | Description |
DepServiceClient |
The created DepServiceClient. |
CreateAsync(CancellationToken)
public static Task<DepServiceClient> CreateAsync(CancellationToken cancellationToken = default)Asynchronously creates a DepServiceClient using the default credentials, endpoint and settings. To specify custom credentials or other settings, use DepServiceClientBuilder.
| Parameter | |
|---|---|
| Name | Description |
cancellationToken |
CancellationTokenThe CancellationToken to use while creating the client. |
| Returns | |
|---|---|
| Type | Description |
TaskDepServiceClient |
The task representing the created DepServiceClient. |
CreateAuthzExtension(LocationName, AuthzExtension, string, CallSettings)
public virtual Operation<AuthzExtension, OperationMetadata> CreateAuthzExtension(LocationName parent, AuthzExtension authzExtension, string authzExtensionId, CallSettings callSettings = null)Creates a new AuthzExtension resource in a given project
and location.
| Parameters | |
|---|---|
| Name | Description |
parent |
LocationNameRequired. The parent resource of the |
authzExtension |
AuthzExtensionRequired. |
authzExtensionId |
stringRequired. User-provided ID of the |
callSettings |
CallSettingsIf not null, applies overrides to this RPC call. |
| Returns | |
|---|---|
| Type | Description |
OperationAuthzExtensionOperationMetadata |
The RPC response. |
// Create client
DepServiceClient depServiceClient = DepServiceClient.Create();
// Initialize request argument(s)
LocationName parent = LocationName.FromProjectLocation("[PROJECT]", "[LOCATION]");
AuthzExtension authzExtension = new AuthzExtension();
string authzExtensionId = "";
// Make the request
Operation<AuthzExtension, OperationMetadata> response = depServiceClient.CreateAuthzExtension(parent, authzExtension, authzExtensionId);
// Poll until the returned long-running operation is complete
Operation<AuthzExtension, OperationMetadata> completedResponse = response.PollUntilCompleted();
// Retrieve the operation result
AuthzExtension result = completedResponse.Result;
// Or get the name of the operation
string operationName = response.Name;
// This name can be stored, then the long-running operation retrieved later by name
Operation<AuthzExtension, OperationMetadata> retrievedResponse = depServiceClient.PollOnceCreateAuthzExtension(operationName);
// Check if the retrieved long-running operation has completed
if (retrievedResponse.IsCompleted)
{
// If it has completed, then access the result
AuthzExtension retrievedResult = retrievedResponse.Result;
}
CreateAuthzExtension(CreateAuthzExtensionRequest, CallSettings)
public virtual Operation<AuthzExtension, OperationMetadata> CreateAuthzExtension(CreateAuthzExtensionRequest request, CallSettings callSettings = null)Creates a new AuthzExtension resource in a given project
and location.
| Parameters | |
|---|---|
| Name | Description |
request |
CreateAuthzExtensionRequestThe request object containing all of the parameters for the API call. |
callSettings |
CallSettingsIf not null, applies overrides to this RPC call. |
| Returns | |
|---|---|
| Type | Description |
OperationAuthzExtensionOperationMetadata |
The RPC response. |
// Create client
DepServiceClient depServiceClient = DepServiceClient.Create();
// Initialize request argument(s)
CreateAuthzExtensionRequest request = new CreateAuthzExtensionRequest
{
ParentAsLocationName = LocationName.FromProjectLocation("[PROJECT]", "[LOCATION]"),
AuthzExtensionId = "",
AuthzExtension = new AuthzExtension(),
RequestId = "",
};
// Make the request
Operation<AuthzExtension, OperationMetadata> response = depServiceClient.CreateAuthzExtension(request);
// Poll until the returned long-running operation is complete
Operation<AuthzExtension, OperationMetadata> completedResponse = response.PollUntilCompleted();
// Retrieve the operation result
AuthzExtension result = completedResponse.Result;
// Or get the name of the operation
string operationName = response.Name;
// This name can be stored, then the long-running operation retrieved later by name
Operation<AuthzExtension, OperationMetadata> retrievedResponse = depServiceClient.PollOnceCreateAuthzExtension(operationName);
// Check if the retrieved long-running operation has completed
if (retrievedResponse.IsCompleted)
{
// If it has completed, then access the result
AuthzExtension retrievedResult = retrievedResponse.Result;
}
CreateAuthzExtension(string, AuthzExtension, string, CallSettings)
public virtual Operation<AuthzExtension, OperationMetadata> CreateAuthzExtension(string parent, AuthzExtension authzExtension, string authzExtensionId, CallSettings callSettings = null)Creates a new AuthzExtension resource in a given project
and location.
| Parameters | |
|---|---|
| Name | Description |
parent |
stringRequired. The parent resource of the |
authzExtension |
AuthzExtensionRequired. |
authzExtensionId |
stringRequired. User-provided ID of the |
callSettings |
CallSettingsIf not null, applies overrides to this RPC call. |
| Returns | |
|---|---|
| Type | Description |
OperationAuthzExtensionOperationMetadata |
The RPC response. |
// Create client
DepServiceClient depServiceClient = DepServiceClient.Create();
// Initialize request argument(s)
string parent = "projects/[PROJECT]/locations/[LOCATION]";
AuthzExtension authzExtension = new AuthzExtension();
string authzExtensionId = "";
// Make the request
Operation<AuthzExtension, OperationMetadata> response = depServiceClient.CreateAuthzExtension(parent, authzExtension, authzExtensionId);
// Poll until the returned long-running operation is complete
Operation<AuthzExtension, OperationMetadata> completedResponse = response.PollUntilCompleted();
// Retrieve the operation result
AuthzExtension result = completedResponse.Result;
// Or get the name of the operation
string operationName = response.Name;
// This name can be stored, then the long-running operation retrieved later by name
Operation<AuthzExtension, OperationMetadata> retrievedResponse = depServiceClient.PollOnceCreateAuthzExtension(operationName);
// Check if the retrieved long-running operation has completed
if (retrievedResponse.IsCompleted)
{
// If it has completed, then access the result
AuthzExtension retrievedResult = retrievedResponse.Result;
}
CreateAuthzExtensionAsync(LocationName, AuthzExtension, string, CallSettings)
public virtual Task<Operation<AuthzExtension, OperationMetadata>> CreateAuthzExtensionAsync(LocationName parent, AuthzExtension authzExtension, string authzExtensionId, CallSettings callSettings = null)Creates a new AuthzExtension resource in a given project
and location.
| Parameters | |
|---|---|
| Name | Description |
parent |
LocationNameRequired. The parent resource of the |
authzExtension |
AuthzExtensionRequired. |
authzExtensionId |
stringRequired. User-provided ID of the |
callSettings |
CallSettingsIf not null, applies overrides to this RPC call. |
| Returns | |
|---|---|
| Type | Description |
TaskOperationAuthzExtensionOperationMetadata |
A Task containing the RPC response. |
// Create client
DepServiceClient depServiceClient = await DepServiceClient.CreateAsync();
// Initialize request argument(s)
LocationName parent = LocationName.FromProjectLocation("[PROJECT]", "[LOCATION]");
AuthzExtension authzExtension = new AuthzExtension();
string authzExtensionId = "";
// Make the request
Operation<AuthzExtension, OperationMetadata> response = await depServiceClient.CreateAuthzExtensionAsync(parent, authzExtension, authzExtensionId);
// Poll until the returned long-running operation is complete
Operation<AuthzExtension, OperationMetadata> completedResponse = await response.PollUntilCompletedAsync();
// Retrieve the operation result
AuthzExtension result = completedResponse.Result;
// Or get the name of the operation
string operationName = response.Name;
// This name can be stored, then the long-running operation retrieved later by name
Operation<AuthzExtension, OperationMetadata> retrievedResponse = await depServiceClient.PollOnceCreateAuthzExtensionAsync(operationName);
// Check if the retrieved long-running operation has completed
if (retrievedResponse.IsCompleted)
{
// If it has completed, then access the result
AuthzExtension retrievedResult = retrievedResponse.Result;
}
CreateAuthzExtensionAsync(LocationName, AuthzExtension, string, CancellationToken)
public virtual Task<Operation<AuthzExtension, OperationMetadata>> CreateAuthzExtensionAsync(LocationName parent, AuthzExtension authzExtension, string authzExtensionId, CancellationToken cancellationToken)Creates a new AuthzExtension resource in a given project
and location.
| Parameters | |
|---|---|
| Name | Description |
parent |
LocationNameRequired. The parent resource of the |
authzExtension |
AuthzExtensionRequired. |
authzExtensionId |
stringRequired. User-provided ID of the |
cancellationToken |
CancellationTokenA CancellationToken to use for this RPC. |
| Returns | |
|---|---|
| Type | Description |
TaskOperationAuthzExtensionOperationMetadata |
A Task containing the RPC response. |
// Create client
DepServiceClient depServiceClient = await DepServiceClient.CreateAsync();
// Initialize request argument(s)
LocationName parent = LocationName.FromProjectLocation("[PROJECT]", "[LOCATION]");
AuthzExtension authzExtension = new AuthzExtension();
string authzExtensionId = "";
// Make the request
Operation<AuthzExtension, OperationMetadata> response = await depServiceClient.CreateAuthzExtensionAsync(parent, authzExtension, authzExtensionId);
// Poll until the returned long-running operation is complete
Operation<AuthzExtension, OperationMetadata> completedResponse = await response.PollUntilCompletedAsync();
// Retrieve the operation result
AuthzExtension result = completedResponse.Result;
// Or get the name of the operation
string operationName = response.Name;
// This name can be stored, then the long-running operation retrieved later by name
Operation<AuthzExtension, OperationMetadata> retrievedResponse = await depServiceClient.PollOnceCreateAuthzExtensionAsync(operationName);
// Check if the retrieved long-running operation has completed
if (retrievedResponse.IsCompleted)
{
// If it has completed, then access the result
AuthzExtension retrievedResult = retrievedResponse.Result;
}
CreateAuthzExtensionAsync(CreateAuthzExtensionRequest, CallSettings)
public virtual Task<Operation<AuthzExtension, OperationMetadata>> CreateAuthzExtensionAsync(CreateAuthzExtensionRequest request, CallSettings callSettings = null)Creates a new AuthzExtension resource in a given project
and location.
| Parameters | |
|---|---|
| Name | Description |
request |
CreateAuthzExtensionRequestThe request object containing all of the parameters for the API call. |
callSettings |
CallSettingsIf not null, applies overrides to this RPC call. |
| Returns | |
|---|---|
| Type | Description |
TaskOperationAuthzExtensionOperationMetadata |
A Task containing the RPC response. |
// Create client
DepServiceClient depServiceClient = await DepServiceClient.CreateAsync();
// Initialize request argument(s)
CreateAuthzExtensionRequest request = new CreateAuthzExtensionRequest
{
ParentAsLocationName = LocationName.FromProjectLocation("[PROJECT]", "[LOCATION]"),
AuthzExtensionId = "",
AuthzExtension = new AuthzExtension(),
RequestId = "",
};
// Make the request
Operation<AuthzExtension, OperationMetadata> response = await depServiceClient.CreateAuthzExtensionAsync(request);
// Poll until the returned long-running operation is complete
Operation<AuthzExtension, OperationMetadata> completedResponse = await response.PollUntilCompletedAsync();
// Retrieve the operation result
AuthzExtension result = completedResponse.Result;
// Or get the name of the operation
string operationName = response.Name;
// This name can be stored, then the long-running operation retrieved later by name
Operation<AuthzExtension, OperationMetadata> retrievedResponse = await depServiceClient.PollOnceCreateAuthzExtensionAsync(operationName);
// Check if the retrieved long-running operation has completed
if (retrievedResponse.IsCompleted)
{
// If it has completed, then access the result
AuthzExtension retrievedResult = retrievedResponse.Result;
}
CreateAuthzExtensionAsync(CreateAuthzExtensionRequest, CancellationToken)
public virtual Task<Operation<AuthzExtension, OperationMetadata>> CreateAuthzExtensionAsync(CreateAuthzExtensionRequest request, CancellationToken cancellationToken)Creates a new AuthzExtension resource in a given project
and location.
| Parameters | |
|---|---|
| Name | Description |
request |
CreateAuthzExtensionRequestThe request object containing all of the parameters for the API call. |
cancellationToken |
CancellationTokenA CancellationToken to use for this RPC. |
| Returns | |
|---|---|
| Type | Description |
TaskOperationAuthzExtensionOperationMetadata |
A Task containing the RPC response. |
// Create client
DepServiceClient depServiceClient = await DepServiceClient.CreateAsync();
// Initialize request argument(s)
CreateAuthzExtensionRequest request = new CreateAuthzExtensionRequest
{
ParentAsLocationName = LocationName.FromProjectLocation("[PROJECT]", "[LOCATION]"),
AuthzExtensionId = "",
AuthzExtension = new AuthzExtension(),
RequestId = "",
};
// Make the request
Operation<AuthzExtension, OperationMetadata> response = await depServiceClient.CreateAuthzExtensionAsync(request);
// Poll until the returned long-running operation is complete
Operation<AuthzExtension, OperationMetadata> completedResponse = await response.PollUntilCompletedAsync();
// Retrieve the operation result
AuthzExtension result = completedResponse.Result;
// Or get the name of the operation
string operationName = response.Name;
// This name can be stored, then the long-running operation retrieved later by name
Operation<AuthzExtension, OperationMetadata> retrievedResponse = await depServiceClient.PollOnceCreateAuthzExtensionAsync(operationName);
// Check if the retrieved long-running operation has completed
if (retrievedResponse.IsCompleted)
{
// If it has completed, then access the result
AuthzExtension retrievedResult = retrievedResponse.Result;
}
CreateAuthzExtensionAsync(string, AuthzExtension, string, CallSettings)
public virtual Task<Operation<AuthzExtension, OperationMetadata>> CreateAuthzExtensionAsync(string parent, AuthzExtension authzExtension, string authzExtensionId, CallSettings callSettings = null)Creates a new AuthzExtension resource in a given project
and location.
| Parameters | |
|---|---|
| Name | Description |
parent |
stringRequired. The parent resource of the |
authzExtension |
AuthzExtensionRequired. |
authzExtensionId |
stringRequired. User-provided ID of the |
callSettings |
CallSettingsIf not null, applies overrides to this RPC call. |
| Returns | |
|---|---|
| Type | Description |
TaskOperationAuthzExtensionOperationMetadata |
A Task containing the RPC response. |
// Create client
DepServiceClient depServiceClient = await DepServiceClient.CreateAsync();
// Initialize request argument(s)
string parent = "projects/[PROJECT]/locations/[LOCATION]";
AuthzExtension authzExtension = new AuthzExtension();
string authzExtensionId = "";
// Make the request
Operation<AuthzExtension, OperationMetadata> response = await depServiceClient.CreateAuthzExtensionAsync(parent, authzExtension, authzExtensionId);
// Poll until the returned long-running operation is complete
Operation<AuthzExtension, OperationMetadata> completedResponse = await response.PollUntilCompletedAsync();
// Retrieve the operation result
AuthzExtension result = completedResponse.Result;
// Or get the name of the operation
string operationName = response.Name;
// This name can be stored, then the long-running operation retrieved later by name
Operation<AuthzExtension, OperationMetadata> retrievedResponse = await depServiceClient.PollOnceCreateAuthzExtensionAsync(operationName);
// Check if the retrieved long-running operation has completed
if (retrievedResponse.IsCompleted)
{
// If it has completed, then access the result
AuthzExtension retrievedResult = retrievedResponse.Result;
}
CreateAuthzExtensionAsync(string, AuthzExtension, string, CancellationToken)
public virtual Task<Operation<AuthzExtension, OperationMetadata>> CreateAuthzExtensionAsync(string parent, AuthzExtension authzExtension, string authzExtensionId, CancellationToken cancellationToken)Creates a new AuthzExtension resource in a given project
and location.
| Parameters | |
|---|---|
| Name | Description |
parent |
stringRequired. The parent resource of the |
authzExtension |
AuthzExtensionRequired. |
authzExtensionId |
stringRequired. User-provided ID of the |
cancellationToken |
CancellationTokenA CancellationToken to use for this RPC. |
| Returns | |
|---|---|
| Type | Description |
TaskOperationAuthzExtensionOperationMetadata |
A Task containing the RPC response. |
// Create client
DepServiceClient depServiceClient = await DepServiceClient.CreateAsync();
// Initialize request argument(s)
string parent = "projects/[PROJECT]/locations/[LOCATION]";
AuthzExtension authzExtension = new AuthzExtension();
string authzExtensionId = "";
// Make the request
Operation<AuthzExtension, OperationMetadata> response = await depServiceClient.CreateAuthzExtensionAsync(parent, authzExtension, authzExtensionId);
// Poll until the returned long-running operation is complete
Operation<AuthzExtension, OperationMetadata> completedResponse = await response.PollUntilCompletedAsync();
// Retrieve the operation result
AuthzExtension result = completedResponse.Result;
// Or get the name of the operation
string operationName = response.Name;
// This name can be stored, then the long-running operation retrieved later by name
Operation<AuthzExtension, OperationMetadata> retrievedResponse = await depServiceClient.PollOnceCreateAuthzExtensionAsync(operationName);
// Check if the retrieved long-running operation has completed
if (retrievedResponse.IsCompleted)
{
// If it has completed, then access the result
AuthzExtension retrievedResult = retrievedResponse.Result;
}
CreateLbEdgeExtension(LocationName, LbEdgeExtension, string, CallSettings)
public virtual Operation<LbEdgeExtension, OperationMetadata> CreateLbEdgeExtension(LocationName parent, LbEdgeExtension lbEdgeExtension, string lbEdgeExtensionId, CallSettings callSettings = null)Creates a new LbEdgeExtension resource in a given project and location.
| Parameters | |
|---|---|
| Name | Description |
parent |
LocationNameRequired. The parent resource of the |
lbEdgeExtension |
LbEdgeExtensionRequired. |
lbEdgeExtensionId |
stringRequired. User-provided ID of the |
callSettings |
CallSettingsIf not null, applies overrides to this RPC call. |
| Returns | |
|---|---|
| Type | Description |
OperationLbEdgeExtensionOperationMetadata |
The RPC response. |
// Create client
DepServiceClient depServiceClient = DepServiceClient.Create();
// Initialize request argument(s)
LocationName parent = LocationName.FromProjectLocation("[PROJECT]", "[LOCATION]");
LbEdgeExtension lbEdgeExtension = new LbEdgeExtension();
string lbEdgeExtensionId = "";
// Make the request
Operation<LbEdgeExtension, OperationMetadata> response = depServiceClient.CreateLbEdgeExtension(parent, lbEdgeExtension, lbEdgeExtensionId);
// Poll until the returned long-running operation is complete
Operation<LbEdgeExtension, OperationMetadata> completedResponse = response.PollUntilCompleted();
// Retrieve the operation result
LbEdgeExtension result = completedResponse.Result;
// Or get the name of the operation
string operationName = response.Name;
// This name can be stored, then the long-running operation retrieved later by name
Operation<LbEdgeExtension, OperationMetadata> retrievedResponse = depServiceClient.PollOnceCreateLbEdgeExtension(operationName);
// Check if the retrieved long-running operation has completed
if (retrievedResponse.IsCompleted)
{
// If it has completed, then access the result
LbEdgeExtension retrievedResult = retrievedResponse.Result;
}
CreateLbEdgeExtension(CreateLbEdgeExtensionRequest, CallSettings)
public virtual Operation<LbEdgeExtension, OperationMetadata> CreateLbEdgeExtension(CreateLbEdgeExtensionRequest request, CallSettings callSettings = null)Creates a new LbEdgeExtension resource in a given project and location.
| Parameters | |
|---|---|
| Name | Description |
request |
CreateLbEdgeExtensionRequestThe request object containing all of the parameters for the API call. |
callSettings |
CallSettingsIf not null, applies overrides to this RPC call. |
| Returns | |
|---|---|
| Type | Description |
OperationLbEdgeExtensionOperationMetadata |
The RPC response. |
// Create client
DepServiceClient depServiceClient = DepServiceClient.Create();
// Initialize request argument(s)
CreateLbEdgeExtensionRequest request = new CreateLbEdgeExtensionRequest
{
ParentAsLocationName = LocationName.FromProjectLocation("[PROJECT]", "[LOCATION]"),
LbEdgeExtensionId = "",
LbEdgeExtension = new LbEdgeExtension(),
RequestId = "",
};
// Make the request
Operation<LbEdgeExtension, OperationMetadata> response = depServiceClient.CreateLbEdgeExtension(request);
// Poll until the returned long-running operation is complete
Operation<LbEdgeExtension, OperationMetadata> completedResponse = response.PollUntilCompleted();
// Retrieve the operation result
LbEdgeExtension result = completedResponse.Result;
// Or get the name of the operation
string operationName = response.Name;
// This name can be stored, then the long-running operation retrieved later by name
Operation<LbEdgeExtension, OperationMetadata> retrievedResponse = depServiceClient.PollOnceCreateLbEdgeExtension(operationName);
// Check if the retrieved long-running operation has completed
if (retrievedResponse.IsCompleted)
{
// If it has completed, then access the result
LbEdgeExtension retrievedResult = retrievedResponse.Result;
}
CreateLbEdgeExtension(string, LbEdgeExtension, string, CallSettings)
public virtual Operation<LbEdgeExtension, OperationMetadata> CreateLbEdgeExtension(string parent, LbEdgeExtension lbEdgeExtension, string lbEdgeExtensionId, CallSettings callSettings = null)Creates a new LbEdgeExtension resource in a given project and location.
| Parameters | |
|---|---|
| Name | Description |
parent |
stringRequired. The parent resource of the |
lbEdgeExtension |
LbEdgeExtensionRequired. |
lbEdgeExtensionId |
stringRequired. User-provided ID of the |
callSettings |
CallSettingsIf not null, applies overrides to this RPC call. |
| Returns | |
|---|---|
| Type | Description |
OperationLbEdgeExtensionOperationMetadata |
The RPC response. |
// Create client
DepServiceClient depServiceClient = DepServiceClient.Create();
// Initialize request argument(s)
string parent = "projects/[PROJECT]/locations/[LOCATION]";
LbEdgeExtension lbEdgeExtension = new LbEdgeExtension();
string lbEdgeExtensionId = "";
// Make the request
Operation<LbEdgeExtension, OperationMetadata> response = depServiceClient.CreateLbEdgeExtension(parent, lbEdgeExtension, lbEdgeExtensionId);
// Poll until the returned long-running operation is complete
Operation<LbEdgeExtension, OperationMetadata> completedResponse = response.PollUntilCompleted();
// Retrieve the operation result
LbEdgeExtension result = completedResponse.Result;
// Or get the name of the operation
string operationName = response.Name;
// This name can be stored, then the long-running operation retrieved later by name
Operation<LbEdgeExtension, OperationMetadata> retrievedResponse = depServiceClient.PollOnceCreateLbEdgeExtension(operationName);
// Check if the retrieved long-running operation has completed
if (retrievedResponse.IsCompleted)
{
// If it has completed, then access the result
LbEdgeExtension retrievedResult = retrievedResponse.Result;
}
CreateLbEdgeExtensionAsync(LocationName, LbEdgeExtension, string, CallSettings)
public virtual Task<Operation<LbEdgeExtension, OperationMetadata>> CreateLbEdgeExtensionAsync(LocationName parent, LbEdgeExtension lbEdgeExtension, string lbEdgeExtensionId, CallSettings callSettings = null)Creates a new LbEdgeExtension resource in a given project and location.
| Parameters | |
|---|---|
| Name | Description |
parent |
LocationNameRequired. The parent resource of the |
lbEdgeExtension |
LbEdgeExtensionRequired. |
lbEdgeExtensionId |
stringRequired. User-provided ID of the |
callSettings |
CallSettingsIf not null, applies overrides to this RPC call. |
| Returns | |
|---|---|
| Type | Description |
TaskOperationLbEdgeExtensionOperationMetadata |
A Task containing the RPC response. |
// Create client
DepServiceClient depServiceClient = await DepServiceClient.CreateAsync();
// Initialize request argument(s)
LocationName parent = LocationName.FromProjectLocation("[PROJECT]", "[LOCATION]");
LbEdgeExtension lbEdgeExtension = new LbEdgeExtension();
string lbEdgeExtensionId = "";
// Make the request
Operation<LbEdgeExtension, OperationMetadata> response = await depServiceClient.CreateLbEdgeExtensionAsync(parent, lbEdgeExtension, lbEdgeExtensionId);
// Poll until the returned long-running operation is complete
Operation<LbEdgeExtension, OperationMetadata> completedResponse = await response.PollUntilCompletedAsync();
// Retrieve the operation result
LbEdgeExtension result = completedResponse.Result;
// Or get the name of the operation
string operationName = response.Name;
// This name can be stored, then the long-running operation retrieved later by name
Operation<LbEdgeExtension, OperationMetadata> retrievedResponse = await depServiceClient.PollOnceCreateLbEdgeExtensionAsync(operationName);
// Check if the retrieved long-running operation has completed
if (retrievedResponse.IsCompleted)
{
// If it has completed, then access the result
LbEdgeExtension retrievedResult = retrievedResponse.Result;
}
CreateLbEdgeExtensionAsync(LocationName, LbEdgeExtension, string, CancellationToken)
public virtual Task<Operation<LbEdgeExtension, OperationMetadata>> CreateLbEdgeExtensionAsync(LocationName parent, LbEdgeExtension lbEdgeExtension, string lbEdgeExtensionId, CancellationToken cancellationToken)Creates a new LbEdgeExtension resource in a given project and location.
| Parameters | |
|---|---|
| Name | Description |
parent |
LocationNameRequired. The parent resource of the |
lbEdgeExtension |
LbEdgeExtensionRequired. |
lbEdgeExtensionId |
stringRequired. User-provided ID of the |
cancellationToken |
CancellationTokenA CancellationToken to use for this RPC. |
| Returns | |
|---|---|
| Type | Description |
TaskOperationLbEdgeExtensionOperationMetadata |
A Task containing the RPC response. |
// Create client
DepServiceClient depServiceClient = await DepServiceClient.CreateAsync();
// Initialize request argument(s)
LocationName parent = LocationName.FromProjectLocation("[PROJECT]", "[LOCATION]");
LbEdgeExtension lbEdgeExtension = new LbEdgeExtension();
string lbEdgeExtensionId = "";
// Make the request
Operation<LbEdgeExtension, OperationMetadata> response = await depServiceClient.CreateLbEdgeExtensionAsync(parent, lbEdgeExtension, lbEdgeExtensionId);
// Poll until the returned long-running operation is complete
Operation<LbEdgeExtension, OperationMetadata> completedResponse = await response.PollUntilCompletedAsync();
// Retrieve the operation result
LbEdgeExtension result = completedResponse.Result;
// Or get the name of the operation
string operationName = response.Name;
// This name can be stored, then the long-running operation retrieved later by name
Operation<LbEdgeExtension, OperationMetadata> retrievedResponse = await depServiceClient.PollOnceCreateLbEdgeExtensionAsync(operationName);
// Check if the retrieved long-running operation has completed
if (retrievedResponse.IsCompleted)
{
// If it has completed, then access the result
LbEdgeExtension retrievedResult = retrievedResponse.Result;
}
CreateLbEdgeExtensionAsync(CreateLbEdgeExtensionRequest, CallSettings)
public virtual Task<Operation<LbEdgeExtension, OperationMetadata>> CreateLbEdgeExtensionAsync(CreateLbEdgeExtensionRequest request, CallSettings callSettings = null)Creates a new LbEdgeExtension resource in a given project and location.
| Parameters | |
|---|---|
| Name | Description |
request |
CreateLbEdgeExtensionRequestThe request object containing all of the parameters for the API call. |
callSettings |
CallSettingsIf not null, applies overrides to this RPC call. |
| Returns | |
|---|---|
| Type | Description |
TaskOperationLbEdgeExtensionOperationMetadata |
A Task containing the RPC response. |
// Create client
DepServiceClient depServiceClient = await DepServiceClient.CreateAsync();
// Initialize request argument(s)
CreateLbEdgeExtensionRequest request = new CreateLbEdgeExtensionRequest
{
ParentAsLocationName = LocationName.FromProjectLocation("[PROJECT]", "[LOCATION]"),
LbEdgeExtensionId = "",
LbEdgeExtension = new LbEdgeExtension(),
RequestId = "",
};
// Make the request
Operation<LbEdgeExtension, OperationMetadata> response = await depServiceClient.CreateLbEdgeExtensionAsync(request);
// Poll until the returned long-running operation is complete
Operation<LbEdgeExtension, OperationMetadata> completedResponse = await response.PollUntilCompletedAsync();
// Retrieve the operation result
LbEdgeExtension result = completedResponse.Result;
// Or get the name of the operation
string operationName = response.Name;
// This name can be stored, then the long-running operation retrieved later by name
Operation<LbEdgeExtension, OperationMetadata> retrievedResponse = await depServiceClient.PollOnceCreateLbEdgeExtensionAsync(operationName);
// Check if the retrieved long-running operation has completed
if (retrievedResponse.IsCompleted)
{
// If it has completed, then access the result
LbEdgeExtension retrievedResult = retrievedResponse.Result;
}
CreateLbEdgeExtensionAsync(CreateLbEdgeExtensionRequest, CancellationToken)
public virtual Task<Operation<LbEdgeExtension, OperationMetadata>> CreateLbEdgeExtensionAsync(CreateLbEdgeExtensionRequest request, CancellationToken cancellationToken)Creates a new LbEdgeExtension resource in a given project and location.
| Parameters | |
|---|---|
| Name | Description |
request |
CreateLbEdgeExtensionRequestThe request object containing all of the parameters for the API call. |
cancellationToken |
CancellationTokenA CancellationToken to use for this RPC. |
| Returns | |
|---|---|
| Type | Description |
TaskOperationLbEdgeExtensionOperationMetadata |
A Task containing the RPC response. |
// Create client
DepServiceClient depServiceClient = await DepServiceClient.CreateAsync();
// Initialize request argument(s)
CreateLbEdgeExtensionRequest request = new CreateLbEdgeExtensionRequest
{
ParentAsLocationName = LocationName.FromProjectLocation("[PROJECT]", "[LOCATION]"),
LbEdgeExtensionId = "",
LbEdgeExtension = new LbEdgeExtension(),
RequestId = "",
};
// Make the request
Operation<LbEdgeExtension, OperationMetadata> response = await depServiceClient.CreateLbEdgeExtensionAsync(request);
// Poll until the returned long-running operation is complete
Operation<LbEdgeExtension, OperationMetadata> completedResponse = await response.PollUntilCompletedAsync();
// Retrieve the operation result
LbEdgeExtension result = completedResponse.Result;
// Or get the name of the operation
string operationName = response.Name;
// This name can be stored, then the long-running operation retrieved later by name
Operation<LbEdgeExtension, OperationMetadata> retrievedResponse = await depServiceClient.PollOnceCreateLbEdgeExtensionAsync(operationName);
// Check if the retrieved long-running operation has completed
if (retrievedResponse.IsCompleted)
{
// If it has completed, then access the result
LbEdgeExtension retrievedResult = retrievedResponse.Result;
}
CreateLbEdgeExtensionAsync(string, LbEdgeExtension, string, CallSettings)
public virtual Task<Operation<LbEdgeExtension, OperationMetadata>> CreateLbEdgeExtensionAsync(string parent, LbEdgeExtension lbEdgeExtension, string lbEdgeExtensionId, CallSettings callSettings = null)Creates a new LbEdgeExtension resource in a given project and location.
| Parameters | |
|---|---|
| Name | Description |
parent |
stringRequired. The parent resource of the |
lbEdgeExtension |
LbEdgeExtensionRequired. |
lbEdgeExtensionId |
stringRequired. User-provided ID of the |
callSettings |
CallSettingsIf not null, applies overrides to this RPC call. |
| Returns | |
|---|---|
| Type | Description |
TaskOperationLbEdgeExtensionOperationMetadata |
A Task containing the RPC response. |
// Create client
DepServiceClient depServiceClient = await DepServiceClient.CreateAsync();
// Initialize request argument(s)
string parent = "projects/[PROJECT]/locations/[LOCATION]";
LbEdgeExtension lbEdgeExtension = new LbEdgeExtension();
string lbEdgeExtensionId = "";
// Make the request
Operation<LbEdgeExtension, OperationMetadata> response = await depServiceClient.CreateLbEdgeExtensionAsync(parent, lbEdgeExtension, lbEdgeExtensionId);
// Poll until the returned long-running operation is complete
Operation<LbEdgeExtension, OperationMetadata> completedResponse = await response.PollUntilCompletedAsync();
// Retrieve the operation result
LbEdgeExtension result = completedResponse.Result;
// Or get the name of the operation
string operationName = response.Name;
// This name can be stored, then the long-running operation retrieved later by name
Operation<LbEdgeExtension, OperationMetadata> retrievedResponse = await depServiceClient.PollOnceCreateLbEdgeExtensionAsync(operationName);
// Check if the retrieved long-running operation has completed
if (retrievedResponse.IsCompleted)
{
// If it has completed, then access the result
LbEdgeExtension retrievedResult = retrievedResponse.Result;
}
CreateLbEdgeExtensionAsync(string, LbEdgeExtension, string, CancellationToken)
public virtual Task<Operation<LbEdgeExtension, OperationMetadata>> CreateLbEdgeExtensionAsync(string parent, LbEdgeExtension lbEdgeExtension, string lbEdgeExtensionId, CancellationToken cancellationToken)Creates a new LbEdgeExtension resource in a given project and location.
| Parameters | |
|---|---|
| Name | Description |
parent |
stringRequired. The parent resource of the |
lbEdgeExtension |
LbEdgeExtensionRequired. |
lbEdgeExtensionId |
stringRequired. User-provided ID of the |
cancellationToken |
CancellationTokenA CancellationToken to use for this RPC. |
| Returns | |
|---|---|
| Type | Description |
TaskOperationLbEdgeExtensionOperationMetadata |
A Task containing the RPC response. |
// Create client
DepServiceClient depServiceClient = await DepServiceClient.CreateAsync();
// Initialize request argument(s)
string parent = "projects/[PROJECT]/locations/[LOCATION]";
LbEdgeExtension lbEdgeExtension = new LbEdgeExtension();
string lbEdgeExtensionId = "";
// Make the request
Operation<LbEdgeExtension, OperationMetadata> response = await depServiceClient.CreateLbEdgeExtensionAsync(parent, lbEdgeExtension, lbEdgeExtensionId);
// Poll until the returned long-running operation is complete
Operation<LbEdgeExtension, OperationMetadata> completedResponse = await response.PollUntilCompletedAsync();
// Retrieve the operation result
LbEdgeExtension result = completedResponse.Result;
// Or get the name of the operation
string operationName = response.Name;
// This name can be stored, then the long-running operation retrieved later by name
Operation<LbEdgeExtension, OperationMetadata> retrievedResponse = await depServiceClient.PollOnceCreateLbEdgeExtensionAsync(operationName);
// Check if the retrieved long-running operation has completed
if (retrievedResponse.IsCompleted)
{
// If it has completed, then access the result
LbEdgeExtension retrievedResult = retrievedResponse.Result;
}
CreateLbRouteExtension(LocationName, LbRouteExtension, string, CallSettings)
public virtual Operation<LbRouteExtension, OperationMetadata> CreateLbRouteExtension(LocationName parent, LbRouteExtension lbRouteExtension, string lbRouteExtensionId, CallSettings callSettings = null)Creates a new LbRouteExtension resource in a given project and location.
| Parameters | |
|---|---|
| Name | Description |
parent |
LocationNameRequired. The parent resource of the |
lbRouteExtension |
LbRouteExtensionRequired. |
lbRouteExtensionId |
stringRequired. User-provided ID of the |
callSettings |
CallSettingsIf not null, applies overrides to this RPC call. |
| Returns | |
|---|---|
| Type | Description |
OperationLbRouteExtensionOperationMetadata |
The RPC response. |
// Create client
DepServiceClient depServiceClient = DepServiceClient.Create();
// Initialize request argument(s)
LocationName parent = LocationName.FromProjectLocation("[PROJECT]", "[LOCATION]");
LbRouteExtension lbRouteExtension = new LbRouteExtension();
string lbRouteExtensionId = "";
// Make the request
Operation<LbRouteExtension, OperationMetadata> response = depServiceClient.CreateLbRouteExtension(parent, lbRouteExtension, lbRouteExtensionId);
// Poll until the returned long-running operation is complete
Operation<LbRouteExtension, OperationMetadata> completedResponse = response.PollUntilCompleted();
// Retrieve the operation result
LbRouteExtension result = completedResponse.Result;
// Or get the name of the operation
string operationName = response.Name;
// This name can be stored, then the long-running operation retrieved later by name
Operation<LbRouteExtension, OperationMetadata> retrievedResponse = depServiceClient.PollOnceCreateLbRouteExtension(operationName);
// Check if the retrieved long-running operation has completed
if (retrievedResponse.IsCompleted)
{
// If it has completed, then access the result
LbRouteExtension retrievedResult = retrievedResponse.Result;
}
CreateLbRouteExtension(CreateLbRouteExtensionRequest, CallSettings)
public virtual Operation<LbRouteExtension, OperationMetadata> CreateLbRouteExtension(CreateLbRouteExtensionRequest request, CallSettings callSettings = null)Creates a new LbRouteExtension resource in a given project and location.
| Parameters | |
|---|---|
| Name | Description |
request |
CreateLbRouteExtensionRequestThe request object containing all of the parameters for the API call. |
callSettings |
CallSettingsIf not null, applies overrides to this RPC call. |
| Returns | |
|---|---|
| Type | Description |
OperationLbRouteExtensionOperationMetadata |
The RPC response. |
// Create client
DepServiceClient depServiceClient = DepServiceClient.Create();
// Initialize request argument(s)
CreateLbRouteExtensionRequest request = new CreateLbRouteExtensionRequest
{
ParentAsLocationName = LocationName.FromProjectLocation("[PROJECT]", "[LOCATION]"),
LbRouteExtensionId = "",
LbRouteExtension = new LbRouteExtension(),
RequestId = "",
};
// Make the request
Operation<LbRouteExtension, OperationMetadata> response = depServiceClient.CreateLbRouteExtension(request);
// Poll until the returned long-running operation is complete
Operation<LbRouteExtension, OperationMetadata> completedResponse = response.PollUntilCompleted();
// Retrieve the operation result
LbRouteExtension result = completedResponse.Result;
// Or get the name of the operation
string operationName = response.Name;
// This name can be stored, then the long-running operation retrieved later by name
Operation<LbRouteExtension, OperationMetadata> retrievedResponse = depServiceClient.PollOnceCreateLbRouteExtension(operationName);
// Check if the retrieved long-running operation has completed
if (retrievedResponse.IsCompleted)
{
// If it has completed, then access the result
LbRouteExtension retrievedResult = retrievedResponse.Result;
}
CreateLbRouteExtension(string, LbRouteExtension, string, CallSettings)
public virtual Operation<LbRouteExtension, OperationMetadata> CreateLbRouteExtension(string parent, LbRouteExtension lbRouteExtension, string lbRouteExtensionId, CallSettings callSettings = null)Creates a new LbRouteExtension resource in a given project and location.
| Parameters | |
|---|---|
| Name | Description |
parent |
stringRequired. The parent resource of the |
lbRouteExtension |
LbRouteExtensionRequired. |
lbRouteExtensionId |
stringRequired. User-provided ID of the |
callSettings |
CallSettingsIf not null, applies overrides to this RPC call. |
| Returns | |
|---|---|
| Type | Description |
OperationLbRouteExtensionOperationMetadata |
The RPC response. |
// Create client
DepServiceClient depServiceClient = DepServiceClient.Create();
// Initialize request argument(s)
string parent = "projects/[PROJECT]/locations/[LOCATION]";
LbRouteExtension lbRouteExtension = new LbRouteExtension();
string lbRouteExtensionId = "";
// Make the request
Operation<LbRouteExtension, OperationMetadata> response = depServiceClient.CreateLbRouteExtension(parent, lbRouteExtension, lbRouteExtensionId);
// Poll until the returned long-running operation is complete
Operation<LbRouteExtension, OperationMetadata> completedResponse = response.PollUntilCompleted();
// Retrieve the operation result
LbRouteExtension result = completedResponse.Result;
// Or get the name of the operation
string operationName = response.Name;
// This name can be stored, then the long-running operation retrieved later by name
Operation<LbRouteExtension, OperationMetadata> retrievedResponse = depServiceClient.PollOnceCreateLbRouteExtension(operationName);
// Check if the retrieved long-running operation has completed
if (retrievedResponse.IsCompleted)
{
// If it has completed, then access the result
LbRouteExtension retrievedResult = retrievedResponse.Result;
}
CreateLbRouteExtensionAsync(LocationName, LbRouteExtension, string, CallSettings)
public virtual Task<Operation<LbRouteExtension, OperationMetadata>> CreateLbRouteExtensionAsync(LocationName parent, LbRouteExtension lbRouteExtension, string lbRouteExtensionId, CallSettings callSettings = null)Creates a new LbRouteExtension resource in a given project and location.
| Parameters | |
|---|---|
| Name | Description |
parent |
LocationNameRequired. The parent resource of the |
lbRouteExtension |
LbRouteExtensionRequired. |
lbRouteExtensionId |
stringRequired. User-provided ID of the |
callSettings |
CallSettingsIf not null, applies overrides to this RPC call. |
| Returns | |
|---|---|
| Type | Description |
TaskOperationLbRouteExtensionOperationMetadata |
A Task containing the RPC response. |
// Create client
DepServiceClient depServiceClient = await DepServiceClient.CreateAsync();
// Initialize request argument(s)
LocationName parent = LocationName.FromProjectLocation("[PROJECT]", "[LOCATION]");
LbRouteExtension lbRouteExtension = new LbRouteExtension();
string lbRouteExtensionId = "";
// Make the request
Operation<LbRouteExtension, OperationMetadata> response = await depServiceClient.CreateLbRouteExtensionAsync(parent, lbRouteExtension, lbRouteExtensionId);
// Poll until the returned long-running operation is complete
Operation<LbRouteExtension, OperationMetadata> completedResponse = await response.PollUntilCompletedAsync();
// Retrieve the operation result
LbRouteExtension result = completedResponse.Result;
// Or get the name of the operation
string operationName = response.Name;
// This name can be stored, then the long-running operation retrieved later by name
Operation<LbRouteExtension, OperationMetadata> retrievedResponse = await depServiceClient.PollOnceCreateLbRouteExtensionAsync(operationName);
// Check if the retrieved long-running operation has completed
if (retrievedResponse.IsCompleted)
{
// If it has completed, then access the result
LbRouteExtension retrievedResult = retrievedResponse.Result;
}
CreateLbRouteExtensionAsync(LocationName, LbRouteExtension, string, CancellationToken)
public virtual Task<Operation<LbRouteExtension, OperationMetadata>> CreateLbRouteExtensionAsync(LocationName parent, LbRouteExtension lbRouteExtension, string lbRouteExtensionId, CancellationToken cancellationToken)Creates a new LbRouteExtension resource in a given project and location.
| Parameters | |
|---|---|
| Name | Description |
parent |
LocationNameRequired. The parent resource of the |
lbRouteExtension |
LbRouteExtensionRequired. |
lbRouteExtensionId |
stringRequired. User-provided ID of the |
cancellationToken |
CancellationTokenA CancellationToken to use for this RPC. |
| Returns | |
|---|---|
| Type | Description |
TaskOperationLbRouteExtensionOperationMetadata |
A Task containing the RPC response. |
// Create client
DepServiceClient depServiceClient = await DepServiceClient.CreateAsync();
// Initialize request argument(s)
LocationName parent = LocationName.FromProjectLocation("[PROJECT]", "[LOCATION]");
LbRouteExtension lbRouteExtension = new LbRouteExtension();
string lbRouteExtensionId = "";
// Make the request
Operation<LbRouteExtension, OperationMetadata> response = await depServiceClient.CreateLbRouteExtensionAsync(parent, lbRouteExtension, lbRouteExtensionId);
// Poll until the returned long-running operation is complete
Operation<LbRouteExtension, OperationMetadata> completedResponse = await response.PollUntilCompletedAsync();
// Retrieve the operation result
LbRouteExtension result = completedResponse.Result;
// Or get the name of the operation
string operationName = response.Name;
// This name can be stored, then the long-running operation retrieved later by name
Operation<LbRouteExtension, OperationMetadata> retrievedResponse = await depServiceClient.PollOnceCreateLbRouteExtensionAsync(operationName);
// Check if the retrieved long-running operation has completed
if (retrievedResponse.IsCompleted)
{
// If it has completed, then access the result
LbRouteExtension retrievedResult = retrievedResponse.Result;
}
CreateLbRouteExtensionAsync(CreateLbRouteExtensionRequest, CallSettings)
public virtual Task<Operation<LbRouteExtension, OperationMetadata>> CreateLbRouteExtensionAsync(CreateLbRouteExtensionRequest request, CallSettings callSettings = null)Creates a new LbRouteExtension resource in a given project and location.
| Parameters | |
|---|---|
| Name | Description |
request |
CreateLbRouteExtensionRequestThe request object containing all of the parameters for the API call. |
callSettings |
CallSettingsIf not null, applies overrides to this RPC call. |
| Returns | |
|---|---|
| Type | Description |
TaskOperationLbRouteExtensionOperationMetadata |
A Task containing the RPC response. |
// Create client
DepServiceClient depServiceClient = await DepServiceClient.CreateAsync();
// Initialize request argument(s)
CreateLbRouteExtensionRequest request = new CreateLbRouteExtensionRequest
{
ParentAsLocationName = LocationName.FromProjectLocation("[PROJECT]", "[LOCATION]"),
LbRouteExtensionId = "",
LbRouteExtension = new LbRouteExtension(),
RequestId = "",
};
// Make the request
Operation<LbRouteExtension, OperationMetadata> response = await depServiceClient.CreateLbRouteExtensionAsync(request);
// Poll until the returned long-running operation is complete
Operation<LbRouteExtension, OperationMetadata> completedResponse = await response.PollUntilCompletedAsync();
// Retrieve the operation result
LbRouteExtension result = completedResponse.Result;
// Or get the name of the operation
string operationName = response.Name;
// This name can be stored, then the long-running operation retrieved later by name
Operation<LbRouteExtension, OperationMetadata> retrievedResponse = await depServiceClient.PollOnceCreateLbRouteExtensionAsync(operationName);
// Check if the retrieved long-running operation has completed
if (retrievedResponse.IsCompleted)
{
// If it has completed, then access the result
LbRouteExtension retrievedResult = retrievedResponse.Result;
}
CreateLbRouteExtensionAsync(CreateLbRouteExtensionRequest, CancellationToken)
public virtual Task<Operation<LbRouteExtension, OperationMetadata>> CreateLbRouteExtensionAsync(CreateLbRouteExtensionRequest request, CancellationToken cancellationToken)Creates a new LbRouteExtension resource in a given project and location.
| Parameters | |
|---|---|
| Name | Description |
request |
CreateLbRouteExtensionRequestThe request object containing all of the parameters for the API call. |
cancellationToken |
CancellationTokenA CancellationToken to use for this RPC. |
| Returns | |
|---|---|
| Type | Description |
TaskOperationLbRouteExtensionOperationMetadata |
A Task containing the RPC response. |
// Create client
DepServiceClient depServiceClient = await DepServiceClient.CreateAsync();
// Initialize request argument(s)
CreateLbRouteExtensionRequest request = new CreateLbRouteExtensionRequest
{
ParentAsLocationName = LocationName.FromProjectLocation("[PROJECT]", "[LOCATION]"),
LbRouteExtensionId = "",
LbRouteExtension = new LbRouteExtension(),
RequestId = "",
};
// Make the request
Operation<LbRouteExtension, OperationMetadata> response = await depServiceClient.CreateLbRouteExtensionAsync(request);
// Poll until the returned long-running operation is complete
Operation<LbRouteExtension, OperationMetadata> completedResponse = await response.PollUntilCompletedAsync();
// Retrieve the operation result
LbRouteExtension result = completedResponse.Result;
// Or get the name of the operation
string operationName = response.Name;
// This name can be stored, then the long-running operation retrieved later by name
Operation<LbRouteExtension, OperationMetadata> retrievedResponse = await depServiceClient.PollOnceCreateLbRouteExtensionAsync(operationName);
// Check if the retrieved long-running operation has completed
if (retrievedResponse.IsCompleted)
{
// If it has completed, then access the result
LbRouteExtension retrievedResult = retrievedResponse.Result;
}
CreateLbRouteExtensionAsync(string, LbRouteExtension, string, CallSettings)
public virtual Task<Operation<LbRouteExtension, OperationMetadata>> CreateLbRouteExtensionAsync(string parent, LbRouteExtension lbRouteExtension, string lbRouteExtensionId, CallSettings callSettings = null)Creates a new LbRouteExtension resource in a given project and location.
| Parameters | |
|---|---|
| Name | Description |
parent |
stringRequired. The parent resource of the |
lbRouteExtension |
LbRouteExtensionRequired. |
lbRouteExtensionId |
stringRequired. User-provided ID of the |
callSettings |
CallSettingsIf not null, applies overrides to this RPC call. |
| Returns | |
|---|---|
| Type | Description |
TaskOperationLbRouteExtensionOperationMetadata |
A Task containing the RPC response. |
// Create client
DepServiceClient depServiceClient = await DepServiceClient.CreateAsync();
// Initialize request argument(s)
string parent = "projects/[PROJECT]/locations/[LOCATION]";
LbRouteExtension lbRouteExtension = new LbRouteExtension();
string lbRouteExtensionId = "";
// Make the request
Operation<LbRouteExtension, OperationMetadata> response = await depServiceClient.CreateLbRouteExtensionAsync(parent, lbRouteExtension, lbRouteExtensionId);
// Poll until the returned long-running operation is complete
Operation<LbRouteExtension, OperationMetadata> completedResponse = await response.PollUntilCompletedAsync();
// Retrieve the operation result
LbRouteExtension result = completedResponse.Result;
// Or get the name of the operation
string operationName = response.Name;
// This name can be stored, then the long-running operation retrieved later by name
Operation<LbRouteExtension, OperationMetadata> retrievedResponse = await depServiceClient.PollOnceCreateLbRouteExtensionAsync(operationName);
// Check if the retrieved long-running operation has completed
if (retrievedResponse.IsCompleted)
{
// If it has completed, then access the result
LbRouteExtension retrievedResult = retrievedResponse.Result;
}
CreateLbRouteExtensionAsync(string, LbRouteExtension, string, CancellationToken)
public virtual Task<Operation<LbRouteExtension, OperationMetadata>> CreateLbRouteExtensionAsync(string parent, LbRouteExtension lbRouteExtension, string lbRouteExtensionId, CancellationToken cancellationToken)Creates a new LbRouteExtension resource in a given project and location.
| Parameters | |
|---|---|
| Name | Description |
parent |
stringRequired. The parent resource of the |
lbRouteExtension |
LbRouteExtensionRequired. |
lbRouteExtensionId |
stringRequired. User-provided ID of the |
cancellationToken |
CancellationTokenA CancellationToken to use for this RPC. |
| Returns | |
|---|---|
| Type | Description |
TaskOperationLbRouteExtensionOperationMetadata |
A Task containing the RPC response. |
// Create client
DepServiceClient depServiceClient = await DepServiceClient.CreateAsync();
// Initialize request argument(s)
string parent = "projects/[PROJECT]/locations/[LOCATION]";
LbRouteExtension lbRouteExtension = new LbRouteExtension();
string lbRouteExtensionId = "";
// Make the request
Operation<LbRouteExtension, OperationMetadata> response = await depServiceClient.CreateLbRouteExtensionAsync(parent, lbRouteExtension, lbRouteExtensionId);
// Poll until the returned long-running operation is complete
Operation<LbRouteExtension, OperationMetadata> completedResponse = await response.PollUntilCompletedAsync();
// Retrieve the operation result
LbRouteExtension result = completedResponse.Result;
// Or get the name of the operation
string operationName = response.Name;
// This name can be stored, then the long-running operation retrieved later by name
Operation<LbRouteExtension, OperationMetadata> retrievedResponse = await depServiceClient.PollOnceCreateLbRouteExtensionAsync(operationName);
// Check if the retrieved long-running operation has completed
if (retrievedResponse.IsCompleted)
{
// If it has completed, then access the result
LbRouteExtension retrievedResult = retrievedResponse.Result;
}
CreateLbTrafficExtension(LocationName, LbTrafficExtension, string, CallSettings)
public virtual Operation<LbTrafficExtension, OperationMetadata> CreateLbTrafficExtension(LocationName parent, LbTrafficExtension lbTrafficExtension, string lbTrafficExtensionId, CallSettings callSettings = null)Creates a new LbTrafficExtension resource in a given project and
location.
| Parameters | |
|---|---|
| Name | Description |
parent |
LocationNameRequired. The parent resource of the |
lbTrafficExtension |
LbTrafficExtensionRequired. |
lbTrafficExtensionId |
stringRequired. User-provided ID of the |
callSettings |
CallSettingsIf not null, applies overrides to this RPC call. |
| Returns | |
|---|---|
| Type | Description |
OperationLbTrafficExtensionOperationMetadata |
The RPC response. |
// Create client
DepServiceClient depServiceClient = DepServiceClient.Create();
// Initialize request argument(s)
LocationName parent = LocationName.FromProjectLocation("[PROJECT]", "[LOCATION]");
LbTrafficExtension lbTrafficExtension = new LbTrafficExtension();
string lbTrafficExtensionId = "";
// Make the request
Operation<LbTrafficExtension, OperationMetadata> response = depServiceClient.CreateLbTrafficExtension(parent, lbTrafficExtension, lbTrafficExtensionId);
// Poll until the returned long-running operation is complete
Operation<LbTrafficExtension, OperationMetadata> completedResponse = response.PollUntilCompleted();
// Retrieve the operation result
LbTrafficExtension result = completedResponse.Result;
// Or get the name of the operation
string operationName = response.Name;
// This name can be stored, then the long-running operation retrieved later by name
Operation<LbTrafficExtension, OperationMetadata> retrievedResponse = depServiceClient.PollOnceCreateLbTrafficExtension(operationName);
// Check if the retrieved long-running operation has completed
if (retrievedResponse.IsCompleted)
{
// If it has completed, then access the result
LbTrafficExtension retrievedResult = retrievedResponse.Result;
}
CreateLbTrafficExtension(CreateLbTrafficExtensionRequest, CallSettings)
public virtual Operation<LbTrafficExtension, OperationMetadata> CreateLbTrafficExtension(CreateLbTrafficExtensionRequest request, CallSettings callSettings = null)Creates a new LbTrafficExtension resource in a given project and
location.
| Parameters | |
|---|---|
| Name | Description |
request |
CreateLbTrafficExtensionRequestThe request object containing all of the parameters for the API call. |
callSettings |
CallSettingsIf not null, applies overrides to this RPC call. |
| Returns | |
|---|---|
| Type | Description |
OperationLbTrafficExtensionOperationMetadata |
The RPC response. |
// Create client
DepServiceClient depServiceClient = DepServiceClient.Create();
// Initialize request argument(s)
CreateLbTrafficExtensionRequest request = new CreateLbTrafficExtensionRequest
{
ParentAsLocationName = LocationName.FromProjectLocation("[PROJECT]", "[LOCATION]"),
LbTrafficExtensionId = "",
LbTrafficExtension = new LbTrafficExtension(),
RequestId = "",
};
// Make the request
Operation<LbTrafficExtension, OperationMetadata> response = depServiceClient.CreateLbTrafficExtension(request);
// Poll until the returned long-running operation is complete
Operation<LbTrafficExtension, OperationMetadata> completedResponse = response.PollUntilCompleted();
// Retrieve the operation result
LbTrafficExtension result = completedResponse.Result;
// Or get the name of the operation
string operationName = response.Name;
// This name can be stored, then the long-running operation retrieved later by name
Operation<LbTrafficExtension, OperationMetadata> retrievedResponse = depServiceClient.PollOnceCreateLbTrafficExtension(operationName);
// Check if the retrieved long-running operation has completed
if (retrievedResponse.IsCompleted)
{
// If it has completed, then access the result
LbTrafficExtension retrievedResult = retrievedResponse.Result;
}
CreateLbTrafficExtension(string, LbTrafficExtension, string, CallSettings)
public virtual Operation<LbTrafficExtension, OperationMetadata> CreateLbTrafficExtension(string parent, LbTrafficExtension lbTrafficExtension, string lbTrafficExtensionId, CallSettings callSettings = null)Creates a new LbTrafficExtension resource in a given project and
location.
| Parameters | |
|---|---|
| Name | Description |
parent |
stringRequired. The parent resource of the |
lbTrafficExtension |
LbTrafficExtensionRequired. |
lbTrafficExtensionId |
stringRequired. User-provided ID of the |
callSettings |
CallSettingsIf not null, applies overrides to this RPC call. |
| Returns | |
|---|---|
| Type | Description |
OperationLbTrafficExtensionOperationMetadata |
The RPC response. |
// Create client
DepServiceClient depServiceClient = DepServiceClient.Create();
// Initialize request argument(s)
string parent = "projects/[PROJECT]/locations/[LOCATION]";
LbTrafficExtension lbTrafficExtension = new LbTrafficExtension();
string lbTrafficExtensionId = "";
// Make the request
Operation<LbTrafficExtension, OperationMetadata> response = depServiceClient.CreateLbTrafficExtension(parent, lbTrafficExtension, lbTrafficExtensionId);
// Poll until the returned long-running operation is complete
Operation<LbTrafficExtension, OperationMetadata> completedResponse = response.PollUntilCompleted();
// Retrieve the operation result
LbTrafficExtension result = completedResponse.Result;
// Or get the name of the operation
string operationName = response.Name;
// This name can be stored, then the long-running operation retrieved later by name
Operation<LbTrafficExtension, OperationMetadata> retrievedResponse = depServiceClient.PollOnceCreateLbTrafficExtension(operationName);
// Check if the retrieved long-running operation has completed
if (retrievedResponse.IsCompleted)
{
// If it has completed, then access the result
LbTrafficExtension retrievedResult = retrievedResponse.Result;
}
CreateLbTrafficExtensionAsync(LocationName, LbTrafficExtension, string, CallSettings)
public virtual Task<Operation<LbTrafficExtension, OperationMetadata>> CreateLbTrafficExtensionAsync(LocationName parent, LbTrafficExtension lbTrafficExtension, string lbTrafficExtensionId, CallSettings callSettings = null)Creates a new LbTrafficExtension resource in a given project and
location.
| Parameters | |
|---|---|
| Name | Description |
parent |
LocationNameRequired. The parent resource of the |
lbTrafficExtension |
LbTrafficExtensionRequired. |
lbTrafficExtensionId |
stringRequired. User-provided ID of the |
callSettings |
CallSettingsIf not null, applies overrides to this RPC call. |
| Returns | |
|---|---|
| Type | Description |
TaskOperationLbTrafficExtensionOperationMetadata |
A Task containing the RPC response. |
// Create client
DepServiceClient depServiceClient = await DepServiceClient.CreateAsync();
// Initialize request argument(s)
LocationName parent = LocationName.FromProjectLocation("[PROJECT]", "[LOCATION]");
LbTrafficExtension lbTrafficExtension = new LbTrafficExtension();
string lbTrafficExtensionId = "";
// Make the request
Operation<LbTrafficExtension, OperationMetadata> response = await depServiceClient.CreateLbTrafficExtensionAsync(parent, lbTrafficExtension, lbTrafficExtensionId);
// Poll until the returned long-running operation is complete
Operation<LbTrafficExtension, OperationMetadata> completedResponse = await response.PollUntilCompletedAsync();
// Retrieve the operation result
LbTrafficExtension result = completedResponse.Result;
// Or get the name of the operation
string operationName = response.Name;
// This name can be stored, then the long-running operation retrieved later by name
Operation<LbTrafficExtension, OperationMetadata> retrievedResponse = await depServiceClient.PollOnceCreateLbTrafficExtensionAsync(operationName);
// Check if the retrieved long-running operation has completed
if (retrievedResponse.IsCompleted)
{
// If it has completed, then access the result
LbTrafficExtension retrievedResult = retrievedResponse.Result;
}
CreateLbTrafficExtensionAsync(LocationName, LbTrafficExtension, string, CancellationToken)
public virtual Task<Operation<LbTrafficExtension, OperationMetadata>> CreateLbTrafficExtensionAsync(LocationName parent, LbTrafficExtension lbTrafficExtension, string lbTrafficExtensionId, CancellationToken cancellationToken)Creates a new LbTrafficExtension resource in a given project and
location.
| Parameters | |
|---|---|
| Name | Description |
parent |
LocationNameRequired. The parent resource of the |
lbTrafficExtension |
LbTrafficExtensionRequired. |
lbTrafficExtensionId |
stringRequired. User-provided ID of the |
cancellationToken |
CancellationTokenA CancellationToken to use for this RPC. |
| Returns | |
|---|---|
| Type | Description |
TaskOperationLbTrafficExtensionOperationMetadata |
A Task containing the RPC response. |
// Create client
DepServiceClient depServiceClient = await DepServiceClient.CreateAsync();
// Initialize request argument(s)
LocationName parent = LocationName.FromProjectLocation("[PROJECT]", "[LOCATION]");
LbTrafficExtension lbTrafficExtension = new LbTrafficExtension();
string lbTrafficExtensionId = "";
// Make the request
Operation<LbTrafficExtension, OperationMetadata> response = await depServiceClient.CreateLbTrafficExtensionAsync(parent, lbTrafficExtension, lbTrafficExtensionId);
// Poll until the returned long-running operation is complete
Operation<LbTrafficExtension, OperationMetadata> completedResponse = await response.PollUntilCompletedAsync();
// Retrieve the operation result
LbTrafficExtension result = completedResponse.Result;
// Or get the name of the operation
string operationName = response.Name;
// This name can be stored, then the long-running operation retrieved later by name
Operation<LbTrafficExtension, OperationMetadata> retrievedResponse = await depServiceClient.PollOnceCreateLbTrafficExtensionAsync(operationName);
// Check if the retrieved long-running operation has completed
if (retrievedResponse.IsCompleted)
{
// If it has completed, then access the result
LbTrafficExtension retrievedResult = retrievedResponse.Result;
}
CreateLbTrafficExtensionAsync(CreateLbTrafficExtensionRequest, CallSettings)
public virtual Task<Operation<LbTrafficExtension, OperationMetadata>> CreateLbTrafficExtensionAsync(CreateLbTrafficExtensionRequest request, CallSettings callSettings = null)Creates a new LbTrafficExtension resource in a given project and
location.
| Parameters | |
|---|---|
| Name | Description |
request |
CreateLbTrafficExtensionRequestThe request object containing all of the parameters for the API call. |
callSettings |
CallSettingsIf not null, applies overrides to this RPC call. |
| Returns | |
|---|---|
| Type | Description |
TaskOperationLbTrafficExtensionOperationMetadata |
A Task containing the RPC response. |
// Create client
DepServiceClient depServiceClient = await DepServiceClient.CreateAsync();
// Initialize request argument(s)
CreateLbTrafficExtensionRequest request = new CreateLbTrafficExtensionRequest
{
ParentAsLocationName = LocationName.FromProjectLocation("[PROJECT]", "[LOCATION]"),
LbTrafficExtensionId = "",
LbTrafficExtension = new LbTrafficExtension(),
RequestId = "",
};
// Make the request
Operation<LbTrafficExtension, OperationMetadata> response = await depServiceClient.CreateLbTrafficExtensionAsync(request);
// Poll until the returned long-running operation is complete
Operation<LbTrafficExtension, OperationMetadata> completedResponse = await response.PollUntilCompletedAsync();
// Retrieve the operation result
LbTrafficExtension result = completedResponse.Result;
// Or get the name of the operation
string operationName = response.Name;
// This name can be stored, then the long-running operation retrieved later by name
Operation<LbTrafficExtension, OperationMetadata> retrievedResponse = await depServiceClient.PollOnceCreateLbTrafficExtensionAsync(operationName);
// Check if the retrieved long-running operation has completed
if (retrievedResponse.IsCompleted)
{
// If it has completed, then access the result
LbTrafficExtension retrievedResult = retrievedResponse.Result;
}
CreateLbTrafficExtensionAsync(CreateLbTrafficExtensionRequest, CancellationToken)
public virtual Task<Operation<LbTrafficExtension, OperationMetadata>> CreateLbTrafficExtensionAsync(CreateLbTrafficExtensionRequest request, CancellationToken cancellationToken)Creates a new LbTrafficExtension resource in a given project and
location.
| Parameters | |
|---|---|
| Name | Description |
request |
CreateLbTrafficExtensionRequestThe request object containing all of the parameters for the API call. |
cancellationToken |
CancellationTokenA CancellationToken to use for this RPC. |
| Returns | |
|---|---|
| Type | Description |
TaskOperationLbTrafficExtensionOperationMetadata |
A Task containing the RPC response. |
// Create client
DepServiceClient depServiceClient = await DepServiceClient.CreateAsync();
// Initialize request argument(s)
CreateLbTrafficExtensionRequest request = new CreateLbTrafficExtensionRequest
{
ParentAsLocationName = LocationName.FromProjectLocation("[PROJECT]", "[LOCATION]"),
LbTrafficExtensionId = "",
LbTrafficExtension = new LbTrafficExtension(),
RequestId = "",
};
// Make the request
Operation<LbTrafficExtension, OperationMetadata> response = await depServiceClient.CreateLbTrafficExtensionAsync(request);
// Poll until the returned long-running operation is complete
Operation<LbTrafficExtension, OperationMetadata> completedResponse = await response.PollUntilCompletedAsync();
// Retrieve the operation result
LbTrafficExtension result = completedResponse.Result;
// Or get the name of the operation
string operationName = response.Name;
// This name can be stored, then the long-running operation retrieved later by name
Operation<LbTrafficExtension, OperationMetadata> retrievedResponse = await depServiceClient.PollOnceCreateLbTrafficExtensionAsync(operationName);
// Check if the retrieved long-running operation has completed
if (retrievedResponse.IsCompleted)
{
// If it has completed, then access the result
LbTrafficExtension retrievedResult = retrievedResponse.Result;
}
CreateLbTrafficExtensionAsync(string, LbTrafficExtension, string, CallSettings)
public virtual Task<Operation<LbTrafficExtension, OperationMetadata>> CreateLbTrafficExtensionAsync(string parent, LbTrafficExtension lbTrafficExtension, string lbTrafficExtensionId, CallSettings callSettings = null)Creates a new LbTrafficExtension resource in a given project and
location.
| Parameters | |
|---|---|
| Name | Description |
parent |
stringRequired. The parent resource of the |
lbTrafficExtension |
LbTrafficExtensionRequired. |
lbTrafficExtensionId |
stringRequired. User-provided ID of the |
callSettings |
CallSettingsIf not null, applies overrides to this RPC call. |
| Returns | |
|---|---|
| Type | Description |
TaskOperationLbTrafficExtensionOperationMetadata |
A Task containing the RPC response. |
// Create client
DepServiceClient depServiceClient = await DepServiceClient.CreateAsync();
// Initialize request argument(s)
string parent = "projects/[PROJECT]/locations/[LOCATION]";
LbTrafficExtension lbTrafficExtension = new LbTrafficExtension();
string lbTrafficExtensionId = "";
// Make the request
Operation<LbTrafficExtension, OperationMetadata> response = await depServiceClient.CreateLbTrafficExtensionAsync(parent, lbTrafficExtension, lbTrafficExtensionId);
// Poll until the returned long-running operation is complete
Operation<LbTrafficExtension, OperationMetadata> completedResponse = await response.PollUntilCompletedAsync();
// Retrieve the operation result
LbTrafficExtension result = completedResponse.Result;
// Or get the name of the operation
string operationName = response.Name;
// This name can be stored, then the long-running operation retrieved later by name
Operation<LbTrafficExtension, OperationMetadata> retrievedResponse = await depServiceClient.PollOnceCreateLbTrafficExtensionAsync(operationName);
// Check if the retrieved long-running operation has completed
if (retrievedResponse.IsCompleted)
{
// If it has completed, then access the result
LbTrafficExtension retrievedResult = retrievedResponse.Result;
}
CreateLbTrafficExtensionAsync(string, LbTrafficExtension, string, CancellationToken)
public virtual Task<Operation<LbTrafficExtension, OperationMetadata>> CreateLbTrafficExtensionAsync(string parent, LbTrafficExtension lbTrafficExtension, string lbTrafficExtensionId, CancellationToken cancellationToken)Creates a new LbTrafficExtension resource in a given project and
location.
| Parameters | |
|---|---|
| Name | Description |
parent |
stringRequired. The parent resource of the |
lbTrafficExtension |
LbTrafficExtensionRequired. |
lbTrafficExtensionId |
stringRequired. User-provided ID of the |
cancellationToken |
CancellationTokenA CancellationToken to use for this RPC. |
| Returns | |
|---|---|
| Type | Description |
TaskOperationLbTrafficExtensionOperationMetadata |
A Task containing the RPC response. |
// Create client
DepServiceClient depServiceClient = await DepServiceClient.CreateAsync();
// Initialize request argument(s)
string parent = "projects/[PROJECT]/locations/[LOCATION]";
LbTrafficExtension lbTrafficExtension = new LbTrafficExtension();
string lbTrafficExtensionId = "";
// Make the request
Operation<LbTrafficExtension, OperationMetadata> response = await depServiceClient.CreateLbTrafficExtensionAsync(parent, lbTrafficExtension, lbTrafficExtensionId);
// Poll until the returned long-running operation is complete
Operation<LbTrafficExtension, OperationMetadata> completedResponse = await response.PollUntilCompletedAsync();
// Retrieve the operation result
LbTrafficExtension result = completedResponse.Result;
// Or get the name of the operation
string operationName = response.Name;
// This name can be stored, then the long-running operation retrieved later by name
Operation<LbTrafficExtension, OperationMetadata> retrievedResponse = await depServiceClient.PollOnceCreateLbTrafficExtensionAsync(operationName);
// Check if the retrieved long-running operation has completed
if (retrievedResponse.IsCompleted)
{
// If it has completed, then access the result
LbTrafficExtension retrievedResult = retrievedResponse.Result;
}
DeleteAuthzExtension(AuthzExtensionName, CallSettings)
public virtual Operation<Empty, OperationMetadata> DeleteAuthzExtension(AuthzExtensionName name, CallSettings callSettings = null)Deletes the specified AuthzExtension resource.
| Parameters | |
|---|---|
| Name | Description |
name |
AuthzExtensionNameRequired. The name of the |
callSettings |
CallSettingsIf not null, applies overrides to this RPC call. |
| Returns | |
|---|---|
| Type | Description |
OperationEmptyOperationMetadata |
The RPC response. |
// Create client
DepServiceClient depServiceClient = DepServiceClient.Create();
// Initialize request argument(s)
AuthzExtensionName name = AuthzExtensionName.FromProjectLocationAuthzExtension("[PROJECT]", "[LOCATION]", "[AUTHZ_EXTENSION]");
// Make the request
Operation<Empty, OperationMetadata> response = depServiceClient.DeleteAuthzExtension(name);
// Poll until the returned long-running operation is complete
Operation<Empty, OperationMetadata> completedResponse = response.PollUntilCompleted();
// Retrieve the operation result
Empty result = completedResponse.Result;
// Or get the name of the operation
string operationName = response.Name;
// This name can be stored, then the long-running operation retrieved later by name
Operation<Empty, OperationMetadata> retrievedResponse = depServiceClient.PollOnceDeleteAuthzExtension(operationName);
// Check if the retrieved long-running operation has completed
if (retrievedResponse.IsCompleted)
{
// If it has completed, then access the result
Empty retrievedResult = retrievedResponse.Result;
}
DeleteAuthzExtension(DeleteAuthzExtensionRequest, CallSettings)
public virtual Operation<Empty, OperationMetadata> DeleteAuthzExtension(DeleteAuthzExtensionRequest request, CallSettings callSettings = null)Deletes the specified AuthzExtension resource.
| Parameters | |
|---|---|
| Name | Description |
request |
DeleteAuthzExtensionRequestThe request object containing all of the parameters for the API call. |
callSettings |
CallSettingsIf not null, applies overrides to this RPC call. |
| Returns | |
|---|---|
| Type | Description |
OperationEmptyOperationMetadata |
The RPC response. |
// Create client
DepServiceClient depServiceClient = DepServiceClient.Create();
// Initialize request argument(s)
DeleteAuthzExtensionRequest request = new DeleteAuthzExtensionRequest
{
AuthzExtensionName = AuthzExtensionName.FromProjectLocationAuthzExtension("[PROJECT]", "[LOCATION]", "[AUTHZ_EXTENSION]"),
RequestId = "",
};
// Make the request
Operation<Empty, OperationMetadata> response = depServiceClient.DeleteAuthzExtension(request);
// Poll until the returned long-running operation is complete
Operation<Empty, OperationMetadata> completedResponse = response.PollUntilCompleted();
// Retrieve the operation result
Empty result = completedResponse.Result;
// Or get the name of the operation
string operationName = response.Name;
// This name can be stored, then the long-running operation retrieved later by name
Operation<Empty, OperationMetadata> retrievedResponse = depServiceClient.PollOnceDeleteAuthzExtension(operationName);
// Check if the retrieved long-running operation has completed
if (retrievedResponse.IsCompleted)
{
// If it has completed, then access the result
Empty retrievedResult = retrievedResponse.Result;
}
DeleteAuthzExtension(string, CallSettings)
public virtual Operation<Empty, OperationMetadata> DeleteAuthzExtension(string name, CallSettings callSettings = null)Deletes the specified AuthzExtension resource.
| Parameters | |
|---|---|
| Name | Description |
name |
stringRequired. The name of the |
callSettings |
CallSettingsIf not null, applies overrides to this RPC call. |
| Returns | |
|---|---|
| Type | Description |
OperationEmptyOperationMetadata |
The RPC response. |
// Create client
DepServiceClient depServiceClient = DepServiceClient.Create();
// Initialize request argument(s)
string name = "projects/[PROJECT]/locations/[LOCATION]/authzExtensions/[AUTHZ_EXTENSION]";
// Make the request
Operation<Empty, OperationMetadata> response = depServiceClient.DeleteAuthzExtension(name);
// Poll until the returned long-running operation is complete
Operation<Empty, OperationMetadata> completedResponse = response.PollUntilCompleted();
// Retrieve the operation result
Empty result = completedResponse.Result;
// Or get the name of the operation
string operationName = response.Name;
// This name can be stored, then the long-running operation retrieved later by name
Operation<Empty, OperationMetadata> retrievedResponse = depServiceClient.PollOnceDeleteAuthzExtension(operationName);
// Check if the retrieved long-running operation has completed
if (retrievedResponse.IsCompleted)
{
// If it has completed, then access the result
Empty retrievedResult = retrievedResponse.Result;
}
DeleteAuthzExtensionAsync(AuthzExtensionName, CallSettings)
public virtual Task<Operation<Empty, OperationMetadata>> DeleteAuthzExtensionAsync(AuthzExtensionName name, CallSettings callSettings = null)Deletes the specified AuthzExtension resource.
| Parameters | |
|---|---|
| Name | Description |
name |
AuthzExtensionNameRequired. The name of the |
callSettings |
CallSettingsIf not null, applies overrides to this RPC call. |
| Returns | |
|---|---|
| Type | Description |
TaskOperationEmptyOperationMetadata |
A Task containing the RPC response. |
// Create client
DepServiceClient depServiceClient = await DepServiceClient.CreateAsync();
// Initialize request argument(s)
AuthzExtensionName name = AuthzExtensionName.FromProjectLocationAuthzExtension("[PROJECT]", "[LOCATION]", "[AUTHZ_EXTENSION]");
// Make the request
Operation<Empty, OperationMetadata> response = await depServiceClient.DeleteAuthzExtensionAsync(name);
// Poll until the returned long-running operation is complete
Operation<Empty, OperationMetadata> completedResponse = await response.PollUntilCompletedAsync();
// Retrieve the operation result
Empty result = completedResponse.Result;
// Or get the name of the operation
string operationName = response.Name;
// This name can be stored, then the long-running operation retrieved later by name
Operation<Empty, OperationMetadata> retrievedResponse = await depServiceClient.PollOnceDeleteAuthzExtensionAsync(operationName);
// Check if the retrieved long-running operation has completed
if (retrievedResponse.IsCompleted)
{
// If it has completed, then access the result
Empty retrievedResult = retrievedResponse.Result;
}
DeleteAuthzExtensionAsync(AuthzExtensionName, CancellationToken)
public virtual Task<Operation<Empty, OperationMetadata>> DeleteAuthzExtensionAsync(AuthzExtensionName name, CancellationToken cancellationToken)Deletes the specified AuthzExtension resource.
| Parameters | |
|---|---|
| Name | Description |
name |
AuthzExtensionNameRequired. The name of the |
cancellationToken |
CancellationTokenA CancellationToken to use for this RPC. |
| Returns | |
|---|---|
| Type | Description |
TaskOperationEmptyOperationMetadata |
A Task containing the RPC response. |
// Create client
DepServiceClient depServiceClient = await DepServiceClient.CreateAsync();
// Initialize request argument(s)
AuthzExtensionName name = AuthzExtensionName.FromProjectLocationAuthzExtension("[PROJECT]", "[LOCATION]", "[AUTHZ_EXTENSION]");
// Make the request
Operation<Empty, OperationMetadata> response = await depServiceClient.DeleteAuthzExtensionAsync(name);
// Poll until the returned long-running operation is complete
Operation<Empty, OperationMetadata> completedResponse = await response.PollUntilCompletedAsync();
// Retrieve the operation result
Empty result = completedResponse.Result;
// Or get the name of the operation
string operationName = response.Name;
// This name can be stored, then the long-running operation retrieved later by name
Operation<Empty, OperationMetadata> retrievedResponse = await depServiceClient.PollOnceDeleteAuthzExtensionAsync(operationName);
// Check if the retrieved long-running operation has completed
if (retrievedResponse.IsCompleted)
{
// If it has completed, then access the result
Empty retrievedResult = retrievedResponse.Result;
}
DeleteAuthzExtensionAsync(DeleteAuthzExtensionRequest, CallSettings)
public virtual Task<Operation<Empty, OperationMetadata>> DeleteAuthzExtensionAsync(DeleteAuthzExtensionRequest request, CallSettings callSettings = null)Deletes the specified AuthzExtension resource.
| Parameters | |
|---|---|
| Name | Description |
request |
DeleteAuthzExtensionRequestThe request object containing all of the parameters for the API call. |
callSettings |
CallSettingsIf not null, applies overrides to this RPC call. |
| Returns | |
|---|---|
| Type | Description |
TaskOperationEmptyOperationMetadata |
A Task containing the RPC response. |
// Create client
DepServiceClient depServiceClient = await DepServiceClient.CreateAsync();
// Initialize request argument(s)
DeleteAuthzExtensionRequest request = new DeleteAuthzExtensionRequest
{
AuthzExtensionName = AuthzExtensionName.FromProjectLocationAuthzExtension("[PROJECT]", "[LOCATION]", "[AUTHZ_EXTENSION]"),
RequestId = "",
};
// Make the request
Operation<Empty, OperationMetadata> response = await depServiceClient.DeleteAuthzExtensionAsync(request);
// Poll until the returned long-running operation is complete
Operation<Empty, OperationMetadata> completedResponse = await response.PollUntilCompletedAsync();
// Retrieve the operation result
Empty result = completedResponse.Result;
// Or get the name of the operation
string operationName = response.Name;
// This name can be stored, then the long-running operation retrieved later by name
Operation<Empty, OperationMetadata> retrievedResponse = await depServiceClient.PollOnceDeleteAuthzExtensionAsync(operationName);
// Check if the retrieved long-running operation has completed
if (retrievedResponse.IsCompleted)
{
// If it has completed, then access the result
Empty retrievedResult = retrievedResponse.Result;
}
DeleteAuthzExtensionAsync(DeleteAuthzExtensionRequest, CancellationToken)
public virtual Task<Operation<Empty, OperationMetadata>> DeleteAuthzExtensionAsync(DeleteAuthzExtensionRequest request, CancellationToken cancellationToken)Deletes the specified AuthzExtension resource.
| Parameters | |
|---|---|
| Name | Description |
request |
DeleteAuthzExtensionRequestThe request object containing all of the parameters for the API call. |
cancellationToken |
CancellationTokenA CancellationToken to use for this RPC. |
| Returns | |
|---|---|
| Type | Description |
TaskOperationEmptyOperationMetadata |
A Task containing the RPC response. |
// Create client
DepServiceClient depServiceClient = await DepServiceClient.CreateAsync();
// Initialize request argument(s)
DeleteAuthzExtensionRequest request = new DeleteAuthzExtensionRequest
{
AuthzExtensionName = AuthzExtensionName.FromProjectLocationAuthzExtension("[PROJECT]", "[LOCATION]", "[AUTHZ_EXTENSION]"),
RequestId = "",
};
// Make the request
Operation<Empty, OperationMetadata> response = await depServiceClient.DeleteAuthzExtensionAsync(request);
// Poll until the returned long-running operation is complete
Operation<Empty, OperationMetadata> completedResponse = await response.PollUntilCompletedAsync();
// Retrieve the operation result
Empty result = completedResponse.Result;
// Or get the name of the operation
string operationName = response.Name;
// This name can be stored, then the long-running operation retrieved later by name
Operation<Empty, OperationMetadata> retrievedResponse = await depServiceClient.PollOnceDeleteAuthzExtensionAsync(operationName);
// Check if the retrieved long-running operation has completed
if (retrievedResponse.IsCompleted)
{
// If it has completed, then access the result
Empty retrievedResult = retrievedResponse.Result;
}
DeleteAuthzExtensionAsync(string, CallSettings)
public virtual Task<Operation<Empty, OperationMetadata>> DeleteAuthzExtensionAsync(string name, CallSettings callSettings = null)Deletes the specified AuthzExtension resource.
| Parameters | |
|---|---|
| Name | Description |
name |
stringRequired. The name of the |
callSettings |
CallSettingsIf not null, applies overrides to this RPC call. |
| Returns | |
|---|---|
| Type | Description |
TaskOperationEmptyOperationMetadata |
A Task containing the RPC response. |
// Create client
DepServiceClient depServiceClient = await DepServiceClient.CreateAsync();
// Initialize request argument(s)
string name = "projects/[PROJECT]/locations/[LOCATION]/authzExtensions/[AUTHZ_EXTENSION]";
// Make the request
Operation<Empty, OperationMetadata> response = await depServiceClient.DeleteAuthzExtensionAsync(name);
// Poll until the returned long-running operation is complete
Operation<Empty, OperationMetadata> completedResponse = await response.PollUntilCompletedAsync();
// Retrieve the operation result
Empty result = completedResponse.Result;
// Or get the name of the operation
string operationName = response.Name;
// This name can be stored, then the long-running operation retrieved later by name
Operation<Empty, OperationMetadata> retrievedResponse = await depServiceClient.PollOnceDeleteAuthzExtensionAsync(operationName);
// Check if the retrieved long-running operation has completed
if (retrievedResponse.IsCompleted)
{
// If it has completed, then access the result
Empty retrievedResult = retrievedResponse.Result;
}
DeleteAuthzExtensionAsync(string, CancellationToken)
public virtual Task<Operation<Empty, OperationMetadata>> DeleteAuthzExtensionAsync(string name, CancellationToken cancellationToken)Deletes the specified AuthzExtension resource.
| Parameters | |
|---|---|
| Name | Description |
name |
stringRequired. The name of the |
cancellationToken |
CancellationTokenA CancellationToken to use for this RPC. |
| Returns | |
|---|---|
| Type | Description |
TaskOperationEmptyOperationMetadata |
A Task containing the RPC response. |
// Create client
DepServiceClient depServiceClient = await DepServiceClient.CreateAsync();
// Initialize request argument(s)
string name = "projects/[PROJECT]/locations/[LOCATION]/authzExtensions/[AUTHZ_EXTENSION]";
// Make the request
Operation<Empty, OperationMetadata> response = await depServiceClient.DeleteAuthzExtensionAsync(name);
// Poll until the returned long-running operation is complete
Operation<Empty, OperationMetadata> completedResponse = await response.PollUntilCompletedAsync();
// Retrieve the operation result
Empty result = completedResponse.Result;
// Or get the name of the operation
string operationName = response.Name;
// This name can be stored, then the long-running operation retrieved later by name
Operation<Empty, OperationMetadata> retrievedResponse = await depServiceClient.PollOnceDeleteAuthzExtensionAsync(operationName);
// Check if the retrieved long-running operation has completed
if (retrievedResponse.IsCompleted)
{
// If it has completed, then access the result
Empty retrievedResult = retrievedResponse.Result;
}
DeleteLbEdgeExtension(DeleteLbEdgeExtensionRequest, CallSettings)
public virtual Operation<Empty, OperationMetadata> DeleteLbEdgeExtension(DeleteLbEdgeExtensionRequest request, CallSettings callSettings = null)Deletes the specified LbEdgeExtension resource.
| Parameters | |
|---|---|
| Name | Description |
request |
DeleteLbEdgeExtensionRequestThe request object containing all of the parameters for the API call. |
callSettings |
CallSettingsIf not null, applies overrides to this RPC call. |
| Returns | |
|---|---|
| Type | Description |
OperationEmptyOperationMetadata |
The RPC response. |
// Create client
DepServiceClient depServiceClient = DepServiceClient.Create();
// Initialize request argument(s)
DeleteLbEdgeExtensionRequest request = new DeleteLbEdgeExtensionRequest
{
LbEdgeExtensionName = LbEdgeExtensionName.FromProjectLocationLbEdgeExtension("[PROJECT]", "[LOCATION]", "[LB_EDGE_EXTENSION]"),
RequestId = "",
};
// Make the request
Operation<Empty, OperationMetadata> response = depServiceClient.DeleteLbEdgeExtension(request);
// Poll until the returned long-running operation is complete
Operation<Empty, OperationMetadata> completedResponse = response.PollUntilCompleted();
// Retrieve the operation result
Empty result = completedResponse.Result;
// Or get the name of the operation
string operationName = response.Name;
// This name can be stored, then the long-running operation retrieved later by name
Operation<Empty, OperationMetadata> retrievedResponse = depServiceClient.PollOnceDeleteLbEdgeExtension(operationName);
// Check if the retrieved long-running operation has completed
if (retrievedResponse.IsCompleted)
{
// If it has completed, then access the result
Empty retrievedResult = retrievedResponse.Result;
}
DeleteLbEdgeExtension(LbEdgeExtensionName, CallSettings)
public virtual Operation<Empty, OperationMetadata> DeleteLbEdgeExtension(LbEdgeExtensionName name, CallSettings callSettings = null)Deletes the specified LbEdgeExtension resource.
| Parameters | |
|---|---|
| Name | Description |
name |
LbEdgeExtensionNameRequired. The name of the |
callSettings |
CallSettingsIf not null, applies overrides to this RPC call. |
| Returns | |
|---|---|
| Type | Description |
OperationEmptyOperationMetadata |
The RPC response. |
// Create client
DepServiceClient depServiceClient = DepServiceClient.Create();
// Initialize request argument(s)
LbEdgeExtensionName name = LbEdgeExtensionName.FromProjectLocationLbEdgeExtension("[PROJECT]", "[LOCATION]", "[LB_EDGE_EXTENSION]");
// Make the request
Operation<Empty, OperationMetadata> response = depServiceClient.DeleteLbEdgeExtension(name);
// Poll until the returned long-running operation is complete
Operation<Empty, OperationMetadata> completedResponse = response.PollUntilCompleted();
// Retrieve the operation result
Empty result = completedResponse.Result;
// Or get the name of the operation
string operationName = response.Name;
// This name can be stored, then the long-running operation retrieved later by name
Operation<Empty, OperationMetadata> retrievedResponse = depServiceClient.PollOnceDeleteLbEdgeExtension(operationName);
// Check if the retrieved long-running operation has completed
if (retrievedResponse.IsCompleted)
{
// If it has completed, then access the result
Empty retrievedResult = retrievedResponse.Result;
}
DeleteLbEdgeExtension(string, CallSettings)
public virtual Operation<Empty, OperationMetadata> DeleteLbEdgeExtension(string name, CallSettings callSettings = null)Deletes the specified LbEdgeExtension resource.
| Parameters | |
|---|---|
| Name | Description |
name |
stringRequired. The name of the |
callSettings |
CallSettingsIf not null, applies overrides to this RPC call. |
| Returns | |
|---|---|
| Type | Description |
OperationEmptyOperationMetadata |
The RPC response. |
// Create client
DepServiceClient depServiceClient = DepServiceClient.Create();
// Initialize request argument(s)
string name = "projects/[PROJECT]/locations/[LOCATION]/lbEdgeExtensions/[LB_EDGE_EXTENSION]";
// Make the request
Operation<Empty, OperationMetadata> response = depServiceClient.DeleteLbEdgeExtension(name);
// Poll until the returned long-running operation is complete
Operation<Empty, OperationMetadata> completedResponse = response.PollUntilCompleted();
// Retrieve the operation result
Empty result = completedResponse.Result;
// Or get the name of the operation
string operationName = response.Name;
// This name can be stored, then the long-running operation retrieved later by name
Operation<Empty, OperationMetadata> retrievedResponse = depServiceClient.PollOnceDeleteLbEdgeExtension(operationName);
// Check if the retrieved long-running operation has completed
if (retrievedResponse.IsCompleted)
{
// If it has completed, then access the result
Empty retrievedResult = retrievedResponse.Result;
}
DeleteLbEdgeExtensionAsync(DeleteLbEdgeExtensionRequest, CallSettings)
public virtual Task<Operation<Empty, OperationMetadata>> DeleteLbEdgeExtensionAsync(DeleteLbEdgeExtensionRequest request, CallSettings callSettings = null)Deletes the specified LbEdgeExtension resource.
| Parameters | |
|---|---|
| Name | Description |
request |
DeleteLbEdgeExtensionRequestThe request object containing all of the parameters for the API call. |
callSettings |
CallSettingsIf not null, applies overrides to this RPC call. |
| Returns | |
|---|---|
| Type | Description |
TaskOperationEmptyOperationMetadata |
A Task containing the RPC response. |
// Create client
DepServiceClient depServiceClient = await DepServiceClient.CreateAsync();
// Initialize request argument(s)
DeleteLbEdgeExtensionRequest request = new DeleteLbEdgeExtensionRequest
{
LbEdgeExtensionName = LbEdgeExtensionName.FromProjectLocationLbEdgeExtension("[PROJECT]", "[LOCATION]", "[LB_EDGE_EXTENSION]"),
RequestId = "",
};
// Make the request
Operation<Empty, OperationMetadata> response = await depServiceClient.DeleteLbEdgeExtensionAsync(request);
// Poll until the returned long-running operation is complete
Operation<Empty, OperationMetadata> completedResponse = await response.PollUntilCompletedAsync();
// Retrieve the operation result
Empty result = completedResponse.Result;
// Or get the name of the operation
string operationName = response.Name;
// This name can be stored, then the long-running operation retrieved later by name
Operation<Empty, OperationMetadata> retrievedResponse = await depServiceClient.PollOnceDeleteLbEdgeExtensionAsync(operationName);
// Check if the retrieved long-running operation has completed
if (retrievedResponse.IsCompleted)
{
// If it has completed, then access the result
Empty retrievedResult = retrievedResponse.Result;
}
DeleteLbEdgeExtensionAsync(DeleteLbEdgeExtensionRequest, CancellationToken)
public virtual Task<Operation<Empty, OperationMetadata>> DeleteLbEdgeExtensionAsync(DeleteLbEdgeExtensionRequest request, CancellationToken cancellationToken)Deletes the specified LbEdgeExtension resource.
| Parameters | |
|---|---|
| Name | Description |
request |
DeleteLbEdgeExtensionRequestThe request object containing all of the parameters for the API call. |
cancellationToken |
CancellationTokenA CancellationToken to use for this RPC. |
| Returns | |
|---|---|
| Type | Description |
TaskOperationEmptyOperationMetadata |
A Task containing the RPC response. |
// Create client
DepServiceClient depServiceClient = await DepServiceClient.CreateAsync();
// Initialize request argument(s)
DeleteLbEdgeExtensionRequest request = new DeleteLbEdgeExtensionRequest
{
LbEdgeExtensionName = LbEdgeExtensionName.FromProjectLocationLbEdgeExtension("[PROJECT]", "[LOCATION]", "[LB_EDGE_EXTENSION]"),
RequestId = "",
};
// Make the request
Operation<Empty, OperationMetadata> response = await depServiceClient.DeleteLbEdgeExtensionAsync(request);
// Poll until the returned long-running operation is complete
Operation<Empty, OperationMetadata> completedResponse = await response.PollUntilCompletedAsync();
// Retrieve the operation result
Empty result = completedResponse.Result;
// Or get the name of the operation
string operationName = response.Name;
// This name can be stored, then the long-running operation retrieved later by name
Operation<Empty, OperationMetadata> retrievedResponse = await depServiceClient.PollOnceDeleteLbEdgeExtensionAsync(operationName);
// Check if the retrieved long-running operation has completed
if (retrievedResponse.IsCompleted)
{
// If it has completed, then access the result
Empty retrievedResult = retrievedResponse.Result;
}
DeleteLbEdgeExtensionAsync(LbEdgeExtensionName, CallSettings)
public virtual Task<Operation<Empty, OperationMetadata>> DeleteLbEdgeExtensionAsync(LbEdgeExtensionName name, CallSettings callSettings = null)Deletes the specified LbEdgeExtension resource.
| Parameters | |
|---|---|
| Name | Description |
name |
LbEdgeExtensionNameRequired. The name of the |
callSettings |
CallSettingsIf not null, applies overrides to this RPC call. |
| Returns | |
|---|---|
| Type | Description |
TaskOperationEmptyOperationMetadata |
A Task containing the RPC response. |
// Create client
DepServiceClient depServiceClient = await DepServiceClient.CreateAsync();
// Initialize request argument(s)
LbEdgeExtensionName name = LbEdgeExtensionName.FromProjectLocationLbEdgeExtension("[PROJECT]", "[LOCATION]", "[LB_EDGE_EXTENSION]");
// Make the request
Operation<Empty, OperationMetadata> response = await depServiceClient.DeleteLbEdgeExtensionAsync(name);
// Poll until the returned long-running operation is complete
Operation<Empty, OperationMetadata> completedResponse = await response.PollUntilCompletedAsync();
// Retrieve the operation result
Empty result = completedResponse.Result;
// Or get the name of the operation
string operationName = response.Name;
// This name can be stored, then the long-running operation retrieved later by name
Operation<Empty, OperationMetadata> retrievedResponse = await depServiceClient.PollOnceDeleteLbEdgeExtensionAsync(operationName);
// Check if the retrieved long-running operation has completed
if (retrievedResponse.IsCompleted)
{
// If it has completed, then access the result
Empty retrievedResult = retrievedResponse.Result;
}
DeleteLbEdgeExtensionAsync(LbEdgeExtensionName, CancellationToken)
public virtual Task<Operation<Empty, OperationMetadata>> DeleteLbEdgeExtensionAsync(LbEdgeExtensionName name, CancellationToken cancellationToken)Deletes the specified LbEdgeExtension resource.
| Parameters | |
|---|---|
| Name | Description |
name |
LbEdgeExtensionNameRequired. The name of the |
cancellationToken |
CancellationTokenA CancellationToken to use for this RPC. |
| Returns | |
|---|---|
| Type | Description |
TaskOperationEmptyOperationMetadata |
A Task containing the RPC response. |
// Create client
DepServiceClient depServiceClient = await DepServiceClient.CreateAsync();
// Initialize request argument(s)
LbEdgeExtensionName name = LbEdgeExtensionName.FromProjectLocationLbEdgeExtension("[PROJECT]", "[LOCATION]", "[LB_EDGE_EXTENSION]");
// Make the request
Operation<Empty, OperationMetadata> response = await depServiceClient.DeleteLbEdgeExtensionAsync(name);
// Poll until the returned long-running operation is complete
Operation<Empty, OperationMetadata> completedResponse = await response.PollUntilCompletedAsync();
// Retrieve the operation result
Empty result = completedResponse.Result;
// Or get the name of the operation
string operationName = response.Name;
// This name can be stored, then the long-running operation retrieved later by name
Operation<Empty, OperationMetadata> retrievedResponse = await depServiceClient.PollOnceDeleteLbEdgeExtensionAsync(operationName);
// Check if the retrieved long-running operation has completed
if (retrievedResponse.IsCompleted)
{
// If it has completed, then access the result
Empty retrievedResult = retrievedResponse.Result;
}
DeleteLbEdgeExtensionAsync(string, CallSettings)
public virtual Task<Operation<Empty, OperationMetadata>> DeleteLbEdgeExtensionAsync(string name, CallSettings callSettings = null)Deletes the specified LbEdgeExtension resource.
| Parameters | |
|---|---|
| Name | Description |
name |
stringRequired. The name of the |
callSettings |
CallSettingsIf not null, applies overrides to this RPC call. |
| Returns | |
|---|---|
| Type | Description |
TaskOperationEmptyOperationMetadata |
A Task containing the RPC response. |
// Create client
DepServiceClient depServiceClient = await DepServiceClient.CreateAsync();
// Initialize request argument(s)
string name = "projects/[PROJECT]/locations/[LOCATION]/lbEdgeExtensions/[LB_EDGE_EXTENSION]";
// Make the request
Operation<Empty, OperationMetadata> response = await depServiceClient.DeleteLbEdgeExtensionAsync(name);
// Poll until the returned long-running operation is complete
Operation<Empty, OperationMetadata> completedResponse = await response.PollUntilCompletedAsync();
// Retrieve the operation result
Empty result = completedResponse.Result;
// Or get the name of the operation
string operationName = response.Name;
// This name can be stored, then the long-running operation retrieved later by name
Operation<Empty, OperationMetadata> retrievedResponse = await depServiceClient.PollOnceDeleteLbEdgeExtensionAsync(operationName);
// Check if the retrieved long-running operation has completed
if (retrievedResponse.IsCompleted)
{
// If it has completed, then access the result
Empty retrievedResult = retrievedResponse.Result;
}
DeleteLbEdgeExtensionAsync(string, CancellationToken)
public virtual Task<Operation<Empty, OperationMetadata>> DeleteLbEdgeExtensionAsync(string name, CancellationToken cancellationToken)Deletes the specified LbEdgeExtension resource.
| Parameters | |
|---|---|
| Name | Description |
name |
stringRequired. The name of the |
cancellationToken |
CancellationTokenA CancellationToken to use for this RPC. |
| Returns | |
|---|---|
| Type | Description |
TaskOperationEmptyOperationMetadata |
A Task containing the RPC response. |
// Create client
DepServiceClient depServiceClient = await DepServiceClient.CreateAsync();
// Initialize request argument(s)
string name = "projects/[PROJECT]/locations/[LOCATION]/lbEdgeExtensions/[LB_EDGE_EXTENSION]";
// Make the request
Operation<Empty, OperationMetadata> response = await depServiceClient.DeleteLbEdgeExtensionAsync(name);
// Poll until the returned long-running operation is complete
Operation<Empty, OperationMetadata> completedResponse = await response.PollUntilCompletedAsync();
// Retrieve the operation result
Empty result = completedResponse.Result;
// Or get the name of the operation
string operationName = response.Name;
// This name can be stored, then the long-running operation retrieved later by name
Operation<Empty, OperationMetadata> retrievedResponse = await depServiceClient.PollOnceDeleteLbEdgeExtensionAsync(operationName);
// Check if the retrieved long-running operation has completed
if (retrievedResponse.IsCompleted)
{
// If it has completed, then access the result
Empty retrievedResult = retrievedResponse.Result;
}
DeleteLbRouteExtension(DeleteLbRouteExtensionRequest, CallSettings)
public virtual Operation<Empty, OperationMetadata> DeleteLbRouteExtension(DeleteLbRouteExtensionRequest request, CallSettings callSettings = null)Deletes the specified LbRouteExtension resource.
| Parameters | |
|---|---|
| Name | Description |
request |
DeleteLbRouteExtensionRequestThe request object containing all of the parameters for the API call. |
callSettings |
CallSettingsIf not null, applies overrides to this RPC call. |
| Returns | |
|---|---|
| Type | Description |
OperationEmptyOperationMetadata |
The RPC response. |
// Create client
DepServiceClient depServiceClient = DepServiceClient.Create();
// Initialize request argument(s)
DeleteLbRouteExtensionRequest request = new DeleteLbRouteExtensionRequest
{
LbRouteExtensionName = LbRouteExtensionName.FromProjectLocationLbRouteExtension("[PROJECT]", "[LOCATION]", "[LB_ROUTE_EXTENSION]"),
RequestId = "",
};
// Make the request
Operation<Empty, OperationMetadata> response = depServiceClient.DeleteLbRouteExtension(request);
// Poll until the returned long-running operation is complete
Operation<Empty, OperationMetadata> completedResponse = response.PollUntilCompleted();
// Retrieve the operation result
Empty result = completedResponse.Result;
// Or get the name of the operation
string operationName = response.Name;
// This name can be stored, then the long-running operation retrieved later by name
Operation<Empty, OperationMetadata> retrievedResponse = depServiceClient.PollOnceDeleteLbRouteExtension(operationName);
// Check if the retrieved long-running operation has completed
if (retrievedResponse.IsCompleted)
{
// If it has completed, then access the result
Empty retrievedResult = retrievedResponse.Result;
}
DeleteLbRouteExtension(LbRouteExtensionName, CallSettings)
public virtual Operation<Empty, OperationMetadata> DeleteLbRouteExtension(LbRouteExtensionName name, CallSettings callSettings = null)Deletes the specified LbRouteExtension resource.
| Parameters | |
|---|---|
| Name | Description |
name |
LbRouteExtensionNameRequired. The name of the |
callSettings |
CallSettingsIf not null, applies overrides to this RPC call. |
| Returns | |
|---|---|
| Type | Description |
OperationEmptyOperationMetadata |
The RPC response. |
// Create client
DepServiceClient depServiceClient = DepServiceClient.Create();
// Initialize request argument(s)
LbRouteExtensionName name = LbRouteExtensionName.FromProjectLocationLbRouteExtension("[PROJECT]", "[LOCATION]", "[LB_ROUTE_EXTENSION]");
// Make the request
Operation<Empty, OperationMetadata> response = depServiceClient.DeleteLbRouteExtension(name);
// Poll until the returned long-running operation is complete
Operation<Empty, OperationMetadata> completedResponse = response.PollUntilCompleted();
// Retrieve the operation result
Empty result = completedResponse.Result;
// Or get the name of the operation
string operationName = response.Name;
// This name can be stored, then the long-running operation retrieved later by name
Operation<Empty, OperationMetadata> retrievedResponse = depServiceClient.PollOnceDeleteLbRouteExtension(operationName);
// Check if the retrieved long-running operation has completed
if (retrievedResponse.IsCompleted)
{
// If it has completed, then access the result
Empty retrievedResult = retrievedResponse.Result;
}
DeleteLbRouteExtension(string, CallSettings)
public virtual Operation<Empty, OperationMetadata> DeleteLbRouteExtension(string name, CallSettings callSettings = null)Deletes the specified LbRouteExtension resource.
| Parameters | |
|---|---|
| Name | Description |
name |
stringRequired. The name of the |
callSettings |
CallSettingsIf not null, applies overrides to this RPC call. |
| Returns | |
|---|---|
| Type | Description |
OperationEmptyOperationMetadata |
The RPC response. |
// Create client
DepServiceClient depServiceClient = DepServiceClient.Create();
// Initialize request argument(s)
string name = "projects/[PROJECT]/locations/[LOCATION]/lbRouteExtensions/[LB_ROUTE_EXTENSION]";
// Make the request
Operation<Empty, OperationMetadata> response = depServiceClient.DeleteLbRouteExtension(name);
// Poll until the returned long-running operation is complete
Operation<Empty, OperationMetadata> completedResponse = response.PollUntilCompleted();
// Retrieve the operation result
Empty result = completedResponse.Result;
// Or get the name of the operation
string operationName = response.Name;
// This name can be stored, then the long-running operation retrieved later by name
Operation<Empty, OperationMetadata> retrievedResponse = depServiceClient.PollOnceDeleteLbRouteExtension(operationName);
// Check if the retrieved long-running operation has completed
if (retrievedResponse.IsCompleted)
{
// If it has completed, then access the result
Empty retrievedResult = retrievedResponse.Result;
}
DeleteLbRouteExtensionAsync(DeleteLbRouteExtensionRequest, CallSettings)
public virtual Task<Operation<Empty, OperationMetadata>> DeleteLbRouteExtensionAsync(DeleteLbRouteExtensionRequest request, CallSettings callSettings = null)Deletes the specified LbRouteExtension resource.
| Parameters | |
|---|---|
| Name | Description |
request |
DeleteLbRouteExtensionRequestThe request object containing all of the parameters for the API call. |
callSettings |
CallSettingsIf not null, applies overrides to this RPC call. |
| Returns | |
|---|---|
| Type | Description |
TaskOperationEmptyOperationMetadata |
A Task containing the RPC response. |
// Create client
DepServiceClient depServiceClient = await DepServiceClient.CreateAsync();
// Initialize request argument(s)
DeleteLbRouteExtensionRequest request = new DeleteLbRouteExtensionRequest
{
LbRouteExtensionName = LbRouteExtensionName.FromProjectLocationLbRouteExtension("[PROJECT]", "[LOCATION]", "[LB_ROUTE_EXTENSION]"),
RequestId = "",
};
// Make the request
Operation<Empty, OperationMetadata> response = await depServiceClient.DeleteLbRouteExtensionAsync(request);
// Poll until the returned long-running operation is complete
Operation<Empty, OperationMetadata> completedResponse = await response.PollUntilCompletedAsync();
// Retrieve the operation result
Empty result = completedResponse.Result;
// Or get the name of the operation
string operationName = response.Name;
// This name can be stored, then the long-running operation retrieved later by name
Operation<Empty, OperationMetadata> retrievedResponse = await depServiceClient.PollOnceDeleteLbRouteExtensionAsync(operationName);
// Check if the retrieved long-running operation has completed
if (retrievedResponse.IsCompleted)
{
// If it has completed, then access the result
Empty retrievedResult = retrievedResponse.Result;
}
DeleteLbRouteExtensionAsync(DeleteLbRouteExtensionRequest, CancellationToken)
public virtual Task<Operation<Empty, OperationMetadata>> DeleteLbRouteExtensionAsync(DeleteLbRouteExtensionRequest request, CancellationToken cancellationToken)Deletes the specified LbRouteExtension resource.
| Parameters | |
|---|---|
| Name | Description |
request |
DeleteLbRouteExtensionRequestThe request object containing all of the parameters for the API call. |
cancellationToken |
CancellationTokenA CancellationToken to use for this RPC. |
| Returns | |
|---|---|
| Type | Description |
TaskOperationEmptyOperationMetadata |
A Task containing the RPC response. |
// Create client
DepServiceClient depServiceClient = await DepServiceClient.CreateAsync();
// Initialize request argument(s)
DeleteLbRouteExtensionRequest request = new DeleteLbRouteExtensionRequest
{
LbRouteExtensionName = LbRouteExtensionName.FromProjectLocationLbRouteExtension("[PROJECT]", "[LOCATION]", "[LB_ROUTE_EXTENSION]"),
RequestId = "",
};
// Make the request
Operation<Empty, OperationMetadata> response = await depServiceClient.DeleteLbRouteExtensionAsync(request);
// Poll until the returned long-running operation is complete
Operation<Empty, OperationMetadata> completedResponse = await response.PollUntilCompletedAsync();
// Retrieve the operation result
Empty result = completedResponse.Result;
// Or get the name of the operation
string operationName = response.Name;
// This name can be stored, then the long-running operation retrieved later by name
Operation<Empty, OperationMetadata> retrievedResponse = await depServiceClient.PollOnceDeleteLbRouteExtensionAsync(operationName);
// Check if the retrieved long-running operation has completed
if (retrievedResponse.IsCompleted)
{
// If it has completed, then access the result
Empty retrievedResult = retrievedResponse.Result;
}
DeleteLbRouteExtensionAsync(LbRouteExtensionName, CallSettings)
public virtual Task<Operation<Empty, OperationMetadata>> DeleteLbRouteExtensionAsync(LbRouteExtensionName name, CallSettings callSettings = null)Deletes the specified LbRouteExtension resource.
| Parameters | |
|---|---|
| Name | Description |
name |
LbRouteExtensionNameRequired. The name of the |
callSettings |
CallSettingsIf not null, applies overrides to this RPC call. |
| Returns | |
|---|---|
| Type | Description |
TaskOperationEmptyOperationMetadata |
A Task containing the RPC response. |
// Create client
DepServiceClient depServiceClient = await DepServiceClient.CreateAsync();
// Initialize request argument(s)
LbRouteExtensionName name = LbRouteExtensionName.FromProjectLocationLbRouteExtension("[PROJECT]", "[LOCATION]", "[LB_ROUTE_EXTENSION]");
// Make the request
Operation<Empty, OperationMetadata> response = await depServiceClient.DeleteLbRouteExtensionAsync(name);
// Poll until the returned long-running operation is complete
Operation<Empty, OperationMetadata> completedResponse = await response.PollUntilCompletedAsync();
// Retrieve the operation result
Empty result = completedResponse.Result;
// Or get the name of the operation
string operationName = response.Name;
// This name can be stored, then the long-running operation retrieved later by name
Operation<Empty, OperationMetadata> retrievedResponse = await depServiceClient.PollOnceDeleteLbRouteExtensionAsync(operationName);
// Check if the retrieved long-running operation has completed
if (retrievedResponse.IsCompleted)
{
// If it has completed, then access the result
Empty retrievedResult = retrievedResponse.Result;
}
DeleteLbRouteExtensionAsync(LbRouteExtensionName, CancellationToken)
public virtual Task<Operation<Empty, OperationMetadata>> DeleteLbRouteExtensionAsync(LbRouteExtensionName name, CancellationToken cancellationToken)Deletes the specified LbRouteExtension resource.
| Parameters | |
|---|---|
| Name | Description |
name |
LbRouteExtensionNameRequired. The name of the |
cancellationToken |
CancellationTokenA CancellationToken to use for this RPC. |
| Returns | |
|---|---|
| Type | Description |
TaskOperationEmptyOperationMetadata |
A Task containing the RPC response. |
// Create client
DepServiceClient depServiceClient = await DepServiceClient.CreateAsync();
// Initialize request argument(s)
LbRouteExtensionName name = LbRouteExtensionName.FromProjectLocationLbRouteExtension("[PROJECT]", "[LOCATION]", "[LB_ROUTE_EXTENSION]");
// Make the request
Operation<Empty, OperationMetadata> response = await depServiceClient.DeleteLbRouteExtensionAsync(name);
// Poll until the returned long-running operation is complete
Operation<Empty, OperationMetadata> completedResponse = await response.PollUntilCompletedAsync();
// Retrieve the operation result
Empty result = completedResponse.Result;
// Or get the name of the operation
string operationName = response.Name;
// This name can be stored, then the long-running operation retrieved later by name
Operation<Empty, OperationMetadata> retrievedResponse = await depServiceClient.PollOnceDeleteLbRouteExtensionAsync(operationName);
// Check if the retrieved long-running operation has completed
if (retrievedResponse.IsCompleted)
{
// If it has completed, then access the result
Empty retrievedResult = retrievedResponse.Result;
}
DeleteLbRouteExtensionAsync(string, CallSettings)
public virtual Task<Operation<Empty, OperationMetadata>> DeleteLbRouteExtensionAsync(string name, CallSettings callSettings = null)Deletes the specified LbRouteExtension resource.
| Parameters | |
|---|---|
| Name | Description |
name |
stringRequired. The name of the |
callSettings |
CallSettingsIf not null, applies overrides to this RPC call. |
| Returns | |
|---|---|
| Type | Description |
TaskOperationEmptyOperationMetadata |
A Task containing the RPC response. |
// Create client
DepServiceClient depServiceClient = await DepServiceClient.CreateAsync();
// Initialize request argument(s)
string name = "projects/[PROJECT]/locations/[LOCATION]/lbRouteExtensions/[LB_ROUTE_EXTENSION]";
// Make the request
Operation<Empty, OperationMetadata> response = await depServiceClient.DeleteLbRouteExtensionAsync(name);
// Poll until the returned long-running operation is complete
Operation<Empty, OperationMetadata> completedResponse = await response.PollUntilCompletedAsync();
// Retrieve the operation result
Empty result = completedResponse.Result;
// Or get the name of the operation
string operationName = response.Name;
// This name can be stored, then the long-running operation retrieved later by name
Operation<Empty, OperationMetadata> retrievedResponse = await depServiceClient.PollOnceDeleteLbRouteExtensionAsync(operationName);
// Check if the retrieved long-running operation has completed
if (retrievedResponse.IsCompleted)
{
// If it has completed, then access the result
Empty retrievedResult = retrievedResponse.Result;
}
DeleteLbRouteExtensionAsync(string, CancellationToken)
public virtual Task<Operation<Empty, OperationMetadata>> DeleteLbRouteExtensionAsync(string name, CancellationToken cancellationToken)Deletes the specified LbRouteExtension resource.
| Parameters | |
|---|---|
| Name | Description |
name |
stringRequired. The name of the |
cancellationToken |
CancellationTokenA CancellationToken to use for this RPC. |
| Returns | |
|---|---|
| Type | Description |
TaskOperationEmptyOperationMetadata |
A Task containing the RPC response. |
// Create client
DepServiceClient depServiceClient = await DepServiceClient.CreateAsync();
// Initialize request argument(s)
string name = "projects/[PROJECT]/locations/[LOCATION]/lbRouteExtensions/[LB_ROUTE_EXTENSION]";
// Make the request
Operation<Empty, OperationMetadata> response = await depServiceClient.DeleteLbRouteExtensionAsync(name);
// Poll until the returned long-running operation is complete
Operation<Empty, OperationMetadata> completedResponse = await response.PollUntilCompletedAsync();
// Retrieve the operation result
Empty result = completedResponse.Result;
// Or get the name of the operation
string operationName = response.Name;
// This name can be stored, then the long-running operation retrieved later by name
Operation<Empty, OperationMetadata> retrievedResponse = await depServiceClient.PollOnceDeleteLbRouteExtensionAsync(operationName);
// Check if the retrieved long-running operation has completed
if (retrievedResponse.IsCompleted)
{
// If it has completed, then access the result
Empty retrievedResult = retrievedResponse.Result;
}
DeleteLbTrafficExtension(DeleteLbTrafficExtensionRequest, CallSettings)
public virtual Operation<Empty, OperationMetadata> DeleteLbTrafficExtension(DeleteLbTrafficExtensionRequest request, CallSettings callSettings = null)Deletes the specified LbTrafficExtension resource.
| Parameters | |
|---|---|
| Name | Description |
request |
DeleteLbTrafficExtensionRequestThe request object containing all of the parameters for the API call. |
callSettings |
CallSettingsIf not null, applies overrides to this RPC call. |
| Returns | |
|---|---|
| Type | Description |
OperationEmptyOperationMetadata |
The RPC response. |
// Create client
DepServiceClient depServiceClient = DepServiceClient.Create();
// Initialize request argument(s)
DeleteLbTrafficExtensionRequest request = new DeleteLbTrafficExtensionRequest
{
LbTrafficExtensionName = LbTrafficExtensionName.FromProjectLocationLbTrafficExtension("[PROJECT]", "[LOCATION]", "[LB_TRAFFIC_EXTENSION]"),
RequestId = "",
};
// Make the request
Operation<Empty, OperationMetadata> response = depServiceClient.DeleteLbTrafficExtension(request);
// Poll until the returned long-running operation is complete
Operation<Empty, OperationMetadata> completedResponse = response.PollUntilCompleted();
// Retrieve the operation result
Empty result = completedResponse.Result;
// Or get the name of the operation
string operationName = response.Name;
// This name can be stored, then the long-running operation retrieved later by name
Operation<Empty, OperationMetadata> retrievedResponse = depServiceClient.PollOnceDeleteLbTrafficExtension(operationName);
// Check if the retrieved long-running operation has completed
if (retrievedResponse.IsCompleted)
{
// If it has completed, then access the result
Empty retrievedResult = retrievedResponse.Result;
}
DeleteLbTrafficExtension(LbTrafficExtensionName, CallSettings)
public virtual Operation<Empty, OperationMetadata> DeleteLbTrafficExtension(LbTrafficExtensionName name, CallSettings callSettings = null)Deletes the specified LbTrafficExtension resource.
| Parameters | |
|---|---|
| Name | Description |
name |
LbTrafficExtensionNameRequired. The name of the |
callSettings |
CallSettingsIf not null, applies overrides to this RPC call. |
| Returns | |
|---|---|
| Type | Description |
OperationEmptyOperationMetadata |
The RPC response. |
// Create client
DepServiceClient depServiceClient = DepServiceClient.Create();
// Initialize request argument(s)
LbTrafficExtensionName name = LbTrafficExtensionName.FromProjectLocationLbTrafficExtension("[PROJECT]", "[LOCATION]", "[LB_TRAFFIC_EXTENSION]");
// Make the request
Operation<Empty, OperationMetadata> response = depServiceClient.DeleteLbTrafficExtension(name);
// Poll until the returned long-running operation is complete
Operation<Empty, OperationMetadata> completedResponse = response.PollUntilCompleted();
// Retrieve the operation result
Empty result = completedResponse.Result;
// Or get the name of the operation
string operationName = response.Name;
// This name can be stored, then the long-running operation retrieved later by name
Operation<Empty, OperationMetadata> retrievedResponse = depServiceClient.PollOnceDeleteLbTrafficExtension(operationName);
// Check if the retrieved long-running operation has completed
if (retrievedResponse.IsCompleted)
{
// If it has completed, then access the result
Empty retrievedResult = retrievedResponse.Result;
}
DeleteLbTrafficExtension(string, CallSettings)
public virtual Operation<Empty, OperationMetadata> DeleteLbTrafficExtension(string name, CallSettings callSettings = null)Deletes the specified LbTrafficExtension resource.
| Parameters | |
|---|---|
| Name | Description |
name |
stringRequired. The name of the |
callSettings |
CallSettingsIf not null, applies overrides to this RPC call. |
| Returns | |
|---|---|
| Type | Description |
OperationEmptyOperationMetadata |
The RPC response. |
// Create client
DepServiceClient depServiceClient = DepServiceClient.Create();
// Initialize request argument(s)
string name = "projects/[PROJECT]/locations/[LOCATION]/lbTrafficExtensions/[LB_TRAFFIC_EXTENSION]";
// Make the request
Operation<Empty, OperationMetadata> response = depServiceClient.DeleteLbTrafficExtension(name);
// Poll until the returned long-running operation is complete
Operation<Empty, OperationMetadata> completedResponse = response.PollUntilCompleted();
// Retrieve the operation result
Empty result = completedResponse.Result;
// Or get the name of the operation
string operationName = response.Name;
// This name can be stored, then the long-running operation retrieved later by name
Operation<Empty, OperationMetadata> retrievedResponse = depServiceClient.PollOnceDeleteLbTrafficExtension(operationName);
// Check if the retrieved long-running operation has completed
if (retrievedResponse.IsCompleted)
{
// If it has completed, then access the result
Empty retrievedResult = retrievedResponse.Result;
}
DeleteLbTrafficExtensionAsync(DeleteLbTrafficExtensionRequest, CallSettings)
public virtual Task<Operation<Empty, OperationMetadata>> DeleteLbTrafficExtensionAsync(DeleteLbTrafficExtensionRequest request, CallSettings callSettings = null)Deletes the specified LbTrafficExtension resource.
| Parameters | |
|---|---|
| Name | Description |
request |
DeleteLbTrafficExtensionRequestThe request object containing all of the parameters for the API call. |
callSettings |
CallSettingsIf not null, applies overrides to this RPC call. |
| Returns | |
|---|---|
| Type | Description |
TaskOperationEmptyOperationMetadata |
A Task containing the RPC response. |
// Create client
DepServiceClient depServiceClient = await DepServiceClient.CreateAsync();
// Initialize request argument(s)
DeleteLbTrafficExtensionRequest request = new DeleteLbTrafficExtensionRequest
{
LbTrafficExtensionName = LbTrafficExtensionName.FromProjectLocationLbTrafficExtension("[PROJECT]", "[LOCATION]", "[LB_TRAFFIC_EXTENSION]"),
RequestId = "",
};
// Make the request
Operation<Empty, OperationMetadata> response = await depServiceClient.DeleteLbTrafficExtensionAsync(request);
// Poll until the returned long-running operation is complete
Operation<Empty, OperationMetadata> completedResponse = await response.PollUntilCompletedAsync();
// Retrieve the operation result
Empty result = completedResponse.Result;
// Or get the name of the operation
string operationName = response.Name;
// This name can be stored, then the long-running operation retrieved later by name
Operation<Empty, OperationMetadata> retrievedResponse = await depServiceClient.PollOnceDeleteLbTrafficExtensionAsync(operationName);
// Check if the retrieved long-running operation has completed
if (retrievedResponse.IsCompleted)
{
// If it has completed, then access the result
Empty retrievedResult = retrievedResponse.Result;
}
DeleteLbTrafficExtensionAsync(DeleteLbTrafficExtensionRequest, CancellationToken)
public virtual Task<Operation<Empty, OperationMetadata>> DeleteLbTrafficExtensionAsync(DeleteLbTrafficExtensionRequest request, CancellationToken cancellationToken)Deletes the specified LbTrafficExtension resource.
| Parameters | |
|---|---|
| Name | Description |
request |
DeleteLbTrafficExtensionRequestThe request object containing all of the parameters for the API call. |
cancellationToken |
CancellationTokenA CancellationToken to use for this RPC. |
| Returns | |
|---|---|
| Type | Description |
TaskOperationEmptyOperationMetadata |
A Task containing the RPC response. |
// Create client
DepServiceClient depServiceClient = await DepServiceClient.CreateAsync();
// Initialize request argument(s)
DeleteLbTrafficExtensionRequest request = new DeleteLbTrafficExtensionRequest
{
LbTrafficExtensionName = LbTrafficExtensionName.FromProjectLocationLbTrafficExtension("[PROJECT]", "[LOCATION]", "[LB_TRAFFIC_EXTENSION]"),
RequestId = "",
};
// Make the request
Operation<Empty, OperationMetadata> response = await depServiceClient.DeleteLbTrafficExtensionAsync(request);
// Poll until the returned long-running operation is complete
Operation<Empty, OperationMetadata> completedResponse = await response.PollUntilCompletedAsync();
// Retrieve the operation result
Empty result = completedResponse.Result;
// Or get the name of the operation
string operationName = response.Name;
// This name can be stored, then the long-running operation retrieved later by name
Operation<Empty, OperationMetadata> retrievedResponse = await depServiceClient.PollOnceDeleteLbTrafficExtensionAsync(operationName);
// Check if the retrieved long-running operation has completed
if (retrievedResponse.IsCompleted)
{
// If it has completed, then access the result
Empty retrievedResult = retrievedResponse.Result;
}
DeleteLbTrafficExtensionAsync(LbTrafficExtensionName, CallSettings)
public virtual Task<Operation<Empty, OperationMetadata>> DeleteLbTrafficExtensionAsync(LbTrafficExtensionName name, CallSettings callSettings = null)Deletes the specified LbTrafficExtension resource.
| Parameters | |
|---|---|
| Name | Description |
name |
LbTrafficExtensionNameRequired. The name of the |
callSettings |
CallSettingsIf not null, applies overrides to this RPC call. |
| Returns | |
|---|---|
| Type | Description |
TaskOperationEmptyOperationMetadata |
A Task containing the RPC response. |
// Create client
DepServiceClient depServiceClient = await DepServiceClient.CreateAsync();
// Initialize request argument(s)
LbTrafficExtensionName name = LbTrafficExtensionName.FromProjectLocationLbTrafficExtension("[PROJECT]", "[LOCATION]", "[LB_TRAFFIC_EXTENSION]");
// Make the request
Operation<Empty, OperationMetadata> response = await depServiceClient.DeleteLbTrafficExtensionAsync(name);
// Poll until the returned long-running operation is complete
Operation<Empty, OperationMetadata> completedResponse = await response.PollUntilCompletedAsync();
// Retrieve the operation result
Empty result = completedResponse.Result;
// Or get the name of the operation
string operationName = response.Name;
// This name can be stored, then the long-running operation retrieved later by name
Operation<Empty, OperationMetadata> retrievedResponse = await depServiceClient.PollOnceDeleteLbTrafficExtensionAsync(operationName);
// Check if the retrieved long-running operation has completed
if (retrievedResponse.IsCompleted)
{
// If it has completed, then access the result
Empty retrievedResult = retrievedResponse.Result;
}
DeleteLbTrafficExtensionAsync(LbTrafficExtensionName, CancellationToken)
public virtual Task<Operation<Empty, OperationMetadata>> DeleteLbTrafficExtensionAsync(LbTrafficExtensionName name, CancellationToken cancellationToken)Deletes the specified LbTrafficExtension resource.
| Parameters | |
|---|---|
| Name | Description |
name |
LbTrafficExtensionNameRequired. The name of the |
cancellationToken |
CancellationTokenA CancellationToken to use for this RPC. |
| Returns | |
|---|---|
| Type | Description |
TaskOperationEmptyOperationMetadata |
A Task containing the RPC response. |
// Create client
DepServiceClient depServiceClient = await DepServiceClient.CreateAsync();
// Initialize request argument(s)
LbTrafficExtensionName name = LbTrafficExtensionName.FromProjectLocationLbTrafficExtension("[PROJECT]", "[LOCATION]", "[LB_TRAFFIC_EXTENSION]");
// Make the request
Operation<Empty, OperationMetadata> response = await depServiceClient.DeleteLbTrafficExtensionAsync(name);
// Poll until the returned long-running operation is complete
Operation<Empty, OperationMetadata> completedResponse = await response.PollUntilCompletedAsync();
// Retrieve the operation result
Empty result = completedResponse.Result;
// Or get the name of the operation
string operationName = response.Name;
// This name can be stored, then the long-running operation retrieved later by name
Operation<Empty, OperationMetadata> retrievedResponse = await depServiceClient.PollOnceDeleteLbTrafficExtensionAsync(operationName);
// Check if the retrieved long-running operation has completed
if (retrievedResponse.IsCompleted)
{
// If it has completed, then access the result
Empty retrievedResult = retrievedResponse.Result;
}
DeleteLbTrafficExtensionAsync(string, CallSettings)
public virtual Task<Operation<Empty, OperationMetadata>> DeleteLbTrafficExtensionAsync(string name, CallSettings callSettings = null)Deletes the specified LbTrafficExtension resource.
| Parameters | |
|---|---|
| Name | Description |
name |
stringRequired. The name of the |
callSettings |
CallSettingsIf not null, applies overrides to this RPC call. |
| Returns | |
|---|---|
| Type | Description |
TaskOperationEmptyOperationMetadata |
A Task containing the RPC response. |
// Create client
DepServiceClient depServiceClient = await DepServiceClient.CreateAsync();
// Initialize request argument(s)
string name = "projects/[PROJECT]/locations/[LOCATION]/lbTrafficExtensions/[LB_TRAFFIC_EXTENSION]";
// Make the request
Operation<Empty, OperationMetadata> response = await depServiceClient.DeleteLbTrafficExtensionAsync(name);
// Poll until the returned long-running operation is complete
Operation<Empty, OperationMetadata> completedResponse = await response.PollUntilCompletedAsync();
// Retrieve the operation result
Empty result = completedResponse.Result;
// Or get the name of the operation
string operationName = response.Name;
// This name can be stored, then the long-running operation retrieved later by name
Operation<Empty, OperationMetadata> retrievedResponse = await depServiceClient.PollOnceDeleteLbTrafficExtensionAsync(operationName);
// Check if the retrieved long-running operation has completed
if (retrievedResponse.IsCompleted)
{
// If it has completed, then access the result
Empty retrievedResult = retrievedResponse.Result;
}
DeleteLbTrafficExtensionAsync(string, CancellationToken)
public virtual Task<Operation<Empty, OperationMetadata>> DeleteLbTrafficExtensionAsync(string name, CancellationToken cancellationToken)Deletes the specified LbTrafficExtension resource.
| Parameters | |
|---|---|
| Name | Description |
name |
stringRequired. The name of the |
cancellationToken |
CancellationTokenA CancellationToken to use for this RPC. |
| Returns | |
|---|---|
| Type | Description |
TaskOperationEmptyOperationMetadata |
A Task containing the RPC response. |
// Create client
DepServiceClient depServiceClient = await DepServiceClient.CreateAsync();
// Initialize request argument(s)
string name = "projects/[PROJECT]/locations/[LOCATION]/lbTrafficExtensions/[LB_TRAFFIC_EXTENSION]";
// Make the request
Operation<Empty, OperationMetadata> response = await depServiceClient.DeleteLbTrafficExtensionAsync(name);
// Poll until the returned long-running operation is complete
Operation<Empty, OperationMetadata> completedResponse = await response.PollUntilCompletedAsync();
// Retrieve the operation result
Empty result = completedResponse.Result;
// Or get the name of the operation
string operationName = response.Name;
// This name can be stored, then the long-running operation retrieved later by name
Operation<Empty, OperationMetadata> retrievedResponse = await depServiceClient.PollOnceDeleteLbTrafficExtensionAsync(operationName);
// Check if the retrieved long-running operation has completed
if (retrievedResponse.IsCompleted)
{
// If it has completed, then access the result
Empty retrievedResult = retrievedResponse.Result;
}
GetAuthzExtension(AuthzExtensionName, CallSettings)
public virtual AuthzExtension GetAuthzExtension(AuthzExtensionName name, CallSettings callSettings = null)Gets details of the specified AuthzExtension resource.
| Parameters | |
|---|---|
| Name | Description |
name |
AuthzExtensionNameRequired. A name of the |
callSettings |
CallSettingsIf not null, applies overrides to this RPC call. |
| Returns | |
|---|---|
| Type | Description |
AuthzExtension |
The RPC response. |
// Create client
DepServiceClient depServiceClient = DepServiceClient.Create();
// Initialize request argument(s)
AuthzExtensionName name = AuthzExtensionName.FromProjectLocationAuthzExtension("[PROJECT]", "[LOCATION]", "[AUTHZ_EXTENSION]");
// Make the request
AuthzExtension response = depServiceClient.GetAuthzExtension(name);
GetAuthzExtension(GetAuthzExtensionRequest, CallSettings)
public virtual AuthzExtension GetAuthzExtension(GetAuthzExtensionRequest request, CallSettings callSettings = null)Gets details of the specified AuthzExtension resource.
| Parameters | |
|---|---|
| Name | Description |
request |
GetAuthzExtensionRequestThe request object containing all of the parameters for the API call. |
callSettings |
CallSettingsIf not null, applies overrides to this RPC call. |
| Returns | |
|---|---|
| Type | Description |
AuthzExtension |
The RPC response. |
// Create client
DepServiceClient depServiceClient = DepServiceClient.Create();
// Initialize request argument(s)
GetAuthzExtensionRequest request = new GetAuthzExtensionRequest
{
AuthzExtensionName = AuthzExtensionName.FromProjectLocationAuthzExtension("[PROJECT]", "[LOCATION]", "[AUTHZ_EXTENSION]"),
};
// Make the request
AuthzExtension response = depServiceClient.GetAuthzExtension(request);
GetAuthzExtension(string, CallSettings)
public virtual AuthzExtension GetAuthzExtension(string name, CallSettings callSettings = null)Gets details of the specified AuthzExtension resource.
| Parameters | |
|---|---|
| Name | Description |
name |
stringRequired. A name of the |
callSettings |
CallSettingsIf not null, applies overrides to this RPC call. |
| Returns | |
|---|---|
| Type | Description |
AuthzExtension |
The RPC response. |
// Create client
DepServiceClient depServiceClient = DepServiceClient.Create();
// Initialize request argument(s)
string name = "projects/[PROJECT]/locations/[LOCATION]/authzExtensions/[AUTHZ_EXTENSION]";
// Make the request
AuthzExtension response = depServiceClient.GetAuthzExtension(name);
GetAuthzExtensionAsync(AuthzExtensionName, CallSettings)
public virtual Task<AuthzExtension> GetAuthzExtensionAsync(AuthzExtensionName name, CallSettings callSettings = null)Gets details of the specified AuthzExtension resource.
| Parameters | |
|---|---|
| Name | Description |
name |
AuthzExtensionNameRequired. A name of the |
callSettings |
CallSettingsIf not null, applies overrides to this RPC call. |
| Returns | |
|---|---|
| Type | Description |
TaskAuthzExtension |
A Task containing the RPC response. |
// Create client
DepServiceClient depServiceClient = await DepServiceClient.CreateAsync();
// Initialize request argument(s)
AuthzExtensionName name = AuthzExtensionName.FromProjectLocationAuthzExtension("[PROJECT]", "[LOCATION]", "[AUTHZ_EXTENSION]");
// Make the request
AuthzExtension response = await depServiceClient.GetAuthzExtensionAsync(name);
GetAuthzExtensionAsync(AuthzExtensionName, CancellationToken)
public virtual Task<AuthzExtension> GetAuthzExtensionAsync(AuthzExtensionName name, CancellationToken cancellationToken)Gets details of the specified AuthzExtension resource.
| Parameters | |
|---|---|
| Name | Description |
name |
AuthzExtensionNameRequired. A name of the |
cancellationToken |
CancellationTokenA CancellationToken to use for this RPC. |
| Returns | |
|---|---|
| Type | Description |
TaskAuthzExtension |
A Task containing the RPC response. |
// Create client
DepServiceClient depServiceClient = await DepServiceClient.CreateAsync();
// Initialize request argument(s)
AuthzExtensionName name = AuthzExtensionName.FromProjectLocationAuthzExtension("[PROJECT]", "[LOCATION]", "[AUTHZ_EXTENSION]");
// Make the request
AuthzExtension response = await depServiceClient.GetAuthzExtensionAsync(name);
GetAuthzExtensionAsync(GetAuthzExtensionRequest, CallSettings)
public virtual Task<AuthzExtension> GetAuthzExtensionAsync(GetAuthzExtensionRequest request, CallSettings callSettings = null)Gets details of the specified AuthzExtension resource.
| Parameters | |
|---|---|
| Name | Description |
request |
GetAuthzExtensionRequestThe request object containing all of the parameters for the API call. |
callSettings |
CallSettingsIf not null, applies overrides to this RPC call. |
| Returns | |
|---|---|
| Type | Description |
TaskAuthzExtension |
A Task containing the RPC response. |
// Create client
DepServiceClient depServiceClient = await DepServiceClient.CreateAsync();
// Initialize request argument(s)
GetAuthzExtensionRequest request = new GetAuthzExtensionRequest
{
AuthzExtensionName = AuthzExtensionName.FromProjectLocationAuthzExtension("[PROJECT]", "[LOCATION]", "[AUTHZ_EXTENSION]"),
};
// Make the request
AuthzExtension response = await depServiceClient.GetAuthzExtensionAsync(request);
GetAuthzExtensionAsync(GetAuthzExtensionRequest, CancellationToken)
public virtual Task<AuthzExtension> GetAuthzExtensionAsync(GetAuthzExtensionRequest request, CancellationToken cancellationToken)Gets details of the specified AuthzExtension resource.
| Parameters | |
|---|---|
| Name | Description |
request |
GetAuthzExtensionRequestThe request object containing all of the parameters for the API call. |
cancellationToken |
CancellationTokenA CancellationToken to use for this RPC. |
| Returns | |
|---|---|
| Type | Description |
TaskAuthzExtension |
A Task containing the RPC response. |
// Create client
DepServiceClient depServiceClient = await DepServiceClient.CreateAsync();
// Initialize request argument(s)
GetAuthzExtensionRequest request = new GetAuthzExtensionRequest
{
AuthzExtensionName = AuthzExtensionName.FromProjectLocationAuthzExtension("[PROJECT]", "[LOCATION]", "[AUTHZ_EXTENSION]"),
};
// Make the request
AuthzExtension response = await depServiceClient.GetAuthzExtensionAsync(request);
GetAuthzExtensionAsync(string, CallSettings)
public virtual Task<AuthzExtension> GetAuthzExtensionAsync(string name, CallSettings callSettings = null)Gets details of the specified AuthzExtension resource.
| Parameters | |
|---|---|
| Name | Description |
name |
stringRequired. A name of the |
callSettings |
CallSettingsIf not null, applies overrides to this RPC call. |
| Returns | |
|---|---|
| Type | Description |
TaskAuthzExtension |
A Task containing the RPC response. |
// Create client
DepServiceClient depServiceClient = await DepServiceClient.CreateAsync();
// Initialize request argument(s)
string name = "projects/[PROJECT]/locations/[LOCATION]/authzExtensions/[AUTHZ_EXTENSION]";
// Make the request
AuthzExtension response = await depServiceClient.GetAuthzExtensionAsync(name);
GetAuthzExtensionAsync(string, CancellationToken)
public virtual Task<AuthzExtension> GetAuthzExtensionAsync(string name, CancellationToken cancellationToken)Gets details of the specified AuthzExtension resource.
| Parameters | |
|---|---|
| Name | Description |
name |
stringRequired. A name of the |
cancellationToken |
CancellationTokenA CancellationToken to use for this RPC. |
| Returns | |
|---|---|
| Type | Description |
TaskAuthzExtension |
A Task containing the RPC response. |
// Create client
DepServiceClient depServiceClient = await DepServiceClient.CreateAsync();
// Initialize request argument(s)
string name = "projects/[PROJECT]/locations/[LOCATION]/authzExtensions/[AUTHZ_EXTENSION]";
// Make the request
AuthzExtension response = await depServiceClient.GetAuthzExtensionAsync(name);
GetLbEdgeExtension(GetLbEdgeExtensionRequest, CallSettings)
public virtual LbEdgeExtension GetLbEdgeExtension(GetLbEdgeExtensionRequest request, CallSettings callSettings = null)Gets details of the specified LbEdgeExtension resource.
| Parameters | |
|---|---|
| Name | Description |
request |
GetLbEdgeExtensionRequestThe request object containing all of the parameters for the API call. |
callSettings |
CallSettingsIf not null, applies overrides to this RPC call. |
| Returns | |
|---|---|
| Type | Description |
LbEdgeExtension |
The RPC response. |
// Create client
DepServiceClient depServiceClient = DepServiceClient.Create();
// Initialize request argument(s)
GetLbEdgeExtensionRequest request = new GetLbEdgeExtensionRequest
{
LbEdgeExtensionName = LbEdgeExtensionName.FromProjectLocationLbEdgeExtension("[PROJECT]", "[LOCATION]", "[LB_EDGE_EXTENSION]"),
};
// Make the request
LbEdgeExtension response = depServiceClient.GetLbEdgeExtension(request);
GetLbEdgeExtension(LbEdgeExtensionName, CallSettings)
public virtual LbEdgeExtension GetLbEdgeExtension(LbEdgeExtensionName name, CallSettings callSettings = null)Gets details of the specified LbEdgeExtension resource.
| Parameters | |
|---|---|
| Name | Description |
name |
LbEdgeExtensionNameRequired. A name of the |
callSettings |
CallSettingsIf not null, applies overrides to this RPC call. |
| Returns | |
|---|---|
| Type | Description |
LbEdgeExtension |
The RPC response. |
// Create client
DepServiceClient depServiceClient = DepServiceClient.Create();
// Initialize request argument(s)
LbEdgeExtensionName name = LbEdgeExtensionName.FromProjectLocationLbEdgeExtension("[PROJECT]", "[LOCATION]", "[LB_EDGE_EXTENSION]");
// Make the request
LbEdgeExtension response = depServiceClient.GetLbEdgeExtension(name);
GetLbEdgeExtension(string, CallSettings)
public virtual LbEdgeExtension GetLbEdgeExtension(string name, CallSettings callSettings = null)Gets details of the specified LbEdgeExtension resource.
| Parameters | |
|---|---|
| Name | Description |
name |
stringRequired. A name of the |
callSettings |
CallSettingsIf not null, applies overrides to this RPC call. |
| Returns | |
|---|---|
| Type | Description |
LbEdgeExtension |
The RPC response. |
// Create client
DepServiceClient depServiceClient = DepServiceClient.Create();
// Initialize request argument(s)
string name = "projects/[PROJECT]/locations/[LOCATION]/lbEdgeExtensions/[LB_EDGE_EXTENSION]";
// Make the request
LbEdgeExtension response = depServiceClient.GetLbEdgeExtension(name);
GetLbEdgeExtensionAsync(GetLbEdgeExtensionRequest, CallSettings)
public virtual Task<LbEdgeExtension> GetLbEdgeExtensionAsync(GetLbEdgeExtensionRequest request, CallSettings callSettings = null)Gets details of the specified LbEdgeExtension resource.
| Parameters | |
|---|---|
| Name | Description |
request |
GetLbEdgeExtensionRequestThe request object containing all of the parameters for the API call. |
callSettings |
CallSettingsIf not null, applies overrides to this RPC call. |
| Returns | |
|---|---|
| Type | Description |
TaskLbEdgeExtension |
A Task containing the RPC response. |
// Create client
DepServiceClient depServiceClient = await DepServiceClient.CreateAsync();
// Initialize request argument(s)
GetLbEdgeExtensionRequest request = new GetLbEdgeExtensionRequest
{
LbEdgeExtensionName = LbEdgeExtensionName.FromProjectLocationLbEdgeExtension("[PROJECT]", "[LOCATION]", "[LB_EDGE_EXTENSION]"),
};
// Make the request
LbEdgeExtension response = await depServiceClient.GetLbEdgeExtensionAsync(request);
GetLbEdgeExtensionAsync(GetLbEdgeExtensionRequest, CancellationToken)
public virtual Task<LbEdgeExtension> GetLbEdgeExtensionAsync(GetLbEdgeExtensionRequest request, CancellationToken cancellationToken)Gets details of the specified LbEdgeExtension resource.
| Parameters | |
|---|---|
| Name | Description |
request |
GetLbEdgeExtensionRequestThe request object containing all of the parameters for the API call. |
cancellationToken |
CancellationTokenA CancellationToken to use for this RPC. |
| Returns | |
|---|---|
| Type | Description |
TaskLbEdgeExtension |
A Task containing the RPC response. |
// Create client
DepServiceClient depServiceClient = await DepServiceClient.CreateAsync();
// Initialize request argument(s)
GetLbEdgeExtensionRequest request = new GetLbEdgeExtensionRequest
{
LbEdgeExtensionName = LbEdgeExtensionName.FromProjectLocationLbEdgeExtension("[PROJECT]", "[LOCATION]", "[LB_EDGE_EXTENSION]"),
};
// Make the request
LbEdgeExtension response = await depServiceClient.GetLbEdgeExtensionAsync(request);
GetLbEdgeExtensionAsync(LbEdgeExtensionName, CallSettings)
public virtual Task<LbEdgeExtension> GetLbEdgeExtensionAsync(LbEdgeExtensionName name, CallSettings callSettings = null)Gets details of the specified LbEdgeExtension resource.
| Parameters | |
|---|---|
| Name | Description |
name |
LbEdgeExtensionNameRequired. A name of the |
callSettings |
CallSettingsIf not null, applies overrides to this RPC call. |
| Returns | |
|---|---|
| Type | Description |
TaskLbEdgeExtension |
A Task containing the RPC response. |
// Create client
DepServiceClient depServiceClient = await DepServiceClient.CreateAsync();
// Initialize request argument(s)
LbEdgeExtensionName name = LbEdgeExtensionName.FromProjectLocationLbEdgeExtension("[PROJECT]", "[LOCATION]", "[LB_EDGE_EXTENSION]");
// Make the request
LbEdgeExtension response = await depServiceClient.GetLbEdgeExtensionAsync(name);
GetLbEdgeExtensionAsync(LbEdgeExtensionName, CancellationToken)
public virtual Task<LbEdgeExtension> GetLbEdgeExtensionAsync(LbEdgeExtensionName name, CancellationToken cancellationToken)Gets details of the specified LbEdgeExtension resource.
| Parameters | |
|---|---|
| Name | Description |
name |
LbEdgeExtensionNameRequired. A name of the |
cancellationToken |
CancellationTokenA CancellationToken to use for this RPC. |
| Returns | |
|---|---|
| Type | Description |
TaskLbEdgeExtension |
A Task containing the RPC response. |
// Create client
DepServiceClient depServiceClient = await DepServiceClient.CreateAsync();
// Initialize request argument(s)
LbEdgeExtensionName name = LbEdgeExtensionName.FromProjectLocationLbEdgeExtension("[PROJECT]", "[LOCATION]", "[LB_EDGE_EXTENSION]");
// Make the request
LbEdgeExtension response = await depServiceClient.GetLbEdgeExtensionAsync(name);
GetLbEdgeExtensionAsync(string, CallSettings)
public virtual Task<LbEdgeExtension> GetLbEdgeExtensionAsync(string name, CallSettings callSettings = null)Gets details of the specified LbEdgeExtension resource.
| Parameters | |
|---|---|
| Name | Description |
name |
stringRequired. A name of the |
callSettings |
CallSettingsIf not null, applies overrides to this RPC call. |
| Returns | |
|---|---|
| Type | Description |
TaskLbEdgeExtension |
A Task containing the RPC response. |
// Create client
DepServiceClient depServiceClient = await DepServiceClient.CreateAsync();
// Initialize request argument(s)
string name = "projects/[PROJECT]/locations/[LOCATION]/lbEdgeExtensions/[LB_EDGE_EXTENSION]";
// Make the request
LbEdgeExtension response = await depServiceClient.GetLbEdgeExtensionAsync(name);
GetLbEdgeExtensionAsync(string, CancellationToken)
public virtual Task<LbEdgeExtension> GetLbEdgeExtensionAsync(string name, CancellationToken cancellationToken)Gets details of the specified LbEdgeExtension resource.
| Parameters | |
|---|---|
| Name | Description |
name |
stringRequired. A name of the |
cancellationToken |
CancellationTokenA CancellationToken to use for this RPC. |
| Returns | |
|---|---|
| Type | Description |
TaskLbEdgeExtension |
A Task containing the RPC response. |
// Create client
DepServiceClient depServiceClient = await DepServiceClient.CreateAsync();
// Initialize request argument(s)
string name = "projects/[PROJECT]/locations/[LOCATION]/lbEdgeExtensions/[LB_EDGE_EXTENSION]";
// Make the request
LbEdgeExtension response = await depServiceClient.GetLbEdgeExtensionAsync(name);
GetLbRouteExtension(GetLbRouteExtensionRequest, CallSettings)
public virtual LbRouteExtension GetLbRouteExtension(GetLbRouteExtensionRequest request, CallSettings callSettings = null)Gets details of the specified LbRouteExtension resource.
| Parameters | |
|---|---|
| Name | Description |
request |
GetLbRouteExtensionRequestThe request object containing all of the parameters for the API call. |
callSettings |
CallSettingsIf not null, applies overrides to this RPC call. |
| Returns | |
|---|---|
| Type | Description |
LbRouteExtension |
The RPC response. |
// Create client
DepServiceClient depServiceClient = DepServiceClient.Create();
// Initialize request argument(s)
GetLbRouteExtensionRequest request = new GetLbRouteExtensionRequest
{
LbRouteExtensionName = LbRouteExtensionName.FromProjectLocationLbRouteExtension("[PROJECT]", "[LOCATION]", "[LB_ROUTE_EXTENSION]"),
};
// Make the request
LbRouteExtension response = depServiceClient.GetLbRouteExtension(request);
GetLbRouteExtension(LbRouteExtensionName, CallSettings)
public virtual LbRouteExtension GetLbRouteExtension(LbRouteExtensionName name, CallSettings callSettings = null)Gets details of the specified LbRouteExtension resource.
| Parameters | |
|---|---|
| Name | Description |
name |
LbRouteExtensionNameRequired. A name of the |
callSettings |
CallSettingsIf not null, applies overrides to this RPC call. |
| Returns | |
|---|---|
| Type | Description |
LbRouteExtension |
The RPC response. |
// Create client
DepServiceClient depServiceClient = DepServiceClient.Create();
// Initialize request argument(s)
LbRouteExtensionName name = LbRouteExtensionName.FromProjectLocationLbRouteExtension("[PROJECT]", "[LOCATION]", "[LB_ROUTE_EXTENSION]");
// Make the request
LbRouteExtension response = depServiceClient.GetLbRouteExtension(name);
GetLbRouteExtension(string, CallSettings)
public virtual LbRouteExtension GetLbRouteExtension(string name, CallSettings callSettings = null)Gets details of the specified LbRouteExtension resource.
| Parameters | |
|---|---|
| Name | Description |
name |
stringRequired. A name of the |
callSettings |
CallSettingsIf not null, applies overrides to this RPC call. |
| Returns | |
|---|---|
| Type | Description |
LbRouteExtension |
The RPC response. |
// Create client
DepServiceClient depServiceClient = DepServiceClient.Create();
// Initialize request argument(s)
string name = "projects/[PROJECT]/locations/[LOCATION]/lbRouteExtensions/[LB_ROUTE_EXTENSION]";
// Make the request
LbRouteExtension response = depServiceClient.GetLbRouteExtension(name);
GetLbRouteExtensionAsync(GetLbRouteExtensionRequest, CallSettings)
public virtual Task<LbRouteExtension> GetLbRouteExtensionAsync(GetLbRouteExtensionRequest request, CallSettings callSettings = null)Gets details of the specified LbRouteExtension resource.
| Parameters | |
|---|---|
| Name | Description |
request |
GetLbRouteExtensionRequestThe request object containing all of the parameters for the API call. |
callSettings |
CallSettingsIf not null, applies overrides to this RPC call. |
| Returns | |
|---|---|
| Type | Description |
TaskLbRouteExtension |
A Task containing the RPC response. |
// Create client
DepServiceClient depServiceClient = await DepServiceClient.CreateAsync();
// Initialize request argument(s)
GetLbRouteExtensionRequest request = new GetLbRouteExtensionRequest
{
LbRouteExtensionName = LbRouteExtensionName.FromProjectLocationLbRouteExtension("[PROJECT]", "[LOCATION]", "[LB_ROUTE_EXTENSION]"),
};
// Make the request
LbRouteExtension response = await depServiceClient.GetLbRouteExtensionAsync(request);
GetLbRouteExtensionAsync(GetLbRouteExtensionRequest, CancellationToken)
public virtual Task<LbRouteExtension> GetLbRouteExtensionAsync(GetLbRouteExtensionRequest request, CancellationToken cancellationToken)Gets details of the specified LbRouteExtension resource.
| Parameters | |
|---|---|
| Name | Description |
request |
GetLbRouteExtensionRequestThe request object containing all of the parameters for the API call. |
cancellationToken |
CancellationTokenA CancellationToken to use for this RPC. |
| Returns | |
|---|---|
| Type | Description |
TaskLbRouteExtension |
A Task containing the RPC response. |
// Create client
DepServiceClient depServiceClient = await DepServiceClient.CreateAsync();
// Initialize request argument(s)
GetLbRouteExtensionRequest request = new GetLbRouteExtensionRequest
{
LbRouteExtensionName = LbRouteExtensionName.FromProjectLocationLbRouteExtension("[PROJECT]", "[LOCATION]", "[LB_ROUTE_EXTENSION]"),
};
// Make the request
LbRouteExtension response = await depServiceClient.GetLbRouteExtensionAsync(request);
GetLbRouteExtensionAsync(LbRouteExtensionName, CallSettings)
public virtual Task<LbRouteExtension> GetLbRouteExtensionAsync(LbRouteExtensionName name, CallSettings callSettings = null)Gets details of the specified LbRouteExtension resource.
| Parameters | |
|---|---|
| Name | Description |
name |
LbRouteExtensionNameRequired. A name of the |
callSettings |
CallSettingsIf not null, applies overrides to this RPC call. |
| Returns | |
|---|---|
| Type | Description |
TaskLbRouteExtension |
A Task containing the RPC response. |
// Create client
DepServiceClient depServiceClient = await DepServiceClient.CreateAsync();
// Initialize request argument(s)
LbRouteExtensionName name = LbRouteExtensionName.FromProjectLocationLbRouteExtension("[PROJECT]", "[LOCATION]", "[LB_ROUTE_EXTENSION]");
// Make the request
LbRouteExtension response = await depServiceClient.GetLbRouteExtensionAsync(name);
GetLbRouteExtensionAsync(LbRouteExtensionName, CancellationToken)
public virtual Task<LbRouteExtension> GetLbRouteExtensionAsync(LbRouteExtensionName name, CancellationToken cancellationToken)Gets details of the specified LbRouteExtension resource.
| Parameters | |
|---|---|
| Name | Description |
name |
LbRouteExtensionNameRequired. A name of the |
cancellationToken |
CancellationTokenA CancellationToken to use for this RPC. |
| Returns | |
|---|---|
| Type | Description |
TaskLbRouteExtension |
A Task containing the RPC response. |
// Create client
DepServiceClient depServiceClient = await DepServiceClient.CreateAsync();
// Initialize request argument(s)
LbRouteExtensionName name = LbRouteExtensionName.FromProjectLocationLbRouteExtension("[PROJECT]", "[LOCATION]", "[LB_ROUTE_EXTENSION]");
// Make the request
LbRouteExtension response = await depServiceClient.GetLbRouteExtensionAsync(name);
GetLbRouteExtensionAsync(string, CallSettings)
public virtual Task<LbRouteExtension> GetLbRouteExtensionAsync(string name, CallSettings callSettings = null)Gets details of the specified LbRouteExtension resource.
| Parameters | |
|---|---|
| Name | Description |
name |
stringRequired. A name of the |
callSettings |
CallSettingsIf not null, applies overrides to this RPC call. |
| Returns | |
|---|---|
| Type | Description |
TaskLbRouteExtension |
A Task containing the RPC response. |
// Create client
DepServiceClient depServiceClient = await DepServiceClient.CreateAsync();
// Initialize request argument(s)
string name = "projects/[PROJECT]/locations/[LOCATION]/lbRouteExtensions/[LB_ROUTE_EXTENSION]";
// Make the request
LbRouteExtension response = await depServiceClient.GetLbRouteExtensionAsync(name);
GetLbRouteExtensionAsync(string, CancellationToken)
public virtual Task<LbRouteExtension> GetLbRouteExtensionAsync(string name, CancellationToken cancellationToken)Gets details of the specified LbRouteExtension resource.
| Parameters | |
|---|---|
| Name | Description |
name |
stringRequired. A name of the |
cancellationToken |
CancellationTokenA CancellationToken to use for this RPC. |
| Returns | |
|---|---|
| Type | Description |
TaskLbRouteExtension |
A Task containing the RPC response. |
// Create client
DepServiceClient depServiceClient = await DepServiceClient.CreateAsync();
// Initialize request argument(s)
string name = "projects/[PROJECT]/locations/[LOCATION]/lbRouteExtensions/[LB_ROUTE_EXTENSION]";
// Make the request
LbRouteExtension response = await depServiceClient.GetLbRouteExtensionAsync(name);
GetLbTrafficExtension(GetLbTrafficExtensionRequest, CallSettings)
public virtual LbTrafficExtension GetLbTrafficExtension(GetLbTrafficExtensionRequest request, CallSettings callSettings = null)Gets details of the specified LbTrafficExtension resource.
| Parameters | |
|---|---|
| Name | Description |
request |
GetLbTrafficExtensionRequestThe request object containing all of the parameters for the API call. |
callSettings |
CallSettingsIf not null, applies overrides to this RPC call. |
| Returns | |
|---|---|
| Type | Description |
LbTrafficExtension |
The RPC response. |
// Create client
DepServiceClient depServiceClient = DepServiceClient.Create();
// Initialize request argument(s)
GetLbTrafficExtensionRequest request = new GetLbTrafficExtensionRequest
{
LbTrafficExtensionName = LbTrafficExtensionName.FromProjectLocationLbTrafficExtension("[PROJECT]", "[LOCATION]", "[LB_TRAFFIC_EXTENSION]"),
};
// Make the request
LbTrafficExtension response = depServiceClient.GetLbTrafficExtension(request);
GetLbTrafficExtension(LbTrafficExtensionName, CallSettings)
public virtual LbTrafficExtension GetLbTrafficExtension(LbTrafficExtensionName name, CallSettings callSettings = null)Gets details of the specified LbTrafficExtension resource.
| Parameters | |
|---|---|
| Name | Description |
name |
LbTrafficExtensionNameRequired. A name of the |
callSettings |
CallSettingsIf not null, applies overrides to this RPC call. |
| Returns | |
|---|---|
| Type | Description |
LbTrafficExtension |
The RPC response. |
// Create client
DepServiceClient depServiceClient = DepServiceClient.Create();
// Initialize request argument(s)
LbTrafficExtensionName name = LbTrafficExtensionName.FromProjectLocationLbTrafficExtension("[PROJECT]", "[LOCATION]", "[LB_TRAFFIC_EXTENSION]");
// Make the request
LbTrafficExtension response = depServiceClient.GetLbTrafficExtension(name);
GetLbTrafficExtension(string, CallSettings)
public virtual LbTrafficExtension GetLbTrafficExtension(string name, CallSettings callSettings = null)Gets details of the specified LbTrafficExtension resource.
| Parameters | |
|---|---|
| Name | Description |
name |
stringRequired. A name of the |
callSettings |
CallSettingsIf not null, applies overrides to this RPC call. |
| Returns | |
|---|---|
| Type | Description |
LbTrafficExtension |
The RPC response. |
// Create client
DepServiceClient depServiceClient = DepServiceClient.Create();
// Initialize request argument(s)
string name = "projects/[PROJECT]/locations/[LOCATION]/lbTrafficExtensions/[LB_TRAFFIC_EXTENSION]";
// Make the request
LbTrafficExtension response = depServiceClient.GetLbTrafficExtension(name);
GetLbTrafficExtensionAsync(GetLbTrafficExtensionRequest, CallSettings)
public virtual Task<LbTrafficExtension> GetLbTrafficExtensionAsync(GetLbTrafficExtensionRequest request, CallSettings callSettings = null)Gets details of the specified LbTrafficExtension resource.
| Parameters | |
|---|---|
| Name | Description |
request |
GetLbTrafficExtensionRequestThe request object containing all of the parameters for the API call. |
callSettings |
CallSettingsIf not null, applies overrides to this RPC call. |
| Returns | |
|---|---|
| Type | Description |
TaskLbTrafficExtension |
A Task containing the RPC response. |
// Create client
DepServiceClient depServiceClient = await DepServiceClient.CreateAsync();
// Initialize request argument(s)
GetLbTrafficExtensionRequest request = new GetLbTrafficExtensionRequest
{
LbTrafficExtensionName = LbTrafficExtensionName.FromProjectLocationLbTrafficExtension("[PROJECT]", "[LOCATION]", "[LB_TRAFFIC_EXTENSION]"),
};
// Make the request
LbTrafficExtension response = await depServiceClient.GetLbTrafficExtensionAsync(request);
GetLbTrafficExtensionAsync(GetLbTrafficExtensionRequest, CancellationToken)
public virtual Task<LbTrafficExtension> GetLbTrafficExtensionAsync(GetLbTrafficExtensionRequest request, CancellationToken cancellationToken)Gets details of the specified LbTrafficExtension resource.
| Parameters | |
|---|---|
| Name | Description |
request |
GetLbTrafficExtensionRequestThe request object containing all of the parameters for the API call. |
cancellationToken |
CancellationTokenA CancellationToken to use for this RPC. |
| Returns | |
|---|---|
| Type | Description |
TaskLbTrafficExtension |
A Task containing the RPC response. |
// Create client
DepServiceClient depServiceClient = await DepServiceClient.CreateAsync();
// Initialize request argument(s)
GetLbTrafficExtensionRequest request = new GetLbTrafficExtensionRequest
{
LbTrafficExtensionName = LbTrafficExtensionName.FromProjectLocationLbTrafficExtension("[PROJECT]", "[LOCATION]", "[LB_TRAFFIC_EXTENSION]"),
};
// Make the request
LbTrafficExtension response = await depServiceClient.GetLbTrafficExtensionAsync(request);
GetLbTrafficExtensionAsync(LbTrafficExtensionName, CallSettings)
public virtual Task<LbTrafficExtension> GetLbTrafficExtensionAsync(LbTrafficExtensionName name, CallSettings callSettings = null)Gets details of the specified LbTrafficExtension resource.
| Parameters | |
|---|---|
| Name | Description |
name |
LbTrafficExtensionNameRequired. A name of the |
callSettings |
CallSettingsIf not null, applies overrides to this RPC call. |
| Returns | |
|---|---|
| Type | Description |
TaskLbTrafficExtension |
A Task containing the RPC response. |
// Create client
DepServiceClient depServiceClient = await DepServiceClient.CreateAsync();
// Initialize request argument(s)
LbTrafficExtensionName name = LbTrafficExtensionName.FromProjectLocationLbTrafficExtension("[PROJECT]", "[LOCATION]", "[LB_TRAFFIC_EXTENSION]");
// Make the request
LbTrafficExtension response = await depServiceClient.GetLbTrafficExtensionAsync(name);
GetLbTrafficExtensionAsync(LbTrafficExtensionName, CancellationToken)
public virtual Task<LbTrafficExtension> GetLbTrafficExtensionAsync(LbTrafficExtensionName name, CancellationToken cancellationToken)Gets details of the specified LbTrafficExtension resource.
| Parameters | |
|---|---|
| Name | Description |
name |
LbTrafficExtensionNameRequired. A name of the |
cancellationToken |
CancellationTokenA CancellationToken to use for this RPC. |
| Returns | |
|---|---|
| Type | Description |
TaskLbTrafficExtension |
A Task containing the RPC response. |
// Create client
DepServiceClient depServiceClient = await DepServiceClient.CreateAsync();
// Initialize request argument(s)
LbTrafficExtensionName name = LbTrafficExtensionName.FromProjectLocationLbTrafficExtension("[PROJECT]", "[LOCATION]", "[LB_TRAFFIC_EXTENSION]");
// Make the request
LbTrafficExtension response = await depServiceClient.GetLbTrafficExtensionAsync(name);
GetLbTrafficExtensionAsync(string, CallSettings)
public virtual Task<LbTrafficExtension> GetLbTrafficExtensionAsync(string name, CallSettings callSettings = null)Gets details of the specified LbTrafficExtension resource.
| Parameters | |
|---|---|
| Name | Description |
name |
stringRequired. A name of the |
callSettings |
CallSettingsIf not null, applies overrides to this RPC call. |
| Returns | |
|---|---|
| Type | Description |
TaskLbTrafficExtension |
A Task containing the RPC response. |
// Create client
DepServiceClient depServiceClient = await DepServiceClient.CreateAsync();
// Initialize request argument(s)
string name = "projects/[PROJECT]/locations/[LOCATION]/lbTrafficExtensions/[LB_TRAFFIC_EXTENSION]";
// Make the request
LbTrafficExtension response = await depServiceClient.GetLbTrafficExtensionAsync(name);
GetLbTrafficExtensionAsync(string, CancellationToken)
public virtual Task<LbTrafficExtension> GetLbTrafficExtensionAsync(string name, CancellationToken cancellationToken)Gets details of the specified LbTrafficExtension resource.
| Parameters | |
|---|---|
| Name | Description |
name |
stringRequired. A name of the |
cancellationToken |
CancellationTokenA CancellationToken to use for this RPC. |
| Returns | |
|---|---|
| Type | Description |
TaskLbTrafficExtension |
A Task containing the RPC response. |
// Create client
DepServiceClient depServiceClient = await DepServiceClient.CreateAsync();
// Initialize request argument(s)
string name = "projects/[PROJECT]/locations/[LOCATION]/lbTrafficExtensions/[LB_TRAFFIC_EXTENSION]";
// Make the request
LbTrafficExtension response = await depServiceClient.GetLbTrafficExtensionAsync(name);
ListAuthzExtensions(LocationName, string, int?, CallSettings)
public virtual PagedEnumerable<ListAuthzExtensionsResponse, AuthzExtension> ListAuthzExtensions(LocationName parent, string pageToken = null, int? pageSize = null, CallSettings callSettings = null)Lists AuthzExtension resources in a given project and location.
| Parameters | |
|---|---|
| Name | Description |
parent |
LocationNameRequired. The project and location from which the |
pageToken |
stringThe token returned from the previous request. A value of |
pageSize |
intThe size of page to request. The response will not be larger than this, but may be smaller. A value of
|
callSettings |
CallSettingsIf not null, applies overrides to this RPC call. |
| Returns | |
|---|---|
| Type | Description |
PagedEnumerableListAuthzExtensionsResponseAuthzExtension |
A pageable sequence of AuthzExtension resources. |
// Create client
DepServiceClient depServiceClient = DepServiceClient.Create();
// Initialize request argument(s)
LocationName parent = LocationName.FromProjectLocation("[PROJECT]", "[LOCATION]");
// Make the request
PagedEnumerable<ListAuthzExtensionsResponse, AuthzExtension> response = depServiceClient.ListAuthzExtensions(parent);
// Iterate over all response items, lazily performing RPCs as required
foreach (AuthzExtension item in response)
{
// Do something with each item
Console.WriteLine(item);
}
// Or iterate over pages (of server-defined size), performing one RPC per page
foreach (ListAuthzExtensionsResponse page in response.AsRawResponses())
{
// Do something with each page of items
Console.WriteLine("A page of results:");
foreach (AuthzExtension item in page)
{
// Do something with each item
Console.WriteLine(item);
}
}
// Or retrieve a single page of known size (unless it's the final page), performing as many RPCs as required
int pageSize = 10;
Page<AuthzExtension> singlePage = response.ReadPage(pageSize);
// Do something with the page of items
Console.WriteLine($"A page of {pageSize} results (unless it's the final page):");
foreach (AuthzExtension item in singlePage)
{
// Do something with each item
Console.WriteLine(item);
}
// Store the pageToken, for when the next page is required.
string nextPageToken = singlePage.NextPageToken;
ListAuthzExtensions(ListAuthzExtensionsRequest, CallSettings)
public virtual PagedEnumerable<ListAuthzExtensionsResponse, AuthzExtension> ListAuthzExtensions(ListAuthzExtensionsRequest request, CallSettings callSettings = null)Lists AuthzExtension resources in a given project and location.
| Parameters | |
|---|---|
| Name | Description |
request |
ListAuthzExtensionsRequestThe request object containing all of the parameters for the API call. |
callSettings |
CallSettingsIf not null, applies overrides to this RPC call. |
| Returns | |
|---|---|
| Type | Description |
PagedEnumerableListAuthzExtensionsResponseAuthzExtension |
A pageable sequence of AuthzExtension resources. |
// Create client
DepServiceClient depServiceClient = DepServiceClient.Create();
// Initialize request argument(s)
ListAuthzExtensionsRequest request = new ListAuthzExtensionsRequest
{
ParentAsLocationName = LocationName.FromProjectLocation("[PROJECT]", "[LOCATION]"),
Filter = "",
OrderBy = "",
};
// Make the request
PagedEnumerable<ListAuthzExtensionsResponse, AuthzExtension> response = depServiceClient.ListAuthzExtensions(request);
// Iterate over all response items, lazily performing RPCs as required
foreach (AuthzExtension item in response)
{
// Do something with each item
Console.WriteLine(item);
}
// Or iterate over pages (of server-defined size), performing one RPC per page
foreach (ListAuthzExtensionsResponse page in response.AsRawResponses())
{
// Do something with each page of items
Console.WriteLine("A page of results:");
foreach (AuthzExtension item in page)
{
// Do something with each item
Console.WriteLine(item);
}
}
// Or retrieve a single page of known size (unless it's the final page), performing as many RPCs as required
int pageSize = 10;
Page<AuthzExtension> singlePage = response.ReadPage(pageSize);
// Do something with the page of items
Console.WriteLine($"A page of {pageSize} results (unless it's the final page):");
foreach (AuthzExtension item in singlePage)
{
// Do something with each item
Console.WriteLine(item);
}
// Store the pageToken, for when the next page is required.
string nextPageToken = singlePage.NextPageToken;
ListAuthzExtensions(string, string, int?, CallSettings)
public virtual PagedEnumerable<ListAuthzExtensionsResponse, AuthzExtension> ListAuthzExtensions(string parent, string pageToken = null, int? pageSize = null, CallSettings callSettings = null)Lists AuthzExtension resources in a given project and location.
| Parameters | |
|---|---|
| Name | Description |
parent |
stringRequired. The project and location from which the |
pageToken |
stringThe token returned from the previous request. A value of |
pageSize |
intThe size of page to request. The response will not be larger than this, but may be smaller. A value of
|
callSettings |
CallSettingsIf not null, applies overrides to this RPC call. |
| Returns | |
|---|---|
| Type | Description |
PagedEnumerableListAuthzExtensionsResponseAuthzExtension |
A pageable sequence of AuthzExtension resources. |
// Create client
DepServiceClient depServiceClient = DepServiceClient.Create();
// Initialize request argument(s)
string parent = "projects/[PROJECT]/locations/[LOCATION]";
// Make the request
PagedEnumerable<ListAuthzExtensionsResponse, AuthzExtension> response = depServiceClient.ListAuthzExtensions(parent);
// Iterate over all response items, lazily performing RPCs as required
foreach (AuthzExtension item in response)
{
// Do something with each item
Console.WriteLine(item);
}
// Or iterate over pages (of server-defined size), performing one RPC per page
foreach (ListAuthzExtensionsResponse page in response.AsRawResponses())
{
// Do something with each page of items
Console.WriteLine("A page of results:");
foreach (AuthzExtension item in page)
{
// Do something with each item
Console.WriteLine(item);
}
}
// Or retrieve a single page of known size (unless it's the final page), performing as many RPCs as required
int pageSize = 10;
Page<AuthzExtension> singlePage = response.ReadPage(pageSize);
// Do something with the page of items
Console.WriteLine($"A page of {pageSize} results (unless it's the final page):");
foreach (AuthzExtension item in singlePage)
{
// Do something with each item
Console.WriteLine(item);
}
// Store the pageToken, for when the next page is required.
string nextPageToken = singlePage.NextPageToken;
ListAuthzExtensionsAsync(LocationName, string, int?, CallSettings)
public virtual PagedAsyncEnumerable<ListAuthzExtensionsResponse, AuthzExtension> ListAuthzExtensionsAsync(LocationName parent, string pageToken = null, int? pageSize = null, CallSettings callSettings = null)Lists AuthzExtension resources in a given project and location.
| Parameters | |
|---|---|
| Name | Description |
parent |
LocationNameRequired. The project and location from which the |
pageToken |
stringThe token returned from the previous request. A value of |
pageSize |
intThe size of page to request. The response will not be larger than this, but may be smaller. A value of
|
callSettings |
CallSettingsIf not null, applies overrides to this RPC call. |
| Returns | |
|---|---|
| Type | Description |
PagedAsyncEnumerableListAuthzExtensionsResponseAuthzExtension |
A pageable asynchronous sequence of AuthzExtension resources. |
// Create client
DepServiceClient depServiceClient = await DepServiceClient.CreateAsync();
// Initialize request argument(s)
LocationName parent = LocationName.FromProjectLocation("[PROJECT]", "[LOCATION]");
// Make the request
PagedAsyncEnumerable<ListAuthzExtensionsResponse, AuthzExtension> response = depServiceClient.ListAuthzExtensionsAsync(parent);
// Iterate over all response items, lazily performing RPCs as required
await response.ForEachAsync((AuthzExtension item) =>
{
// Do something with each item
Console.WriteLine(item);
});
// Or iterate over pages (of server-defined size), performing one RPC per page
await response.AsRawResponses().ForEachAsync((ListAuthzExtensionsResponse page) =>
{
// Do something with each page of items
Console.WriteLine("A page of results:");
foreach (AuthzExtension item in page)
{
// Do something with each item
Console.WriteLine(item);
}
});
// Or retrieve a single page of known size (unless it's the final page), performing as many RPCs as required
int pageSize = 10;
Page<AuthzExtension> singlePage = await response.ReadPageAsync(pageSize);
// Do something with the page of items
Console.WriteLine($"A page of {pageSize} results (unless it's the final page):");
foreach (AuthzExtension item in singlePage)
{
// Do something with each item
Console.WriteLine(item);
}
// Store the pageToken, for when the next page is required.
string nextPageToken = singlePage.NextPageToken;
ListAuthzExtensionsAsync(ListAuthzExtensionsRequest, CallSettings)
public virtual PagedAsyncEnumerable<ListAuthzExtensionsResponse, AuthzExtension> ListAuthzExtensionsAsync(ListAuthzExtensionsRequest request, CallSettings callSettings = null)Lists AuthzExtension resources in a given project and location.
| Parameters | |
|---|---|
| Name | Description |
request |
ListAuthzExtensionsRequestThe request object containing all of the parameters for the API call. |
callSettings |
CallSettingsIf not null, applies overrides to this RPC call. |
| Returns | |
|---|---|
| Type | Description |
PagedAsyncEnumerableListAuthzExtensionsResponseAuthzExtension |
A pageable asynchronous sequence of AuthzExtension resources. |
// Create client
DepServiceClient depServiceClient = await DepServiceClient.CreateAsync();
// Initialize request argument(s)
ListAuthzExtensionsRequest request = new ListAuthzExtensionsRequest
{
ParentAsLocationName = LocationName.FromProjectLocation("[PROJECT]", "[LOCATION]"),
Filter = "",
OrderBy = "",
};
// Make the request
PagedAsyncEnumerable<ListAuthzExtensionsResponse, AuthzExtension> response = depServiceClient.ListAuthzExtensionsAsync(request);
// Iterate over all response items, lazily performing RPCs as required
await response.ForEachAsync((AuthzExtension item) =>
{
// Do something with each item
Console.WriteLine(item);
});
// Or iterate over pages (of server-defined size), performing one RPC per page
await response.AsRawResponses().ForEachAsync((ListAuthzExtensionsResponse page) =>
{
// Do something with each page of items
Console.WriteLine("A page of results:");
foreach (AuthzExtension item in page)
{
// Do something with each item
Console.WriteLine(item);
}
});
// Or retrieve a single page of known size (unless it's the final page), performing as many RPCs as required
int pageSize = 10;
Page<AuthzExtension> singlePage = await response.ReadPageAsync(pageSize);
// Do something with the page of items
Console.WriteLine($"A page of {pageSize} results (unless it's the final page):");
foreach (AuthzExtension item in singlePage)
{
// Do something with each item
Console.WriteLine(item);
}
// Store the pageToken, for when the next page is required.
string nextPageToken = singlePage.NextPageToken;
ListAuthzExtensionsAsync(string, string, int?, CallSettings)
public virtual PagedAsyncEnumerable<ListAuthzExtensionsResponse, AuthzExtension> ListAuthzExtensionsAsync(string parent, string pageToken = null, int? pageSize = null, CallSettings callSettings = null)Lists AuthzExtension resources in a given project and location.
| Parameters | |
|---|---|
| Name | Description |
parent |
stringRequired. The project and location from which the |
pageToken |
stringThe token returned from the previous request. A value of |
pageSize |
intThe size of page to request. The response will not be larger than this, but may be smaller. A value of
|
callSettings |
CallSettingsIf not null, applies overrides to this RPC call. |
| Returns | |
|---|---|
| Type | Description |
PagedAsyncEnumerableListAuthzExtensionsResponseAuthzExtension |
A pageable asynchronous sequence of AuthzExtension resources. |
// Create client
DepServiceClient depServiceClient = await DepServiceClient.CreateAsync();
// Initialize request argument(s)
string parent = "projects/[PROJECT]/locations/[LOCATION]";
// Make the request
PagedAsyncEnumerable<ListAuthzExtensionsResponse, AuthzExtension> response = depServiceClient.ListAuthzExtensionsAsync(parent);
// Iterate over all response items, lazily performing RPCs as required
await response.ForEachAsync((AuthzExtension item) =>
{
// Do something with each item
Console.WriteLine(item);
});
// Or iterate over pages (of server-defined size), performing one RPC per page
await response.AsRawResponses().ForEachAsync((ListAuthzExtensionsResponse page) =>
{
// Do something with each page of items
Console.WriteLine("A page of results:");
foreach (AuthzExtension item in page)
{
// Do something with each item
Console.WriteLine(item);
}
});
// Or retrieve a single page of known size (unless it's the final page), performing as many RPCs as required
int pageSize = 10;
Page<AuthzExtension> singlePage = await response.ReadPageAsync(pageSize);
// Do something with the page of items
Console.WriteLine($"A page of {pageSize} results (unless it's the final page):");
foreach (AuthzExtension item in singlePage)
{
// Do something with each item
Console.WriteLine(item);
}
// Store the pageToken, for when the next page is required.
string nextPageToken = singlePage.NextPageToken;
ListLbEdgeExtensions(LocationName, string, int?, CallSettings)
public virtual PagedEnumerable<ListLbEdgeExtensionsResponse, LbEdgeExtension> ListLbEdgeExtensions(LocationName parent, string pageToken = null, int? pageSize = null, CallSettings callSettings = null)Lists LbEdgeExtension resources in a given project and location.
| Parameters | |
|---|---|
| Name | Description |
parent |
LocationNameRequired. The project and location from which the |
pageToken |
stringThe token returned from the previous request. A value of |
pageSize |
intThe size of page to request. The response will not be larger than this, but may be smaller. A value of
|
callSettings |
CallSettingsIf not null, applies overrides to this RPC call. |
| Returns | |
|---|---|
| Type | Description |
PagedEnumerableListLbEdgeExtensionsResponseLbEdgeExtension |
A pageable sequence of LbEdgeExtension resources. |
// Create client
DepServiceClient depServiceClient = DepServiceClient.Create();
// Initialize request argument(s)
LocationName parent = LocationName.FromProjectLocation("[PROJECT]", "[LOCATION]");
// Make the request
PagedEnumerable<ListLbEdgeExtensionsResponse, LbEdgeExtension> response = depServiceClient.ListLbEdgeExtensions(parent);
// Iterate over all response items, lazily performing RPCs as required
foreach (LbEdgeExtension item in response)
{
// Do something with each item
Console.WriteLine(item);
}
// Or iterate over pages (of server-defined size), performing one RPC per page
foreach (ListLbEdgeExtensionsResponse page in response.AsRawResponses())
{
// Do something with each page of items
Console.WriteLine("A page of results:");
foreach (LbEdgeExtension item in page)
{
// Do something with each item
Console.WriteLine(item);
}
}
// Or retrieve a single page of known size (unless it's the final page), performing as many RPCs as required
int pageSize = 10;
Page<LbEdgeExtension> singlePage = response.ReadPage(pageSize);
// Do something with the page of items
Console.WriteLine($"A page of {pageSize} results (unless it's the final page):");
foreach (LbEdgeExtension item in singlePage)
{
// Do something with each item
Console.WriteLine(item);
}
// Store the pageToken, for when the next page is required.
string nextPageToken = singlePage.NextPageToken;
ListLbEdgeExtensions(ListLbEdgeExtensionsRequest, CallSettings)
public virtual PagedEnumerable<ListLbEdgeExtensionsResponse, LbEdgeExtension> ListLbEdgeExtensions(ListLbEdgeExtensionsRequest request, CallSettings callSettings = null)Lists LbEdgeExtension resources in a given project and location.
| Parameters | |
|---|---|
| Name | Description |
request |
ListLbEdgeExtensionsRequestThe request object containing all of the parameters for the API call. |
callSettings |
CallSettingsIf not null, applies overrides to this RPC call. |
| Returns | |
|---|---|
| Type | Description |
PagedEnumerableListLbEdgeExtensionsResponseLbEdgeExtension |
A pageable sequence of LbEdgeExtension resources. |
// Create client
DepServiceClient depServiceClient = DepServiceClient.Create();
// Initialize request argument(s)
ListLbEdgeExtensionsRequest request = new ListLbEdgeExtensionsRequest
{
ParentAsLocationName = LocationName.FromProjectLocation("[PROJECT]", "[LOCATION]"),
Filter = "",
OrderBy = "",
};
// Make the request
PagedEnumerable<ListLbEdgeExtensionsResponse, LbEdgeExtension> response = depServiceClient.ListLbEdgeExtensions(request);
// Iterate over all response items, lazily performing RPCs as required
foreach (LbEdgeExtension item in response)
{
// Do something with each item
Console.WriteLine(item);
}
// Or iterate over pages (of server-defined size), performing one RPC per page
foreach (ListLbEdgeExtensionsResponse page in response.AsRawResponses())
{
// Do something with each page of items
Console.WriteLine("A page of results:");
foreach (LbEdgeExtension item in page)
{
// Do something with each item
Console.WriteLine(item);
}
}
// Or retrieve a single page of known size (unless it's the final page), performing as many RPCs as required
int pageSize = 10;
Page<LbEdgeExtension> singlePage = response.ReadPage(pageSize);
// Do something with the page of items
Console.WriteLine($"A page of {pageSize} results (unless it's the final page):");
foreach (LbEdgeExtension item in singlePage)
{
// Do something with each item
Console.WriteLine(item);
}
// Store the pageToken, for when the next page is required.
string nextPageToken = singlePage.NextPageToken;
ListLbEdgeExtensions(string, string, int?, CallSettings)
public virtual PagedEnumerable<ListLbEdgeExtensionsResponse, LbEdgeExtension> ListLbEdgeExtensions(string parent, string pageToken = null, int? pageSize = null, CallSettings callSettings = null)Lists LbEdgeExtension resources in a given project and location.
| Parameters | |
|---|---|
| Name | Description |
parent |
stringRequired. The project and location from which the |
pageToken |
stringThe token returned from the previous request. A value of |
pageSize |
intThe size of page to request. The response will not be larger than this, but may be smaller. A value of
|
callSettings |
CallSettingsIf not null, applies overrides to this RPC call. |
| Returns | |
|---|---|
| Type | Description |
PagedEnumerableListLbEdgeExtensionsResponseLbEdgeExtension |
A pageable sequence of LbEdgeExtension resources. |
// Create client
DepServiceClient depServiceClient = DepServiceClient.Create();
// Initialize request argument(s)
string parent = "projects/[PROJECT]/locations/[LOCATION]";
// Make the request
PagedEnumerable<ListLbEdgeExtensionsResponse, LbEdgeExtension> response = depServiceClient.ListLbEdgeExtensions(parent);
// Iterate over all response items, lazily performing RPCs as required
foreach (LbEdgeExtension item in response)
{
// Do something with each item
Console.WriteLine(item);
}
// Or iterate over pages (of server-defined size), performing one RPC per page
foreach (ListLbEdgeExtensionsResponse page in response.AsRawResponses())
{
// Do something with each page of items
Console.WriteLine("A page of results:");
foreach (LbEdgeExtension item in page)
{
// Do something with each item
Console.WriteLine(item);
}
}
// Or retrieve a single page of known size (unless it's the final page), performing as many RPCs as required
int pageSize = 10;
Page<LbEdgeExtension> singlePage = response.ReadPage(pageSize);
// Do something with the page of items
Console.WriteLine($"A page of {pageSize} results (unless it's the final page):");
foreach (LbEdgeExtension item in singlePage)
{
// Do something with each item
Console.WriteLine(item);
}
// Store the pageToken, for when the next page is required.
string nextPageToken = singlePage.NextPageToken;
ListLbEdgeExtensionsAsync(LocationName, string, int?, CallSettings)
public virtual PagedAsyncEnumerable<ListLbEdgeExtensionsResponse, LbEdgeExtension> ListLbEdgeExtensionsAsync(LocationName parent, string pageToken = null, int? pageSize = null, CallSettings callSettings = null)Lists LbEdgeExtension resources in a given project and location.
| Parameters | |
|---|---|
| Name | Description |
parent |
LocationNameRequired. The project and location from which the |
pageToken |
stringThe token returned from the previous request. A value of |
pageSize |
intThe size of page to request. The response will not be larger than this, but may be smaller. A value of
|
callSettings |
CallSettingsIf not null, applies overrides to this RPC call. |
| Returns | |
|---|---|
| Type | Description |
PagedAsyncEnumerableListLbEdgeExtensionsResponseLbEdgeExtension |
A pageable asynchronous sequence of LbEdgeExtension resources. |
// Create client
DepServiceClient depServiceClient = await DepServiceClient.CreateAsync();
// Initialize request argument(s)
LocationName parent = LocationName.FromProjectLocation("[PROJECT]", "[LOCATION]");
// Make the request
PagedAsyncEnumerable<ListLbEdgeExtensionsResponse, LbEdgeExtension> response = depServiceClient.ListLbEdgeExtensionsAsync(parent);
// Iterate over all response items, lazily performing RPCs as required
await response.ForEachAsync((LbEdgeExtension item) =>
{
// Do something with each item
Console.WriteLine(item);
});
// Or iterate over pages (of server-defined size), performing one RPC per page
await response.AsRawResponses().ForEachAsync((ListLbEdgeExtensionsResponse page) =>
{
// Do something with each page of items
Console.WriteLine("A page of results:");
foreach (LbEdgeExtension item in page)
{
// Do something with each item
Console.WriteLine(item);
}
});
// Or retrieve a single page of known size (unless it's the final page), performing as many RPCs as required
int pageSize = 10;
Page<LbEdgeExtension> singlePage = await response.ReadPageAsync(pageSize);
// Do something with the page of items
Console.WriteLine($"A page of {pageSize} results (unless it's the final page):");
foreach (LbEdgeExtension item in singlePage)
{
// Do something with each item
Console.WriteLine(item);
}
// Store the pageToken, for when the next page is required.
string nextPageToken = singlePage.NextPageToken;
ListLbEdgeExtensionsAsync(ListLbEdgeExtensionsRequest, CallSettings)
public virtual PagedAsyncEnumerable<ListLbEdgeExtensionsResponse, LbEdgeExtension> ListLbEdgeExtensionsAsync(ListLbEdgeExtensionsRequest request, CallSettings callSettings = null)Lists LbEdgeExtension resources in a given project and location.
| Parameters | |
|---|---|
| Name | Description |
request |
ListLbEdgeExtensionsRequestThe request object containing all of the parameters for the API call. |
callSettings |
CallSettingsIf not null, applies overrides to this RPC call. |
| Returns | |
|---|---|
| Type | Description |
PagedAsyncEnumerableListLbEdgeExtensionsResponseLbEdgeExtension |
A pageable asynchronous sequence of LbEdgeExtension resources. |
// Create client
DepServiceClient depServiceClient = await DepServiceClient.CreateAsync();
// Initialize request argument(s)
ListLbEdgeExtensionsRequest request = new ListLbEdgeExtensionsRequest
{
ParentAsLocationName = LocationName.FromProjectLocation("[PROJECT]", "[LOCATION]"),
Filter = "",
OrderBy = "",
};
// Make the request
PagedAsyncEnumerable<ListLbEdgeExtensionsResponse, LbEdgeExtension> response = depServiceClient.ListLbEdgeExtensionsAsync(request);
// Iterate over all response items, lazily performing RPCs as required
await response.ForEachAsync((LbEdgeExtension item) =>
{
// Do something with each item
Console.WriteLine(item);
});
// Or iterate over pages (of server-defined size), performing one RPC per page
await response.AsRawResponses().ForEachAsync((ListLbEdgeExtensionsResponse page) =>
{
// Do something with each page of items
Console.WriteLine("A page of results:");
foreach (LbEdgeExtension item in page)
{
// Do something with each item
Console.WriteLine(item);
}
});
// Or retrieve a single page of known size (unless it's the final page), performing as many RPCs as required
int pageSize = 10;
Page<LbEdgeExtension> singlePage = await response.ReadPageAsync(pageSize);
// Do something with the page of items
Console.WriteLine($"A page of {pageSize} results (unless it's the final page):");
foreach (LbEdgeExtension item in singlePage)
{
// Do something with each item
Console.WriteLine(item);
}
// Store the pageToken, for when the next page is required.
string nextPageToken = singlePage.NextPageToken;
ListLbEdgeExtensionsAsync(string, string, int?, CallSettings)
public virtual PagedAsyncEnumerable<ListLbEdgeExtensionsResponse, LbEdgeExtension> ListLbEdgeExtensionsAsync(string parent, string pageToken = null, int? pageSize = null, CallSettings callSettings = null)Lists LbEdgeExtension resources in a given project and location.
| Parameters | |
|---|---|
| Name | Description |
parent |
stringRequired. The project and location from which the |
pageToken |
stringThe token returned from the previous request. A value of |
pageSize |
intThe size of page to request. The response will not be larger than this, but may be smaller. A value of
|
callSettings |
CallSettingsIf not null, applies overrides to this RPC call. |
| Returns | |
|---|---|
| Type | Description |
PagedAsyncEnumerableListLbEdgeExtensionsResponseLbEdgeExtension |
A pageable asynchronous sequence of LbEdgeExtension resources. |
// Create client
DepServiceClient depServiceClient = await DepServiceClient.CreateAsync();
// Initialize request argument(s)
string parent = "projects/[PROJECT]/locations/[LOCATION]";
// Make the request
PagedAsyncEnumerable<ListLbEdgeExtensionsResponse, LbEdgeExtension> response = depServiceClient.ListLbEdgeExtensionsAsync(parent);
// Iterate over all response items, lazily performing RPCs as required
await response.ForEachAsync((LbEdgeExtension item) =>
{
// Do something with each item
Console.WriteLine(item);
});
// Or iterate over pages (of server-defined size), performing one RPC per page
await response.AsRawResponses().ForEachAsync((ListLbEdgeExtensionsResponse page) =>
{
// Do something with each page of items
Console.WriteLine("A page of results:");
foreach (LbEdgeExtension item in page)
{
// Do something with each item
Console.WriteLine(item);
}
});
// Or retrieve a single page of known size (unless it's the final page), performing as many RPCs as required
int pageSize = 10;
Page<LbEdgeExtension> singlePage = await response.ReadPageAsync(pageSize);
// Do something with the page of items
Console.WriteLine($"A page of {pageSize} results (unless it's the final page):");
foreach (LbEdgeExtension item in singlePage)
{
// Do something with each item
Console.WriteLine(item);
}
// Store the pageToken, for when the next page is required.
string nextPageToken = singlePage.NextPageToken;
ListLbRouteExtensions(LocationName, string, int?, CallSettings)
public virtual PagedEnumerable<ListLbRouteExtensionsResponse, LbRouteExtension> ListLbRouteExtensions(LocationName parent, string pageToken = null, int? pageSize = null, CallSettings callSettings = null)Lists LbRouteExtension resources in a given project and location.
| Parameters | |
|---|---|
| Name | Description |
parent |
LocationNameRequired. The project and location from which the |
pageToken |
stringThe token returned from the previous request. A value of |
pageSize |
intThe size of page to request. The response will not be larger than this, but may be smaller. A value of
|
callSettings |
CallSettingsIf not null, applies overrides to this RPC call. |
| Returns | |
|---|---|
| Type | Description |
PagedEnumerableListLbRouteExtensionsResponseLbRouteExtension |
A pageable sequence of LbRouteExtension resources. |
// Create client
DepServiceClient depServiceClient = DepServiceClient.Create();
// Initialize request argument(s)
LocationName parent = LocationName.FromProjectLocation("[PROJECT]", "[LOCATION]");
// Make the request
PagedEnumerable<ListLbRouteExtensionsResponse, LbRouteExtension> response = depServiceClient.ListLbRouteExtensions(parent);
// Iterate over all response items, lazily performing RPCs as required
foreach (LbRouteExtension item in response)
{
// Do something with each item
Console.WriteLine(item);
}
// Or iterate over pages (of server-defined size), performing one RPC per page
foreach (ListLbRouteExtensionsResponse page in response.AsRawResponses())
{
// Do something with each page of items
Console.WriteLine("A page of results:");
foreach (LbRouteExtension item in page)
{
// Do something with each item
Console.WriteLine(item);
}
}
// Or retrieve a single page of known size (unless it's the final page), performing as many RPCs as required
int pageSize = 10;
Page<LbRouteExtension> singlePage = response.ReadPage(pageSize);
// Do something with the page of items
Console.WriteLine($"A page of {pageSize} results (unless it's the final page):");
foreach (LbRouteExtension item in singlePage)
{
// Do something with each item
Console.WriteLine(item);
}
// Store the pageToken, for when the next page is required.
string nextPageToken = singlePage.NextPageToken;
ListLbRouteExtensions(ListLbRouteExtensionsRequest, CallSettings)
public virtual PagedEnumerable<ListLbRouteExtensionsResponse, LbRouteExtension> ListLbRouteExtensions(ListLbRouteExtensionsRequest request, CallSettings callSettings = null)Lists LbRouteExtension resources in a given project and location.
| Parameters | |
|---|---|
| Name | Description |
request |
ListLbRouteExtensionsRequestThe request object containing all of the parameters for the API call. |
callSettings |
CallSettingsIf not null, applies overrides to this RPC call. |
| Returns | |
|---|---|
| Type | Description |
PagedEnumerableListLbRouteExtensionsResponseLbRouteExtension |
A pageable sequence of LbRouteExtension resources. |
// Create client
DepServiceClient depServiceClient = DepServiceClient.Create();
// Initialize request argument(s)
ListLbRouteExtensionsRequest request = new ListLbRouteExtensionsRequest
{
ParentAsLocationName = LocationName.FromProjectLocation("[PROJECT]", "[LOCATION]"),
Filter = "",
OrderBy = "",
};
// Make the request
PagedEnumerable<ListLbRouteExtensionsResponse, LbRouteExtension> response = depServiceClient.ListLbRouteExtensions(request);
// Iterate over all response items, lazily performing RPCs as required
foreach (LbRouteExtension item in response)
{
// Do something with each item
Console.WriteLine(item);
}
// Or iterate over pages (of server-defined size), performing one RPC per page
foreach (ListLbRouteExtensionsResponse page in response.AsRawResponses())
{
// Do something with each page of items
Console.WriteLine("A page of results:");
foreach (LbRouteExtension item in page)
{
// Do something with each item
Console.WriteLine(item);
}
}
// Or retrieve a single page of known size (unless it's the final page), performing as many RPCs as required
int pageSize = 10;
Page<LbRouteExtension> singlePage = response.ReadPage(pageSize);
// Do something with the page of items
Console.WriteLine($"A page of {pageSize} results (unless it's the final page):");
foreach (LbRouteExtension item in singlePage)
{
// Do something with each item
Console.WriteLine(item);
}
// Store the pageToken, for when the next page is required.
string nextPageToken = singlePage.NextPageToken;
ListLbRouteExtensions(string, string, int?, CallSettings)
public virtual PagedEnumerable<ListLbRouteExtensionsResponse, LbRouteExtension> ListLbRouteExtensions(string parent, string pageToken = null, int? pageSize = null, CallSettings callSettings = null)Lists LbRouteExtension resources in a given project and location.
| Parameters | |
|---|---|
| Name | Description |
parent |
stringRequired. The project and location from which the |
pageToken |
stringThe token returned from the previous request. A value of |
pageSize |
intThe size of page to request. The response will not be larger than this, but may be smaller. A value of
|
callSettings |
CallSettingsIf not null, applies overrides to this RPC call. |
| Returns | |
|---|---|
| Type | Description |
PagedEnumerableListLbRouteExtensionsResponseLbRouteExtension |
A pageable sequence of LbRouteExtension resources. |
// Create client
DepServiceClient depServiceClient = DepServiceClient.Create();
// Initialize request argument(s)
string parent = "projects/[PROJECT]/locations/[LOCATION]";
// Make the request
PagedEnumerable<ListLbRouteExtensionsResponse, LbRouteExtension> response = depServiceClient.ListLbRouteExtensions(parent);
// Iterate over all response items, lazily performing RPCs as required
foreach (LbRouteExtension item in response)
{
// Do something with each item
Console.WriteLine(item);
}
// Or iterate over pages (of server-defined size), performing one RPC per page
foreach (ListLbRouteExtensionsResponse page in response.AsRawResponses())
{
// Do something with each page of items
Console.WriteLine("A page of results:");
foreach (LbRouteExtension item in page)
{
// Do something with each item
Console.WriteLine(item);
}
}
// Or retrieve a single page of known size (unless it's the final page), performing as many RPCs as required
int pageSize = 10;
Page<LbRouteExtension> singlePage = response.ReadPage(pageSize);
// Do something with the page of items
Console.WriteLine($"A page of {pageSize} results (unless it's the final page):");
foreach (LbRouteExtension item in singlePage)
{
// Do something with each item
Console.WriteLine(item);
}
// Store the pageToken, for when the next page is required.
string nextPageToken = singlePage.NextPageToken;
ListLbRouteExtensionsAsync(LocationName, string, int?, CallSettings)
public virtual PagedAsyncEnumerable<ListLbRouteExtensionsResponse, LbRouteExtension> ListLbRouteExtensionsAsync(LocationName parent, string pageToken = null, int? pageSize = null, CallSettings callSettings = null)Lists LbRouteExtension resources in a given project and location.
| Parameters | |
|---|---|
| Name | Description |
parent |
LocationNameRequired. The project and location from which the |
pageToken |
stringThe token returned from the previous request. A value of |
pageSize |
intThe size of page to request. The response will not be larger than this, but may be smaller. A value of
|
callSettings |
CallSettingsIf not null, applies overrides to this RPC call. |
| Returns | |
|---|---|
| Type | Description |
PagedAsyncEnumerableListLbRouteExtensionsResponseLbRouteExtension |
A pageable asynchronous sequence of LbRouteExtension resources. |
// Create client
DepServiceClient depServiceClient = await DepServiceClient.CreateAsync();
// Initialize request argument(s)
LocationName parent = LocationName.FromProjectLocation("[PROJECT]", "[LOCATION]");
// Make the request
PagedAsyncEnumerable<ListLbRouteExtensionsResponse, LbRouteExtension> response = depServiceClient.ListLbRouteExtensionsAsync(parent);
// Iterate over all response items, lazily performing RPCs as required
await response.ForEachAsync((LbRouteExtension item) =>
{
// Do something with each item
Console.WriteLine(item);
});
// Or iterate over pages (of server-defined size), performing one RPC per page
await response.AsRawResponses().ForEachAsync((ListLbRouteExtensionsResponse page) =>
{
// Do something with each page of items
Console.WriteLine("A page of results:");
foreach (LbRouteExtension item in page)
{
// Do something with each item
Console.WriteLine(item);
}
});
// Or retrieve a single page of known size (unless it's the final page), performing as many RPCs as required
int pageSize = 10;
Page<LbRouteExtension> singlePage = await response.ReadPageAsync(pageSize);
// Do something with the page of items
Console.WriteLine($"A page of {pageSize} results (unless it's the final page):");
foreach (LbRouteExtension item in singlePage)
{
// Do something with each item
Console.WriteLine(item);
}
// Store the pageToken, for when the next page is required.
string nextPageToken = singlePage.NextPageToken;
ListLbRouteExtensionsAsync(ListLbRouteExtensionsRequest, CallSettings)
public virtual PagedAsyncEnumerable<ListLbRouteExtensionsResponse, LbRouteExtension> ListLbRouteExtensionsAsync(ListLbRouteExtensionsRequest request, CallSettings callSettings = null)Lists LbRouteExtension resources in a given project and location.
| Parameters | |
|---|---|
| Name | Description |
request |
ListLbRouteExtensionsRequestThe request object containing all of the parameters for the API call. |
callSettings |
CallSettingsIf not null, applies overrides to this RPC call. |
| Returns | |
|---|---|
| Type | Description |
PagedAsyncEnumerableListLbRouteExtensionsResponseLbRouteExtension |
A pageable asynchronous sequence of LbRouteExtension resources. |
// Create client
DepServiceClient depServiceClient = await DepServiceClient.CreateAsync();
// Initialize request argument(s)
ListLbRouteExtensionsRequest request = new ListLbRouteExtensionsRequest
{
ParentAsLocationName = LocationName.FromProjectLocation("[PROJECT]", "[LOCATION]"),
Filter = "",
OrderBy = "",
};
// Make the request
PagedAsyncEnumerable<ListLbRouteExtensionsResponse, LbRouteExtension> response = depServiceClient.ListLbRouteExtensionsAsync(request);
// Iterate over all response items, lazily performing RPCs as required
await response.ForEachAsync((LbRouteExtension item) =>
{
// Do something with each item
Console.WriteLine(item);
});
// Or iterate over pages (of server-defined size), performing one RPC per page
await response.AsRawResponses().ForEachAsync((ListLbRouteExtensionsResponse page) =>
{
// Do something with each page of items
Console.WriteLine("A page of results:");
foreach (LbRouteExtension item in page)
{
// Do something with each item
Console.WriteLine(item);
}
});
// Or retrieve a single page of known size (unless it's the final page), performing as many RPCs as required
int pageSize = 10;
Page<LbRouteExtension> singlePage = await response.ReadPageAsync(pageSize);
// Do something with the page of items
Console.WriteLine($"A page of {pageSize} results (unless it's the final page):");
foreach (LbRouteExtension item in singlePage)
{
// Do something with each item
Console.WriteLine(item);
}
// Store the pageToken, for when the next page is required.
string nextPageToken = singlePage.NextPageToken;
ListLbRouteExtensionsAsync(string, string, int?, CallSettings)
public virtual PagedAsyncEnumerable<ListLbRouteExtensionsResponse, LbRouteExtension> ListLbRouteExtensionsAsync(string parent, string pageToken = null, int? pageSize = null, CallSettings callSettings = null)Lists LbRouteExtension resources in a given project and location.
| Parameters | |
|---|---|
| Name | Description |
parent |
stringRequired. The project and location from which the |
pageToken |
stringThe token returned from the previous request. A value of |
pageSize |
intThe size of page to request. The response will not be larger than this, but may be smaller. A value of
|
callSettings |
CallSettingsIf not null, applies overrides to this RPC call. |
| Returns | |
|---|---|
| Type | Description |
PagedAsyncEnumerableListLbRouteExtensionsResponseLbRouteExtension |
A pageable asynchronous sequence of LbRouteExtension resources. |
// Create client
DepServiceClient depServiceClient = await DepServiceClient.CreateAsync();
// Initialize request argument(s)
string parent = "projects/[PROJECT]/locations/[LOCATION]";
// Make the request
PagedAsyncEnumerable<ListLbRouteExtensionsResponse, LbRouteExtension> response = depServiceClient.ListLbRouteExtensionsAsync(parent);
// Iterate over all response items, lazily performing RPCs as required
await response.ForEachAsync((LbRouteExtension item) =>
{
// Do something with each item
Console.WriteLine(item);
});
// Or iterate over pages (of server-defined size), performing one RPC per page
await response.AsRawResponses().ForEachAsync((ListLbRouteExtensionsResponse page) =>
{
// Do something with each page of items
Console.WriteLine("A page of results:");
foreach (LbRouteExtension item in page)
{
// Do something with each item
Console.WriteLine(item);
}
});
// Or retrieve a single page of known size (unless it's the final page), performing as many RPCs as required
int pageSize = 10;
Page<LbRouteExtension> singlePage = await response.ReadPageAsync(pageSize);
// Do something with the page of items
Console.WriteLine($"A page of {pageSize} results (unless it's the final page):");
foreach (LbRouteExtension item in singlePage)
{
// Do something with each item
Console.WriteLine(item);
}
// Store the pageToken, for when the next page is required.
string nextPageToken = singlePage.NextPageToken;
ListLbTrafficExtensions(LocationName, string, int?, CallSettings)
public virtual PagedEnumerable<ListLbTrafficExtensionsResponse, LbTrafficExtension> ListLbTrafficExtensions(LocationName parent, string pageToken = null, int? pageSize = null, CallSettings callSettings = null)Lists LbTrafficExtension resources in a given project and location.
| Parameters | |
|---|---|
| Name | Description |
parent |
LocationNameRequired. The project and location from which the |
pageToken |
stringThe token returned from the previous request. A value of |
pageSize |
intThe size of page to request. The response will not be larger than this, but may be smaller. A value of
|
callSettings |
CallSettingsIf not null, applies overrides to this RPC call. |
| Returns | |
|---|---|
| Type | Description |
PagedEnumerableListLbTrafficExtensionsResponseLbTrafficExtension |
A pageable sequence of LbTrafficExtension resources. |
// Create client
DepServiceClient depServiceClient = DepServiceClient.Create();
// Initialize request argument(s)
LocationName parent = LocationName.FromProjectLocation("[PROJECT]", "[LOCATION]");
// Make the request
PagedEnumerable<ListLbTrafficExtensionsResponse, LbTrafficExtension> response = depServiceClient.ListLbTrafficExtensions(parent);
// Iterate over all response items, lazily performing RPCs as required
foreach (LbTrafficExtension item in response)
{
// Do something with each item
Console.WriteLine(item);
}
// Or iterate over pages (of server-defined size), performing one RPC per page
foreach (ListLbTrafficExtensionsResponse page in response.AsRawResponses())
{
// Do something with each page of items
Console.WriteLine("A page of results:");
foreach (LbTrafficExtension item in page)
{
// Do something with each item
Console.WriteLine(item);
}
}
// Or retrieve a single page of known size (unless it's the final page), performing as many RPCs as required
int pageSize = 10;
Page<LbTrafficExtension> singlePage = response.ReadPage(pageSize);
// Do something with the page of items
Console.WriteLine($"A page of {pageSize} results (unless it's the final page):");
foreach (LbTrafficExtension item in singlePage)
{
// Do something with each item
Console.WriteLine(item);
}
// Store the pageToken, for when the next page is required.
string nextPageToken = singlePage.NextPageToken;
ListLbTrafficExtensions(ListLbTrafficExtensionsRequest, CallSettings)
public virtual PagedEnumerable<ListLbTrafficExtensionsResponse, LbTrafficExtension> ListLbTrafficExtensions(ListLbTrafficExtensionsRequest request, CallSettings callSettings = null)Lists LbTrafficExtension resources in a given project and location.
| Parameters | |
|---|---|
| Name | Description |
request |
ListLbTrafficExtensionsRequestThe request object containing all of the parameters for the API call. |
callSettings |
CallSettingsIf not null, applies overrides to this RPC call. |
| Returns | |
|---|---|
| Type | Description |
PagedEnumerableListLbTrafficExtensionsResponseLbTrafficExtension |
A pageable sequence of LbTrafficExtension resources. |
// Create client
DepServiceClient depServiceClient = DepServiceClient.Create();
// Initialize request argument(s)
ListLbTrafficExtensionsRequest request = new ListLbTrafficExtensionsRequest
{
ParentAsLocationName = LocationName.FromProjectLocation("[PROJECT]", "[LOCATION]"),
Filter = "",
OrderBy = "",
};
// Make the request
PagedEnumerable<ListLbTrafficExtensionsResponse, LbTrafficExtension> response = depServiceClient.ListLbTrafficExtensions(request);
// Iterate over all response items, lazily performing RPCs as required
foreach (LbTrafficExtension item in response)
{
// Do something with each item
Console.WriteLine(item);
}
// Or iterate over pages (of server-defined size), performing one RPC per page
foreach (ListLbTrafficExtensionsResponse page in response.AsRawResponses())
{
// Do something with each page of items
Console.WriteLine("A page of results:");
foreach (LbTrafficExtension item in page)
{
// Do something with each item
Console.WriteLine(item);
}
}
// Or retrieve a single page of known size (unless it's the final page), performing as many RPCs as required
int pageSize = 10;
Page<LbTrafficExtension> singlePage = response.ReadPage(pageSize);
// Do something with the page of items
Console.WriteLine($"A page of {pageSize} results (unless it's the final page):");
foreach (LbTrafficExtension item in singlePage)
{
// Do something with each item
Console.WriteLine(item);
}
// Store the pageToken, for when the next page is required.
string nextPageToken = singlePage.NextPageToken;
ListLbTrafficExtensions(string, string, int?, CallSettings)
public virtual PagedEnumerable<ListLbTrafficExtensionsResponse, LbTrafficExtension> ListLbTrafficExtensions(string parent, string pageToken = null, int? pageSize = null, CallSettings callSettings = null)Lists LbTrafficExtension resources in a given project and location.
| Parameters | |
|---|---|
| Name | Description |
parent |
stringRequired. The project and location from which the |
pageToken |
stringThe token returned from the previous request. A value of |
pageSize |
intThe size of page to request. The response will not be larger than this, but may be smaller. A value of
|
callSettings |
CallSettingsIf not null, applies overrides to this RPC call. |
| Returns | |
|---|---|
| Type | Description |
PagedEnumerableListLbTrafficExtensionsResponseLbTrafficExtension |
A pageable sequence of LbTrafficExtension resources. |
// Create client
DepServiceClient depServiceClient = DepServiceClient.Create();
// Initialize request argument(s)
string parent = "projects/[PROJECT]/locations/[LOCATION]";
// Make the request
PagedEnumerable<ListLbTrafficExtensionsResponse, LbTrafficExtension> response = depServiceClient.ListLbTrafficExtensions(parent);
// Iterate over all response items, lazily performing RPCs as required
foreach (LbTrafficExtension item in response)
{
// Do something with each item
Console.WriteLine(item);
}
// Or iterate over pages (of server-defined size), performing one RPC per page
foreach (ListLbTrafficExtensionsResponse page in response.AsRawResponses())
{
// Do something with each page of items
Console.WriteLine("A page of results:");
foreach (LbTrafficExtension item in page)
{
// Do something with each item
Console.WriteLine(item);
}
}
// Or retrieve a single page of known size (unless it's the final page), performing as many RPCs as required
int pageSize = 10;
Page<LbTrafficExtension> singlePage = response.ReadPage(pageSize);
// Do something with the page of items
Console.WriteLine($"A page of {pageSize} results (unless it's the final page):");
foreach (LbTrafficExtension item in singlePage)
{
// Do something with each item
Console.WriteLine(item);
}
// Store the pageToken, for when the next page is required.
string nextPageToken = singlePage.NextPageToken;
ListLbTrafficExtensionsAsync(LocationName, string, int?, CallSettings)
public virtual PagedAsyncEnumerable<ListLbTrafficExtensionsResponse, LbTrafficExtension> ListLbTrafficExtensionsAsync(LocationName parent, string pageToken = null, int? pageSize = null, CallSettings callSettings = null)Lists LbTrafficExtension resources in a given project and location.
| Parameters | |
|---|---|
| Name | Description |
parent |
LocationNameRequired. The project and location from which the |
pageToken |
stringThe token returned from the previous request. A value of |
pageSize |
intThe size of page to request. The response will not be larger than this, but may be smaller. A value of
|
callSettings |
CallSettingsIf not null, applies overrides to this RPC call. |
| Returns | |
|---|---|
| Type | Description |
PagedAsyncEnumerableListLbTrafficExtensionsResponseLbTrafficExtension |
A pageable asynchronous sequence of LbTrafficExtension resources. |
// Create client
DepServiceClient depServiceClient = await DepServiceClient.CreateAsync();
// Initialize request argument(s)
LocationName parent = LocationName.FromProjectLocation("[PROJECT]", "[LOCATION]");
// Make the request
PagedAsyncEnumerable<ListLbTrafficExtensionsResponse, LbTrafficExtension> response = depServiceClient.ListLbTrafficExtensionsAsync(parent);
// Iterate over all response items, lazily performing RPCs as required
await response.ForEachAsync((LbTrafficExtension item) =>
{
// Do something with each item
Console.WriteLine(item);
});
// Or iterate over pages (of server-defined size), performing one RPC per page
await response.AsRawResponses().ForEachAsync((ListLbTrafficExtensionsResponse page) =>
{
// Do something with each page of items
Console.WriteLine("A page of results:");
foreach (LbTrafficExtension item in page)
{
// Do something with each item
Console.WriteLine(item);
}
});
// Or retrieve a single page of known size (unless it's the final page), performing as many RPCs as required
int pageSize = 10;
Page<LbTrafficExtension> singlePage = await response.ReadPageAsync(pageSize);
// Do something with the page of items
Console.WriteLine($"A page of {pageSize} results (unless it's the final page):");
foreach (LbTrafficExtension item in singlePage)
{
// Do something with each item
Console.WriteLine(item);
}
// Store the pageToken, for when the next page is required.
string nextPageToken = singlePage.NextPageToken;
ListLbTrafficExtensionsAsync(ListLbTrafficExtensionsRequest, CallSettings)
public virtual PagedAsyncEnumerable<ListLbTrafficExtensionsResponse, LbTrafficExtension> ListLbTrafficExtensionsAsync(ListLbTrafficExtensionsRequest request, CallSettings callSettings = null)Lists LbTrafficExtension resources in a given project and location.
| Parameters | |
|---|---|
| Name | Description |
request |
ListLbTrafficExtensionsRequestThe request object containing all of the parameters for the API call. |
callSettings |
CallSettingsIf not null, applies overrides to this RPC call. |
| Returns | |
|---|---|
| Type | Description |
PagedAsyncEnumerableListLbTrafficExtensionsResponseLbTrafficExtension |
A pageable asynchronous sequence of LbTrafficExtension resources. |
// Create client
DepServiceClient depServiceClient = await DepServiceClient.CreateAsync();
// Initialize request argument(s)
ListLbTrafficExtensionsRequest request = new ListLbTrafficExtensionsRequest
{
ParentAsLocationName = LocationName.FromProjectLocation("[PROJECT]", "[LOCATION]"),
Filter = "",
OrderBy = "",
};
// Make the request
PagedAsyncEnumerable<ListLbTrafficExtensionsResponse, LbTrafficExtension> response = depServiceClient.ListLbTrafficExtensionsAsync(request);
// Iterate over all response items, lazily performing RPCs as required
await response.ForEachAsync((LbTrafficExtension item) =>
{
// Do something with each item
Console.WriteLine(item);
});
// Or iterate over pages (of server-defined size), performing one RPC per page
await response.AsRawResponses().ForEachAsync((ListLbTrafficExtensionsResponse page) =>
{
// Do something with each page of items
Console.WriteLine("A page of results:");
foreach (LbTrafficExtension item in page)
{
// Do something with each item
Console.WriteLine(item);
}
});
// Or retrieve a single page of known size (unless it's the final page), performing as many RPCs as required
int pageSize = 10;
Page<LbTrafficExtension> singlePage = await response.ReadPageAsync(pageSize);
// Do something with the page of items
Console.WriteLine($"A page of {pageSize} results (unless it's the final page):");
foreach (LbTrafficExtension item in singlePage)
{
// Do something with each item
Console.WriteLine(item);
}
// Store the pageToken, for when the next page is required.
string nextPageToken = singlePage.NextPageToken;
ListLbTrafficExtensionsAsync(string, string, int?, CallSettings)
public virtual PagedAsyncEnumerable<ListLbTrafficExtensionsResponse, LbTrafficExtension> ListLbTrafficExtensionsAsync(string parent, string pageToken = null, int? pageSize = null, CallSettings callSettings = null)Lists LbTrafficExtension resources in a given project and location.
| Parameters | |
|---|---|
| Name | Description |
parent |
stringRequired. The project and location from which the |
pageToken |
stringThe token returned from the previous request. A value of |
pageSize |
intThe size of page to request. The response will not be larger than this, but may be smaller. A value of
|
callSettings |
CallSettingsIf not null, applies overrides to this RPC call. |
| Returns | |
|---|---|
| Type | Description |
PagedAsyncEnumerableListLbTrafficExtensionsResponseLbTrafficExtension |
A pageable asynchronous sequence of LbTrafficExtension resources. |
// Create client
DepServiceClient depServiceClient = await DepServiceClient.CreateAsync();
// Initialize request argument(s)
string parent = "projects/[PROJECT]/locations/[LOCATION]";
// Make the request
PagedAsyncEnumerable<ListLbTrafficExtensionsResponse, LbTrafficExtension> response = depServiceClient.ListLbTrafficExtensionsAsync(parent);
// Iterate over all response items, lazily performing RPCs as required
await response.ForEachAsync((LbTrafficExtension item) =>
{
// Do something with each item
Console.WriteLine(item);
});
// Or iterate over pages (of server-defined size), performing one RPC per page
await response.AsRawResponses().ForEachAsync((ListLbTrafficExtensionsResponse page) =>
{
// Do something with each page of items
Console.WriteLine("A page of results:");
foreach (LbTrafficExtension item in page)
{
// Do something with each item
Console.WriteLine(item);
}
});
// Or retrieve a single page of known size (unless it's the final page), performing as many RPCs as required
int pageSize = 10;
Page<LbTrafficExtension> singlePage = await response.ReadPageAsync(pageSize);
// Do something with the page of items
Console.WriteLine($"A page of {pageSize} results (unless it's the final page):");
foreach (LbTrafficExtension item in singlePage)
{
// Do something with each item
Console.WriteLine(item);
}
// Store the pageToken, for when the next page is required.
string nextPageToken = singlePage.NextPageToken;
PollOnceCreateAuthzExtension(string, CallSettings)
public virtual Operation<AuthzExtension, OperationMetadata> PollOnceCreateAuthzExtension(string operationName, CallSettings callSettings = null)Poll an operation once, using an operationName from a previous invocation of CreateAuthzExtension
.
| Parameters | |
|---|---|
| Name | Description |
operationName |
stringThe name of a previously invoked operation. Must not be |
callSettings |
CallSettingsIf not null, applies overrides to this RPC call. |
| Returns | |
|---|---|
| Type | Description |
OperationAuthzExtensionOperationMetadata |
The result of polling the operation. |
PollOnceCreateAuthzExtensionAsync(string, CallSettings)
public virtual Task<Operation<AuthzExtension, OperationMetadata>> PollOnceCreateAuthzExtensionAsync(string operationName, CallSettings callSettings = null)Asynchronously poll an operation once, using an operationName from a previous invocation of
CreateAuthzExtension.
| Parameters | |
|---|---|
| Name | Description |
operationName |
stringThe name of a previously invoked operation. Must not be |
callSettings |
CallSettingsIf not null, applies overrides to this RPC call. |
| Returns | |
|---|---|
| Type | Description |
TaskOperationAuthzExtensionOperationMetadata |
A task representing the result of polling the operation. |
PollOnceCreateLbEdgeExtension(string, CallSettings)
public virtual Operation<LbEdgeExtension, OperationMetadata> PollOnceCreateLbEdgeExtension(string operationName, CallSettings callSettings = null)Poll an operation once, using an operationName from a previous invocation of CreateLbEdgeExtension
.
| Parameters | |
|---|---|
| Name | Description |
operationName |
stringThe name of a previously invoked operation. Must not be |
callSettings |
CallSettingsIf not null, applies overrides to this RPC call. |
| Returns | |
|---|---|
| Type | Description |
OperationLbEdgeExtensionOperationMetadata |
The result of polling the operation. |
PollOnceCreateLbEdgeExtensionAsync(string, CallSettings)
public virtual Task<Operation<LbEdgeExtension, OperationMetadata>> PollOnceCreateLbEdgeExtensionAsync(string operationName, CallSettings callSettings = null)Asynchronously poll an operation once, using an operationName from a previous invocation of
CreateLbEdgeExtension.
| Parameters | |
|---|---|
| Name | Description |
operationName |
stringThe name of a previously invoked operation. Must not be |
callSettings |
CallSettingsIf not null, applies overrides to this RPC call. |
| Returns | |
|---|---|
| Type | Description |
TaskOperationLbEdgeExtensionOperationMetadata |
A task representing the result of polling the operation. |
PollOnceCreateLbRouteExtension(string, CallSettings)
public virtual Operation<LbRouteExtension, OperationMetadata> PollOnceCreateLbRouteExtension(string operationName, CallSettings callSettings = null)Poll an operation once, using an operationName from a previous invocation of
CreateLbRouteExtension.
| Parameters | |
|---|---|
| Name | Description |
operationName |
stringThe name of a previously invoked operation. Must not be |
callSettings |
CallSettingsIf not null, applies overrides to this RPC call. |
| Returns | |
|---|---|
| Type | Description |
OperationLbRouteExtensionOperationMetadata |
The result of polling the operation. |
PollOnceCreateLbRouteExtensionAsync(string, CallSettings)
public virtual Task<Operation<LbRouteExtension, OperationMetadata>> PollOnceCreateLbRouteExtensionAsync(string operationName, CallSettings callSettings = null)Asynchronously poll an operation once, using an operationName from a previous invocation of
CreateLbRouteExtension.
| Parameters | |
|---|---|
| Name | Description |
operationName |
stringThe name of a previously invoked operation. Must not be |
callSettings |
CallSettingsIf not null, applies overrides to this RPC call. |
| Returns | |
|---|---|
| Type | Description |
TaskOperationLbRouteExtensionOperationMetadata |
A task representing the result of polling the operation. |
PollOnceCreateLbTrafficExtension(string, CallSettings)
public virtual Operation<LbTrafficExtension, OperationMetadata> PollOnceCreateLbTrafficExtension(string operationName, CallSettings callSettings = null)Poll an operation once, using an operationName from a previous invocation of
CreateLbTrafficExtension.
| Parameters | |
|---|---|
| Name | Description |
operationName |
stringThe name of a previously invoked operation. Must not be |
callSettings |
CallSettingsIf not null, applies overrides to this RPC call. |
| Returns | |
|---|---|
| Type | Description |
OperationLbTrafficExtensionOperationMetadata |
The result of polling the operation. |
PollOnceCreateLbTrafficExtensionAsync(string, CallSettings)
public virtual Task<Operation<LbTrafficExtension, OperationMetadata>> PollOnceCreateLbTrafficExtensionAsync(string operationName, CallSettings callSettings = null)Asynchronously poll an operation once, using an operationName from a previous invocation of
CreateLbTrafficExtension.
| Parameters | |
|---|---|
| Name | Description |
operationName |
stringThe name of a previously invoked operation. Must not be |
callSettings |
CallSettingsIf not null, applies overrides to this RPC call. |
| Returns | |
|---|---|
| Type | Description |
TaskOperationLbTrafficExtensionOperationMetadata |
A task representing the result of polling the operation. |
PollOnceDeleteAuthzExtension(string, CallSettings)
public virtual Operation<Empty, OperationMetadata> PollOnceDeleteAuthzExtension(string operationName, CallSettings callSettings = null)Poll an operation once, using an operationName from a previous invocation of DeleteAuthzExtension
.
| Parameters | |
|---|---|
| Name | Description |
operationName |
stringThe name of a previously invoked operation. Must not be |
callSettings |
CallSettingsIf not null, applies overrides to this RPC call. |
| Returns | |
|---|---|
| Type | Description |
OperationEmptyOperationMetadata |
The result of polling the operation. |
PollOnceDeleteAuthzExtensionAsync(string, CallSettings)
public virtual Task<Operation<Empty, OperationMetadata>> PollOnceDeleteAuthzExtensionAsync(string operationName, CallSettings callSettings = null)Asynchronously poll an operation once, using an operationName from a previous invocation of
DeleteAuthzExtension.
| Parameters | |
|---|---|
| Name | Description |
operationName |
stringThe name of a previously invoked operation. Must not be |
callSettings |
CallSettingsIf not null, applies overrides to this RPC call. |
| Returns | |
|---|---|
| Type | Description |
TaskOperationEmptyOperationMetadata |
A task representing the result of polling the operation. |
PollOnceDeleteLbEdgeExtension(string, CallSettings)
public virtual Operation<Empty, OperationMetadata> PollOnceDeleteLbEdgeExtension(string operationName, CallSettings callSettings = null)Poll an operation once, using an operationName from a previous invocation of DeleteLbEdgeExtension
.
| Parameters | |
|---|---|
| Name | Description |
operationName |
stringThe name of a previously invoked operation. Must not be |
callSettings |
CallSettingsIf not null, applies overrides to this RPC call. |
| Returns | |
|---|---|
| Type | Description |
OperationEmptyOperationMetadata |
The result of polling the operation. |
PollOnceDeleteLbEdgeExtensionAsync(string, CallSettings)
public virtual Task<Operation<Empty, OperationMetadata>> PollOnceDeleteLbEdgeExtensionAsync(string operationName, CallSettings callSettings = null)Asynchronously poll an operation once, using an operationName from a previous invocation of
DeleteLbEdgeExtension.
| Parameters | |
|---|---|
| Name | Description |
operationName |
stringThe name of a previously invoked operation. Must not be |
callSettings |
CallSettingsIf not null, applies overrides to this RPC call. |
| Returns | |
|---|---|
| Type | Description |
TaskOperationEmptyOperationMetadata |
A task representing the result of polling the operation. |
PollOnceDeleteLbRouteExtension(string, CallSettings)
public virtual Operation<Empty, OperationMetadata> PollOnceDeleteLbRouteExtension(string operationName, CallSettings callSettings = null)Poll an operation once, using an operationName from a previous invocation of
DeleteLbRouteExtension.
| Parameters | |
|---|---|
| Name | Description |
operationName |
stringThe name of a previously invoked operation. Must not be |
callSettings |
CallSettingsIf not null, applies overrides to this RPC call. |
| Returns | |
|---|---|
| Type | Description |
OperationEmptyOperationMetadata |
The result of polling the operation. |
PollOnceDeleteLbRouteExtensionAsync(string, CallSettings)
public virtual Task<Operation<Empty, OperationMetadata>> PollOnceDeleteLbRouteExtensionAsync(string operationName, CallSettings callSettings = null)Asynchronously poll an operation once, using an operationName from a previous invocation of
DeleteLbRouteExtension.
| Parameters | |
|---|---|
| Name | Description |
operationName |
stringThe name of a previously invoked operation. Must not be |
callSettings |
CallSettingsIf not null, applies overrides to this RPC call. |
| Returns | |
|---|---|
| Type | Description |
TaskOperationEmptyOperationMetadata |
A task representing the result of polling the operation. |
PollOnceDeleteLbTrafficExtension(string, CallSettings)
public virtual Operation<Empty, OperationMetadata> PollOnceDeleteLbTrafficExtension(string operationName, CallSettings callSettings = null)Poll an operation once, using an operationName from a previous invocation of
DeleteLbTrafficExtension.
| Parameters | |
|---|---|
| Name | Description |
operationName |
stringThe name of a previously invoked operation. Must not be |
callSettings |
CallSettingsIf not null, applies overrides to this RPC call. |
| Returns | |
|---|---|
| Type | Description |
OperationEmptyOperationMetadata |
The result of polling the operation. |
PollOnceDeleteLbTrafficExtensionAsync(string, CallSettings)
public virtual Task<Operation<Empty, OperationMetadata>> PollOnceDeleteLbTrafficExtensionAsync(string operationName, CallSettings callSettings = null)Asynchronously poll an operation once, using an operationName from a previous invocation of
DeleteLbTrafficExtension.
| Parameters | |
|---|---|
| Name | Description |
operationName |
stringThe name of a previously invoked operation. Must not be |
callSettings |
CallSettingsIf not null, applies overrides to this RPC call. |
| Returns | |
|---|---|
| Type | Description |
TaskOperationEmptyOperationMetadata |
A task representing the result of polling the operation. |
PollOnceUpdateAuthzExtension(string, CallSettings)
public virtual Operation<AuthzExtension, OperationMetadata> PollOnceUpdateAuthzExtension(string operationName, CallSettings callSettings = null)Poll an operation once, using an operationName from a previous invocation of UpdateAuthzExtension
.
| Parameters | |
|---|---|
| Name | Description |
operationName |
stringThe name of a previously invoked operation. Must not be |
callSettings |
CallSettingsIf not null, applies overrides to this RPC call. |
| Returns | |
|---|---|
| Type | Description |
OperationAuthzExtensionOperationMetadata |
The result of polling the operation. |
PollOnceUpdateAuthzExtensionAsync(string, CallSettings)
public virtual Task<Operation<AuthzExtension, OperationMetadata>> PollOnceUpdateAuthzExtensionAsync(string operationName, CallSettings callSettings = null)Asynchronously poll an operation once, using an operationName from a previous invocation of
UpdateAuthzExtension.
| Parameters | |
|---|---|
| Name | Description |
operationName |
stringThe name of a previously invoked operation. Must not be |
callSettings |
CallSettingsIf not null, applies overrides to this RPC call. |
| Returns | |
|---|---|
| Type | Description |
TaskOperationAuthzExtensionOperationMetadata |
A task representing the result of polling the operation. |
PollOnceUpdateLbEdgeExtension(string, CallSettings)
public virtual Operation<LbEdgeExtension, OperationMetadata> PollOnceUpdateLbEdgeExtension(string operationName, CallSettings callSettings = null)Poll an operation once, using an operationName from a previous invocation of UpdateLbEdgeExtension
.
| Parameters | |
|---|---|
| Name | Description |
operationName |
stringThe name of a previously invoked operation. Must not be |
callSettings |
CallSettingsIf not null, applies overrides to this RPC call. |
| Returns | |
|---|---|
| Type | Description |
OperationLbEdgeExtensionOperationMetadata |
The result of polling the operation. |
PollOnceUpdateLbEdgeExtensionAsync(string, CallSettings)
public virtual Task<Operation<LbEdgeExtension, OperationMetadata>> PollOnceUpdateLbEdgeExtensionAsync(string operationName, CallSettings callSettings = null)Asynchronously poll an operation once, using an operationName from a previous invocation of
UpdateLbEdgeExtension.
| Parameters | |
|---|---|
| Name | Description |
operationName |
stringThe name of a previously invoked operation. Must not be |
callSettings |
CallSettingsIf not null, applies overrides to this RPC call. |
| Returns | |
|---|---|
| Type | Description |
TaskOperationLbEdgeExtensionOperationMetadata |
A task representing the result of polling the operation. |
PollOnceUpdateLbRouteExtension(string, CallSettings)
public virtual Operation<LbRouteExtension, OperationMetadata> PollOnceUpdateLbRouteExtension(string operationName, CallSettings callSettings = null)Poll an operation once, using an operationName from a previous invocation of
UpdateLbRouteExtension.
| Parameters | |
|---|---|
| Name | Description |
operationName |
stringThe name of a previously invoked operation. Must not be |
callSettings |
CallSettingsIf not null, applies overrides to this RPC call. |
| Returns | |
|---|---|
| Type | Description |
OperationLbRouteExtensionOperationMetadata |
The result of polling the operation. |
PollOnceUpdateLbRouteExtensionAsync(string, CallSettings)
public virtual Task<Operation<LbRouteExtension, OperationMetadata>> PollOnceUpdateLbRouteExtensionAsync(string operationName, CallSettings callSettings = null)Asynchronously poll an operation once, using an operationName from a previous invocation of
UpdateLbRouteExtension.
| Parameters | |
|---|---|
| Name | Description |
operationName |
stringThe name of a previously invoked operation. Must not be |
callSettings |
CallSettingsIf not null, applies overrides to this RPC call. |
| Returns | |
|---|---|
| Type | Description |
TaskOperationLbRouteExtensionOperationMetadata |
A task representing the result of polling the operation. |
PollOnceUpdateLbTrafficExtension(string, CallSettings)
public virtual Operation<LbTrafficExtension, OperationMetadata> PollOnceUpdateLbTrafficExtension(string operationName, CallSettings callSettings = null)Poll an operation once, using an operationName from a previous invocation of
UpdateLbTrafficExtension.
| Parameters | |
|---|---|
| Name | Description |
operationName |
stringThe name of a previously invoked operation. Must not be |
callSettings |
CallSettingsIf not null, applies overrides to this RPC call. |
| Returns | |
|---|---|
| Type | Description |
OperationLbTrafficExtensionOperationMetadata |
The result of polling the operation. |
PollOnceUpdateLbTrafficExtensionAsync(string, CallSettings)
public virtual Task<Operation<LbTrafficExtension, OperationMetadata>> PollOnceUpdateLbTrafficExtensionAsync(string operationName, CallSettings callSettings = null)Asynchronously poll an operation once, using an operationName from a previous invocation of
UpdateLbTrafficExtension.
| Parameters | |
|---|---|
| Name | Description |
operationName |
stringThe name of a previously invoked operation. Must not be |
callSettings |
CallSettingsIf not null, applies overrides to this RPC call. |
| Returns | |
|---|---|
| Type | Description |
TaskOperationLbTrafficExtensionOperationMetadata |
A task representing the result of polling the operation. |
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.
UpdateAuthzExtension(AuthzExtension, FieldMask, CallSettings)
public virtual Operation<AuthzExtension, OperationMetadata> UpdateAuthzExtension(AuthzExtension authzExtension, FieldMask updateMask, CallSettings callSettings = null)Updates the parameters of the specified AuthzExtension
resource.
| Parameters | |
|---|---|
| Name | Description |
authzExtension |
AuthzExtensionRequired. |
updateMask |
FieldMaskRequired. Used to specify the fields to be overwritten in the
|
callSettings |
CallSettingsIf not null, applies overrides to this RPC call. |
| Returns | |
|---|---|
| Type | Description |
OperationAuthzExtensionOperationMetadata |
The RPC response. |
// Create client
DepServiceClient depServiceClient = DepServiceClient.Create();
// Initialize request argument(s)
AuthzExtension authzExtension = new AuthzExtension();
FieldMask updateMask = new FieldMask();
// Make the request
Operation<AuthzExtension, OperationMetadata> response = depServiceClient.UpdateAuthzExtension(authzExtension, updateMask);
// Poll until the returned long-running operation is complete
Operation<AuthzExtension, OperationMetadata> completedResponse = response.PollUntilCompleted();
// Retrieve the operation result
AuthzExtension result = completedResponse.Result;
// Or get the name of the operation
string operationName = response.Name;
// This name can be stored, then the long-running operation retrieved later by name
Operation<AuthzExtension, OperationMetadata> retrievedResponse = depServiceClient.PollOnceUpdateAuthzExtension(operationName);
// Check if the retrieved long-running operation has completed
if (retrievedResponse.IsCompleted)
{
// If it has completed, then access the result
AuthzExtension retrievedResult = retrievedResponse.Result;
}
UpdateAuthzExtension(UpdateAuthzExtensionRequest, CallSettings)
public virtual Operation<AuthzExtension, OperationMetadata> UpdateAuthzExtension(UpdateAuthzExtensionRequest request, CallSettings callSettings = null)Updates the parameters of the specified AuthzExtension
resource.
| Parameters | |
|---|---|
| Name | Description |
request |
UpdateAuthzExtensionRequestThe request object containing all of the parameters for the API call. |
callSettings |
CallSettingsIf not null, applies overrides to this RPC call. |
| Returns | |
|---|---|
| Type | Description |
OperationAuthzExtensionOperationMetadata |
The RPC response. |
// Create client
DepServiceClient depServiceClient = DepServiceClient.Create();
// Initialize request argument(s)
UpdateAuthzExtensionRequest request = new UpdateAuthzExtensionRequest
{
UpdateMask = new FieldMask(),
AuthzExtension = new AuthzExtension(),
RequestId = "",
};
// Make the request
Operation<AuthzExtension, OperationMetadata> response = depServiceClient.UpdateAuthzExtension(request);
// Poll until the returned long-running operation is complete
Operation<AuthzExtension, OperationMetadata> completedResponse = response.PollUntilCompleted();
// Retrieve the operation result
AuthzExtension result = completedResponse.Result;
// Or get the name of the operation
string operationName = response.Name;
// This name can be stored, then the long-running operation retrieved later by name
Operation<AuthzExtension, OperationMetadata> retrievedResponse = depServiceClient.PollOnceUpdateAuthzExtension(operationName);
// Check if the retrieved long-running operation has completed
if (retrievedResponse.IsCompleted)
{
// If it has completed, then access the result
AuthzExtension retrievedResult = retrievedResponse.Result;
}
UpdateAuthzExtensionAsync(AuthzExtension, FieldMask, CallSettings)
public virtual Task<Operation<AuthzExtension, OperationMetadata>> UpdateAuthzExtensionAsync(AuthzExtension authzExtension, FieldMask updateMask, CallSettings callSettings = null)Updates the parameters of the specified AuthzExtension
resource.
| Parameters | |
|---|---|
| Name | Description |
authzExtension |
AuthzExtensionRequired. |
updateMask |
FieldMaskRequired. Used to specify the fields to be overwritten in the
|
callSettings |
CallSettingsIf not null, applies overrides to this RPC call. |
| Returns | |
|---|---|
| Type | Description |
TaskOperationAuthzExtensionOperationMetadata |
A Task containing the RPC response. |
// Create client
DepServiceClient depServiceClient = await DepServiceClient.CreateAsync();
// Initialize request argument(s)
AuthzExtension authzExtension = new AuthzExtension();
FieldMask updateMask = new FieldMask();
// Make the request
Operation<AuthzExtension, OperationMetadata> response = await depServiceClient.UpdateAuthzExtensionAsync(authzExtension, updateMask);
// Poll until the returned long-running operation is complete
Operation<AuthzExtension, OperationMetadata> completedResponse = await response.PollUntilCompletedAsync();
// Retrieve the operation result
AuthzExtension result = completedResponse.Result;
// Or get the name of the operation
string operationName = response.Name;
// This name can be stored, then the long-running operation retrieved later by name
Operation<AuthzExtension, OperationMetadata> retrievedResponse = await depServiceClient.PollOnceUpdateAuthzExtensionAsync(operationName);
// Check if the retrieved long-running operation has completed
if (retrievedResponse.IsCompleted)
{
// If it has completed, then access the result
AuthzExtension retrievedResult = retrievedResponse.Result;
}
UpdateAuthzExtensionAsync(AuthzExtension, FieldMask, CancellationToken)
public virtual Task<Operation<AuthzExtension, OperationMetadata>> UpdateAuthzExtensionAsync(AuthzExtension authzExtension, FieldMask updateMask, CancellationToken cancellationToken)Updates the parameters of the specified AuthzExtension
resource.
| Parameters | |
|---|---|
| Name | Description |
authzExtension |
AuthzExtensionRequired. |
updateMask |
FieldMaskRequired. Used to specify the fields to be overwritten in the
|
cancellationToken |
CancellationTokenA CancellationToken to use for this RPC. |
| Returns | |
|---|---|
| Type | Description |
TaskOperationAuthzExtensionOperationMetadata |
A Task containing the RPC response. |
// Create client
DepServiceClient depServiceClient = await DepServiceClient.CreateAsync();
// Initialize request argument(s)
AuthzExtension authzExtension = new AuthzExtension();
FieldMask updateMask = new FieldMask();
// Make the request
Operation<AuthzExtension, OperationMetadata> response = await depServiceClient.UpdateAuthzExtensionAsync(authzExtension, updateMask);
// Poll until the returned long-running operation is complete
Operation<AuthzExtension, OperationMetadata> completedResponse = await response.PollUntilCompletedAsync();
// Retrieve the operation result
AuthzExtension result = completedResponse.Result;
// Or get the name of the operation
string operationName = response.Name;
// This name can be stored, then the long-running operation retrieved later by name
Operation<AuthzExtension, OperationMetadata> retrievedResponse = await depServiceClient.PollOnceUpdateAuthzExtensionAsync(operationName);
// Check if the retrieved long-running operation has completed
if (retrievedResponse.IsCompleted)
{
// If it has completed, then access the result
AuthzExtension retrievedResult = retrievedResponse.Result;
}
UpdateAuthzExtensionAsync(UpdateAuthzExtensionRequest, CallSettings)
public virtual Task<Operation<AuthzExtension, OperationMetadata>> UpdateAuthzExtensionAsync(UpdateAuthzExtensionRequest request, CallSettings callSettings = null)Updates the parameters of the specified AuthzExtension
resource.
| Parameters | |
|---|---|
| Name | Description |
request |
UpdateAuthzExtensionRequestThe request object containing all of the parameters for the API call. |
callSettings |
CallSettingsIf not null, applies overrides to this RPC call. |
| Returns | |
|---|---|
| Type | Description |
TaskOperationAuthzExtensionOperationMetadata |
A Task containing the RPC response. |
// Create client
DepServiceClient depServiceClient = await DepServiceClient.CreateAsync();
// Initialize request argument(s)
UpdateAuthzExtensionRequest request = new UpdateAuthzExtensionRequest
{
UpdateMask = new FieldMask(),
AuthzExtension = new AuthzExtension(),
RequestId = "",
};
// Make the request
Operation<AuthzExtension, OperationMetadata> response = await depServiceClient.UpdateAuthzExtensionAsync(request);
// Poll until the returned long-running operation is complete
Operation<AuthzExtension, OperationMetadata> completedResponse = await response.PollUntilCompletedAsync();
// Retrieve the operation result
AuthzExtension result = completedResponse.Result;
// Or get the name of the operation
string operationName = response.Name;
// This name can be stored, then the long-running operation retrieved later by name
Operation<AuthzExtension, OperationMetadata> retrievedResponse = await depServiceClient.PollOnceUpdateAuthzExtensionAsync(operationName);
// Check if the retrieved long-running operation has completed
if (retrievedResponse.IsCompleted)
{
// If it has completed, then access the result
AuthzExtension retrievedResult = retrievedResponse.Result;
}
UpdateAuthzExtensionAsync(UpdateAuthzExtensionRequest, CancellationToken)
public virtual Task<Operation<AuthzExtension, OperationMetadata>> UpdateAuthzExtensionAsync(UpdateAuthzExtensionRequest request, CancellationToken cancellationToken)Updates the parameters of the specified AuthzExtension
resource.
| Parameters | |
|---|---|
| Name | Description |
request |
UpdateAuthzExtensionRequestThe request object containing all of the parameters for the API call. |
cancellationToken |
CancellationTokenA CancellationToken to use for this RPC. |
| Returns | |
|---|---|
| Type | Description |
TaskOperationAuthzExtensionOperationMetadata |
A Task containing the RPC response. |
// Create client
DepServiceClient depServiceClient = await DepServiceClient.CreateAsync();
// Initialize request argument(s)
UpdateAuthzExtensionRequest request = new UpdateAuthzExtensionRequest
{
UpdateMask = new FieldMask(),
AuthzExtension = new AuthzExtension(),
RequestId = "",
};
// Make the request
Operation<AuthzExtension, OperationMetadata> response = await depServiceClient.UpdateAuthzExtensionAsync(request);
// Poll until the returned long-running operation is complete
Operation<AuthzExtension, OperationMetadata> completedResponse = await response.PollUntilCompletedAsync();
// Retrieve the operation result
AuthzExtension result = completedResponse.Result;
// Or get the name of the operation
string operationName = response.Name;
// This name can be stored, then the long-running operation retrieved later by name
Operation<AuthzExtension, OperationMetadata> retrievedResponse = await depServiceClient.PollOnceUpdateAuthzExtensionAsync(operationName);
// Check if the retrieved long-running operation has completed
if (retrievedResponse.IsCompleted)
{
// If it has completed, then access the result
AuthzExtension retrievedResult = retrievedResponse.Result;
}
UpdateLbEdgeExtension(LbEdgeExtension, FieldMask, CallSettings)
public virtual Operation<LbEdgeExtension, OperationMetadata> UpdateLbEdgeExtension(LbEdgeExtension lbEdgeExtension, FieldMask updateMask, CallSettings callSettings = null)Updates the parameters of the specified LbEdgeExtension resource.
| Parameters | |
|---|---|
| Name | Description |
lbEdgeExtension |
LbEdgeExtensionRequired. |
updateMask |
FieldMaskOptional. Used to specify the fields to be overwritten in the
|
callSettings |
CallSettingsIf not null, applies overrides to this RPC call. |
| Returns | |
|---|---|
| Type | Description |
OperationLbEdgeExtensionOperationMetadata |
The RPC response. |
// Create client
DepServiceClient depServiceClient = DepServiceClient.Create();
// Initialize request argument(s)
LbEdgeExtension lbEdgeExtension = new LbEdgeExtension();
FieldMask updateMask = new FieldMask();
// Make the request
Operation<LbEdgeExtension, OperationMetadata> response = depServiceClient.UpdateLbEdgeExtension(lbEdgeExtension, updateMask);
// Poll until the returned long-running operation is complete
Operation<LbEdgeExtension, OperationMetadata> completedResponse = response.PollUntilCompleted();
// Retrieve the operation result
LbEdgeExtension result = completedResponse.Result;
// Or get the name of the operation
string operationName = response.Name;
// This name can be stored, then the long-running operation retrieved later by name
Operation<LbEdgeExtension, OperationMetadata> retrievedResponse = depServiceClient.PollOnceUpdateLbEdgeExtension(operationName);
// Check if the retrieved long-running operation has completed
if (retrievedResponse.IsCompleted)
{
// If it has completed, then access the result
LbEdgeExtension retrievedResult = retrievedResponse.Result;
}
UpdateLbEdgeExtension(UpdateLbEdgeExtensionRequest, CallSettings)
public virtual Operation<LbEdgeExtension, OperationMetadata> UpdateLbEdgeExtension(UpdateLbEdgeExtensionRequest request, CallSettings callSettings = null)Updates the parameters of the specified LbEdgeExtension resource.
| Parameters | |
|---|---|
| Name | Description |
request |
UpdateLbEdgeExtensionRequestThe request object containing all of the parameters for the API call. |
callSettings |
CallSettingsIf not null, applies overrides to this RPC call. |
| Returns | |
|---|---|
| Type | Description |
OperationLbEdgeExtensionOperationMetadata |
The RPC response. |
// Create client
DepServiceClient depServiceClient = DepServiceClient.Create();
// Initialize request argument(s)
UpdateLbEdgeExtensionRequest request = new UpdateLbEdgeExtensionRequest
{
UpdateMask = new FieldMask(),
LbEdgeExtension = new LbEdgeExtension(),
RequestId = "",
};
// Make the request
Operation<LbEdgeExtension, OperationMetadata> response = depServiceClient.UpdateLbEdgeExtension(request);
// Poll until the returned long-running operation is complete
Operation<LbEdgeExtension, OperationMetadata> completedResponse = response.PollUntilCompleted();
// Retrieve the operation result
LbEdgeExtension result = completedResponse.Result;
// Or get the name of the operation
string operationName = response.Name;
// This name can be stored, then the long-running operation retrieved later by name
Operation<LbEdgeExtension, OperationMetadata> retrievedResponse = depServiceClient.PollOnceUpdateLbEdgeExtension(operationName);
// Check if the retrieved long-running operation has completed
if (retrievedResponse.IsCompleted)
{
// If it has completed, then access the result
LbEdgeExtension retrievedResult = retrievedResponse.Result;
}
UpdateLbEdgeExtensionAsync(LbEdgeExtension, FieldMask, CallSettings)
public virtual Task<Operation<LbEdgeExtension, OperationMetadata>> UpdateLbEdgeExtensionAsync(LbEdgeExtension lbEdgeExtension, FieldMask updateMask, CallSettings callSettings = null)Updates the parameters of the specified LbEdgeExtension resource.
| Parameters | |
|---|---|
| Name | Description |
lbEdgeExtension |
LbEdgeExtensionRequired. |
updateMask |
FieldMaskOptional. Used to specify the fields to be overwritten in the
|
callSettings |
CallSettingsIf not null, applies overrides to this RPC call. |
| Returns | |
|---|---|
| Type | Description |
TaskOperationLbEdgeExtensionOperationMetadata |
A Task containing the RPC response. |
// Create client
DepServiceClient depServiceClient = await DepServiceClient.CreateAsync();
// Initialize request argument(s)
LbEdgeExtension lbEdgeExtension = new LbEdgeExtension();
FieldMask updateMask = new FieldMask();
// Make the request
Operation<LbEdgeExtension, OperationMetadata> response = await depServiceClient.UpdateLbEdgeExtensionAsync(lbEdgeExtension, updateMask);
// Poll until the returned long-running operation is complete
Operation<LbEdgeExtension, OperationMetadata> completedResponse = await response.PollUntilCompletedAsync();
// Retrieve the operation result
LbEdgeExtension result = completedResponse.Result;
// Or get the name of the operation
string operationName = response.Name;
// This name can be stored, then the long-running operation retrieved later by name
Operation<LbEdgeExtension, OperationMetadata> retrievedResponse = await depServiceClient.PollOnceUpdateLbEdgeExtensionAsync(operationName);
// Check if the retrieved long-running operation has completed
if (retrievedResponse.IsCompleted)
{
// If it has completed, then access the result
LbEdgeExtension retrievedResult = retrievedResponse.Result;
}
UpdateLbEdgeExtensionAsync(LbEdgeExtension, FieldMask, CancellationToken)
public virtual Task<Operation<LbEdgeExtension, OperationMetadata>> UpdateLbEdgeExtensionAsync(LbEdgeExtension lbEdgeExtension, FieldMask updateMask, CancellationToken cancellationToken)Updates the parameters of the specified LbEdgeExtension resource.
| Parameters | |
|---|---|
| Name | Description |
lbEdgeExtension |
LbEdgeExtensionRequired. |
updateMask |
FieldMaskOptional. Used to specify the fields to be overwritten in the
|
cancellationToken |
CancellationTokenA CancellationToken to use for this RPC. |
| Returns | |
|---|---|
| Type | Description |
TaskOperationLbEdgeExtensionOperationMetadata |
A Task containing the RPC response. |
// Create client
DepServiceClient depServiceClient = await DepServiceClient.CreateAsync();
// Initialize request argument(s)
LbEdgeExtension lbEdgeExtension = new LbEdgeExtension();
FieldMask updateMask = new FieldMask();
// Make the request
Operation<LbEdgeExtension, OperationMetadata> response = await depServiceClient.UpdateLbEdgeExtensionAsync(lbEdgeExtension, updateMask);
// Poll until the returned long-running operation is complete
Operation<LbEdgeExtension, OperationMetadata> completedResponse = await response.PollUntilCompletedAsync();
// Retrieve the operation result
LbEdgeExtension result = completedResponse.Result;
// Or get the name of the operation
string operationName = response.Name;
// This name can be stored, then the long-running operation retrieved later by name
Operation<LbEdgeExtension, OperationMetadata> retrievedResponse = await depServiceClient.PollOnceUpdateLbEdgeExtensionAsync(operationName);
// Check if the retrieved long-running operation has completed
if (retrievedResponse.IsCompleted)
{
// If it has completed, then access the result
LbEdgeExtension retrievedResult = retrievedResponse.Result;
}
UpdateLbEdgeExtensionAsync(UpdateLbEdgeExtensionRequest, CallSettings)
public virtual Task<Operation<LbEdgeExtension, OperationMetadata>> UpdateLbEdgeExtensionAsync(UpdateLbEdgeExtensionRequest request, CallSettings callSettings = null)Updates the parameters of the specified LbEdgeExtension resource.
| Parameters | |
|---|---|
| Name | Description |
request |
UpdateLbEdgeExtensionRequestThe request object containing all of the parameters for the API call. |
callSettings |
CallSettingsIf not null, applies overrides to this RPC call. |
| Returns | |
|---|---|
| Type | Description |
TaskOperationLbEdgeExtensionOperationMetadata |
A Task containing the RPC response. |
// Create client
DepServiceClient depServiceClient = await DepServiceClient.CreateAsync();
// Initialize request argument(s)
UpdateLbEdgeExtensionRequest request = new UpdateLbEdgeExtensionRequest
{
UpdateMask = new FieldMask(),
LbEdgeExtension = new LbEdgeExtension(),
RequestId = "",
};
// Make the request
Operation<LbEdgeExtension, OperationMetadata> response = await depServiceClient.UpdateLbEdgeExtensionAsync(request);
// Poll until the returned long-running operation is complete
Operation<LbEdgeExtension, OperationMetadata> completedResponse = await response.PollUntilCompletedAsync();
// Retrieve the operation result
LbEdgeExtension result = completedResponse.Result;
// Or get the name of the operation
string operationName = response.Name;
// This name can be stored, then the long-running operation retrieved later by name
Operation<LbEdgeExtension, OperationMetadata> retrievedResponse = await depServiceClient.PollOnceUpdateLbEdgeExtensionAsync(operationName);
// Check if the retrieved long-running operation has completed
if (retrievedResponse.IsCompleted)
{
// If it has completed, then access the result
LbEdgeExtension retrievedResult = retrievedResponse.Result;
}
UpdateLbEdgeExtensionAsync(UpdateLbEdgeExtensionRequest, CancellationToken)
public virtual Task<Operation<LbEdgeExtension, OperationMetadata>> UpdateLbEdgeExtensionAsync(UpdateLbEdgeExtensionRequest request, CancellationToken cancellationToken)Updates the parameters of the specified LbEdgeExtension resource.
| Parameters | |
|---|---|
| Name | Description |
request |
UpdateLbEdgeExtensionRequestThe request object containing all of the parameters for the API call. |
cancellationToken |
CancellationTokenA CancellationToken to use for this RPC. |
| Returns | |
|---|---|
| Type | Description |
TaskOperationLbEdgeExtensionOperationMetadata |
A Task containing the RPC response. |
// Create client
DepServiceClient depServiceClient = await DepServiceClient.CreateAsync();
// Initialize request argument(s)
UpdateLbEdgeExtensionRequest request = new UpdateLbEdgeExtensionRequest
{
UpdateMask = new FieldMask(),
LbEdgeExtension = new LbEdgeExtension(),
RequestId = "",
};
// Make the request
Operation<LbEdgeExtension, OperationMetadata> response = await depServiceClient.UpdateLbEdgeExtensionAsync(request);
// Poll until the returned long-running operation is complete
Operation<LbEdgeExtension, OperationMetadata> completedResponse = await response.PollUntilCompletedAsync();
// Retrieve the operation result
LbEdgeExtension result = completedResponse.Result;
// Or get the name of the operation
string operationName = response.Name;
// This name can be stored, then the long-running operation retrieved later by name
Operation<LbEdgeExtension, OperationMetadata> retrievedResponse = await depServiceClient.PollOnceUpdateLbEdgeExtensionAsync(operationName);
// Check if the retrieved long-running operation has completed
if (retrievedResponse.IsCompleted)
{
// If it has completed, then access the result
LbEdgeExtension retrievedResult = retrievedResponse.Result;
}
UpdateLbRouteExtension(LbRouteExtension, FieldMask, CallSettings)
public virtual Operation<LbRouteExtension, OperationMetadata> UpdateLbRouteExtension(LbRouteExtension lbRouteExtension, FieldMask updateMask, CallSettings callSettings = null)Updates the parameters of the specified LbRouteExtension resource.
| Parameters | |
|---|---|
| Name | Description |
lbRouteExtension |
LbRouteExtensionRequired. |
updateMask |
FieldMaskOptional. Used to specify the fields to be overwritten in the
|
callSettings |
CallSettingsIf not null, applies overrides to this RPC call. |
| Returns | |
|---|---|
| Type | Description |
OperationLbRouteExtensionOperationMetadata |
The RPC response. |
// Create client
DepServiceClient depServiceClient = DepServiceClient.Create();
// Initialize request argument(s)
LbRouteExtension lbRouteExtension = new LbRouteExtension();
FieldMask updateMask = new FieldMask();
// Make the request
Operation<LbRouteExtension, OperationMetadata> response = depServiceClient.UpdateLbRouteExtension(lbRouteExtension, updateMask);
// Poll until the returned long-running operation is complete
Operation<LbRouteExtension, OperationMetadata> completedResponse = response.PollUntilCompleted();
// Retrieve the operation result
LbRouteExtension result = completedResponse.Result;
// Or get the name of the operation
string operationName = response.Name;
// This name can be stored, then the long-running operation retrieved later by name
Operation<LbRouteExtension, OperationMetadata> retrievedResponse = depServiceClient.PollOnceUpdateLbRouteExtension(operationName);
// Check if the retrieved long-running operation has completed
if (retrievedResponse.IsCompleted)
{
// If it has completed, then access the result
LbRouteExtension retrievedResult = retrievedResponse.Result;
}
UpdateLbRouteExtension(UpdateLbRouteExtensionRequest, CallSettings)
public virtual Operation<LbRouteExtension, OperationMetadata> UpdateLbRouteExtension(UpdateLbRouteExtensionRequest request, CallSettings callSettings = null)Updates the parameters of the specified LbRouteExtension resource.
| Parameters | |
|---|---|
| Name | Description |
request |
UpdateLbRouteExtensionRequestThe request object containing all of the parameters for the API call. |
callSettings |
CallSettingsIf not null, applies overrides to this RPC call. |
| Returns | |
|---|---|
| Type | Description |
OperationLbRouteExtensionOperationMetadata |
The RPC response. |
// Create client
DepServiceClient depServiceClient = DepServiceClient.Create();
// Initialize request argument(s)
UpdateLbRouteExtensionRequest request = new UpdateLbRouteExtensionRequest
{
UpdateMask = new FieldMask(),
LbRouteExtension = new LbRouteExtension(),
RequestId = "",
};
// Make the request
Operation<LbRouteExtension, OperationMetadata> response = depServiceClient.UpdateLbRouteExtension(request);
// Poll until the returned long-running operation is complete
Operation<LbRouteExtension, OperationMetadata> completedResponse = response.PollUntilCompleted();
// Retrieve the operation result
LbRouteExtension result = completedResponse.Result;
// Or get the name of the operation
string operationName = response.Name;
// This name can be stored, then the long-running operation retrieved later by name
Operation<LbRouteExtension, OperationMetadata> retrievedResponse = depServiceClient.PollOnceUpdateLbRouteExtension(operationName);
// Check if the retrieved long-running operation has completed
if (retrievedResponse.IsCompleted)
{
// If it has completed, then access the result
LbRouteExtension retrievedResult = retrievedResponse.Result;
}
UpdateLbRouteExtensionAsync(LbRouteExtension, FieldMask, CallSettings)
public virtual Task<Operation<LbRouteExtension, OperationMetadata>> UpdateLbRouteExtensionAsync(LbRouteExtension lbRouteExtension, FieldMask updateMask, CallSettings callSettings = null)Updates the parameters of the specified LbRouteExtension resource.
| Parameters | |
|---|---|
| Name | Description |
lbRouteExtension |
LbRouteExtensionRequired. |
updateMask |
FieldMaskOptional. Used to specify the fields to be overwritten in the
|
callSettings |
CallSettingsIf not null, applies overrides to this RPC call. |
| Returns | |
|---|---|
| Type | Description |
TaskOperationLbRouteExtensionOperationMetadata |
A Task containing the RPC response. |
// Create client
DepServiceClient depServiceClient = await DepServiceClient.CreateAsync();
// Initialize request argument(s)
LbRouteExtension lbRouteExtension = new LbRouteExtension();
FieldMask updateMask = new FieldMask();
// Make the request
Operation<LbRouteExtension, OperationMetadata> response = await depServiceClient.UpdateLbRouteExtensionAsync(lbRouteExtension, updateMask);
// Poll until the returned long-running operation is complete
Operation<LbRouteExtension, OperationMetadata> completedResponse = await response.PollUntilCompletedAsync();
// Retrieve the operation result
LbRouteExtension result = completedResponse.Result;
// Or get the name of the operation
string operationName = response.Name;
// This name can be stored, then the long-running operation retrieved later by name
Operation<LbRouteExtension, OperationMetadata> retrievedResponse = await depServiceClient.PollOnceUpdateLbRouteExtensionAsync(operationName);
// Check if the retrieved long-running operation has completed
if (retrievedResponse.IsCompleted)
{
// If it has completed, then access the result
LbRouteExtension retrievedResult = retrievedResponse.Result;
}
UpdateLbRouteExtensionAsync(LbRouteExtension, FieldMask, CancellationToken)
public virtual Task<Operation<LbRouteExtension, OperationMetadata>> UpdateLbRouteExtensionAsync(LbRouteExtension lbRouteExtension, FieldMask updateMask, CancellationToken cancellationToken)Updates the parameters of the specified LbRouteExtension resource.
| Parameters | |
|---|---|
| Name | Description |
lbRouteExtension |
LbRouteExtensionRequired. |
updateMask |
FieldMaskOptional. Used to specify the fields to be overwritten in the
|
cancellationToken |
CancellationTokenA CancellationToken to use for this RPC. |
| Returns | |
|---|---|
| Type | Description |
TaskOperationLbRouteExtensionOperationMetadata |
A Task containing the RPC response. |
// Create client
DepServiceClient depServiceClient = await DepServiceClient.CreateAsync();
// Initialize request argument(s)
LbRouteExtension lbRouteExtension = new LbRouteExtension();
FieldMask updateMask = new FieldMask();
// Make the request
Operation<LbRouteExtension, OperationMetadata> response = await depServiceClient.UpdateLbRouteExtensionAsync(lbRouteExtension, updateMask);
// Poll until the returned long-running operation is complete
Operation<LbRouteExtension, OperationMetadata> completedResponse = await response.PollUntilCompletedAsync();
// Retrieve the operation result
LbRouteExtension result = completedResponse.Result;
// Or get the name of the operation
string operationName = response.Name;
// This name can be stored, then the long-running operation retrieved later by name
Operation<LbRouteExtension, OperationMetadata> retrievedResponse = await depServiceClient.PollOnceUpdateLbRouteExtensionAsync(operationName);
// Check if the retrieved long-running operation has completed
if (retrievedResponse.IsCompleted)
{
// If it has completed, then access the result
LbRouteExtension retrievedResult = retrievedResponse.Result;
}
UpdateLbRouteExtensionAsync(UpdateLbRouteExtensionRequest, CallSettings)
public virtual Task<Operation<LbRouteExtension, OperationMetadata>> UpdateLbRouteExtensionAsync(UpdateLbRouteExtensionRequest request, CallSettings callSettings = null)Updates the parameters of the specified LbRouteExtension resource.
| Parameters | |
|---|---|
| Name | Description |
request |
UpdateLbRouteExtensionRequestThe request object containing all of the parameters for the API call. |
callSettings |
CallSettingsIf not null, applies overrides to this RPC call. |
| Returns | |
|---|---|
| Type | Description |
TaskOperationLbRouteExtensionOperationMetadata |
A Task containing the RPC response. |
// Create client
DepServiceClient depServiceClient = await DepServiceClient.CreateAsync();
// Initialize request argument(s)
UpdateLbRouteExtensionRequest request = new UpdateLbRouteExtensionRequest
{
UpdateMask = new FieldMask(),
LbRouteExtension = new LbRouteExtension(),
RequestId = "",
};
// Make the request
Operation<LbRouteExtension, OperationMetadata> response = await depServiceClient.UpdateLbRouteExtensionAsync(request);
// Poll until the returned long-running operation is complete
Operation<LbRouteExtension, OperationMetadata> completedResponse = await response.PollUntilCompletedAsync();
// Retrieve the operation result
LbRouteExtension result = completedResponse.Result;
// Or get the name of the operation
string operationName = response.Name;
// This name can be stored, then the long-running operation retrieved later by name
Operation<LbRouteExtension, OperationMetadata> retrievedResponse = await depServiceClient.PollOnceUpdateLbRouteExtensionAsync(operationName);
// Check if the retrieved long-running operation has completed
if (retrievedResponse.IsCompleted)
{
// If it has completed, then access the result
LbRouteExtension retrievedResult = retrievedResponse.Result;
}
UpdateLbRouteExtensionAsync(UpdateLbRouteExtensionRequest, CancellationToken)
public virtual Task<Operation<LbRouteExtension, OperationMetadata>> UpdateLbRouteExtensionAsync(UpdateLbRouteExtensionRequest request, CancellationToken cancellationToken)Updates the parameters of the specified LbRouteExtension resource.
| Parameters | |
|---|---|
| Name | Description |
request |
UpdateLbRouteExtensionRequestThe request object containing all of the parameters for the API call. |
cancellationToken |
CancellationTokenA CancellationToken to use for this RPC. |
| Returns | |
|---|---|
| Type | Description |
TaskOperationLbRouteExtensionOperationMetadata |
A Task containing the RPC response. |
// Create client
DepServiceClient depServiceClient = await DepServiceClient.CreateAsync();
// Initialize request argument(s)
UpdateLbRouteExtensionRequest request = new UpdateLbRouteExtensionRequest
{
UpdateMask = new FieldMask(),
LbRouteExtension = new LbRouteExtension(),
RequestId = "",
};
// Make the request
Operation<LbRouteExtension, OperationMetadata> response = await depServiceClient.UpdateLbRouteExtensionAsync(request);
// Poll until the returned long-running operation is complete
Operation<LbRouteExtension, OperationMetadata> completedResponse = await response.PollUntilCompletedAsync();
// Retrieve the operation result
LbRouteExtension result = completedResponse.Result;
// Or get the name of the operation
string operationName = response.Name;
// This name can be stored, then the long-running operation retrieved later by name
Operation<LbRouteExtension, OperationMetadata> retrievedResponse = await depServiceClient.PollOnceUpdateLbRouteExtensionAsync(operationName);
// Check if the retrieved long-running operation has completed
if (retrievedResponse.IsCompleted)
{
// If it has completed, then access the result
LbRouteExtension retrievedResult = retrievedResponse.Result;
}
UpdateLbTrafficExtension(LbTrafficExtension, FieldMask, CallSettings)
public virtual Operation<LbTrafficExtension, OperationMetadata> UpdateLbTrafficExtension(LbTrafficExtension lbTrafficExtension, FieldMask updateMask, CallSettings callSettings = null)Updates the parameters of the specified LbTrafficExtension resource.
| Parameters | |
|---|---|
| Name | Description |
lbTrafficExtension |
LbTrafficExtensionRequired. |
updateMask |
FieldMaskOptional. Used to specify the fields to be overwritten in the
|
callSettings |
CallSettingsIf not null, applies overrides to this RPC call. |
| Returns | |
|---|---|
| Type | Description |
OperationLbTrafficExtensionOperationMetadata |
The RPC response. |
// Create client
DepServiceClient depServiceClient = DepServiceClient.Create();
// Initialize request argument(s)
LbTrafficExtension lbTrafficExtension = new LbTrafficExtension();
FieldMask updateMask = new FieldMask();
// Make the request
Operation<LbTrafficExtension, OperationMetadata> response = depServiceClient.UpdateLbTrafficExtension(lbTrafficExtension, updateMask);
// Poll until the returned long-running operation is complete
Operation<LbTrafficExtension, OperationMetadata> completedResponse = response.PollUntilCompleted();
// Retrieve the operation result
LbTrafficExtension result = completedResponse.Result;
// Or get the name of the operation
string operationName = response.Name;
// This name can be stored, then the long-running operation retrieved later by name
Operation<LbTrafficExtension, OperationMetadata> retrievedResponse = depServiceClient.PollOnceUpdateLbTrafficExtension(operationName);
// Check if the retrieved long-running operation has completed
if (retrievedResponse.IsCompleted)
{
// If it has completed, then access the result
LbTrafficExtension retrievedResult = retrievedResponse.Result;
}
UpdateLbTrafficExtension(UpdateLbTrafficExtensionRequest, CallSettings)
public virtual Operation<LbTrafficExtension, OperationMetadata> UpdateLbTrafficExtension(UpdateLbTrafficExtensionRequest request, CallSettings callSettings = null)Updates the parameters of the specified LbTrafficExtension resource.
| Parameters | |
|---|---|
| Name | Description |
request |
UpdateLbTrafficExtensionRequestThe request object containing all of the parameters for the API call. |
callSettings |
CallSettingsIf not null, applies overrides to this RPC call. |
| Returns | |
|---|---|
| Type | Description |
OperationLbTrafficExtensionOperationMetadata |
The RPC response. |
// Create client
DepServiceClient depServiceClient = DepServiceClient.Create();
// Initialize request argument(s)
UpdateLbTrafficExtensionRequest request = new UpdateLbTrafficExtensionRequest
{
UpdateMask = new FieldMask(),
LbTrafficExtension = new LbTrafficExtension(),
RequestId = "",
};
// Make the request
Operation<LbTrafficExtension, OperationMetadata> response = depServiceClient.UpdateLbTrafficExtension(request);
// Poll until the returned long-running operation is complete
Operation<LbTrafficExtension, OperationMetadata> completedResponse = response.PollUntilCompleted();
// Retrieve the operation result
LbTrafficExtension result = completedResponse.Result;
// Or get the name of the operation
string operationName = response.Name;
// This name can be stored, then the long-running operation retrieved later by name
Operation<LbTrafficExtension, OperationMetadata> retrievedResponse = depServiceClient.PollOnceUpdateLbTrafficExtension(operationName);
// Check if the retrieved long-running operation has completed
if (retrievedResponse.IsCompleted)
{
// If it has completed, then access the result
LbTrafficExtension retrievedResult = retrievedResponse.Result;
}
UpdateLbTrafficExtensionAsync(LbTrafficExtension, FieldMask, CallSettings)
public virtual Task<Operation<LbTrafficExtension, OperationMetadata>> UpdateLbTrafficExtensionAsync(LbTrafficExtension lbTrafficExtension, FieldMask updateMask, CallSettings callSettings = null)Updates the parameters of the specified LbTrafficExtension resource.
| Parameters | |
|---|---|
| Name | Description |
lbTrafficExtension |
LbTrafficExtensionRequired. |
updateMask |
FieldMaskOptional. Used to specify the fields to be overwritten in the
|
callSettings |
CallSettingsIf not null, applies overrides to this RPC call. |
| Returns | |
|---|---|
| Type | Description |
TaskOperationLbTrafficExtensionOperationMetadata |
A Task containing the RPC response. |
// Create client
DepServiceClient depServiceClient = await DepServiceClient.CreateAsync();
// Initialize request argument(s)
LbTrafficExtension lbTrafficExtension = new LbTrafficExtension();
FieldMask updateMask = new FieldMask();
// Make the request
Operation<LbTrafficExtension, OperationMetadata> response = await depServiceClient.UpdateLbTrafficExtensionAsync(lbTrafficExtension, updateMask);
// Poll until the returned long-running operation is complete
Operation<LbTrafficExtension, OperationMetadata> completedResponse = await response.PollUntilCompletedAsync();
// Retrieve the operation result
LbTrafficExtension result = completedResponse.Result;
// Or get the name of the operation
string operationName = response.Name;
// This name can be stored, then the long-running operation retrieved later by name
Operation<LbTrafficExtension, OperationMetadata> retrievedResponse = await depServiceClient.PollOnceUpdateLbTrafficExtensionAsync(operationName);
// Check if the retrieved long-running operation has completed
if (retrievedResponse.IsCompleted)
{
// If it has completed, then access the result
LbTrafficExtension retrievedResult = retrievedResponse.Result;
}
UpdateLbTrafficExtensionAsync(LbTrafficExtension, FieldMask, CancellationToken)
public virtual Task<Operation<LbTrafficExtension, OperationMetadata>> UpdateLbTrafficExtensionAsync(LbTrafficExtension lbTrafficExtension, FieldMask updateMask, CancellationToken cancellationToken)Updates the parameters of the specified LbTrafficExtension resource.
| Parameters | |
|---|---|
| Name | Description |
lbTrafficExtension |
LbTrafficExtensionRequired. |
updateMask |
FieldMaskOptional. Used to specify the fields to be overwritten in the
|
cancellationToken |
CancellationTokenA CancellationToken to use for this RPC. |
| Returns | |
|---|---|
| Type | Description |
TaskOperationLbTrafficExtensionOperationMetadata |
A Task containing the RPC response. |
// Create client
DepServiceClient depServiceClient = await DepServiceClient.CreateAsync();
// Initialize request argument(s)
LbTrafficExtension lbTrafficExtension = new LbTrafficExtension();
FieldMask updateMask = new FieldMask();
// Make the request
Operation<LbTrafficExtension, OperationMetadata> response = await depServiceClient.UpdateLbTrafficExtensionAsync(lbTrafficExtension, updateMask);
// Poll until the returned long-running operation is complete
Operation<LbTrafficExtension, OperationMetadata> completedResponse = await response.PollUntilCompletedAsync();
// Retrieve the operation result
LbTrafficExtension result = completedResponse.Result;
// Or get the name of the operation
string operationName = response.Name;
// This name can be stored, then the long-running operation retrieved later by name
Operation<LbTrafficExtension, OperationMetadata> retrievedResponse = await depServiceClient.PollOnceUpdateLbTrafficExtensionAsync(operationName);
// Check if the retrieved long-running operation has completed
if (retrievedResponse.IsCompleted)
{
// If it has completed, then access the result
LbTrafficExtension retrievedResult = retrievedResponse.Result;
}
UpdateLbTrafficExtensionAsync(UpdateLbTrafficExtensionRequest, CallSettings)
public virtual Task<Operation<LbTrafficExtension, OperationMetadata>> UpdateLbTrafficExtensionAsync(UpdateLbTrafficExtensionRequest request, CallSettings callSettings = null)Updates the parameters of the specified LbTrafficExtension resource.
| Parameters | |
|---|---|
| Name | Description |
request |
UpdateLbTrafficExtensionRequestThe request object containing all of the parameters for the API call. |
callSettings |
CallSettingsIf not null, applies overrides to this RPC call. |
| Returns | |
|---|---|
| Type | Description |
TaskOperationLbTrafficExtensionOperationMetadata |
A Task containing the RPC response. |
// Create client
DepServiceClient depServiceClient = await DepServiceClient.CreateAsync();
// Initialize request argument(s)
UpdateLbTrafficExtensionRequest request = new UpdateLbTrafficExtensionRequest
{
UpdateMask = new FieldMask(),
LbTrafficExtension = new LbTrafficExtension(),
RequestId = "",
};
// Make the request
Operation<LbTrafficExtension, OperationMetadata> response = await depServiceClient.UpdateLbTrafficExtensionAsync(request);
// Poll until the returned long-running operation is complete
Operation<LbTrafficExtension, OperationMetadata> completedResponse = await response.PollUntilCompletedAsync();
// Retrieve the operation result
LbTrafficExtension result = completedResponse.Result;
// Or get the name of the operation
string operationName = response.Name;
// This name can be stored, then the long-running operation retrieved later by name
Operation<LbTrafficExtension, OperationMetadata> retrievedResponse = await depServiceClient.PollOnceUpdateLbTrafficExtensionAsync(operationName);
// Check if the retrieved long-running operation has completed
if (retrievedResponse.IsCompleted)
{
// If it has completed, then access the result
LbTrafficExtension retrievedResult = retrievedResponse.Result;
}
UpdateLbTrafficExtensionAsync(UpdateLbTrafficExtensionRequest, CancellationToken)
public virtual Task<Operation<LbTrafficExtension, OperationMetadata>> UpdateLbTrafficExtensionAsync(UpdateLbTrafficExtensionRequest request, CancellationToken cancellationToken)Updates the parameters of the specified LbTrafficExtension resource.
| Parameters | |
|---|---|
| Name | Description |
request |
UpdateLbTrafficExtensionRequestThe request object containing all of the parameters for the API call. |
cancellationToken |
CancellationTokenA CancellationToken to use for this RPC. |
| Returns | |
|---|---|
| Type | Description |
TaskOperationLbTrafficExtensionOperationMetadata |
A Task containing the RPC response. |
// Create client
DepServiceClient depServiceClient = await DepServiceClient.CreateAsync();
// Initialize request argument(s)
UpdateLbTrafficExtensionRequest request = new UpdateLbTrafficExtensionRequest
{
UpdateMask = new FieldMask(),
LbTrafficExtension = new LbTrafficExtension(),
RequestId = "",
};
// Make the request
Operation<LbTrafficExtension, OperationMetadata> response = await depServiceClient.UpdateLbTrafficExtensionAsync(request);
// Poll until the returned long-running operation is complete
Operation<LbTrafficExtension, OperationMetadata> completedResponse = await response.PollUntilCompletedAsync();
// Retrieve the operation result
LbTrafficExtension result = completedResponse.Result;
// Or get the name of the operation
string operationName = response.Name;
// This name can be stored, then the long-running operation retrieved later by name
Operation<LbTrafficExtension, OperationMetadata> retrievedResponse = await depServiceClient.PollOnceUpdateLbTrafficExtensionAsync(operationName);
// Check if the retrieved long-running operation has completed
if (retrievedResponse.IsCompleted)
{
// If it has completed, then access the result
LbTrafficExtension retrievedResult = retrievedResponse.Result;
}