Compute Engine v1 API - Class TargetSslProxiesClient (2.9.0)

public abstract class TargetSslProxiesClient

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

TargetSslProxies client wrapper, for convenient use.

Inheritance

object > TargetSslProxiesClient

Namespace

GoogleCloudGoogle.Cloud.ComputeV1

Assembly

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
TypeDescription
string

DefaultScopes

public static IReadOnlyList<string> DefaultScopes { get; }

The default TargetSslProxies scopes.

Property Value
TypeDescription
IReadOnlyListstring
Remarks

DeleteOperationsClient

public virtual OperationsClient DeleteOperationsClient { get; }

The long-running operations client for Delete.

Property Value
TypeDescription
OperationsClient

GrpcClient

public virtual TargetSslProxies.TargetSslProxiesClient GrpcClient { get; }

The underlying gRPC TargetSslProxies client

Property Value
TypeDescription
TargetSslProxiesTargetSslProxiesClient

InsertOperationsClient

public virtual OperationsClient InsertOperationsClient { get; }

The long-running operations client for Insert.

Property Value
TypeDescription
OperationsClient

ServiceMetadata

public static ServiceMetadata ServiceMetadata { get; }

The service metadata associated with this client type.

Property Value
TypeDescription
ServiceMetadata

SetBackendServiceOperationsClient

public virtual OperationsClient SetBackendServiceOperationsClient { get; }

The long-running operations client for SetBackendService.

Property Value
TypeDescription
OperationsClient

SetCertificateMapOperationsClient

public virtual OperationsClient SetCertificateMapOperationsClient { get; }

The long-running operations client for SetCertificateMap.

Property Value
TypeDescription
OperationsClient

SetProxyHeaderOperationsClient

public virtual OperationsClient SetProxyHeaderOperationsClient { get; }

The long-running operations client for SetProxyHeader.

Property Value
TypeDescription
OperationsClient

SetSslCertificatesOperationsClient

public virtual OperationsClient SetSslCertificatesOperationsClient { get; }

The long-running operations client for SetSslCertificates.

Property Value
TypeDescription
OperationsClient

SetSslPolicyOperationsClient

public virtual OperationsClient SetSslPolicyOperationsClient { get; }

The long-running operations client for SetSslPolicy.

Property Value
TypeDescription
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
TypeDescription
TargetSslProxiesClient

The created TargetSslProxiesClient.

CreateAsync(CancellationToken)

public static Task<TargetSslProxiesClient> 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
NameDescription
cancellationTokenCancellationToken

The CancellationToken to use while creating the client.

Returns
TypeDescription
TaskTargetSslProxiesClient

The task representing the created TargetSslProxiesClient.

Delete(DeleteTargetSslProxyRequest, CallSettings)

public virtual Operation<Operation, Operation> Delete(DeleteTargetSslProxyRequest request, CallSettings callSettings = null)

Deletes the specified TargetSslProxy resource.

Parameters
NameDescription
requestDeleteTargetSslProxyRequest

The request object containing all of the parameters for the API call.

callSettingsCallSettings

If not null, applies overrides to this RPC call.

Returns
TypeDescription
OperationOperationOperation

The RPC response.

Example
// Create client
TargetSslProxiesClient targetSslProxiesClient = TargetSslProxiesClient.Create();
// Initialize request argument(s)
DeleteTargetSslProxyRequest request = new DeleteTargetSslProxyRequest
{
    RequestId = "",
    Project = "",
    TargetSslProxy = "",
};
// Make the request
lro::Operation<Operation, Operation> response = targetSslProxiesClient.Delete(request);

// Poll until the returned long-running operation is complete
lro::Operation<Operation, 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<Operation, 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<Operation, Operation> Delete(string project, string targetSslProxy, CallSettings callSettings = null)

Deletes the specified TargetSslProxy resource.

Parameters
NameDescription
projectstring

Project ID for this request.

targetSslProxystring

Name of the TargetSslProxy resource to delete.

callSettingsCallSettings

If not null, applies overrides to this RPC call.

Returns
TypeDescription
OperationOperationOperation

The RPC response.

Example
// Create client
TargetSslProxiesClient targetSslProxiesClient = TargetSslProxiesClient.Create();
// Initialize request argument(s)
string project = "";
string targetSslProxy = "";
// Make the request
lro::Operation<Operation, Operation> response = targetSslProxiesClient.Delete(project, targetSslProxy);

// Poll until the returned long-running operation is complete
lro::Operation<Operation, 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<Operation, 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<Operation<Operation, Operation>> DeleteAsync(DeleteTargetSslProxyRequest request, CallSettings callSettings = null)

Deletes the specified TargetSslProxy resource.

Parameters
NameDescription
requestDeleteTargetSslProxyRequest

The request object containing all of the parameters for the API call.

callSettingsCallSettings

If not null, applies overrides to this RPC call.

Returns
TypeDescription
TaskOperationOperationOperation

A Task containing the RPC response.

Example
// Create client
TargetSslProxiesClient targetSslProxiesClient = await TargetSslProxiesClient.CreateAsync();
// Initialize request argument(s)
DeleteTargetSslProxyRequest request = new DeleteTargetSslProxyRequest
{
    RequestId = "",
    Project = "",
    TargetSslProxy = "",
};
// Make the request
lro::Operation<Operation, Operation> response = await targetSslProxiesClient.DeleteAsync(request);

// Poll until the returned long-running operation is complete
lro::Operation<Operation, 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<Operation, 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<Operation<Operation, Operation>> DeleteAsync(DeleteTargetSslProxyRequest request, CancellationToken cancellationToken)

Deletes the specified TargetSslProxy resource.

Parameters
NameDescription
requestDeleteTargetSslProxyRequest

The request object containing all of the parameters for the API call.

cancellationTokenCancellationToken

A CancellationToken to use for this RPC.

Returns
TypeDescription
TaskOperationOperationOperation

A Task containing the RPC response.

Example
// Create client
TargetSslProxiesClient targetSslProxiesClient = await TargetSslProxiesClient.CreateAsync();
// Initialize request argument(s)
DeleteTargetSslProxyRequest request = new DeleteTargetSslProxyRequest
{
    RequestId = "",
    Project = "",
    TargetSslProxy = "",
};
// Make the request
lro::Operation<Operation, Operation> response = await targetSslProxiesClient.DeleteAsync(request);

// Poll until the returned long-running operation is complete
lro::Operation<Operation, 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<Operation, 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<Operation<Operation, Operation>> DeleteAsync(string project, string targetSslProxy, CallSettings callSettings = null)

Deletes the specified TargetSslProxy resource.

Parameters
NameDescription
projectstring

Project ID for this request.

targetSslProxystring

Name of the TargetSslProxy resource to delete.

callSettingsCallSettings

If not null, applies overrides to this RPC call.

Returns
TypeDescription
TaskOperationOperationOperation

A Task containing the RPC response.

Example
// Create client
TargetSslProxiesClient targetSslProxiesClient = await TargetSslProxiesClient.CreateAsync();
// Initialize request argument(s)
string project = "";
string targetSslProxy = "";
// Make the request
lro::Operation<Operation, Operation> response = await targetSslProxiesClient.DeleteAsync(project, targetSslProxy);

// Poll until the returned long-running operation is complete
lro::Operation<Operation, 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<Operation, 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<Operation<Operation, Operation>> DeleteAsync(string project, string targetSslProxy, CancellationToken cancellationToken)

Deletes the specified TargetSslProxy resource.

Parameters
NameDescription
projectstring

Project ID for this request.

targetSslProxystring

Name of the TargetSslProxy resource to delete.

cancellationTokenCancellationToken

A CancellationToken to use for this RPC.

Returns
TypeDescription
TaskOperationOperationOperation

A Task containing the RPC response.

Example
// Create client
TargetSslProxiesClient targetSslProxiesClient = await TargetSslProxiesClient.CreateAsync();
// Initialize request argument(s)
string project = "";
string targetSslProxy = "";
// Make the request
lro::Operation<Operation, Operation> response = await targetSslProxiesClient.DeleteAsync(project, targetSslProxy);

// Poll until the returned long-running operation is complete
lro::Operation<Operation, 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<Operation, 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
NameDescription
requestGetTargetSslProxyRequest

The request object containing all of the parameters for the API call.

callSettingsCallSettings

If not null, applies overrides to this RPC call.

Returns
TypeDescription
TargetSslProxy

The RPC response.

Example
// 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
NameDescription
projectstring

Project ID for this request.

targetSslProxystring

Name of the TargetSslProxy resource to return.

callSettingsCallSettings

If not null, applies overrides to this RPC call.

Returns
TypeDescription
TargetSslProxy

The RPC response.

Example
// 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<TargetSslProxy> GetAsync(GetTargetSslProxyRequest request, CallSettings callSettings = null)

Returns the specified TargetSslProxy resource.

Parameters
NameDescription
requestGetTargetSslProxyRequest

The request object containing all of the parameters for the API call.

callSettingsCallSettings

If not null, applies overrides to this RPC call.

Returns
TypeDescription
TaskTargetSslProxy

A Task containing the RPC response.

Example
// 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<TargetSslProxy> GetAsync(GetTargetSslProxyRequest request, CancellationToken cancellationToken)

Returns the specified TargetSslProxy resource.

Parameters
NameDescription
requestGetTargetSslProxyRequest

The request object containing all of the parameters for the API call.

cancellationTokenCancellationToken

A CancellationToken to use for this RPC.

Returns
TypeDescription
TaskTargetSslProxy

A Task containing the RPC response.

Example
// 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<TargetSslProxy> GetAsync(string project, string targetSslProxy, CallSettings callSettings = null)

Returns the specified TargetSslProxy resource.

Parameters
NameDescription
projectstring

Project ID for this request.

targetSslProxystring

Name of the TargetSslProxy resource to return.

callSettingsCallSettings

If not null, applies overrides to this RPC call.

Returns
TypeDescription
TaskTargetSslProxy

A Task containing the RPC response.

Example
// 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<TargetSslProxy> GetAsync(string project, string targetSslProxy, CancellationToken cancellationToken)

Returns the specified TargetSslProxy resource.

Parameters
NameDescription
projectstring

Project ID for this request.

targetSslProxystring

Name of the TargetSslProxy resource to return.

cancellationTokenCancellationToken

A CancellationToken to use for this RPC.

Returns
TypeDescription
TaskTargetSslProxy

A Task containing the RPC response.

Example
// 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<Operation, Operation> Insert(InsertTargetSslProxyRequest request, CallSettings callSettings = null)

Creates a TargetSslProxy resource in the specified project using the data included in the request.

Parameters
NameDescription
requestInsertTargetSslProxyRequest

The request object containing all of the parameters for the API call.

callSettingsCallSettings

If not null, applies overrides to this RPC call.

Returns
TypeDescription
OperationOperationOperation

The RPC response.

Example
// Create client
TargetSslProxiesClient targetSslProxiesClient = TargetSslProxiesClient.Create();
// Initialize request argument(s)
InsertTargetSslProxyRequest request = new InsertTargetSslProxyRequest
{
    RequestId = "",
    TargetSslProxyResource = new TargetSslProxy(),
    Project = "",
};
// Make the request
lro::Operation<Operation, Operation> response = targetSslProxiesClient.Insert(request);

// Poll until the returned long-running operation is complete
lro::Operation<Operation, 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<Operation, 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<Operation, 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
NameDescription
projectstring

Project ID for this request.

targetSslProxyResourceTargetSslProxy

The body resource for this request

callSettingsCallSettings

If not null, applies overrides to this RPC call.

Returns
TypeDescription
OperationOperationOperation

The RPC response.

Example
// Create client
TargetSslProxiesClient targetSslProxiesClient = TargetSslProxiesClient.Create();
// Initialize request argument(s)
string project = "";
TargetSslProxy targetSslProxyResource = new TargetSslProxy();
// Make the request
lro::Operation<Operation, Operation> response = targetSslProxiesClient.Insert(project, targetSslProxyResource);

// Poll until the returned long-running operation is complete
lro::Operation<Operation, 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<Operation, 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<Operation<Operation, Operation>> InsertAsync(InsertTargetSslProxyRequest request, CallSettings callSettings = null)

Creates a TargetSslProxy resource in the specified project using the data included in the request.

Parameters
NameDescription
requestInsertTargetSslProxyRequest

The request object containing all of the parameters for the API call.

callSettingsCallSettings

If not null, applies overrides to this RPC call.

Returns
TypeDescription
TaskOperationOperationOperation

A Task containing the RPC response.

Example
// 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<Operation, Operation> response = await targetSslProxiesClient.InsertAsync(request);

// Poll until the returned long-running operation is complete
lro::Operation<Operation, 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<Operation, 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<Operation<Operation, Operation>> InsertAsync(InsertTargetSslProxyRequest request, CancellationToken cancellationToken)

Creates a TargetSslProxy resource in the specified project using the data included in the request.

Parameters
NameDescription
requestInsertTargetSslProxyRequest

The request object containing all of the parameters for the API call.

cancellationTokenCancellationToken

A CancellationToken to use for this RPC.

Returns
TypeDescription
TaskOperationOperationOperation

A Task containing the RPC response.

Example
// 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<Operation, Operation> response = await targetSslProxiesClient.InsertAsync(request);

// Poll until the returned long-running operation is complete
lro::Operation<Operation, 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<Operation, 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<Operation<Operation, Operation>> InsertAsync(string project, TargetSslProxy targetSslProxyResource, CallSettings callSettings = null)

Creates a TargetSslProxy resource in the specified project using the data included in the request.

Parameters
NameDescription
projectstring

Project ID for this request.

targetSslProxyResourceTargetSslProxy

The body resource for this request

callSettingsCallSettings

If not null, applies overrides to this RPC call.

Returns
TypeDescription
TaskOperationOperationOperation

A Task containing the RPC response.

Example
// Create client
TargetSslProxiesClient targetSslProxiesClient = await TargetSslProxiesClient.CreateAsync();
// Initialize request argument(s)
string project = "";
TargetSslProxy targetSslProxyResource = new TargetSslProxy();
// Make the request
lro::Operation<Operation, Operation> response = await targetSslProxiesClient.InsertAsync(project, targetSslProxyResource);

// Poll until the returned long-running operation is complete
lro::Operation<Operation, 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<Operation, 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<Operation<Operation, Operation>> InsertAsync(string project, TargetSslProxy targetSslProxyResource, CancellationToken cancellationToken)

Creates a TargetSslProxy resource in the specified project using the data included in the request.

Parameters
NameDescription
projectstring

Project ID for this request.

targetSslProxyResourceTargetSslProxy

The body resource for this request

cancellationTokenCancellationToken

A CancellationToken to use for this RPC.

Returns
TypeDescription
TaskOperationOperationOperation

A Task containing the RPC response.

Example
// Create client
TargetSslProxiesClient targetSslProxiesClient = await TargetSslProxiesClient.CreateAsync();
// Initialize request argument(s)
string project = "";
TargetSslProxy targetSslProxyResource = new TargetSslProxy();
// Make the request
lro::Operation<Operation, Operation> response = await targetSslProxiesClient.InsertAsync(project, targetSslProxyResource);

// Poll until the returned long-running operation is complete
lro::Operation<Operation, 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<Operation, 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<TargetSslProxyList, TargetSslProxy> List(ListTargetSslProxiesRequest request, CallSettings callSettings = null)

Retrieves the list of TargetSslProxy resources available to the specified project.

Parameters
NameDescription
requestListTargetSslProxiesRequest

The request object containing all of the parameters for the API call.

callSettingsCallSettings

If not null, applies overrides to this RPC call.

Returns
TypeDescription
PagedEnumerableTargetSslProxyListTargetSslProxy

A pageable sequence of TargetSslProxy resources.

Example
// Create client
TargetSslProxiesClient targetSslProxiesClient = TargetSslProxiesClient.Create();
// Initialize request argument(s)
ListTargetSslProxiesRequest request = new ListTargetSslProxiesRequest
{
    OrderBy = "",
    Project = "",
    Filter = "",
    ReturnPartialSuccess = false,
};
// Make the request
PagedEnumerable<TargetSslProxyList, TargetSslProxy> 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<TargetSslProxy> 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<TargetSslProxyList, TargetSslProxy> List(string project, string pageToken = null, int? pageSize = null, CallSettings callSettings = null)

Retrieves the list of TargetSslProxy resources available to the specified project.

Parameters
NameDescription
projectstring

Project ID for this request.

pageTokenstring

The token returned from the previous request. A value of null or an empty string retrieves the first page.

pageSizeint

The size of page to request. The response will not be larger than this, but may be smaller. A value of null or 0 uses a server-defined page size.

callSettingsCallSettings

If not null, applies overrides to this RPC call.

Returns
TypeDescription
PagedEnumerableTargetSslProxyListTargetSslProxy

A pageable sequence of TargetSslProxy resources.

Example
// Create client
TargetSslProxiesClient targetSslProxiesClient = TargetSslProxiesClient.Create();
// Initialize request argument(s)
string project = "";
// Make the request
PagedEnumerable<TargetSslProxyList, TargetSslProxy> 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<TargetSslProxy> 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<TargetSslProxyList, TargetSslProxy> ListAsync(ListTargetSslProxiesRequest request, CallSettings callSettings = null)

Retrieves the list of TargetSslProxy resources available to the specified project.

Parameters
NameDescription
requestListTargetSslProxiesRequest

The request object containing all of the parameters for the API call.

callSettingsCallSettings

If not null, applies overrides to this RPC call.

Returns
TypeDescription
PagedAsyncEnumerableTargetSslProxyListTargetSslProxy

A pageable asynchronous sequence of TargetSslProxy resources.

Example
// Create client
TargetSslProxiesClient targetSslProxiesClient = await TargetSslProxiesClient.CreateAsync();
// Initialize request argument(s)
ListTargetSslProxiesRequest request = new ListTargetSslProxiesRequest
{
    OrderBy = "",
    Project = "",
    Filter = "",
    ReturnPartialSuccess = false,
};
// Make the request
PagedAsyncEnumerable<TargetSslProxyList, TargetSslProxy> response = targetSslProxiesClient.ListAsync(request);

// Iterate over all response items, lazily performing RPCs as required
await response.ForEachAsync((TargetSslProxy item) =>
{
    // Do something with each item
    Console.WriteLine(item);
});

// Or iterate over pages (of server-defined size), performing one RPC per page
await response.AsRawResponses().ForEachAsync((TargetSslProxyList page) =>
{
    // 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<TargetSslProxy> 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<TargetSslProxyList, TargetSslProxy> ListAsync(string project, string pageToken = null, int? pageSize = null, CallSettings callSettings = null)

Retrieves the list of TargetSslProxy resources available to the specified project.

Parameters
NameDescription
projectstring

Project ID for this request.

pageTokenstring

The token returned from the previous request. A value of null or an empty string retrieves the first page.

pageSizeint

The size of page to request. The response will not be larger than this, but may be smaller. A value of null or 0 uses a server-defined page size.

callSettingsCallSettings

If not null, applies overrides to this RPC call.

Returns
TypeDescription
PagedAsyncEnumerableTargetSslProxyListTargetSslProxy

A pageable asynchronous sequence of TargetSslProxy resources.

Example
// Create client
TargetSslProxiesClient targetSslProxiesClient = await TargetSslProxiesClient.CreateAsync();
// Initialize request argument(s)
string project = "";
// Make the request
PagedAsyncEnumerable<TargetSslProxyList, TargetSslProxy> response = targetSslProxiesClient.ListAsync(project);

// Iterate over all response items, lazily performing RPCs as required
await response.ForEachAsync((TargetSslProxy item) =>
{
    // Do something with each item
    Console.WriteLine(item);
});

// Or iterate over pages (of server-defined size), performing one RPC per page
await response.AsRawResponses().ForEachAsync((TargetSslProxyList page) =>
{
    // 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<TargetSslProxy> 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<Operation, Operation> PollOnceDelete(string operationName, CallSettings callSettings = null)

Poll an operation once, using an operationName from a previous invocation of Delete.

Parameters
NameDescription
operationNamestring

The name of a previously invoked operation. Must not be null or empty.

callSettingsCallSettings

If not null, applies overrides to this RPC call.

Returns
TypeDescription
OperationOperationOperation

The result of polling the operation.

PollOnceDeleteAsync(string, CallSettings)

public virtual Task<Operation<Operation, Operation>> PollOnceDeleteAsync(string operationName, CallSettings callSettings = null)

Asynchronously poll an operation once, using an operationName from a previous invocation of Delete .

Parameters
NameDescription
operationNamestring

The name of a previously invoked operation. Must not be null or empty.

callSettingsCallSettings

If not null, applies overrides to this RPC call.

Returns
TypeDescription
TaskOperationOperationOperation

A task representing the result of polling the operation.

PollOnceInsert(string, CallSettings)

public virtual Operation<Operation, Operation> PollOnceInsert(string operationName, CallSettings callSettings = null)

Poll an operation once, using an operationName from a previous invocation of Insert.

Parameters
NameDescription
operationNamestring

The name of a previously invoked operation. Must not be null or empty.

callSettingsCallSettings

If not null, applies overrides to this RPC call.

Returns
TypeDescription
OperationOperationOperation

The result of polling the operation.

PollOnceInsertAsync(string, CallSettings)

public virtual Task<Operation<Operation, Operation>> PollOnceInsertAsync(string operationName, CallSettings callSettings = null)

Asynchronously poll an operation once, using an operationName from a previous invocation of Insert .

Parameters
NameDescription
operationNamestring

The name of a previously invoked operation. Must not be null or empty.

callSettingsCallSettings

If not null, applies overrides to this RPC call.

Returns
TypeDescription
TaskOperationOperationOperation

A task representing the result of polling the operation.

PollOnceSetBackendService(string, CallSettings)

public virtual Operation<Operation, Operation> PollOnceSetBackendService(string operationName, CallSettings callSettings = null)

Poll an operation once, using an operationName from a previous invocation of SetBackendService .

Parameters
NameDescription
operationNamestring

The name of a previously invoked operation. Must not be null or empty.

callSettingsCallSettings

If not null, applies overrides to this RPC call.

Returns
TypeDescription
OperationOperationOperation

The result of polling the operation.

PollOnceSetBackendServiceAsync(string, CallSettings)

public virtual Task<Operation<Operation, Operation>> PollOnceSetBackendServiceAsync(string operationName, CallSettings callSettings = null)

Asynchronously poll an operation once, using an operationName from a previous invocation of SetBackendService.

Parameters
NameDescription
operationNamestring

The name of a previously invoked operation. Must not be null or empty.

callSettingsCallSettings

If not null, applies overrides to this RPC call.

Returns
TypeDescription
TaskOperationOperationOperation

A task representing the result of polling the operation.

PollOnceSetCertificateMap(string, CallSettings)

public virtual Operation<Operation, Operation> PollOnceSetCertificateMap(string operationName, CallSettings callSettings = null)

Poll an operation once, using an operationName from a previous invocation of SetCertificateMap .

Parameters
NameDescription
operationNamestring

The name of a previously invoked operation. Must not be null or empty.

callSettingsCallSettings

If not null, applies overrides to this RPC call.

Returns
TypeDescription
OperationOperationOperation

The result of polling the operation.

PollOnceSetCertificateMapAsync(string, CallSettings)

public virtual Task<Operation<Operation, Operation>> PollOnceSetCertificateMapAsync(string operationName, CallSettings callSettings = null)

Asynchronously poll an operation once, using an operationName from a previous invocation of SetCertificateMap.

Parameters
NameDescription
operationNamestring

The name of a previously invoked operation. Must not be null or empty.

callSettingsCallSettings

If not null, applies overrides to this RPC call.

Returns
TypeDescription
TaskOperationOperationOperation

A task representing the result of polling the operation.

PollOnceSetProxyHeader(string, CallSettings)

public virtual Operation<Operation, Operation> PollOnceSetProxyHeader(string operationName, CallSettings callSettings = null)

Poll an operation once, using an operationName from a previous invocation of SetProxyHeader.

Parameters
NameDescription
operationNamestring

The name of a previously invoked operation. Must not be null or empty.

callSettingsCallSettings

If not null, applies overrides to this RPC call.

Returns
TypeDescription
OperationOperationOperation

The result of polling the operation.

PollOnceSetProxyHeaderAsync(string, CallSettings)

public virtual Task<Operation<Operation, Operation>> PollOnceSetProxyHeaderAsync(string operationName, CallSettings callSettings = null)

Asynchronously poll an operation once, using an operationName from a previous invocation of SetProxyHeader.

Parameters
NameDescription
operationNamestring

The name of a previously invoked operation. Must not be null or empty.

callSettingsCallSettings

If not null, applies overrides to this RPC call.

Returns
TypeDescription
TaskOperationOperationOperation

A task representing the result of polling the operation.

PollOnceSetSslCertificates(string, CallSettings)

public virtual Operation<Operation, Operation> PollOnceSetSslCertificates(string operationName, CallSettings callSettings = null)

Poll an operation once, using an operationName from a previous invocation of SetSslCertificates .

Parameters
NameDescription
operationNamestring

The name of a previously invoked operation. Must not be null or empty.

callSettingsCallSettings

If not null, applies overrides to this RPC call.

Returns
TypeDescription
OperationOperationOperation

The result of polling the operation.

PollOnceSetSslCertificatesAsync(string, CallSettings)

public virtual Task<Operation<Operation, Operation>> PollOnceSetSslCertificatesAsync(string operationName, CallSettings callSettings = null)

Asynchronously poll an operation once, using an operationName from a previous invocation of SetSslCertificates.

Parameters
NameDescription
operationNamestring

The name of a previously invoked operation. Must not be null or empty.

callSettingsCallSettings

If not null, applies overrides to this RPC call.

Returns
TypeDescription
TaskOperationOperationOperation

A task representing the result of polling the operation.

PollOnceSetSslPolicy(string, CallSettings)

public virtual Operation<Operation, Operation> PollOnceSetSslPolicy(string operationName, CallSettings callSettings = null)

Poll an operation once, using an operationName from a previous invocation of SetSslPolicy.

Parameters
NameDescription
operationNamestring

The name of a previously invoked operation. Must not be null or empty.

callSettingsCallSettings

If not null, applies overrides to this RPC call.

Returns
TypeDescription
OperationOperationOperation

The result of polling the operation.

PollOnceSetSslPolicyAsync(string, CallSettings)

public virtual Task<Operation<Operation, Operation>> PollOnceSetSslPolicyAsync(string operationName, CallSettings callSettings = null)

Asynchronously poll an operation once, using an operationName from a previous invocation of SetSslPolicy.

Parameters
NameDescription
operationNamestring

The name of a previously invoked operation. Must not be null or empty.

callSettingsCallSettings

If not null, applies overrides to this RPC call.

Returns
TypeDescription
TaskOperationOperationOperation

A task representing the result of polling the operation.

SetBackendService(SetBackendServiceTargetSslProxyRequest, CallSettings)

public virtual Operation<Operation, Operation> SetBackendService(SetBackendServiceTargetSslProxyRequest request, CallSettings callSettings = null)

Changes the BackendService for TargetSslProxy.

Parameters
NameDescription
requestSetBackendServiceTargetSslProxyRequest

The request object containing all of the parameters for the API call.

callSettingsCallSettings

If not null, applies overrides to this RPC call.

Returns
TypeDescription
OperationOperationOperation

The RPC response.

Example
// 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<Operation, Operation> response = targetSslProxiesClient.SetBackendService(request);

// Poll until the returned long-running operation is complete
lro::Operation<Operation, 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<Operation, 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<Operation, Operation> SetBackendService(string project, string targetSslProxy, TargetSslProxiesSetBackendServiceRequest targetSslProxiesSetBackendServiceRequestResource, CallSettings callSettings = null)

Changes the BackendService for TargetSslProxy.

Parameters
NameDescription
projectstring

Project ID for this request.

targetSslProxystring

Name of the TargetSslProxy resource whose BackendService resource is to be set.

targetSslProxiesSetBackendServiceRequestResourceTargetSslProxiesSetBackendServiceRequest

The body resource for this request

callSettingsCallSettings

If not null, applies overrides to this RPC call.

Returns
TypeDescription
OperationOperationOperation

The RPC response.

Example
// Create client
TargetSslProxiesClient targetSslProxiesClient = TargetSslProxiesClient.Create();
// Initialize request argument(s)
string project = "";
string targetSslProxy = "";
TargetSslProxiesSetBackendServiceRequest targetSslProxiesSetBackendServiceRequestResource = new TargetSslProxiesSetBackendServiceRequest();
// Make the request
lro::Operation<Operation, Operation> response = targetSslProxiesClient.SetBackendService(project, targetSslProxy, targetSslProxiesSetBackendServiceRequestResource);

// Poll until the returned long-running operation is complete
lro::Operation<Operation, 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<Operation, 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<Operation<Operation, Operation>> SetBackendServiceAsync(SetBackendServiceTargetSslProxyRequest request, CallSettings callSettings = null)

Changes the BackendService for TargetSslProxy.

Parameters
NameDescription
requestSetBackendServiceTargetSslProxyRequest

The request object containing all of the parameters for the API call.

callSettingsCallSettings

If not null, applies overrides to this RPC call.

Returns
TypeDescription
TaskOperationOperationOperation

A Task containing the RPC response.

Example
// 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<Operation, Operation> response = await targetSslProxiesClient.SetBackendServiceAsync(request);

// Poll until the returned long-running operation is complete
lro::Operation<Operation, 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<Operation, 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<Operation<Operation, Operation>> SetBackendServiceAsync(SetBackendServiceTargetSslProxyRequest request, CancellationToken cancellationToken)

Changes the BackendService for TargetSslProxy.

Parameters
NameDescription
requestSetBackendServiceTargetSslProxyRequest

The request object containing all of the parameters for the API call.

cancellationTokenCancellationToken

A CancellationToken to use for this RPC.

Returns
TypeDescription
TaskOperationOperationOperation

A Task containing the RPC response.

Example
// 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<Operation, Operation> response = await targetSslProxiesClient.SetBackendServiceAsync(request);

// Poll until the returned long-running operation is complete
lro::Operation<Operation, 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<Operation, 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<Operation<Operation, Operation>> SetBackendServiceAsync(string project, string targetSslProxy, TargetSslProxiesSetBackendServiceRequest targetSslProxiesSetBackendServiceRequestResource, CallSettings callSettings = null)

Changes the BackendService for TargetSslProxy.

Parameters
NameDescription
projectstring

Project ID for this request.

targetSslProxystring

Name of the TargetSslProxy resource whose BackendService resource is to be set.

targetSslProxiesSetBackendServiceRequestResourceTargetSslProxiesSetBackendServiceRequest

The body resource for this request

callSettingsCallSettings

If not null, applies overrides to this RPC call.

Returns
TypeDescription
TaskOperationOperationOperation

A Task containing the RPC response.

Example
// Create client
TargetSslProxiesClient targetSslProxiesClient = await TargetSslProxiesClient.CreateAsync();
// Initialize request argument(s)
string project = "";
string targetSslProxy = "";
TargetSslProxiesSetBackendServiceRequest targetSslProxiesSetBackendServiceRequestResource = new TargetSslProxiesSetBackendServiceRequest();
// Make the request
lro::Operation<Operation, Operation> response = await targetSslProxiesClient.SetBackendServiceAsync(project, targetSslProxy, targetSslProxiesSetBackendServiceRequestResource);

// Poll until the returned long-running operation is complete
lro::Operation<Operation, 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<Operation, 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<Operation<Operation, Operation>> SetBackendServiceAsync(string project, string targetSslProxy, TargetSslProxiesSetBackendServiceRequest targetSslProxiesSetBackendServiceRequestResource, CancellationToken cancellationToken)

Changes the BackendService for TargetSslProxy.

Parameters
NameDescription
projectstring

Project ID for this request.

targetSslProxystring

Name of the TargetSslProxy resource whose BackendService resource is to be set.

targetSslProxiesSetBackendServiceRequestResourceTargetSslProxiesSetBackendServiceRequest

The body resource for this request

cancellationTokenCancellationToken

A CancellationToken to use for this RPC.

Returns
TypeDescription
TaskOperationOperationOperation

A Task containing the RPC response.

Example
// Create client
TargetSslProxiesClient targetSslProxiesClient = await TargetSslProxiesClient.CreateAsync();
// Initialize request argument(s)
string project = "";
string targetSslProxy = "";
TargetSslProxiesSetBackendServiceRequest targetSslProxiesSetBackendServiceRequestResource = new TargetSslProxiesSetBackendServiceRequest();
// Make the request
lro::Operation<Operation, Operation> response = await targetSslProxiesClient.SetBackendServiceAsync(project, targetSslProxy, targetSslProxiesSetBackendServiceRequestResource);

// Poll until the returned long-running operation is complete
lro::Operation<Operation, 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<Operation, 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<Operation, Operation> SetCertificateMap(SetCertificateMapTargetSslProxyRequest request, CallSettings callSettings = null)

Changes the Certificate Map for TargetSslProxy.

Parameters
NameDescription
requestSetCertificateMapTargetSslProxyRequest

The request object containing all of the parameters for the API call.

callSettingsCallSettings

If not null, applies overrides to this RPC call.

Returns
TypeDescription
OperationOperationOperation

The RPC response.

Example
// 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<Operation, Operation> response = targetSslProxiesClient.SetCertificateMap(request);

// Poll until the returned long-running operation is complete
lro::Operation<Operation, 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<Operation, 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<Operation, Operation> SetCertificateMap(string project, string targetSslProxy, TargetSslProxiesSetCertificateMapRequest targetSslProxiesSetCertificateMapRequestResource, CallSettings callSettings = null)

Changes the Certificate Map for TargetSslProxy.

Parameters
NameDescription
projectstring

Project ID for this request.

targetSslProxystring

Name of the TargetSslProxy resource whose CertificateMap is to be set. The name must be 1-63 characters long, and comply with RFC1035.

targetSslProxiesSetCertificateMapRequestResourceTargetSslProxiesSetCertificateMapRequest

The body resource for this request

callSettingsCallSettings

If not null, applies overrides to this RPC call.

Returns
TypeDescription
OperationOperationOperation

The RPC response.

Example
// Create client
TargetSslProxiesClient targetSslProxiesClient = TargetSslProxiesClient.Create();
// Initialize request argument(s)
string project = "";
string targetSslProxy = "";
TargetSslProxiesSetCertificateMapRequest targetSslProxiesSetCertificateMapRequestResource = new TargetSslProxiesSetCertificateMapRequest();
// Make the request
lro::Operation<Operation, Operation> response = targetSslProxiesClient.SetCertificateMap(project, targetSslProxy, targetSslProxiesSetCertificateMapRequestResource);

// Poll until the returned long-running operation is complete
lro::Operation<Operation, 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<Operation, 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<Operation<Operation, Operation>> SetCertificateMapAsync(SetCertificateMapTargetSslProxyRequest request, CallSettings callSettings = null)

Changes the Certificate Map for TargetSslProxy.

Parameters
NameDescription
requestSetCertificateMapTargetSslProxyRequest

The request object containing all of the parameters for the API call.

callSettingsCallSettings

If not null, applies overrides to this RPC call.

Returns
TypeDescription
TaskOperationOperationOperation

A Task containing the RPC response.

Example
// 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<Operation, Operation> response = await targetSslProxiesClient.SetCertificateMapAsync(request);

// Poll until the returned long-running operation is complete
lro::Operation<Operation, 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<Operation, 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<Operation<Operation, Operation>> SetCertificateMapAsync(SetCertificateMapTargetSslProxyRequest request, CancellationToken cancellationToken)

Changes the Certificate Map for TargetSslProxy.

Parameters
NameDescription
requestSetCertificateMapTargetSslProxyRequest

The request object containing all of the parameters for the API call.

cancellationTokenCancellationToken

A CancellationToken to use for this RPC.

Returns
TypeDescription
TaskOperationOperationOperation

A Task containing the RPC response.

Example
// 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<Operation, Operation> response = await targetSslProxiesClient.SetCertificateMapAsync(request);

// Poll until the returned long-running operation is complete
lro::Operation<Operation, 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<Operation, 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<Operation<Operation, Operation>> SetCertificateMapAsync(string project, string targetSslProxy, TargetSslProxiesSetCertificateMapRequest targetSslProxiesSetCertificateMapRequestResource, CallSettings callSettings = null)

Changes the Certificate Map for TargetSslProxy.

Parameters
NameDescription
projectstring

Project ID for this request.

targetSslProxystring

Name of the TargetSslProxy resource whose CertificateMap is to be set. The name must be 1-63 characters long, and comply with RFC1035.

targetSslProxiesSetCertificateMapRequestResourceTargetSslProxiesSetCertificateMapRequest

The body resource for this request

callSettingsCallSettings

If not null, applies overrides to this RPC call.

Returns
TypeDescription
TaskOperationOperationOperation

A Task containing the RPC response.

Example
// Create client
TargetSslProxiesClient targetSslProxiesClient = await TargetSslProxiesClient.CreateAsync();
// Initialize request argument(s)
string project = "";
string targetSslProxy = "";
TargetSslProxiesSetCertificateMapRequest targetSslProxiesSetCertificateMapRequestResource = new TargetSslProxiesSetCertificateMapRequest();
// Make the request
lro::Operation<Operation, Operation> response = await targetSslProxiesClient.SetCertificateMapAsync(project, targetSslProxy, targetSslProxiesSetCertificateMapRequestResource);

// Poll until the returned long-running operation is complete
lro::Operation<Operation, 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<Operation, 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<Operation<Operation, Operation>> SetCertificateMapAsync(string project, string targetSslProxy, TargetSslProxiesSetCertificateMapRequest targetSslProxiesSetCertificateMapRequestResource, CancellationToken cancellationToken)

Changes the Certificate Map for TargetSslProxy.

Parameters
NameDescription
projectstring

Project ID for this request.

targetSslProxystring

Name of the TargetSslProxy resource whose CertificateMap is to be set. The name must be 1-63 characters long, and comply with RFC1035.

targetSslProxiesSetCertificateMapRequestResourceTargetSslProxiesSetCertificateMapRequest

The body resource for this request

cancellationTokenCancellationToken

A CancellationToken to use for this RPC.

Returns
TypeDescription
TaskOperationOperationOperation

A Task containing the RPC response.

Example
// Create client
TargetSslProxiesClient targetSslProxiesClient = await TargetSslProxiesClient.CreateAsync();
// Initialize request argument(s)
string project = "";
string targetSslProxy = "";
TargetSslProxiesSetCertificateMapRequest targetSslProxiesSetCertificateMapRequestResource = new TargetSslProxiesSetCertificateMapRequest();
// Make the request
lro::Operation<Operation, Operation> response = await targetSslProxiesClient.SetCertificateMapAsync(project, targetSslProxy, targetSslProxiesSetCertificateMapRequestResource);

// Poll until the returned long-running operation is complete
lro::Operation<Operation, 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<Operation, 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<Operation, Operation> SetProxyHeader(SetProxyHeaderTargetSslProxyRequest request, CallSettings callSettings = null)

Changes the ProxyHeaderType for TargetSslProxy.

Parameters
NameDescription
requestSetProxyHeaderTargetSslProxyRequest

The request object containing all of the parameters for the API call.

callSettingsCallSettings

If not null, applies overrides to this RPC call.

Returns
TypeDescription
OperationOperationOperation

The RPC response.

Example
// 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<Operation, Operation> response = targetSslProxiesClient.SetProxyHeader(request);

// Poll until the returned long-running operation is complete
lro::Operation<Operation, 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<Operation, 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<Operation, Operation> SetProxyHeader(string project, string targetSslProxy, TargetSslProxiesSetProxyHeaderRequest targetSslProxiesSetProxyHeaderRequestResource, CallSettings callSettings = null)

Changes the ProxyHeaderType for TargetSslProxy.

Parameters
NameDescription
projectstring

Project ID for this request.

targetSslProxystring

Name of the TargetSslProxy resource whose ProxyHeader is to be set.

targetSslProxiesSetProxyHeaderRequestResourceTargetSslProxiesSetProxyHeaderRequest

The body resource for this request

callSettingsCallSettings

If not null, applies overrides to this RPC call.

Returns
TypeDescription
OperationOperationOperation

The RPC response.

Example
// Create client
TargetSslProxiesClient targetSslProxiesClient = TargetSslProxiesClient.Create();
// Initialize request argument(s)
string project = "";
string targetSslProxy = "";
TargetSslProxiesSetProxyHeaderRequest targetSslProxiesSetProxyHeaderRequestResource = new TargetSslProxiesSetProxyHeaderRequest();
// Make the request
lro::Operation<Operation, Operation> response = targetSslProxiesClient.SetProxyHeader(project, targetSslProxy, targetSslProxiesSetProxyHeaderRequestResource);

// Poll until the returned long-running operation is complete
lro::Operation<Operation, 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<Operation, 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<Operation<Operation, Operation>> SetProxyHeaderAsync(SetProxyHeaderTargetSslProxyRequest request, CallSettings callSettings = null)

Changes the ProxyHeaderType for TargetSslProxy.

Parameters
NameDescription
requestSetProxyHeaderTargetSslProxyRequest

The request object containing all of the parameters for the API call.

callSettingsCallSettings

If not null, applies overrides to this RPC call.

Returns
TypeDescription
TaskOperationOperationOperation

A Task containing the RPC response.

Example
// 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<Operation, Operation> response = await targetSslProxiesClient.SetProxyHeaderAsync(request);

// Poll until the returned long-running operation is complete
lro::Operation<Operation, 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<Operation, 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<Operation<Operation, Operation>> SetProxyHeaderAsync(SetProxyHeaderTargetSslProxyRequest request, CancellationToken cancellationToken)

Changes the ProxyHeaderType for TargetSslProxy.

Parameters
NameDescription
requestSetProxyHeaderTargetSslProxyRequest

The request object containing all of the parameters for the API call.

cancellationTokenCancellationToken

A CancellationToken to use for this RPC.

Returns
TypeDescription
TaskOperationOperationOperation

A Task containing the RPC response.

Example
// 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<Operation, Operation> response = await targetSslProxiesClient.SetProxyHeaderAsync(request);

// Poll until the returned long-running operation is complete
lro::Operation<Operation, 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<Operation, 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<Operation<Operation, Operation>> SetProxyHeaderAsync(string project, string targetSslProxy, TargetSslProxiesSetProxyHeaderRequest targetSslProxiesSetProxyHeaderRequestResource, CallSettings callSettings = null)

Changes the ProxyHeaderType for TargetSslProxy.

Parameters
NameDescription
projectstring

Project ID for this request.

targetSslProxystring

Name of the TargetSslProxy resource whose ProxyHeader is to be set.

targetSslProxiesSetProxyHeaderRequestResourceTargetSslProxiesSetProxyHeaderRequest

The body resource for this request

callSettingsCallSettings

If not null, applies overrides to this RPC call.

Returns
TypeDescription
TaskOperationOperationOperation

A Task containing the RPC response.

Example
// Create client
TargetSslProxiesClient targetSslProxiesClient = await TargetSslProxiesClient.CreateAsync();
// Initialize request argument(s)
string project = "";
string targetSslProxy = "";
TargetSslProxiesSetProxyHeaderRequest targetSslProxiesSetProxyHeaderRequestResource = new TargetSslProxiesSetProxyHeaderRequest();
// Make the request
lro::Operation<Operation, Operation> response = await targetSslProxiesClient.SetProxyHeaderAsync(project, targetSslProxy, targetSslProxiesSetProxyHeaderRequestResource);

// Poll until the returned long-running operation is complete
lro::Operation<Operation, 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<Operation, 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<Operation<Operation, Operation>> SetProxyHeaderAsync(string project, string targetSslProxy, TargetSslProxiesSetProxyHeaderRequest targetSslProxiesSetProxyHeaderRequestResource, CancellationToken cancellationToken)

Changes the ProxyHeaderType for TargetSslProxy.

Parameters
NameDescription
projectstring

Project ID for this request.

targetSslProxystring

Name of the TargetSslProxy resource whose ProxyHeader is to be set.

targetSslProxiesSetProxyHeaderRequestResourceTargetSslProxiesSetProxyHeaderRequest

The body resource for this request

cancellationTokenCancellationToken

A CancellationToken to use for this RPC.

Returns
TypeDescription
TaskOperationOperationOperation

A Task containing the RPC response.

Example
// Create client
TargetSslProxiesClient targetSslProxiesClient = await TargetSslProxiesClient.CreateAsync();
// Initialize request argument(s)
string project = "";
string targetSslProxy = "";
TargetSslProxiesSetProxyHeaderRequest targetSslProxiesSetProxyHeaderRequestResource = new TargetSslProxiesSetProxyHeaderRequest();
// Make the request
lro::Operation<Operation, Operation> response = await targetSslProxiesClient.SetProxyHeaderAsync(project, targetSslProxy, targetSslProxiesSetProxyHeaderRequestResource);

// Poll until the returned long-running operation is complete
lro::Operation<Operation, 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<Operation, 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<Operation, Operation> SetSslCertificates(SetSslCertificatesTargetSslProxyRequest request, CallSettings callSettings = null)

Changes SslCertificates for TargetSslProxy.

Parameters
NameDescription
requestSetSslCertificatesTargetSslProxyRequest

The request object containing all of the parameters for the API call.

callSettingsCallSettings

If not null, applies overrides to this RPC call.

Returns
TypeDescription
OperationOperationOperation

The RPC response.

Example
// 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<Operation, Operation> response = targetSslProxiesClient.SetSslCertificates(request);

// Poll until the returned long-running operation is complete
lro::Operation<Operation, 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<Operation, 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<Operation, Operation> SetSslCertificates(string project, string targetSslProxy, TargetSslProxiesSetSslCertificatesRequest targetSslProxiesSetSslCertificatesRequestResource, CallSettings callSettings = null)

Changes SslCertificates for TargetSslProxy.

Parameters
NameDescription
projectstring

Project ID for this request.

targetSslProxystring

Name of the TargetSslProxy resource whose SslCertificate resource is to be set.

targetSslProxiesSetSslCertificatesRequestResourceTargetSslProxiesSetSslCertificatesRequest

The body resource for this request

callSettingsCallSettings

If not null, applies overrides to this RPC call.

Returns
TypeDescription
OperationOperationOperation

The RPC response.

Example
// Create client
TargetSslProxiesClient targetSslProxiesClient = TargetSslProxiesClient.Create();
// Initialize request argument(s)
string project = "";
string targetSslProxy = "";
TargetSslProxiesSetSslCertificatesRequest targetSslProxiesSetSslCertificatesRequestResource = new TargetSslProxiesSetSslCertificatesRequest();
// Make the request
lro::Operation<Operation, Operation> response = targetSslProxiesClient.SetSslCertificates(project, targetSslProxy, targetSslProxiesSetSslCertificatesRequestResource);

// Poll until the returned long-running operation is complete
lro::Operation<Operation, 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<Operation, 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<Operation<Operation, Operation>> SetSslCertificatesAsync(SetSslCertificatesTargetSslProxyRequest request, CallSettings callSettings = null)

Changes SslCertificates for TargetSslProxy.

Parameters
NameDescription
requestSetSslCertificatesTargetSslProxyRequest

The request object containing all of the parameters for the API call.

callSettingsCallSettings

If not null, applies overrides to this RPC call.

Returns
TypeDescription
TaskOperationOperationOperation

A Task containing the RPC response.

Example
// 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<Operation, Operation> response = await targetSslProxiesClient.SetSslCertificatesAsync(request);

// Poll until the returned long-running operation is complete
lro::Operation<Operation, 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<Operation, 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<Operation<Operation, Operation>> SetSslCertificatesAsync(SetSslCertificatesTargetSslProxyRequest request, CancellationToken cancellationToken)

Changes SslCertificates for TargetSslProxy.

Parameters
NameDescription
requestSetSslCertificatesTargetSslProxyRequest

The request object containing all of the parameters for the API call.

cancellationTokenCancellationToken

A CancellationToken to use for this RPC.

Returns
TypeDescription
TaskOperationOperationOperation

A Task containing the RPC response.

Example
// 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<Operation, Operation> response = await targetSslProxiesClient.SetSslCertificatesAsync(request);

// Poll until the returned long-running operation is complete
lro::Operation<Operation, 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<Operation, 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<Operation<Operation, Operation>> SetSslCertificatesAsync(string project, string targetSslProxy, TargetSslProxiesSetSslCertificatesRequest targetSslProxiesSetSslCertificatesRequestResource, CallSettings callSettings = null)

Changes SslCertificates for TargetSslProxy.

Parameters
NameDescription
projectstring

Project ID for this request.

targetSslProxystring

Name of the TargetSslProxy resource whose SslCertificate resource is to be set.

targetSslProxiesSetSslCertificatesRequestResourceTargetSslProxiesSetSslCertificatesRequest

The body resource for this request

callSettingsCallSettings

If not null, applies overrides to this RPC call.

Returns
TypeDescription
TaskOperationOperationOperation

A Task containing the RPC response.

Example
// Create client
TargetSslProxiesClient targetSslProxiesClient = await TargetSslProxiesClient.CreateAsync();
// Initialize request argument(s)
string project = "";
string targetSslProxy = "";
TargetSslProxiesSetSslCertificatesRequest targetSslProxiesSetSslCertificatesRequestResource = new TargetSslProxiesSetSslCertificatesRequest();
// Make the request
lro::Operation<Operation, Operation> response = await targetSslProxiesClient.SetSslCertificatesAsync(project, targetSslProxy, targetSslProxiesSetSslCertificatesRequestResource);

// Poll until the returned long-running operation is complete
lro::Operation<Operation, 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<Operation, 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<Operation<Operation, Operation>> SetSslCertificatesAsync(string project, string targetSslProxy, TargetSslProxiesSetSslCertificatesRequest targetSslProxiesSetSslCertificatesRequestResource, CancellationToken cancellationToken)

Changes SslCertificates for TargetSslProxy.

Parameters
NameDescription
projectstring

Project ID for this request.

targetSslProxystring

Name of the TargetSslProxy resource whose SslCertificate resource is to be set.

targetSslProxiesSetSslCertificatesRequestResourceTargetSslProxiesSetSslCertificatesRequest

The body resource for this request

cancellationTokenCancellationToken

A CancellationToken to use for this RPC.

Returns
TypeDescription
TaskOperationOperationOperation

A Task containing the RPC response.

Example
// Create client
TargetSslProxiesClient targetSslProxiesClient = await TargetSslProxiesClient.CreateAsync();
// Initialize request argument(s)
string project = "";
string targetSslProxy = "";
TargetSslProxiesSetSslCertificatesRequest targetSslProxiesSetSslCertificatesRequestResource = new TargetSslProxiesSetSslCertificatesRequest();
// Make the request
lro::Operation<Operation, Operation> response = await targetSslProxiesClient.SetSslCertificatesAsync(project, targetSslProxy, targetSslProxiesSetSslCertificatesRequestResource);

// Poll until the returned long-running operation is complete
lro::Operation<Operation, 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<Operation, 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<Operation, 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 SSL proxy load balancer. They do not affect the connection between the load balancer and the backends.

Parameters
NameDescription
requestSetSslPolicyTargetSslProxyRequest

The request object containing all of the parameters for the API call.

callSettingsCallSettings

If not null, applies overrides to this RPC call.

Returns
TypeDescription
OperationOperationOperation

The RPC response.

Example
// 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<Operation, Operation> response = targetSslProxiesClient.SetSslPolicy(request);

// Poll until the returned long-running operation is complete
lro::Operation<Operation, 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<Operation, 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<Operation, 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 SSL proxy load balancer. They do not affect the connection between the load balancer and the backends.

Parameters
NameDescription
projectstring

Project ID for this request.

targetSslProxystring

Name of the TargetSslProxy resource whose SSL policy is to be set. The name must be 1-63 characters long, and comply with RFC1035.

sslPolicyReferenceResourceSslPolicyReference

The body resource for this request

callSettingsCallSettings

If not null, applies overrides to this RPC call.

Returns
TypeDescription
OperationOperationOperation

The RPC response.

Example
// Create client
TargetSslProxiesClient targetSslProxiesClient = TargetSslProxiesClient.Create();
// Initialize request argument(s)
string project = "";
string targetSslProxy = "";
SslPolicyReference sslPolicyReferenceResource = new SslPolicyReference();
// Make the request
lro::Operation<Operation, Operation> response = targetSslProxiesClient.SetSslPolicy(project, targetSslProxy, sslPolicyReferenceResource);

// Poll until the returned long-running operation is complete
lro::Operation<Operation, 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<Operation, 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<Operation<Operation, Operation>> 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 SSL proxy load balancer. They do not affect the connection between the load balancer and the backends.

Parameters
NameDescription
requestSetSslPolicyTargetSslProxyRequest

The request object containing all of the parameters for the API call.

callSettingsCallSettings

If not null, applies overrides to this RPC call.

Returns
TypeDescription
TaskOperationOperationOperation

A Task containing the RPC response.

Example
// 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<Operation, Operation> response = await targetSslProxiesClient.SetSslPolicyAsync(request);

// Poll until the returned long-running operation is complete
lro::Operation<Operation, 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<Operation, 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<Operation<Operation, Operation>> 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 SSL proxy load balancer. They do not affect the connection between the load balancer and the backends.

Parameters
NameDescription
requestSetSslPolicyTargetSslProxyRequest

The request object containing all of the parameters for the API call.

cancellationTokenCancellationToken

A CancellationToken to use for this RPC.

Returns
TypeDescription
TaskOperationOperationOperation

A Task containing the RPC response.

Example
// 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<Operation, Operation> response = await targetSslProxiesClient.SetSslPolicyAsync(request);

// Poll until the returned long-running operation is complete
lro::Operation<Operation, 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<Operation, 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<Operation<Operation, Operation>> 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 SSL proxy load balancer. They do not affect the connection between the load balancer and the backends.

Parameters
NameDescription
projectstring

Project ID for this request.

targetSslProxystring

Name of the TargetSslProxy resource whose SSL policy is to be set. The name must be 1-63 characters long, and comply with RFC1035.

sslPolicyReferenceResourceSslPolicyReference

The body resource for this request

callSettingsCallSettings

If not null, applies overrides to this RPC call.

Returns
TypeDescription
TaskOperationOperationOperation

A Task containing the RPC response.

Example
// Create client
TargetSslProxiesClient targetSslProxiesClient = await TargetSslProxiesClient.CreateAsync();
// Initialize request argument(s)
string project = "";
string targetSslProxy = "";
SslPolicyReference sslPolicyReferenceResource = new SslPolicyReference();
// Make the request
lro::Operation<Operation, Operation> response = await targetSslProxiesClient.SetSslPolicyAsync(project, targetSslProxy, sslPolicyReferenceResource);

// Poll until the returned long-running operation is complete
lro::Operation<Operation, 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<Operation, 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<Operation<Operation, Operation>> 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 SSL proxy load balancer. They do not affect the connection between the load balancer and the backends.

Parameters
NameDescription
projectstring

Project ID for this request.

targetSslProxystring

Name of the TargetSslProxy resource whose SSL policy is to be set. The name must be 1-63 characters long, and comply with RFC1035.

sslPolicyReferenceResourceSslPolicyReference

The body resource for this request

cancellationTokenCancellationToken

A CancellationToken to use for this RPC.

Returns
TypeDescription
TaskOperationOperationOperation

A Task containing the RPC response.

Example
// Create client
TargetSslProxiesClient targetSslProxiesClient = await TargetSslProxiesClient.CreateAsync();
// Initialize request argument(s)
string project = "";
string targetSslProxy = "";
SslPolicyReference sslPolicyReferenceResource = new SslPolicyReference();
// Make the request
lro::Operation<Operation, Operation> response = await targetSslProxiesClient.SetSslPolicyAsync(project, targetSslProxy, sslPolicyReferenceResource);

// Poll until the returned long-running operation is complete
lro::Operation<Operation, 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<Operation, 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
TypeDescription
Task

A task representing the asynchronous shutdown operation.

Remarks

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.