public abstract class TargetSslProxiesClientReference documentation and code samples for the Compute Engine v1 API class TargetSslProxiesClient.
TargetSslProxies client wrapper, for convenient use. This client implements API version 2026-09-01.
Derived Types
Namespace
Google.Cloud.Compute.V1Assembly
Google.Cloud.Compute.V1.dll
Remarks
The TargetSslProxies API.
Properties
DefaultEndpoint
public static string DefaultEndpoint { get; }The default endpoint for the TargetSslProxies service, which is a host of "compute.googleapis.com" and a port of 443.
| Property Value | |
|---|---|
| Type | Description |
string |
|
DefaultScopes
public static IReadOnlyList DefaultScopes { get; } The default TargetSslProxies scopes.
| Property Value | |
|---|---|
| Type | Description |
IReadOnlyListstring |
|
The default TargetSslProxies scopes are:
DeleteOperationsClient
public virtual OperationsClient DeleteOperationsClient { get; }The long-running operations client for Delete.
| Property Value | |
|---|---|
| Type | Description |
OperationsClient |
|
GrpcClient
public virtual TargetSslProxies.TargetSslProxiesClient GrpcClient { get; }The underlying gRPC TargetSslProxies client
| Property Value | |
|---|---|
| Type | Description |
TargetSslProxiesTargetSslProxiesClient |
|
InsertOperationsClient
public virtual OperationsClient InsertOperationsClient { get; }The long-running operations client for Insert.
| Property Value | |
|---|---|
| Type | Description |
OperationsClient |
|
ServiceMetadata
public static ServiceMetadata ServiceMetadata { get; }The service metadata associated with this client type.
| Property Value | |
|---|---|
| Type | Description |
ServiceMetadata |
|
SetBackendServiceOperationsClient
public virtual OperationsClient SetBackendServiceOperationsClient { get; }The long-running operations client for SetBackendService.
| Property Value | |
|---|---|
| Type | Description |
OperationsClient |
|
SetCertificateMapOperationsClient
public virtual OperationsClient SetCertificateMapOperationsClient { get; }The long-running operations client for SetCertificateMap.
| Property Value | |
|---|---|
| Type | Description |
OperationsClient |
|
SetProxyHeaderOperationsClient
public virtual OperationsClient SetProxyHeaderOperationsClient { get; }The long-running operations client for SetProxyHeader.
| Property Value | |
|---|---|
| Type | Description |
OperationsClient |
|
SetSslCertificatesOperationsClient
public virtual OperationsClient SetSslCertificatesOperationsClient { get; }The long-running operations client for SetSslCertificates.
| Property Value | |
|---|---|
| Type | Description |
OperationsClient |
|
SetSslPolicyOperationsClient
public virtual OperationsClient SetSslPolicyOperationsClient { get; }The long-running operations client for SetSslPolicy.
| Property Value | |
|---|---|
| Type | Description |
OperationsClient |
|
Methods
Create()
public static TargetSslProxiesClient Create()Synchronously creates a TargetSslProxiesClient using the default credentials, endpoint and settings. To specify custom credentials or other settings, use TargetSslProxiesClientBuilder.
| Returns | |
|---|---|
| Type | Description |
TargetSslProxiesClient |
The created TargetSslProxiesClient. |
CreateAsync(CancellationToken)
public static Task CreateAsync(CancellationToken cancellationToken = default) Asynchronously creates a TargetSslProxiesClient using the default credentials, endpoint and settings. To specify custom credentials or other settings, use TargetSslProxiesClientBuilder.
| Parameter | |
|---|---|
| Name | Description |
cancellationToken |
CancellationTokenThe CancellationToken to use while creating the client. |
| Returns | |
|---|---|
| Type | Description |
TaskTargetSslProxiesClient |
The task representing the created TargetSslProxiesClient. |
Delete(DeleteTargetSslProxyRequest, CallSettings)
public virtual Operation Delete(DeleteTargetSslProxyRequest request, CallSettings callSettings = null) Deletes the specified TargetSslProxy resource.
| Parameters | |
|---|---|
| Name | Description |
request |
DeleteTargetSslProxyRequestThe request object containing all of the parameters for the API call. |
callSettings |
CallSettingsIf not null, applies overrides to this RPC call. |
| Returns | |
|---|---|
| Type | Description |
OperationOperationOperation |
The RPC response. |
// Create client
TargetSslProxiesClient targetSslProxiesClient = TargetSslProxiesClient.Create();
// Initialize request argument(s)
DeleteTargetSslProxyRequest request = new DeleteTargetSslProxyRequest
{
RequestId = "",
Project = "",
TargetSslProxy = "",
};
// Make the request
lro::Operation response = targetSslProxiesClient.Delete(request);
// Poll until the returned long-running operation is complete
lro::Operation completedResponse = response.PollUntilCompleted();
// Retrieve the operation result
Operation 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
lro::Operation retrievedResponse = targetSslProxiesClient.PollOnceDelete(operationName);
// Check if the retrieved long-running operation has completed
if (retrievedResponse.IsCompleted)
{
// If it has completed, then access the result
Operation retrievedResult = retrievedResponse.Result;
}
Delete(string, string, CallSettings)
public virtual Operation Delete(string project, string targetSslProxy, CallSettings callSettings = null) Deletes the specified TargetSslProxy resource.
| Parameters | |
|---|---|
| Name | Description |
project |
stringProject ID for this request. |
targetSslProxy |
stringName of the TargetSslProxy resource to delete. |
callSettings |
CallSettingsIf not null, applies overrides to this RPC call. |
| Returns | |
|---|---|
| Type | Description |
OperationOperationOperation |
The RPC response. |
// Create client
TargetSslProxiesClient targetSslProxiesClient = TargetSslProxiesClient.Create();
// Initialize request argument(s)
string project = "";
string targetSslProxy = "";
// Make the request
lro::Operation response = targetSslProxiesClient.Delete(project, targetSslProxy);
// Poll until the returned long-running operation is complete
lro::Operation completedResponse = response.PollUntilCompleted();
// Retrieve the operation result
Operation 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
lro::Operation retrievedResponse = targetSslProxiesClient.PollOnceDelete(operationName);
// Check if the retrieved long-running operation has completed
if (retrievedResponse.IsCompleted)
{
// If it has completed, then access the result
Operation retrievedResult = retrievedResponse.Result;
}
DeleteAsync(DeleteTargetSslProxyRequest, CallSettings)
public virtual Task> DeleteAsync(DeleteTargetSslProxyRequest request, CallSettings callSettings = null) Deletes the specified TargetSslProxy resource.
| Parameters | |
|---|---|
| Name | Description |
request |
DeleteTargetSslProxyRequestThe request object containing all of the parameters for the API call. |
callSettings |
CallSettingsIf not null, applies overrides to this RPC call. |
| Returns | |
|---|---|
| Type | Description |
TaskOperationOperationOperation |
A Task containing the RPC response. |
// Create client
TargetSslProxiesClient targetSslProxiesClient = await TargetSslProxiesClient.CreateAsync();
// Initialize request argument(s)
DeleteTargetSslProxyRequest request = new DeleteTargetSslProxyRequest
{
RequestId = "",
Project = "",
TargetSslProxy = "",
};
// Make the request
lro::Operation response = await targetSslProxiesClient.DeleteAsync(request);
// Poll until the returned long-running operation is complete
lro::Operation completedResponse = await response.PollUntilCompletedAsync();
// Retrieve the operation result
Operation 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
lro::Operation retrievedResponse = await targetSslProxiesClient.PollOnceDeleteAsync(operationName);
// Check if the retrieved long-running operation has completed
if (retrievedResponse.IsCompleted)
{
// If it has completed, then access the result
Operation retrievedResult = retrievedResponse.Result;
}
DeleteAsync(DeleteTargetSslProxyRequest, CancellationToken)
public virtual Task> DeleteAsync(DeleteTargetSslProxyRequest request, CancellationToken cancellationToken) Deletes the specified TargetSslProxy resource.
| Parameters | |
|---|---|
| Name | Description |
request |
DeleteTargetSslProxyRequestThe request object containing all of the parameters for the API call. |
cancellationToken |
CancellationTokenA CancellationToken to use for this RPC. |
| Returns | |
|---|---|
| Type | Description |
TaskOperationOperationOperation |
A Task containing the RPC response. |
// Create client
TargetSslProxiesClient targetSslProxiesClient = await TargetSslProxiesClient.CreateAsync();
// Initialize request argument(s)
DeleteTargetSslProxyRequest request = new DeleteTargetSslProxyRequest
{
RequestId = "",
Project = "",
TargetSslProxy = "",
};
// Make the request
lro::Operation response = await targetSslProxiesClient.DeleteAsync(request);
// Poll until the returned long-running operation is complete
lro::Operation completedResponse = await response.PollUntilCompletedAsync();
// Retrieve the operation result
Operation 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
lro::Operation retrievedResponse = await targetSslProxiesClient.PollOnceDeleteAsync(operationName);
// Check if the retrieved long-running operation has completed
if (retrievedResponse.IsCompleted)
{
// If it has completed, then access the result
Operation retrievedResult = retrievedResponse.Result;
}
DeleteAsync(string, string, CallSettings)
public virtual Task> DeleteAsync(string project, string targetSslProxy, CallSettings callSettings = null) Deletes the specified TargetSslProxy resource.
| Parameters | |
|---|---|
| Name | Description |
project |
stringProject ID for this request. |
targetSslProxy |
stringName of the TargetSslProxy resource to delete. |
callSettings |
CallSettingsIf not null, applies overrides to this RPC call. |
| Returns | |
|---|---|
| Type | Description |
TaskOperationOperationOperation |
A Task containing the RPC response. |
// Create client
TargetSslProxiesClient targetSslProxiesClient = await TargetSslProxiesClient.CreateAsync();
// Initialize request argument(s)
string project = "";
string targetSslProxy = "";
// Make the request
lro::Operation response = await targetSslProxiesClient.DeleteAsync(project, targetSslProxy);
// Poll until the returned long-running operation is complete
lro::Operation completedResponse = await response.PollUntilCompletedAsync();
// Retrieve the operation result
Operation 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
lro::Operation retrievedResponse = await targetSslProxiesClient.PollOnceDeleteAsync(operationName);
// Check if the retrieved long-running operation has completed
if (retrievedResponse.IsCompleted)
{
// If it has completed, then access the result
Operation retrievedResult = retrievedResponse.Result;
}
DeleteAsync(string, string, CancellationToken)
public virtual Task> DeleteAsync(string project, string targetSslProxy, CancellationToken cancellationToken) Deletes the specified TargetSslProxy resource.
| Parameters | |
|---|---|
| Name | Description |
project |
stringProject ID for this request. |
targetSslProxy |
stringName of the TargetSslProxy resource to delete. |
cancellationToken |
CancellationTokenA CancellationToken to use for this RPC. |
| Returns | |
|---|---|
| Type | Description |
TaskOperationOperationOperation |
A Task containing the RPC response. |
// Create client
TargetSslProxiesClient targetSslProxiesClient = await TargetSslProxiesClient.CreateAsync();
// Initialize request argument(s)
string project = "";
string targetSslProxy = "";
// Make the request
lro::Operation response = await targetSslProxiesClient.DeleteAsync(project, targetSslProxy);
// Poll until the returned long-running operation is complete
lro::Operation completedResponse = await response.PollUntilCompletedAsync();
// Retrieve the operation result
Operation 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
lro::Operation retrievedResponse = await targetSslProxiesClient.PollOnceDeleteAsync(operationName);
// Check if the retrieved long-running operation has completed
if (retrievedResponse.IsCompleted)
{
// If it has completed, then access the result
Operation retrievedResult = retrievedResponse.Result;
}
Get(GetTargetSslProxyRequest, CallSettings)
public virtual TargetSslProxy Get(GetTargetSslProxyRequest request, CallSettings callSettings = null)Returns the specified TargetSslProxy resource.
| Parameters | |
|---|---|
| Name | Description |
request |
GetTargetSslProxyRequestThe request object containing all of the parameters for the API call. |
callSettings |
CallSettingsIf not null, applies overrides to this RPC call. |
| Returns | |
|---|---|
| Type | Description |
TargetSslProxy |
The RPC response. |
// Create client
TargetSslProxiesClient targetSslProxiesClient = TargetSslProxiesClient.Create();
// Initialize request argument(s)
GetTargetSslProxyRequest request = new GetTargetSslProxyRequest
{
Project = "",
TargetSslProxy = "",
};
// Make the request
TargetSslProxy response = targetSslProxiesClient.Get(request);
Get(string, string, CallSettings)
public virtual TargetSslProxy Get(string project, string targetSslProxy, CallSettings callSettings = null)Returns the specified TargetSslProxy resource.
| Parameters | |
|---|---|
| Name | Description |
project |
stringProject ID for this request. |
targetSslProxy |
stringName of the TargetSslProxy resource to return. |
callSettings |
CallSettingsIf not null, applies overrides to this RPC call. |
| Returns | |
|---|---|
| Type | Description |
TargetSslProxy |
The RPC response. |
// Create client
TargetSslProxiesClient targetSslProxiesClient = TargetSslProxiesClient.Create();
// Initialize request argument(s)
string project = "";
string targetSslProxy = "";
// Make the request
TargetSslProxy response = targetSslProxiesClient.Get(project, targetSslProxy);
GetAsync(GetTargetSslProxyRequest, CallSettings)
public virtual Task GetAsync(GetTargetSslProxyRequest request, CallSettings callSettings = null) Returns the specified TargetSslProxy resource.
| Parameters | |
|---|---|
| Name | Description |
request |
GetTargetSslProxyRequestThe request object containing all of the parameters for the API call. |
callSettings |
CallSettingsIf not null, applies overrides to this RPC call. |
| Returns | |
|---|---|
| Type | Description |
TaskTargetSslProxy |
A Task containing the RPC response. |
// Create client
TargetSslProxiesClient targetSslProxiesClient = await TargetSslProxiesClient.CreateAsync();
// Initialize request argument(s)
GetTargetSslProxyRequest request = new GetTargetSslProxyRequest
{
Project = "",
TargetSslProxy = "",
};
// Make the request
TargetSslProxy response = await targetSslProxiesClient.GetAsync(request);
GetAsync(GetTargetSslProxyRequest, CancellationToken)
public virtual Task GetAsync(GetTargetSslProxyRequest request, CancellationToken cancellationToken) Returns the specified TargetSslProxy resource.
| Parameters | |
|---|---|
| Name | Description |
request |
GetTargetSslProxyRequestThe request object containing all of the parameters for the API call. |
cancellationToken |
CancellationTokenA CancellationToken to use for this RPC. |
| Returns | |
|---|---|
| Type | Description |
TaskTargetSslProxy |
A Task containing the RPC response. |
// Create client
TargetSslProxiesClient targetSslProxiesClient = await TargetSslProxiesClient.CreateAsync();
// Initialize request argument(s)
GetTargetSslProxyRequest request = new GetTargetSslProxyRequest
{
Project = "",
TargetSslProxy = "",
};
// Make the request
TargetSslProxy response = await targetSslProxiesClient.GetAsync(request);
GetAsync(string, string, CallSettings)
public virtual Task GetAsync(string project, string targetSslProxy, CallSettings callSettings = null) Returns the specified TargetSslProxy resource.
| Parameters | |
|---|---|
| Name | Description |
project |
stringProject ID for this request. |
targetSslProxy |
stringName of the TargetSslProxy resource to return. |
callSettings |
CallSettingsIf not null, applies overrides to this RPC call. |
| Returns | |
|---|---|
| Type | Description |
TaskTargetSslProxy |
A Task containing the RPC response. |
// Create client
TargetSslProxiesClient targetSslProxiesClient = await TargetSslProxiesClient.CreateAsync();
// Initialize request argument(s)
string project = "";
string targetSslProxy = "";
// Make the request
TargetSslProxy response = await targetSslProxiesClient.GetAsync(project, targetSslProxy);
GetAsync(string, string, CancellationToken)
public virtual Task GetAsync(string project, string targetSslProxy, CancellationToken cancellationToken) Returns the specified TargetSslProxy resource.
| Parameters | |
|---|---|
| Name | Description |
project |
stringProject ID for this request. |
targetSslProxy |
stringName of the TargetSslProxy resource to return. |
cancellationToken |
CancellationTokenA CancellationToken to use for this RPC. |
| Returns | |
|---|---|
| Type | Description |
TaskTargetSslProxy |
A Task containing the RPC response. |
// Create client
TargetSslProxiesClient targetSslProxiesClient = await TargetSslProxiesClient.CreateAsync();
// Initialize request argument(s)
string project = "";
string targetSslProxy = "";
// Make the request
TargetSslProxy response = await targetSslProxiesClient.GetAsync(project, targetSslProxy);
Insert(InsertTargetSslProxyRequest, CallSettings)
public virtual Operation Insert(InsertTargetSslProxyRequest request, CallSettings callSettings = null) Creates a TargetSslProxy resource in the specified project using the data included in the request.
| Parameters | |
|---|---|
| Name | Description |
request |
InsertTargetSslProxyRequestThe request object containing all of the parameters for the API call. |
callSettings |
CallSettingsIf not null, applies overrides to this RPC call. |
| Returns | |
|---|---|
| Type | Description |
OperationOperationOperation |
The RPC response. |
// Create client
TargetSslProxiesClient targetSslProxiesClient = TargetSslProxiesClient.Create();
// Initialize request argument(s)
InsertTargetSslProxyRequest request = new InsertTargetSslProxyRequest
{
RequestId = "",
TargetSslProxyResource = new TargetSslProxy(),
Project = "",
};
// Make the request
lro::Operation response = targetSslProxiesClient.Insert(request);
// Poll until the returned long-running operation is complete
lro::Operation completedResponse = response.PollUntilCompleted();
// Retrieve the operation result
Operation 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
lro::Operation retrievedResponse = targetSslProxiesClient.PollOnceInsert(operationName);
// Check if the retrieved long-running operation has completed
if (retrievedResponse.IsCompleted)
{
// If it has completed, then access the result
Operation retrievedResult = retrievedResponse.Result;
}
Insert(string, TargetSslProxy, CallSettings)
public virtual Operation Insert(string project, TargetSslProxy targetSslProxyResource, CallSettings callSettings = null) Creates a TargetSslProxy resource in the specified project using the data included in the request.
| Parameters | |
|---|---|
| Name | Description |
project |
stringProject ID for this request. |
targetSslProxyResource |
TargetSslProxyThe body resource for this request |
callSettings |
CallSettingsIf not null, applies overrides to this RPC call. |
| Returns | |
|---|---|
| Type | Description |
OperationOperationOperation |
The RPC response. |
// Create client
TargetSslProxiesClient targetSslProxiesClient = TargetSslProxiesClient.Create();
// Initialize request argument(s)
string project = "";
TargetSslProxy targetSslProxyResource = new TargetSslProxy();
// Make the request
lro::Operation response = targetSslProxiesClient.Insert(project, targetSslProxyResource);
// Poll until the returned long-running operation is complete
lro::Operation completedResponse = response.PollUntilCompleted();
// Retrieve the operation result
Operation 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
lro::Operation retrievedResponse = targetSslProxiesClient.PollOnceInsert(operationName);
// Check if the retrieved long-running operation has completed
if (retrievedResponse.IsCompleted)
{
// If it has completed, then access the result
Operation retrievedResult = retrievedResponse.Result;
}
InsertAsync(InsertTargetSslProxyRequest, CallSettings)
public virtual Task> InsertAsync(InsertTargetSslProxyRequest request, CallSettings callSettings = null) Creates a TargetSslProxy resource in the specified project using the data included in the request.
| Parameters | |
|---|---|
| Name | Description |
request |
InsertTargetSslProxyRequestThe request object containing all of the parameters for the API call. |
callSettings |
CallSettingsIf not null, applies overrides to this RPC call. |
| Returns | |
|---|---|
| Type | Description |
TaskOperationOperationOperation |
A Task containing the RPC response. |
// Create client
TargetSslProxiesClient targetSslProxiesClient = await TargetSslProxiesClient.CreateAsync();
// Initialize request argument(s)
InsertTargetSslProxyRequest request = new InsertTargetSslProxyRequest
{
RequestId = "",
TargetSslProxyResource = new TargetSslProxy(),
Project = "",
};
// Make the request
lro::Operation response = await targetSslProxiesClient.InsertAsync(request);
// Poll until the returned long-running operation is complete
lro::Operation completedResponse = await response.PollUntilCompletedAsync();
// Retrieve the operation result
Operation 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
lro::Operation retrievedResponse = await targetSslProxiesClient.PollOnceInsertAsync(operationName);
// Check if the retrieved long-running operation has completed
if (retrievedResponse.IsCompleted)
{
// If it has completed, then access the result
Operation retrievedResult = retrievedResponse.Result;
}
InsertAsync(InsertTargetSslProxyRequest, CancellationToken)
public virtual Task> InsertAsync(InsertTargetSslProxyRequest request, CancellationToken cancellationToken) Creates a TargetSslProxy resource in the specified project using the data included in the request.
| Parameters | |
|---|---|
| Name | Description |
request |
InsertTargetSslProxyRequestThe request object containing all of the parameters for the API call. |
cancellationToken |
CancellationTokenA CancellationToken to use for this RPC. |
| Returns | |
|---|---|
| Type | Description |
TaskOperationOperationOperation |
A Task containing the RPC response. |
// Create client
TargetSslProxiesClient targetSslProxiesClient = await TargetSslProxiesClient.CreateAsync();
// Initialize request argument(s)
InsertTargetSslProxyRequest request = new InsertTargetSslProxyRequest
{
RequestId = "",
TargetSslProxyResource = new TargetSslProxy(),
Project = "",
};
// Make the request
lro::Operation response = await targetSslProxiesClient.InsertAsync(request);
// Poll until the returned long-running operation is complete
lro::Operation completedResponse = await response.PollUntilCompletedAsync();
// Retrieve the operation result
Operation 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
lro::Operation retrievedResponse = await targetSslProxiesClient.PollOnceInsertAsync(operationName);
// Check if the retrieved long-running operation has completed
if (retrievedResponse.IsCompleted)
{
// If it has completed, then access the result
Operation retrievedResult = retrievedResponse.Result;
}
InsertAsync(string, TargetSslProxy, CallSettings)
public virtual Task> InsertAsync(string project, TargetSslProxy targetSslProxyResource, CallSettings callSettings = null) Creates a TargetSslProxy resource in the specified project using the data included in the request.
| Parameters | |
|---|---|
| Name | Description |
project |
stringProject ID for this request. |
targetSslProxyResource |
TargetSslProxyThe body resource for this request |
callSettings |
CallSettingsIf not null, applies overrides to this RPC call. |
| Returns | |
|---|---|
| Type | Description |
TaskOperationOperationOperation |
A Task containing the RPC response. |
// Create client
TargetSslProxiesClient targetSslProxiesClient = await TargetSslProxiesClient.CreateAsync();
// Initialize request argument(s)
string project = "";
TargetSslProxy targetSslProxyResource = new TargetSslProxy();
// Make the request
lro::Operation response = await targetSslProxiesClient.InsertAsync(project, targetSslProxyResource);
// Poll until the returned long-running operation is complete
lro::Operation completedResponse = await response.PollUntilCompletedAsync();
// Retrieve the operation result
Operation 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
lro::Operation retrievedResponse = await targetSslProxiesClient.PollOnceInsertAsync(operationName);
// Check if the retrieved long-running operation has completed
if (retrievedResponse.IsCompleted)
{
// If it has completed, then access the result
Operation retrievedResult = retrievedResponse.Result;
}
InsertAsync(string, TargetSslProxy, CancellationToken)
public virtual Task> InsertAsync(string project, TargetSslProxy targetSslProxyResource, CancellationToken cancellationToken) Creates a TargetSslProxy resource in the specified project using the data included in the request.
| Parameters | |
|---|---|
| Name | Description |
project |
stringProject ID for this request. |
targetSslProxyResource |
TargetSslProxyThe body resource for this request |
cancellationToken |
CancellationTokenA CancellationToken to use for this RPC. |
| Returns | |
|---|---|
| Type | Description |
TaskOperationOperationOperation |
A Task containing the RPC response. |
// Create client
TargetSslProxiesClient targetSslProxiesClient = await TargetSslProxiesClient.CreateAsync();
// Initialize request argument(s)
string project = "";
TargetSslProxy targetSslProxyResource = new TargetSslProxy();
// Make the request
lro::Operation response = await targetSslProxiesClient.InsertAsync(project, targetSslProxyResource);
// Poll until the returned long-running operation is complete
lro::Operation completedResponse = await response.PollUntilCompletedAsync();
// Retrieve the operation result
Operation 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
lro::Operation retrievedResponse = await targetSslProxiesClient.PollOnceInsertAsync(operationName);
// Check if the retrieved long-running operation has completed
if (retrievedResponse.IsCompleted)
{
// If it has completed, then access the result
Operation retrievedResult = retrievedResponse.Result;
}
List(ListTargetSslProxiesRequest, CallSettings)
public virtual PagedEnumerable List(ListTargetSslProxiesRequest request, CallSettings callSettings = null) Retrieves the list of TargetSslProxy resources available to the specified project.
| Parameters | |
|---|---|
| Name | Description |
request |
ListTargetSslProxiesRequestThe request object containing all of the parameters for the API call. |
callSettings |
CallSettingsIf not null, applies overrides to this RPC call. |
| Returns | |
|---|---|
| Type | Description |
PagedEnumerableTargetSslProxyListTargetSslProxy |
A pageable sequence of TargetSslProxy resources. |
// Create client
TargetSslProxiesClient targetSslProxiesClient = TargetSslProxiesClient.Create();
// Initialize request argument(s)
ListTargetSslProxiesRequest request = new ListTargetSslProxiesRequest
{
OrderBy = "",
Project = "",
Filter = "",
};
// Make the request
PagedEnumerable response = targetSslProxiesClient.List(request);
// Iterate over all response items, lazily performing RPCs as required
foreach (TargetSslProxy 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 (TargetSslProxyList page in response.AsRawResponses())
{
// Do something with each page of items
Console.WriteLine("A page of results:");
foreach (TargetSslProxy 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 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 (TargetSslProxy 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;
List(string, string, int?, CallSettings)
public virtual PagedEnumerable List(string project, string pageToken = null, int? pageSize = null, CallSettings callSettings = null) Retrieves the list of TargetSslProxy resources available to the specified project.
| Parameters | |
|---|---|
| Name | Description |
project |
stringProject ID for this request. |
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 |
PagedEnumerableTargetSslProxyListTargetSslProxy |
A pageable sequence of TargetSslProxy resources. |
// Create client
TargetSslProxiesClient targetSslProxiesClient = TargetSslProxiesClient.Create();
// Initialize request argument(s)
string project = "";
// Make the request
PagedEnumerable response = targetSslProxiesClient.List(project);
// Iterate over all response items, lazily performing RPCs as required
foreach (TargetSslProxy 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 (TargetSslProxyList page in response.AsRawResponses())
{
// Do something with each page of items
Console.WriteLine("A page of results:");
foreach (TargetSslProxy 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 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 (TargetSslProxy 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;
ListAsync(ListTargetSslProxiesRequest, CallSettings)
public virtual PagedAsyncEnumerable ListAsync(ListTargetSslProxiesRequest request, CallSettings callSettings = null) Retrieves the list of TargetSslProxy resources available to the specified project.
| Parameters | |
|---|---|
| Name | Description |
request |
ListTargetSslProxiesRequestThe request object containing all of the parameters for the API call. |
callSettings |
CallSettingsIf not null, applies overrides to this RPC call. |
| Returns | |
|---|---|
| Type | Description |
PagedAsyncEnumerableTargetSslProxyListTargetSslProxy |
A pageable asynchronous sequence of TargetSslProxy resources. |
// Create client
TargetSslProxiesClient targetSslProxiesClient = await TargetSslProxiesClient.CreateAsync();
// Initialize request argument(s)
ListTargetSslProxiesRequest request = new ListTargetSslProxiesRequest
{
OrderBy = "",
Project = "",
Filter = "",
};
// Make the request
PagedAsyncEnumerable response = targetSslProxiesClient.ListAsync(request);
// Iterate over all response items, lazily performing RPCs as required
await foreach (TargetSslProxy item in response)
{
// Do something with each item
Console.WriteLine(item);
}
// Or iterate over pages (of server-defined size), performing one RPC per page
await foreach (TargetSslProxyList page in response.AsRawResponses())
{
// Do something with each page of items
Console.WriteLine("A page of results:");
foreach (TargetSslProxy 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 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 (TargetSslProxy 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;
ListAsync(string, string, int?, CallSettings)
public virtual PagedAsyncEnumerable ListAsync(string project, string pageToken = null, int? pageSize = null, CallSettings callSettings = null) Retrieves the list of TargetSslProxy resources available to the specified project.
| Parameters | |
|---|---|
| Name | Description |
project |
stringProject ID for this request. |
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 |
PagedAsyncEnumerableTargetSslProxyListTargetSslProxy |
A pageable asynchronous sequence of TargetSslProxy resources. |
// Create client
TargetSslProxiesClient targetSslProxiesClient = await TargetSslProxiesClient.CreateAsync();
// Initialize request argument(s)
string project = "";
// Make the request
PagedAsyncEnumerable response = targetSslProxiesClient.ListAsync(project);
// Iterate over all response items, lazily performing RPCs as required
await foreach (TargetSslProxy item in response)
{
// Do something with each item
Console.WriteLine(item);
}
// Or iterate over pages (of server-defined size), performing one RPC per page
await foreach (TargetSslProxyList page in response.AsRawResponses())
{
// Do something with each page of items
Console.WriteLine("A page of results:");
foreach (TargetSslProxy 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 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 (TargetSslProxy 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;
PollOnceDelete(string, CallSettings)
public virtual Operation PollOnceDelete(string operationName, CallSettings callSettings = null) Poll an operation once, using an operationName from a previous invocation of Delete.
| 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 |
OperationOperationOperation |
The result of polling the operation. |
PollOnceDeleteAsync(string, CallSettings)
public virtual Task> PollOnceDeleteAsync(string operationName, CallSettings callSettings = null) Asynchronously poll an operation once, using an operationName from a previous invocation of Delete
.
| 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 |
TaskOperationOperationOperation |
A task representing the result of polling the operation. |
PollOnceInsert(string, CallSettings)
public virtual Operation PollOnceInsert(string operationName, CallSettings callSettings = null) Poll an operation once, using an operationName from a previous invocation of Insert.
| 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 |
OperationOperationOperation |
The result of polling the operation. |
PollOnceInsertAsync(string, CallSettings)
public virtual Task> PollOnceInsertAsync(string operationName, CallSettings callSettings = null) Asynchronously poll an operation once, using an operationName from a previous invocation of Insert
.
| 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 |
TaskOperationOperationOperation |
A task representing the result of polling the operation. |
PollOnceSetBackendService(string, CallSettings)
public virtual Operation PollOnceSetBackendService(string operationName, CallSettings callSettings = null) Poll an operation once, using an operationName from a previous invocation of SetBackendService
.
| 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 |
OperationOperationOperation |
The result of polling the operation. |
PollOnceSetBackendServiceAsync(string, CallSettings)
public virtual Task> PollOnceSetBackendServiceAsync(string operationName, CallSettings callSettings = null) Asynchronously poll an operation once, using an operationName from a previous invocation of
SetBackendService.
| 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 |
TaskOperationOperationOperation |
A task representing the result of polling the operation. |
PollOnceSetCertificateMap(string, CallSettings)
public virtual Operation PollOnceSetCertificateMap(string operationName, CallSettings callSettings = null) Poll an operation once, using an operationName from a previous invocation of SetCertificateMap
.
| 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 |
OperationOperationOperation |
The result of polling the operation. |
PollOnceSetCertificateMapAsync(string, CallSettings)
public virtual Task> PollOnceSetCertificateMapAsync(string operationName, CallSettings callSettings = null) Asynchronously poll an operation once, using an operationName from a previous invocation of
SetCertificateMap.
| 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 |
TaskOperationOperationOperation |
A task representing the result of polling the operation. |
PollOnceSetProxyHeader(string, CallSettings)
public virtual Operation PollOnceSetProxyHeader(string operationName, CallSettings callSettings = null) Poll an operation once, using an operationName from a previous invocation of SetProxyHeader.
| 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 |
OperationOperationOperation |
The result of polling the operation. |
PollOnceSetProxyHeaderAsync(string, CallSettings)
public virtual Task> PollOnceSetProxyHeaderAsync(string operationName, CallSettings callSettings = null) Asynchronously poll an operation once, using an operationName from a previous invocation of
SetProxyHeader.
| 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 |
TaskOperationOperationOperation |
A task representing the result of polling the operation. |
PollOnceSetSslCertificates(string, CallSettings)
public virtual Operation PollOnceSetSslCertificates(string operationName, CallSettings callSettings = null) Poll an operation once, using an operationName from a previous invocation of SetSslCertificates
.
| 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 |
OperationOperationOperation |
The result of polling the operation. |
PollOnceSetSslCertificatesAsync(string, CallSettings)
public virtual Task> PollOnceSetSslCertificatesAsync(string operationName, CallSettings callSettings = null) Asynchronously poll an operation once, using an operationName from a previous invocation of
SetSslCertificates.
| 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 |
TaskOperationOperationOperation |
A task representing the result of polling the operation. |
PollOnceSetSslPolicy(string, CallSettings)
public virtual Operation PollOnceSetSslPolicy(string operationName, CallSettings callSettings = null) Poll an operation once, using an operationName from a previous invocation of SetSslPolicy.
| 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 |
OperationOperationOperation |
The result of polling the operation. |
PollOnceSetSslPolicyAsync(string, CallSettings)
public virtual Task> PollOnceSetSslPolicyAsync(string operationName, CallSettings callSettings = null) Asynchronously poll an operation once, using an operationName from a previous invocation of
SetSslPolicy.
| 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 |
TaskOperationOperationOperation |
A task representing the result of polling the operation. |
SetBackendService(SetBackendServiceTargetSslProxyRequest, CallSettings)
public virtual Operation SetBackendService(SetBackendServiceTargetSslProxyRequest request, CallSettings callSettings = null) Changes the BackendService for TargetSslProxy.
| Parameters | |
|---|---|
| Name | Description |
request |
SetBackendServiceTargetSslProxyRequestThe request object containing all of the parameters for the API call. |
callSettings |
CallSettingsIf not null, applies overrides to this RPC call. |
| Returns | |
|---|---|
| Type | Description |
OperationOperationOperation |
The RPC response. |
// Create client
TargetSslProxiesClient targetSslProxiesClient = TargetSslProxiesClient.Create();
// Initialize request argument(s)
SetBackendServiceTargetSslProxyRequest request = new SetBackendServiceTargetSslProxyRequest
{
RequestId = "",
TargetSslProxiesSetBackendServiceRequestResource = new TargetSslProxiesSetBackendServiceRequest(),
Project = "",
TargetSslProxy = "",
};
// Make the request
lro::Operation response = targetSslProxiesClient.SetBackendService(request);
// Poll until the returned long-running operation is complete
lro::Operation completedResponse = response.PollUntilCompleted();
// Retrieve the operation result
Operation 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
lro::Operation retrievedResponse = targetSslProxiesClient.PollOnceSetBackendService(operationName);
// Check if the retrieved long-running operation has completed
if (retrievedResponse.IsCompleted)
{
// If it has completed, then access the result
Operation retrievedResult = retrievedResponse.Result;
}
SetBackendService(string, string, TargetSslProxiesSetBackendServiceRequest, CallSettings)
public virtual Operation SetBackendService(string project, string targetSslProxy, TargetSslProxiesSetBackendServiceRequest targetSslProxiesSetBackendServiceRequestResource, CallSettings callSettings = null) Changes the BackendService for TargetSslProxy.
| Parameters | |
|---|---|
| Name | Description |
project |
stringProject ID for this request. |
targetSslProxy |
stringName of the TargetSslProxy resource whose BackendService resource is to be set. |
targetSslProxiesSetBackendServiceRequestResource |
TargetSslProxiesSetBackendServiceRequestThe body resource for this request |
callSettings |
CallSettingsIf not null, applies overrides to this RPC call. |
| Returns | |
|---|---|
| Type | Description |
OperationOperationOperation |
The RPC response. |
// Create client
TargetSslProxiesClient targetSslProxiesClient = TargetSslProxiesClient.Create();
// Initialize request argument(s)
string project = "";
string targetSslProxy = "";
TargetSslProxiesSetBackendServiceRequest targetSslProxiesSetBackendServiceRequestResource = new TargetSslProxiesSetBackendServiceRequest();
// Make the request
lro::Operation response = targetSslProxiesClient.SetBackendService(project, targetSslProxy, targetSslProxiesSetBackendServiceRequestResource);
// Poll until the returned long-running operation is complete
lro::Operation completedResponse = response.PollUntilCompleted();
// Retrieve the operation result
Operation 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
lro::Operation retrievedResponse = targetSslProxiesClient.PollOnceSetBackendService(operationName);
// Check if the retrieved long-running operation has completed
if (retrievedResponse.IsCompleted)
{
// If it has completed, then access the result
Operation retrievedResult = retrievedResponse.Result;
}
SetBackendServiceAsync(SetBackendServiceTargetSslProxyRequest, CallSettings)
public virtual Task> SetBackendServiceAsync(SetBackendServiceTargetSslProxyRequest request, CallSettings callSettings = null) Changes the BackendService for TargetSslProxy.
| Parameters | |
|---|---|
| Name | Description |
request |
SetBackendServiceTargetSslProxyRequestThe request object containing all of the parameters for the API call. |
callSettings |
CallSettingsIf not null, applies overrides to this RPC call. |
| Returns | |
|---|---|
| Type | Description |
TaskOperationOperationOperation |
A Task containing the RPC response. |
// Create client
TargetSslProxiesClient targetSslProxiesClient = await TargetSslProxiesClient.CreateAsync();
// Initialize request argument(s)
SetBackendServiceTargetSslProxyRequest request = new SetBackendServiceTargetSslProxyRequest
{
RequestId = "",
TargetSslProxiesSetBackendServiceRequestResource = new TargetSslProxiesSetBackendServiceRequest(),
Project = "",
TargetSslProxy = "",
};
// Make the request
lro::Operation response = await targetSslProxiesClient.SetBackendServiceAsync(request);
// Poll until the returned long-running operation is complete
lro::Operation completedResponse = await response.PollUntilCompletedAsync();
// Retrieve the operation result
Operation 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
lro::Operation retrievedResponse = await targetSslProxiesClient.PollOnceSetBackendServiceAsync(operationName);
// Check if the retrieved long-running operation has completed
if (retrievedResponse.IsCompleted)
{
// If it has completed, then access the result
Operation retrievedResult = retrievedResponse.Result;
}
SetBackendServiceAsync(SetBackendServiceTargetSslProxyRequest, CancellationToken)
public virtual Task> SetBackendServiceAsync(SetBackendServiceTargetSslProxyRequest request, CancellationToken cancellationToken) Changes the BackendService for TargetSslProxy.
| Parameters | |
|---|---|
| Name | Description |
request |
SetBackendServiceTargetSslProxyRequestThe request object containing all of the parameters for the API call. |
cancellationToken |
CancellationTokenA CancellationToken to use for this RPC. |
| Returns | |
|---|---|
| Type | Description |
TaskOperationOperationOperation |
A Task containing the RPC response. |
// Create client
TargetSslProxiesClient targetSslProxiesClient = await TargetSslProxiesClient.CreateAsync();
// Initialize request argument(s)
SetBackendServiceTargetSslProxyRequest request = new SetBackendServiceTargetSslProxyRequest
{
RequestId = "",
TargetSslProxiesSetBackendServiceRequestResource = new TargetSslProxiesSetBackendServiceRequest(),
Project = "",
TargetSslProxy = "",
};
// Make the request
lro::Operation response = await targetSslProxiesClient.SetBackendServiceAsync(request);
// Poll until the returned long-running operation is complete
lro::Operation completedResponse = await response.PollUntilCompletedAsync();
// Retrieve the operation result
Operation 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
lro::Operation retrievedResponse = await targetSslProxiesClient.PollOnceSetBackendServiceAsync(operationName);
// Check if the retrieved long-running operation has completed
if (retrievedResponse.IsCompleted)
{
// If it has completed, then access the result
Operation retrievedResult = retrievedResponse.Result;
}
SetBackendServiceAsync(string, string, TargetSslProxiesSetBackendServiceRequest, CallSettings)
public virtual Task> SetBackendServiceAsync(string project, string targetSslProxy, TargetSslProxiesSetBackendServiceRequest targetSslProxiesSetBackendServiceRequestResource, CallSettings callSettings = null) Changes the BackendService for TargetSslProxy.
| Parameters | |
|---|---|
| Name | Description |
project |
stringProject ID for this request. |
targetSslProxy |
stringName of the TargetSslProxy resource whose BackendService resource is to be set. |
targetSslProxiesSetBackendServiceRequestResource |
TargetSslProxiesSetBackendServiceRequestThe body resource for this request |
callSettings |
CallSettingsIf not null, applies overrides to this RPC call. |
| Returns | |
|---|---|
| Type | Description |
TaskOperationOperationOperation |
A Task containing the RPC response. |
// Create client
TargetSslProxiesClient targetSslProxiesClient = await TargetSslProxiesClient.CreateAsync();
// Initialize request argument(s)
string project = "";
string targetSslProxy = "";
TargetSslProxiesSetBackendServiceRequest targetSslProxiesSetBackendServiceRequestResource = new TargetSslProxiesSetBackendServiceRequest();
// Make the request
lro::Operation response = await targetSslProxiesClient.SetBackendServiceAsync(project, targetSslProxy, targetSslProxiesSetBackendServiceRequestResource);
// Poll until the returned long-running operation is complete
lro::Operation completedResponse = await response.PollUntilCompletedAsync();
// Retrieve the operation result
Operation 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
lro::Operation retrievedResponse = await targetSslProxiesClient.PollOnceSetBackendServiceAsync(operationName);
// Check if the retrieved long-running operation has completed
if (retrievedResponse.IsCompleted)
{
// If it has completed, then access the result
Operation retrievedResult = retrievedResponse.Result;
}
SetBackendServiceAsync(string, string, TargetSslProxiesSetBackendServiceRequest, CancellationToken)
public virtual Task> SetBackendServiceAsync(string project, string targetSslProxy, TargetSslProxiesSetBackendServiceRequest targetSslProxiesSetBackendServiceRequestResource, CancellationToken cancellationToken) Changes the BackendService for TargetSslProxy.
| Parameters | |
|---|---|
| Name | Description |
project |
stringProject ID for this request. |
targetSslProxy |
stringName of the TargetSslProxy resource whose BackendService resource is to be set. |
targetSslProxiesSetBackendServiceRequestResource |
TargetSslProxiesSetBackendServiceRequestThe body resource for this request |
cancellationToken |
CancellationTokenA CancellationToken to use for this RPC. |
| Returns | |
|---|---|
| Type | Description |
TaskOperationOperationOperation |
A Task containing the RPC response. |
// Create client
TargetSslProxiesClient targetSslProxiesClient = await TargetSslProxiesClient.CreateAsync();
// Initialize request argument(s)
string project = "";
string targetSslProxy = "";
TargetSslProxiesSetBackendServiceRequest targetSslProxiesSetBackendServiceRequestResource = new TargetSslProxiesSetBackendServiceRequest();
// Make the request
lro::Operation response = await targetSslProxiesClient.SetBackendServiceAsync(project, targetSslProxy, targetSslProxiesSetBackendServiceRequestResource);
// Poll until the returned long-running operation is complete
lro::Operation completedResponse = await response.PollUntilCompletedAsync();
// Retrieve the operation result
Operation 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
lro::Operation retrievedResponse = await targetSslProxiesClient.PollOnceSetBackendServiceAsync(operationName);
// Check if the retrieved long-running operation has completed
if (retrievedResponse.IsCompleted)
{
// If it has completed, then access the result
Operation retrievedResult = retrievedResponse.Result;
}
SetCertificateMap(SetCertificateMapTargetSslProxyRequest, CallSettings)
public virtual Operation SetCertificateMap(SetCertificateMapTargetSslProxyRequest request, CallSettings callSettings = null) Changes the Certificate Map for TargetSslProxy.
| Parameters | |
|---|---|
| Name | Description |
request |
SetCertificateMapTargetSslProxyRequestThe request object containing all of the parameters for the API call. |
callSettings |
CallSettingsIf not null, applies overrides to this RPC call. |
| Returns | |
|---|---|
| Type | Description |
OperationOperationOperation |
The RPC response. |
// Create client
TargetSslProxiesClient targetSslProxiesClient = TargetSslProxiesClient.Create();
// Initialize request argument(s)
SetCertificateMapTargetSslProxyRequest request = new SetCertificateMapTargetSslProxyRequest
{
RequestId = "",
Project = "",
TargetSslProxy = "",
TargetSslProxiesSetCertificateMapRequestResource = new TargetSslProxiesSetCertificateMapRequest(),
};
// Make the request
lro::Operation response = targetSslProxiesClient.SetCertificateMap(request);
// Poll until the returned long-running operation is complete
lro::Operation completedResponse = response.PollUntilCompleted();
// Retrieve the operation result
Operation 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
lro::Operation retrievedResponse = targetSslProxiesClient.PollOnceSetCertificateMap(operationName);
// Check if the retrieved long-running operation has completed
if (retrievedResponse.IsCompleted)
{
// If it has completed, then access the result
Operation retrievedResult = retrievedResponse.Result;
}
SetCertificateMap(string, string, TargetSslProxiesSetCertificateMapRequest, CallSettings)
public virtual Operation SetCertificateMap(string project, string targetSslProxy, TargetSslProxiesSetCertificateMapRequest targetSslProxiesSetCertificateMapRequestResource, CallSettings callSettings = null) Changes the Certificate Map for TargetSslProxy.
| Parameters | |
|---|---|
| Name | Description |
project |
stringProject ID for this request. |
targetSslProxy |
stringName of the TargetSslProxy resource whose CertificateMap is to be set. The name must be 1-63 characters long, and comply with RFC1035. |
targetSslProxiesSetCertificateMapRequestResource |
TargetSslProxiesSetCertificateMapRequestThe body resource for this request |
callSettings |
CallSettingsIf not null, applies overrides to this RPC call. |
| Returns | |
|---|---|
| Type | Description |
OperationOperationOperation |
The RPC response. |
// Create client
TargetSslProxiesClient targetSslProxiesClient = TargetSslProxiesClient.Create();
// Initialize request argument(s)
string project = "";
string targetSslProxy = "";
TargetSslProxiesSetCertificateMapRequest targetSslProxiesSetCertificateMapRequestResource = new TargetSslProxiesSetCertificateMapRequest();
// Make the request
lro::Operation response = targetSslProxiesClient.SetCertificateMap(project, targetSslProxy, targetSslProxiesSetCertificateMapRequestResource);
// Poll until the returned long-running operation is complete
lro::Operation completedResponse = response.PollUntilCompleted();
// Retrieve the operation result
Operation 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
lro::Operation retrievedResponse = targetSslProxiesClient.PollOnceSetCertificateMap(operationName);
// Check if the retrieved long-running operation has completed
if (retrievedResponse.IsCompleted)
{
// If it has completed, then access the result
Operation retrievedResult = retrievedResponse.Result;
}
SetCertificateMapAsync(SetCertificateMapTargetSslProxyRequest, CallSettings)
public virtual Task> SetCertificateMapAsync(SetCertificateMapTargetSslProxyRequest request, CallSettings callSettings = null) Changes the Certificate Map for TargetSslProxy.
| Parameters | |
|---|---|
| Name | Description |
request |
SetCertificateMapTargetSslProxyRequestThe request object containing all of the parameters for the API call. |
callSettings |
CallSettingsIf not null, applies overrides to this RPC call. |
| Returns | |
|---|---|
| Type | Description |
TaskOperationOperationOperation |
A Task containing the RPC response. |
// Create client
TargetSslProxiesClient targetSslProxiesClient = await TargetSslProxiesClient.CreateAsync();
// Initialize request argument(s)
SetCertificateMapTargetSslProxyRequest request = new SetCertificateMapTargetSslProxyRequest
{
RequestId = "",
Project = "",
TargetSslProxy = "",
TargetSslProxiesSetCertificateMapRequestResource = new TargetSslProxiesSetCertificateMapRequest(),
};
// Make the request
lro::Operation response = await targetSslProxiesClient.SetCertificateMapAsync(request);
// Poll until the returned long-running operation is complete
lro::Operation completedResponse = await response.PollUntilCompletedAsync();
// Retrieve the operation result
Operation 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
lro::Operation retrievedResponse = await targetSslProxiesClient.PollOnceSetCertificateMapAsync(operationName);
// Check if the retrieved long-running operation has completed
if (retrievedResponse.IsCompleted)
{
// If it has completed, then access the result
Operation retrievedResult = retrievedResponse.Result;
}
SetCertificateMapAsync(SetCertificateMapTargetSslProxyRequest, CancellationToken)
public virtual Task> SetCertificateMapAsync(SetCertificateMapTargetSslProxyRequest request, CancellationToken cancellationToken) Changes the Certificate Map for TargetSslProxy.
| Parameters | |
|---|---|
| Name | Description |
request |
SetCertificateMapTargetSslProxyRequestThe request object containing all of the parameters for the API call. |
cancellationToken |
CancellationTokenA CancellationToken to use for this RPC. |
| Returns | |
|---|---|
| Type | Description |
TaskOperationOperationOperation |
A Task containing the RPC response. |
// Create client
TargetSslProxiesClient targetSslProxiesClient = await TargetSslProxiesClient.CreateAsync();
// Initialize request argument(s)
SetCertificateMapTargetSslProxyRequest request = new SetCertificateMapTargetSslProxyRequest
{
RequestId = "",
Project = "",
TargetSslProxy = "",
TargetSslProxiesSetCertificateMapRequestResource = new TargetSslProxiesSetCertificateMapRequest(),
};
// Make the request
lro::Operation response = await targetSslProxiesClient.SetCertificateMapAsync(request);
// Poll until the returned long-running operation is complete
lro::Operation completedResponse = await response.PollUntilCompletedAsync();
// Retrieve the operation result
Operation 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
lro::Operation retrievedResponse = await targetSslProxiesClient.PollOnceSetCertificateMapAsync(operationName);
// Check if the retrieved long-running operation has completed
if (retrievedResponse.IsCompleted)
{
// If it has completed, then access the result
Operation retrievedResult = retrievedResponse.Result;
}
SetCertificateMapAsync(string, string, TargetSslProxiesSetCertificateMapRequest, CallSettings)
public virtual Task> SetCertificateMapAsync(string project, string targetSslProxy, TargetSslProxiesSetCertificateMapRequest targetSslProxiesSetCertificateMapRequestResource, CallSettings callSettings = null) Changes the Certificate Map for TargetSslProxy.
| Parameters | |
|---|---|
| Name | Description |
project |
stringProject ID for this request. |
targetSslProxy |
stringName of the TargetSslProxy resource whose CertificateMap is to be set. The name must be 1-63 characters long, and comply with RFC1035. |
targetSslProxiesSetCertificateMapRequestResource |
TargetSslProxiesSetCertificateMapRequestThe body resource for this request |
callSettings |
CallSettingsIf not null, applies overrides to this RPC call. |
| Returns | |
|---|---|
| Type | Description |
TaskOperationOperationOperation |
A Task containing the RPC response. |
// Create client
TargetSslProxiesClient targetSslProxiesClient = await TargetSslProxiesClient.CreateAsync();
// Initialize request argument(s)
string project = "";
string targetSslProxy = "";
TargetSslProxiesSetCertificateMapRequest targetSslProxiesSetCertificateMapRequestResource = new TargetSslProxiesSetCertificateMapRequest();
// Make the request
lro::Operation response = await targetSslProxiesClient.SetCertificateMapAsync(project, targetSslProxy, targetSslProxiesSetCertificateMapRequestResource);
// Poll until the returned long-running operation is complete
lro::Operation completedResponse = await response.PollUntilCompletedAsync();
// Retrieve the operation result
Operation 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
lro::Operation retrievedResponse = await targetSslProxiesClient.PollOnceSetCertificateMapAsync(operationName);
// Check if the retrieved long-running operation has completed
if (retrievedResponse.IsCompleted)
{
// If it has completed, then access the result
Operation retrievedResult = retrievedResponse.Result;
}
SetCertificateMapAsync(string, string, TargetSslProxiesSetCertificateMapRequest, CancellationToken)
public virtual Task> SetCertificateMapAsync(string project, string targetSslProxy, TargetSslProxiesSetCertificateMapRequest targetSslProxiesSetCertificateMapRequestResource, CancellationToken cancellationToken) Changes the Certificate Map for TargetSslProxy.
| Parameters | |
|---|---|
| Name | Description |
project |
stringProject ID for this request. |
targetSslProxy |
stringName of the TargetSslProxy resource whose CertificateMap is to be set. The name must be 1-63 characters long, and comply with RFC1035. |
targetSslProxiesSetCertificateMapRequestResource |
TargetSslProxiesSetCertificateMapRequestThe body resource for this request |
cancellationToken |
CancellationTokenA CancellationToken to use for this RPC. |
| Returns | |
|---|---|
| Type | Description |
TaskOperationOperationOperation |
A Task containing the RPC response. |
// Create client
TargetSslProxiesClient targetSslProxiesClient = await TargetSslProxiesClient.CreateAsync();
// Initialize request argument(s)
string project = "";
string targetSslProxy = "";
TargetSslProxiesSetCertificateMapRequest targetSslProxiesSetCertificateMapRequestResource = new TargetSslProxiesSetCertificateMapRequest();
// Make the request
lro::Operation response = await targetSslProxiesClient.SetCertificateMapAsync(project, targetSslProxy, targetSslProxiesSetCertificateMapRequestResource);
// Poll until the returned long-running operation is complete
lro::Operation completedResponse = await response.PollUntilCompletedAsync();
// Retrieve the operation result
Operation 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
lro::Operation retrievedResponse = await targetSslProxiesClient.PollOnceSetCertificateMapAsync(operationName);
// Check if the retrieved long-running operation has completed
if (retrievedResponse.IsCompleted)
{
// If it has completed, then access the result
Operation retrievedResult = retrievedResponse.Result;
}
SetProxyHeader(SetProxyHeaderTargetSslProxyRequest, CallSettings)
public virtual Operation SetProxyHeader(SetProxyHeaderTargetSslProxyRequest request, CallSettings callSettings = null) Changes the ProxyHeaderType for TargetSslProxy.
| Parameters | |
|---|---|
| Name | Description |
request |
SetProxyHeaderTargetSslProxyRequestThe request object containing all of the parameters for the API call. |
callSettings |
CallSettingsIf not null, applies overrides to this RPC call. |
| Returns | |
|---|---|
| Type | Description |
OperationOperationOperation |
The RPC response. |
// Create client
TargetSslProxiesClient targetSslProxiesClient = TargetSslProxiesClient.Create();
// Initialize request argument(s)
SetProxyHeaderTargetSslProxyRequest request = new SetProxyHeaderTargetSslProxyRequest
{
RequestId = "",
TargetSslProxiesSetProxyHeaderRequestResource = new TargetSslProxiesSetProxyHeaderRequest(),
Project = "",
TargetSslProxy = "",
};
// Make the request
lro::Operation response = targetSslProxiesClient.SetProxyHeader(request);
// Poll until the returned long-running operation is complete
lro::Operation completedResponse = response.PollUntilCompleted();
// Retrieve the operation result
Operation 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
lro::Operation retrievedResponse = targetSslProxiesClient.PollOnceSetProxyHeader(operationName);
// Check if the retrieved long-running operation has completed
if (retrievedResponse.IsCompleted)
{
// If it has completed, then access the result
Operation retrievedResult = retrievedResponse.Result;
}
SetProxyHeader(string, string, TargetSslProxiesSetProxyHeaderRequest, CallSettings)
public virtual Operation SetProxyHeader(string project, string targetSslProxy, TargetSslProxiesSetProxyHeaderRequest targetSslProxiesSetProxyHeaderRequestResource, CallSettings callSettings = null) Changes the ProxyHeaderType for TargetSslProxy.
| Parameters | |
|---|---|
| Name | Description |
project |
stringProject ID for this request. |
targetSslProxy |
stringName of the TargetSslProxy resource whose ProxyHeader is to be set. |
targetSslProxiesSetProxyHeaderRequestResource |
TargetSslProxiesSetProxyHeaderRequestThe body resource for this request |
callSettings |
CallSettingsIf not null, applies overrides to this RPC call. |
| Returns | |
|---|---|
| Type | Description |
OperationOperationOperation |
The RPC response. |
// Create client
TargetSslProxiesClient targetSslProxiesClient = TargetSslProxiesClient.Create();
// Initialize request argument(s)
string project = "";
string targetSslProxy = "";
TargetSslProxiesSetProxyHeaderRequest targetSslProxiesSetProxyHeaderRequestResource = new TargetSslProxiesSetProxyHeaderRequest();
// Make the request
lro::Operation response = targetSslProxiesClient.SetProxyHeader(project, targetSslProxy, targetSslProxiesSetProxyHeaderRequestResource);
// Poll until the returned long-running operation is complete
lro::Operation completedResponse = response.PollUntilCompleted();
// Retrieve the operation result
Operation 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
lro::Operation retrievedResponse = targetSslProxiesClient.PollOnceSetProxyHeader(operationName);
// Check if the retrieved long-running operation has completed
if (retrievedResponse.IsCompleted)
{
// If it has completed, then access the result
Operation retrievedResult = retrievedResponse.Result;
}
SetProxyHeaderAsync(SetProxyHeaderTargetSslProxyRequest, CallSettings)
public virtual Task> SetProxyHeaderAsync(SetProxyHeaderTargetSslProxyRequest request, CallSettings callSettings = null) Changes the ProxyHeaderType for TargetSslProxy.
| Parameters | |
|---|---|
| Name | Description |
request |
SetProxyHeaderTargetSslProxyRequestThe request object containing all of the parameters for the API call. |
callSettings |
CallSettingsIf not null, applies overrides to this RPC call. |
| Returns | |
|---|---|
| Type | Description |
TaskOperationOperationOperation |
A Task containing the RPC response. |
// Create client
TargetSslProxiesClient targetSslProxiesClient = await TargetSslProxiesClient.CreateAsync();
// Initialize request argument(s)
SetProxyHeaderTargetSslProxyRequest request = new SetProxyHeaderTargetSslProxyRequest
{
RequestId = "",
TargetSslProxiesSetProxyHeaderRequestResource = new TargetSslProxiesSetProxyHeaderRequest(),
Project = "",
TargetSslProxy = "",
};
// Make the request
lro::Operation response = await targetSslProxiesClient.SetProxyHeaderAsync(request);
// Poll until the returned long-running operation is complete
lro::Operation completedResponse = await response.PollUntilCompletedAsync();
// Retrieve the operation result
Operation 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
lro::Operation retrievedResponse = await targetSslProxiesClient.PollOnceSetProxyHeaderAsync(operationName);
// Check if the retrieved long-running operation has completed
if (retrievedResponse.IsCompleted)
{
// If it has completed, then access the result
Operation retrievedResult = retrievedResponse.Result;
}
SetProxyHeaderAsync(SetProxyHeaderTargetSslProxyRequest, CancellationToken)
public virtual Task> SetProxyHeaderAsync(SetProxyHeaderTargetSslProxyRequest request, CancellationToken cancellationToken) Changes the ProxyHeaderType for TargetSslProxy.
| Parameters | |
|---|---|
| Name | Description |
request |
SetProxyHeaderTargetSslProxyRequestThe request object containing all of the parameters for the API call. |
cancellationToken |
CancellationTokenA CancellationToken to use for this RPC. |
| Returns | |
|---|---|
| Type | Description |
TaskOperationOperationOperation |
A Task containing the RPC response. |
// Create client
TargetSslProxiesClient targetSslProxiesClient = await TargetSslProxiesClient.CreateAsync();
// Initialize request argument(s)
SetProxyHeaderTargetSslProxyRequest request = new SetProxyHeaderTargetSslProxyRequest
{
RequestId = "",
TargetSslProxiesSetProxyHeaderRequestResource = new TargetSslProxiesSetProxyHeaderRequest(),
Project = "",
TargetSslProxy = "",
};
// Make the request
lro::Operation response = await targetSslProxiesClient.SetProxyHeaderAsync(request);
// Poll until the returned long-running operation is complete
lro::Operation completedResponse = await response.PollUntilCompletedAsync();
// Retrieve the operation result
Operation 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
lro::Operation retrievedResponse = await targetSslProxiesClient.PollOnceSetProxyHeaderAsync(operationName);
// Check if the retrieved long-running operation has completed
if (retrievedResponse.IsCompleted)
{
// If it has completed, then access the result
Operation retrievedResult = retrievedResponse.Result;
}
SetProxyHeaderAsync(string, string, TargetSslProxiesSetProxyHeaderRequest, CallSettings)
public virtual Task> SetProxyHeaderAsync(string project, string targetSslProxy, TargetSslProxiesSetProxyHeaderRequest targetSslProxiesSetProxyHeaderRequestResource, CallSettings callSettings = null) Changes the ProxyHeaderType for TargetSslProxy.
| Parameters | |
|---|---|
| Name | Description |
project |
stringProject ID for this request. |
targetSslProxy |
stringName of the TargetSslProxy resource whose ProxyHeader is to be set. |
targetSslProxiesSetProxyHeaderRequestResource |
TargetSslProxiesSetProxyHeaderRequestThe body resource for this request |
callSettings |
CallSettingsIf not null, applies overrides to this RPC call. |
| Returns | |
|---|---|
| Type | Description |
TaskOperationOperationOperation |
A Task containing the RPC response. |
// Create client
TargetSslProxiesClient targetSslProxiesClient = await TargetSslProxiesClient.CreateAsync();
// Initialize request argument(s)
string project = "";
string targetSslProxy = "";
TargetSslProxiesSetProxyHeaderRequest targetSslProxiesSetProxyHeaderRequestResource = new TargetSslProxiesSetProxyHeaderRequest();
// Make the request
lro::Operation response = await targetSslProxiesClient.SetProxyHeaderAsync(project, targetSslProxy, targetSslProxiesSetProxyHeaderRequestResource);
// Poll until the returned long-running operation is complete
lro::Operation completedResponse = await response.PollUntilCompletedAsync();
// Retrieve the operation result
Operation 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
lro::Operation retrievedResponse = await targetSslProxiesClient.PollOnceSetProxyHeaderAsync(operationName);
// Check if the retrieved long-running operation has completed
if (retrievedResponse.IsCompleted)
{
// If it has completed, then access the result
Operation retrievedResult = retrievedResponse.Result;
}
SetProxyHeaderAsync(string, string, TargetSslProxiesSetProxyHeaderRequest, CancellationToken)
public virtual Task> SetProxyHeaderAsync(string project, string targetSslProxy, TargetSslProxiesSetProxyHeaderRequest targetSslProxiesSetProxyHeaderRequestResource, CancellationToken cancellationToken) Changes the ProxyHeaderType for TargetSslProxy.
| Parameters | |
|---|---|
| Name | Description |
project |
stringProject ID for this request. |
targetSslProxy |
stringName of the TargetSslProxy resource whose ProxyHeader is to be set. |
targetSslProxiesSetProxyHeaderRequestResource |
TargetSslProxiesSetProxyHeaderRequestThe body resource for this request |
cancellationToken |
CancellationTokenA CancellationToken to use for this RPC. |
| Returns | |
|---|---|
| Type | Description |
TaskOperationOperationOperation |
A Task containing the RPC response. |
// Create client
TargetSslProxiesClient targetSslProxiesClient = await TargetSslProxiesClient.CreateAsync();
// Initialize request argument(s)
string project = "";
string targetSslProxy = "";
TargetSslProxiesSetProxyHeaderRequest targetSslProxiesSetProxyHeaderRequestResource = new TargetSslProxiesSetProxyHeaderRequest();
// Make the request
lro::Operation response = await targetSslProxiesClient.SetProxyHeaderAsync(project, targetSslProxy, targetSslProxiesSetProxyHeaderRequestResource);
// Poll until the returned long-running operation is complete
lro::Operation completedResponse = await response.PollUntilCompletedAsync();
// Retrieve the operation result
Operation 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
lro::Operation retrievedResponse = await targetSslProxiesClient.PollOnceSetProxyHeaderAsync(operationName);
// Check if the retrieved long-running operation has completed
if (retrievedResponse.IsCompleted)
{
// If it has completed, then access the result
Operation retrievedResult = retrievedResponse.Result;
}
SetSslCertificates(SetSslCertificatesTargetSslProxyRequest, CallSettings)
public virtual Operation SetSslCertificates(SetSslCertificatesTargetSslProxyRequest request, CallSettings callSettings = null) Changes SslCertificates for TargetSslProxy.
| Parameters | |
|---|---|
| Name | Description |
request |
SetSslCertificatesTargetSslProxyRequestThe request object containing all of the parameters for the API call. |
callSettings |
CallSettingsIf not null, applies overrides to this RPC call. |
| Returns | |
|---|---|
| Type | Description |
OperationOperationOperation |
The RPC response. |
// Create client
TargetSslProxiesClient targetSslProxiesClient = TargetSslProxiesClient.Create();
// Initialize request argument(s)
SetSslCertificatesTargetSslProxyRequest request = new SetSslCertificatesTargetSslProxyRequest
{
RequestId = "",
TargetSslProxiesSetSslCertificatesRequestResource = new TargetSslProxiesSetSslCertificatesRequest(),
Project = "",
TargetSslProxy = "",
};
// Make the request
lro::Operation response = targetSslProxiesClient.SetSslCertificates(request);
// Poll until the returned long-running operation is complete
lro::Operation completedResponse = response.PollUntilCompleted();
// Retrieve the operation result
Operation 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
lro::Operation retrievedResponse = targetSslProxiesClient.PollOnceSetSslCertificates(operationName);
// Check if the retrieved long-running operation has completed
if (retrievedResponse.IsCompleted)
{
// If it has completed, then access the result
Operation retrievedResult = retrievedResponse.Result;
}
SetSslCertificates(string, string, TargetSslProxiesSetSslCertificatesRequest, CallSettings)
public virtual Operation SetSslCertificates(string project, string targetSslProxy, TargetSslProxiesSetSslCertificatesRequest targetSslProxiesSetSslCertificatesRequestResource, CallSettings callSettings = null) Changes SslCertificates for TargetSslProxy.
| Parameters | |
|---|---|
| Name | Description |
project |
stringProject ID for this request. |
targetSslProxy |
stringName of the TargetSslProxy resource whose SslCertificate resource is to be set. |
targetSslProxiesSetSslCertificatesRequestResource |
TargetSslProxiesSetSslCertificatesRequestThe body resource for this request |
callSettings |
CallSettingsIf not null, applies overrides to this RPC call. |
| Returns | |
|---|---|
| Type | Description |
OperationOperationOperation |
The RPC response. |
// Create client
TargetSslProxiesClient targetSslProxiesClient = TargetSslProxiesClient.Create();
// Initialize request argument(s)
string project = "";
string targetSslProxy = "";
TargetSslProxiesSetSslCertificatesRequest targetSslProxiesSetSslCertificatesRequestResource = new TargetSslProxiesSetSslCertificatesRequest();
// Make the request
lro::Operation response = targetSslProxiesClient.SetSslCertificates(project, targetSslProxy, targetSslProxiesSetSslCertificatesRequestResource);
// Poll until the returned long-running operation is complete
lro::Operation completedResponse = response.PollUntilCompleted();
// Retrieve the operation result
Operation 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
lro::Operation retrievedResponse = targetSslProxiesClient.PollOnceSetSslCertificates(operationName);
// Check if the retrieved long-running operation has completed
if (retrievedResponse.IsCompleted)
{
// If it has completed, then access the result
Operation retrievedResult = retrievedResponse.Result;
}
SetSslCertificatesAsync(SetSslCertificatesTargetSslProxyRequest, CallSettings)
public virtual Task> SetSslCertificatesAsync(SetSslCertificatesTargetSslProxyRequest request, CallSettings callSettings = null) Changes SslCertificates for TargetSslProxy.
| Parameters | |
|---|---|
| Name | Description |
request |
SetSslCertificatesTargetSslProxyRequestThe request object containing all of the parameters for the API call. |
callSettings |
CallSettingsIf not null, applies overrides to this RPC call. |
| Returns | |
|---|---|
| Type | Description |
TaskOperationOperationOperation |
A Task containing the RPC response. |
// Create client
TargetSslProxiesClient targetSslProxiesClient = await TargetSslProxiesClient.CreateAsync();
// Initialize request argument(s)
SetSslCertificatesTargetSslProxyRequest request = new SetSslCertificatesTargetSslProxyRequest
{
RequestId = "",
TargetSslProxiesSetSslCertificatesRequestResource = new TargetSslProxiesSetSslCertificatesRequest(),
Project = "",
TargetSslProxy = "",
};
// Make the request
lro::Operation response = await targetSslProxiesClient.SetSslCertificatesAsync(request);
// Poll until the returned long-running operation is complete
lro::Operation completedResponse = await response.PollUntilCompletedAsync();
// Retrieve the operation result
Operation 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
lro::Operation retrievedResponse = await targetSslProxiesClient.PollOnceSetSslCertificatesAsync(operationName);
// Check if the retrieved long-running operation has completed
if (retrievedResponse.IsCompleted)
{
// If it has completed, then access the result
Operation retrievedResult = retrievedResponse.Result;
}
SetSslCertificatesAsync(SetSslCertificatesTargetSslProxyRequest, CancellationToken)
public virtual Task> SetSslCertificatesAsync(SetSslCertificatesTargetSslProxyRequest request, CancellationToken cancellationToken) Changes SslCertificates for TargetSslProxy.
| Parameters | |
|---|---|
| Name | Description |
request |
SetSslCertificatesTargetSslProxyRequestThe request object containing all of the parameters for the API call. |
cancellationToken |
CancellationTokenA CancellationToken to use for this RPC. |
| Returns | |
|---|---|
| Type | Description |
TaskOperationOperationOperation |
A Task containing the RPC response. |
// Create client
TargetSslProxiesClient targetSslProxiesClient = await TargetSslProxiesClient.CreateAsync();
// Initialize request argument(s)
SetSslCertificatesTargetSslProxyRequest request = new SetSslCertificatesTargetSslProxyRequest
{
RequestId = "",
TargetSslProxiesSetSslCertificatesRequestResource = new TargetSslProxiesSetSslCertificatesRequest(),
Project = "",
TargetSslProxy = "",
};
// Make the request
lro::Operation response = await targetSslProxiesClient.SetSslCertificatesAsync(request);
// Poll until the returned long-running operation is complete
lro::Operation completedResponse = await response.PollUntilCompletedAsync();
// Retrieve the operation result
Operation 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
lro::Operation retrievedResponse = await targetSslProxiesClient.PollOnceSetSslCertificatesAsync(operationName);
// Check if the retrieved long-running operation has completed
if (retrievedResponse.IsCompleted)
{
// If it has completed, then access the result
Operation retrievedResult = retrievedResponse.Result;
}
SetSslCertificatesAsync(string, string, TargetSslProxiesSetSslCertificatesRequest, CallSettings)
public virtual Task> SetSslCertificatesAsync(string project, string targetSslProxy, TargetSslProxiesSetSslCertificatesRequest targetSslProxiesSetSslCertificatesRequestResource, CallSettings callSettings = null) Changes SslCertificates for TargetSslProxy.
| Parameters | |
|---|---|
| Name | Description |
project |
stringProject ID for this request. |
targetSslProxy |
stringName of the TargetSslProxy resource whose SslCertificate resource is to be set. |
targetSslProxiesSetSslCertificatesRequestResource |
TargetSslProxiesSetSslCertificatesRequestThe body resource for this request |
callSettings |
CallSettingsIf not null, applies overrides to this RPC call. |
| Returns | |
|---|---|
| Type | Description |
TaskOperationOperationOperation |
A Task containing the RPC response. |
// Create client
TargetSslProxiesClient targetSslProxiesClient = await TargetSslProxiesClient.CreateAsync();
// Initialize request argument(s)
string project = "";
string targetSslProxy = "";
TargetSslProxiesSetSslCertificatesRequest targetSslProxiesSetSslCertificatesRequestResource = new TargetSslProxiesSetSslCertificatesRequest();
// Make the request
lro::Operation response = await targetSslProxiesClient.SetSslCertificatesAsync(project, targetSslProxy, targetSslProxiesSetSslCertificatesRequestResource);
// Poll until the returned long-running operation is complete
lro::Operation completedResponse = await response.PollUntilCompletedAsync();
// Retrieve the operation result
Operation 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
lro::Operation retrievedResponse = await targetSslProxiesClient.PollOnceSetSslCertificatesAsync(operationName);
// Check if the retrieved long-running operation has completed
if (retrievedResponse.IsCompleted)
{
// If it has completed, then access the result
Operation retrievedResult = retrievedResponse.Result;
}
SetSslCertificatesAsync(string, string, TargetSslProxiesSetSslCertificatesRequest, CancellationToken)
public virtual Task> SetSslCertificatesAsync(string project, string targetSslProxy, TargetSslProxiesSetSslCertificatesRequest targetSslProxiesSetSslCertificatesRequestResource, CancellationToken cancellationToken) Changes SslCertificates for TargetSslProxy.
| Parameters | |
|---|---|
| Name | Description |
project |
stringProject ID for this request. |
targetSslProxy |
stringName of the TargetSslProxy resource whose SslCertificate resource is to be set. |
targetSslProxiesSetSslCertificatesRequestResource |
TargetSslProxiesSetSslCertificatesRequestThe body resource for this request |
cancellationToken |
CancellationTokenA CancellationToken to use for this RPC. |
| Returns | |
|---|---|
| Type | Description |
TaskOperationOperationOperation |
A Task containing the RPC response. |
// Create client
TargetSslProxiesClient targetSslProxiesClient = await TargetSslProxiesClient.CreateAsync();
// Initialize request argument(s)
string project = "";
string targetSslProxy = "";
TargetSslProxiesSetSslCertificatesRequest targetSslProxiesSetSslCertificatesRequestResource = new TargetSslProxiesSetSslCertificatesRequest();
// Make the request
lro::Operation response = await targetSslProxiesClient.SetSslCertificatesAsync(project, targetSslProxy, targetSslProxiesSetSslCertificatesRequestResource);
// Poll until the returned long-running operation is complete
lro::Operation completedResponse = await response.PollUntilCompletedAsync();
// Retrieve the operation result
Operation 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
lro::Operation retrievedResponse = await targetSslProxiesClient.PollOnceSetSslCertificatesAsync(operationName);
// Check if the retrieved long-running operation has completed
if (retrievedResponse.IsCompleted)
{
// If it has completed, then access the result
Operation retrievedResult = retrievedResponse.Result;
}
SetSslPolicy(SetSslPolicyTargetSslProxyRequest, CallSettings)
public virtual Operation SetSslPolicy(SetSslPolicyTargetSslProxyRequest request, CallSettings callSettings = null) Sets the SSL policy for TargetSslProxy. The SSL policy specifies the server-side support for SSL features. This affects connections between clients and the load balancer. They do not affect the connection between the load balancer and the backends.
| Parameters | |
|---|---|
| Name | Description |
request |
SetSslPolicyTargetSslProxyRequestThe request object containing all of the parameters for the API call. |
callSettings |
CallSettingsIf not null, applies overrides to this RPC call. |
| Returns | |
|---|---|
| Type | Description |
OperationOperationOperation |
The RPC response. |
// Create client
TargetSslProxiesClient targetSslProxiesClient = TargetSslProxiesClient.Create();
// Initialize request argument(s)
SetSslPolicyTargetSslProxyRequest request = new SetSslPolicyTargetSslProxyRequest
{
RequestId = "",
Project = "",
SslPolicyReferenceResource = new SslPolicyReference(),
TargetSslProxy = "",
};
// Make the request
lro::Operation response = targetSslProxiesClient.SetSslPolicy(request);
// Poll until the returned long-running operation is complete
lro::Operation completedResponse = response.PollUntilCompleted();
// Retrieve the operation result
Operation 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
lro::Operation retrievedResponse = targetSslProxiesClient.PollOnceSetSslPolicy(operationName);
// Check if the retrieved long-running operation has completed
if (retrievedResponse.IsCompleted)
{
// If it has completed, then access the result
Operation retrievedResult = retrievedResponse.Result;
}
SetSslPolicy(string, string, SslPolicyReference, CallSettings)
public virtual Operation SetSslPolicy(string project, string targetSslProxy, SslPolicyReference sslPolicyReferenceResource, CallSettings callSettings = null) Sets the SSL policy for TargetSslProxy. The SSL policy specifies the server-side support for SSL features. This affects connections between clients and the load balancer. They do not affect the connection between the load balancer and the backends.
| Parameters | |
|---|---|
| Name | Description |
project |
stringProject ID for this request. |
targetSslProxy |
stringName of the TargetSslProxy resource whose SSL policy is to be set. The name must be 1-63 characters long, and comply with RFC1035. |
sslPolicyReferenceResource |
SslPolicyReferenceThe body resource for this request |
callSettings |
CallSettingsIf not null, applies overrides to this RPC call. |
| Returns | |
|---|---|
| Type | Description |
OperationOperationOperation |
The RPC response. |
// Create client
TargetSslProxiesClient targetSslProxiesClient = TargetSslProxiesClient.Create();
// Initialize request argument(s)
string project = "";
string targetSslProxy = "";
SslPolicyReference sslPolicyReferenceResource = new SslPolicyReference();
// Make the request
lro::Operation response = targetSslProxiesClient.SetSslPolicy(project, targetSslProxy, sslPolicyReferenceResource);
// Poll until the returned long-running operation is complete
lro::Operation completedResponse = response.PollUntilCompleted();
// Retrieve the operation result
Operation 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
lro::Operation retrievedResponse = targetSslProxiesClient.PollOnceSetSslPolicy(operationName);
// Check if the retrieved long-running operation has completed
if (retrievedResponse.IsCompleted)
{
// If it has completed, then access the result
Operation retrievedResult = retrievedResponse.Result;
}
SetSslPolicyAsync(SetSslPolicyTargetSslProxyRequest, CallSettings)
public virtual Task> SetSslPolicyAsync(SetSslPolicyTargetSslProxyRequest request, CallSettings callSettings = null) Sets the SSL policy for TargetSslProxy. The SSL policy specifies the server-side support for SSL features. This affects connections between clients and the load balancer. They do not affect the connection between the load balancer and the backends.
| Parameters | |
|---|---|
| Name | Description |
request |
SetSslPolicyTargetSslProxyRequestThe request object containing all of the parameters for the API call. |
callSettings |
CallSettingsIf not null, applies overrides to this RPC call. |
| Returns | |
|---|---|
| Type | Description |
TaskOperationOperationOperation |
A Task containing the RPC response. |
// Create client
TargetSslProxiesClient targetSslProxiesClient = await TargetSslProxiesClient.CreateAsync();
// Initialize request argument(s)
SetSslPolicyTargetSslProxyRequest request = new SetSslPolicyTargetSslProxyRequest
{
RequestId = "",
Project = "",
SslPolicyReferenceResource = new SslPolicyReference(),
TargetSslProxy = "",
};
// Make the request
lro::Operation response = await targetSslProxiesClient.SetSslPolicyAsync(request);
// Poll until the returned long-running operation is complete
lro::Operation completedResponse = await response.PollUntilCompletedAsync();
// Retrieve the operation result
Operation 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
lro::Operation retrievedResponse = await targetSslProxiesClient.PollOnceSetSslPolicyAsync(operationName);
// Check if the retrieved long-running operation has completed
if (retrievedResponse.IsCompleted)
{
// If it has completed, then access the result
Operation retrievedResult = retrievedResponse.Result;
}
SetSslPolicyAsync(SetSslPolicyTargetSslProxyRequest, CancellationToken)
public virtual Task> SetSslPolicyAsync(SetSslPolicyTargetSslProxyRequest request, CancellationToken cancellationToken) Sets the SSL policy for TargetSslProxy. The SSL policy specifies the server-side support for SSL features. This affects connections between clients and the load balancer. They do not affect the connection between the load balancer and the backends.
| Parameters | |
|---|---|
| Name | Description |
request |
SetSslPolicyTargetSslProxyRequestThe request object containing all of the parameters for the API call. |
cancellationToken |
CancellationTokenA CancellationToken to use for this RPC. |
| Returns | |
|---|---|
| Type | Description |
TaskOperationOperationOperation |
A Task containing the RPC response. |
// Create client
TargetSslProxiesClient targetSslProxiesClient = await TargetSslProxiesClient.CreateAsync();
// Initialize request argument(s)
SetSslPolicyTargetSslProxyRequest request = new SetSslPolicyTargetSslProxyRequest
{
RequestId = "",
Project = "",
SslPolicyReferenceResource = new SslPolicyReference(),
TargetSslProxy = "",
};
// Make the request
lro::Operation response = await targetSslProxiesClient.SetSslPolicyAsync(request);
// Poll until the returned long-running operation is complete
lro::Operation completedResponse = await response.PollUntilCompletedAsync();
// Retrieve the operation result
Operation 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
lro::Operation retrievedResponse = await targetSslProxiesClient.PollOnceSetSslPolicyAsync(operationName);
// Check if the retrieved long-running operation has completed
if (retrievedResponse.IsCompleted)
{
// If it has completed, then access the result
Operation retrievedResult = retrievedResponse.Result;
}
SetSslPolicyAsync(string, string, SslPolicyReference, CallSettings)
public virtual Task> SetSslPolicyAsync(string project, string targetSslProxy, SslPolicyReference sslPolicyReferenceResource, CallSettings callSettings = null) Sets the SSL policy for TargetSslProxy. The SSL policy specifies the server-side support for SSL features. This affects connections between clients and the load balancer. They do not affect the connection between the load balancer and the backends.
| Parameters | |
|---|---|
| Name | Description |
project |
stringProject ID for this request. |
targetSslProxy |
stringName of the TargetSslProxy resource whose SSL policy is to be set. The name must be 1-63 characters long, and comply with RFC1035. |
sslPolicyReferenceResource |
SslPolicyReferenceThe body resource for this request |
callSettings |
CallSettingsIf not null, applies overrides to this RPC call. |
| Returns | |
|---|---|
| Type | Description |
TaskOperationOperationOperation |
A Task containing the RPC response. |
// Create client
TargetSslProxiesClient targetSslProxiesClient = await TargetSslProxiesClient.CreateAsync();
// Initialize request argument(s)
string project = "";
string targetSslProxy = "";
SslPolicyReference sslPolicyReferenceResource = new SslPolicyReference();
// Make the request
lro::Operation response = await targetSslProxiesClient.SetSslPolicyAsync(project, targetSslProxy, sslPolicyReferenceResource);
// Poll until the returned long-running operation is complete
lro::Operation completedResponse = await response.PollUntilCompletedAsync();
// Retrieve the operation result
Operation 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
lro::Operation retrievedResponse = await targetSslProxiesClient.PollOnceSetSslPolicyAsync(operationName);
// Check if the retrieved long-running operation has completed
if (retrievedResponse.IsCompleted)
{
// If it has completed, then access the result
Operation retrievedResult = retrievedResponse.Result;
}
SetSslPolicyAsync(string, string, SslPolicyReference, CancellationToken)
public virtual Task> SetSslPolicyAsync(string project, string targetSslProxy, SslPolicyReference sslPolicyReferenceResource, CancellationToken cancellationToken) Sets the SSL policy for TargetSslProxy. The SSL policy specifies the server-side support for SSL features. This affects connections between clients and the load balancer. They do not affect the connection between the load balancer and the backends.
| Parameters | |
|---|---|
| Name | Description |
project |
stringProject ID for this request. |
targetSslProxy |
stringName of the TargetSslProxy resource whose SSL policy is to be set. The name must be 1-63 characters long, and comply with RFC1035. |
sslPolicyReferenceResource |
SslPolicyReferenceThe body resource for this request |
cancellationToken |
CancellationTokenA CancellationToken to use for this RPC. |
| Returns | |
|---|---|
| Type | Description |
TaskOperationOperationOperation |
A Task containing the RPC response. |
// Create client
TargetSslProxiesClient targetSslProxiesClient = await TargetSslProxiesClient.CreateAsync();
// Initialize request argument(s)
string project = "";
string targetSslProxy = "";
SslPolicyReference sslPolicyReferenceResource = new SslPolicyReference();
// Make the request
lro::Operation response = await targetSslProxiesClient.SetSslPolicyAsync(project, targetSslProxy, sslPolicyReferenceResource);
// Poll until the returned long-running operation is complete
lro::Operation completedResponse = await response.PollUntilCompletedAsync();
// Retrieve the operation result
Operation 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
lro::Operation retrievedResponse = await targetSslProxiesClient.PollOnceSetSslPolicyAsync(operationName);
// Check if the retrieved long-running operation has completed
if (retrievedResponse.IsCompleted)
{
// If it has completed, then access the result
Operation retrievedResult = retrievedResponse.Result;
}
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.
TestIamPermissions(TestIamPermissionsTargetSslProxyRequest, CallSettings)
public virtual TestPermissionsResponse TestIamPermissions(TestIamPermissionsTargetSslProxyRequest request, CallSettings callSettings = null)Returns permissions that a caller has on the specified resource.
| Parameters | |
|---|---|
| Name | Description |
request |
TestIamPermissionsTargetSslProxyRequestThe request object containing all of the parameters for the API call. |
callSettings |
CallSettingsIf not null, applies overrides to this RPC call. |
| Returns | |
|---|---|
| Type | Description |
TestPermissionsResponse |
The RPC response. |
// Create client
TargetSslProxiesClient targetSslProxiesClient = TargetSslProxiesClient.Create();
// Initialize request argument(s)
TestIamPermissionsTargetSslProxyRequest request = new TestIamPermissionsTargetSslProxyRequest
{
Resource = "",
Project = "",
TestPermissionsRequestResource = new TestPermissionsRequest(),
};
// Make the request
TestPermissionsResponse response = targetSslProxiesClient.TestIamPermissions(request);
TestIamPermissions(string, string, TestPermissionsRequest, CallSettings)
public virtual TestPermissionsResponse TestIamPermissions(string project, string resource, TestPermissionsRequest testPermissionsRequestResource, CallSettings callSettings = null)Returns permissions that a caller has on the specified resource.
| Parameters | |
|---|---|
| Name | Description |
project |
stringProject ID for this request. |
resource |
stringName or id of the resource for this request. |
testPermissionsRequestResource |
TestPermissionsRequestThe body resource for this request |
callSettings |
CallSettingsIf not null, applies overrides to this RPC call. |
| Returns | |
|---|---|
| Type | Description |
TestPermissionsResponse |
The RPC response. |
// Create client
TargetSslProxiesClient targetSslProxiesClient = TargetSslProxiesClient.Create();
// Initialize request argument(s)
string project = "";
string resource = "";
TestPermissionsRequest testPermissionsRequestResource = new TestPermissionsRequest();
// Make the request
TestPermissionsResponse response = targetSslProxiesClient.TestIamPermissions(project, resource, testPermissionsRequestResource);
TestIamPermissionsAsync(TestIamPermissionsTargetSslProxyRequest, CallSettings)
public virtual Task TestIamPermissionsAsync(TestIamPermissionsTargetSslProxyRequest request, CallSettings callSettings = null) Returns permissions that a caller has on the specified resource.
| Parameters | |
|---|---|
| Name | Description |
request |
TestIamPermissionsTargetSslProxyRequestThe request object containing all of the parameters for the API call. |
callSettings |
CallSettingsIf not null, applies overrides to this RPC call. |
| Returns | |
|---|---|
| Type | Description |
TaskTestPermissionsResponse |
A Task containing the RPC response. |
// Create client
TargetSslProxiesClient targetSslProxiesClient = await TargetSslProxiesClient.CreateAsync();
// Initialize request argument(s)
TestIamPermissionsTargetSslProxyRequest request = new TestIamPermissionsTargetSslProxyRequest
{
Resource = "",
Project = "",
TestPermissionsRequestResource = new TestPermissionsRequest(),
};
// Make the request
TestPermissionsResponse response = await targetSslProxiesClient.TestIamPermissionsAsync(request);
TestIamPermissionsAsync(TestIamPermissionsTargetSslProxyRequest, CancellationToken)
public virtual Task TestIamPermissionsAsync(TestIamPermissionsTargetSslProxyRequest request, CancellationToken cancellationToken) Returns permissions that a caller has on the specified resource.
| Parameters | |
|---|---|
| Name | Description |
request |
TestIamPermissionsTargetSslProxyRequestThe request object containing all of the parameters for the API call. |
cancellationToken |
CancellationTokenA CancellationToken to use for this RPC. |
| Returns | |
|---|---|
| Type | Description |
TaskTestPermissionsResponse |
A Task containing the RPC response. |
// Create client
TargetSslProxiesClient targetSslProxiesClient = await TargetSslProxiesClient.CreateAsync();
// Initialize request argument(s)
TestIamPermissionsTargetSslProxyRequest request = new TestIamPermissionsTargetSslProxyRequest
{
Resource = "",
Project = "",
TestPermissionsRequestResource = new TestPermissionsRequest(),
};
// Make the request
TestPermissionsResponse response = await targetSslProxiesClient.TestIamPermissionsAsync(request);
TestIamPermissionsAsync(string, string, TestPermissionsRequest, CallSettings)
public virtual Task TestIamPermissionsAsync(string project, string resource, TestPermissionsRequest testPermissionsRequestResource, CallSettings callSettings = null) Returns permissions that a caller has on the specified resource.
| Parameters | |
|---|---|
| Name | Description |
project |
stringProject ID for this request. |
resource |
stringName or id of the resource for this request. |
testPermissionsRequestResource |
TestPermissionsRequestThe body resource for this request |
callSettings |
CallSettingsIf not null, applies overrides to this RPC call. |
| Returns | |
|---|---|
| Type | Description |
TaskTestPermissionsResponse |
A Task containing the RPC response. |
// Create client
TargetSslProxiesClient targetSslProxiesClient = await TargetSslProxiesClient.CreateAsync();
// Initialize request argument(s)
string project = "";
string resource = "";
TestPermissionsRequest testPermissionsRequestResource = new TestPermissionsRequest();
// Make the request
TestPermissionsResponse response = await targetSslProxiesClient.TestIamPermissionsAsync(project, resource, testPermissionsRequestResource);
TestIamPermissionsAsync(string, string, TestPermissionsRequest, CancellationToken)
public virtual Task TestIamPermissionsAsync(string project, string resource, TestPermissionsRequest testPermissionsRequestResource, CancellationToken cancellationToken) Returns permissions that a caller has on the specified resource.
| Parameters | |
|---|---|
| Name | Description |
project |
stringProject ID for this request. |
resource |
stringName or id of the resource for this request. |
testPermissionsRequestResource |
TestPermissionsRequestThe body resource for this request |
cancellationToken |
CancellationTokenA CancellationToken to use for this RPC. |
| Returns | |
|---|---|
| Type | Description |
TaskTestPermissionsResponse |
A Task containing the RPC response. |
// Create client
TargetSslProxiesClient targetSslProxiesClient = await TargetSslProxiesClient.CreateAsync();
// Initialize request argument(s)
string project = "";
string resource = "";
TestPermissionsRequest testPermissionsRequestResource = new TestPermissionsRequest();
// Make the request
TestPermissionsResponse response = await targetSslProxiesClient.TestIamPermissionsAsync(project, resource, testPermissionsRequestResource);