Compute Engine v1 API - Class TargetHttpsProxiesClient (3.2.0)

public abstract class TargetHttpsProxiesClient

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

TargetHttpsProxies client wrapper, for convenient use.

Inheritance

object > TargetHttpsProxiesClient

Namespace

Google.Cloud.Compute.V1

Assembly

Google.Cloud.Compute.V1.dll

Remarks

The TargetHttpsProxies API.

Properties

DefaultEndpoint

public static string DefaultEndpoint { get; }

The default endpoint for the TargetHttpsProxies service, which is a host of "compute.googleapis.com" and a port of 443.

Property Value
Type Description
string

DefaultScopes

public static IReadOnlyList<string> DefaultScopes { get; }

The default TargetHttpsProxies scopes.

Property Value
Type Description
IReadOnlyListstring
Remarks

DeleteOperationsClient

public virtual OperationsClient DeleteOperationsClient { get; }

The long-running operations client for Delete.

Property Value
Type Description
OperationsClient

GrpcClient

public virtual TargetHttpsProxies.TargetHttpsProxiesClient GrpcClient { get; }

The underlying gRPC TargetHttpsProxies client

Property Value
Type Description
TargetHttpsProxiesTargetHttpsProxiesClient

InsertOperationsClient

public virtual OperationsClient InsertOperationsClient { get; }

The long-running operations client for Insert.

Property Value
Type Description
OperationsClient

PatchOperationsClient

public virtual OperationsClient PatchOperationsClient { get; }

The long-running operations client for Patch.

Property Value
Type Description
OperationsClient

ServiceMetadata

public static ServiceMetadata ServiceMetadata { get; }

The service metadata associated with this client type.

Property Value
Type Description
ServiceMetadata

SetCertificateMapOperationsClient

public virtual OperationsClient SetCertificateMapOperationsClient { get; }

The long-running operations client for SetCertificateMap.

Property Value
Type Description
OperationsClient

SetQuicOverrideOperationsClient

public virtual OperationsClient SetQuicOverrideOperationsClient { get; }

The long-running operations client for SetQuicOverride.

Property Value
Type Description
OperationsClient

SetSslCertificatesOperationsClient

public virtual OperationsClient SetSslCertificatesOperationsClient { get; }

The long-running operations client for SetSslCertificates.

Property Value
Type Description
OperationsClient

SetSslPolicyOperationsClient

public virtual OperationsClient SetSslPolicyOperationsClient { get; }

The long-running operations client for SetSslPolicy.

Property Value
Type Description
OperationsClient

SetUrlMapOperationsClient

public virtual OperationsClient SetUrlMapOperationsClient { get; }

The long-running operations client for SetUrlMap.

Property Value
Type Description
OperationsClient

Methods

AggregatedList(AggregatedListTargetHttpsProxiesRequest, CallSettings)

public virtual PagedEnumerable<TargetHttpsProxyAggregatedList, KeyValuePair<string, TargetHttpsProxiesScopedList>> AggregatedList(AggregatedListTargetHttpsProxiesRequest request, CallSettings callSettings = null)

Retrieves the list of all TargetHttpsProxy resources, regional and global, available to the specified project. To prevent failure, Google recommends that you set the returnPartialSuccess parameter to true.

Parameters
Name Description
request AggregatedListTargetHttpsProxiesRequest

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

callSettings CallSettings

If not null, applies overrides to this RPC call.

Returns
Type Description
PagedEnumerableTargetHttpsProxyAggregatedListKeyValuePairstringTargetHttpsProxiesScopedList

A pageable sequence of KeyValuePair<TKey, TValue> resources.

Example
// Create client
TargetHttpsProxiesClient targetHttpsProxiesClient = TargetHttpsProxiesClient.Create();
// Initialize request argument(s)
AggregatedListTargetHttpsProxiesRequest request = new AggregatedListTargetHttpsProxiesRequest
{
    OrderBy = "",
    Project = "",
    ServiceProjectNumber = 0L,
    Filter = "",
    IncludeAllScopes = false,
    ReturnPartialSuccess = false,
};
// Make the request
PagedEnumerable<TargetHttpsProxyAggregatedList, KeyValuePair<string, TargetHttpsProxiesScopedList>> response = targetHttpsProxiesClient.AggregatedList(request);

// Iterate over all response items, lazily performing RPCs as required
foreach (KeyValuePair<string, TargetHttpsProxiesScopedList> 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 (TargetHttpsProxyAggregatedList page in response.AsRawResponses())
{
    // Do something with each page of items
    Console.WriteLine("A page of results:");
    foreach (KeyValuePair<string, TargetHttpsProxiesScopedList> 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<KeyValuePair<string, TargetHttpsProxiesScopedList>> 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 (KeyValuePair<string, TargetHttpsProxiesScopedList> 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;

AggregatedList(string, string, int?, CallSettings)

public virtual PagedEnumerable<TargetHttpsProxyAggregatedList, KeyValuePair<string, TargetHttpsProxiesScopedList>> AggregatedList(string project, string pageToken = null, int? pageSize = null, CallSettings callSettings = null)

Retrieves the list of all TargetHttpsProxy resources, regional and global, available to the specified project. To prevent failure, Google recommends that you set the returnPartialSuccess parameter to true.

Parameters
Name Description
project string

Name of the project scoping this request.

pageToken string

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

pageSize int

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.

callSettings CallSettings

If not null, applies overrides to this RPC call.

Returns
Type Description
PagedEnumerableTargetHttpsProxyAggregatedListKeyValuePairstringTargetHttpsProxiesScopedList

A pageable sequence of KeyValuePair<TKey, TValue> resources.

Example
// Create client
TargetHttpsProxiesClient targetHttpsProxiesClient = TargetHttpsProxiesClient.Create();
// Initialize request argument(s)
string project = "";
// Make the request
PagedEnumerable<TargetHttpsProxyAggregatedList, KeyValuePair<string, TargetHttpsProxiesScopedList>> response = targetHttpsProxiesClient.AggregatedList(project);

// Iterate over all response items, lazily performing RPCs as required
foreach (KeyValuePair<string, TargetHttpsProxiesScopedList> 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 (TargetHttpsProxyAggregatedList page in response.AsRawResponses())
{
    // Do something with each page of items
    Console.WriteLine("A page of results:");
    foreach (KeyValuePair<string, TargetHttpsProxiesScopedList> 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<KeyValuePair<string, TargetHttpsProxiesScopedList>> 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 (KeyValuePair<string, TargetHttpsProxiesScopedList> 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;

AggregatedListAsync(AggregatedListTargetHttpsProxiesRequest, CallSettings)

public virtual PagedAsyncEnumerable<TargetHttpsProxyAggregatedList, KeyValuePair<string, TargetHttpsProxiesScopedList>> AggregatedListAsync(AggregatedListTargetHttpsProxiesRequest request, CallSettings callSettings = null)

Retrieves the list of all TargetHttpsProxy resources, regional and global, available to the specified project. To prevent failure, Google recommends that you set the returnPartialSuccess parameter to true.

Parameters
Name Description
request AggregatedListTargetHttpsProxiesRequest

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

callSettings CallSettings

If not null, applies overrides to this RPC call.

Returns
Type Description
PagedAsyncEnumerableTargetHttpsProxyAggregatedListKeyValuePairstringTargetHttpsProxiesScopedList

A pageable asynchronous sequence of KeyValuePair<TKey, TValue> resources.

Example
// Create client
TargetHttpsProxiesClient targetHttpsProxiesClient = await TargetHttpsProxiesClient.CreateAsync();
// Initialize request argument(s)
AggregatedListTargetHttpsProxiesRequest request = new AggregatedListTargetHttpsProxiesRequest
{
    OrderBy = "",
    Project = "",
    ServiceProjectNumber = 0L,
    Filter = "",
    IncludeAllScopes = false,
    ReturnPartialSuccess = false,
};
// Make the request
PagedAsyncEnumerable<TargetHttpsProxyAggregatedList, KeyValuePair<string, TargetHttpsProxiesScopedList>> response = targetHttpsProxiesClient.AggregatedListAsync(request);

// Iterate over all response items, lazily performing RPCs as required
await response.ForEachAsync((KeyValuePair<string, TargetHttpsProxiesScopedList> 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((TargetHttpsProxyAggregatedList page) =>
{
    // Do something with each page of items
    Console.WriteLine("A page of results:");
    foreach (KeyValuePair<string, TargetHttpsProxiesScopedList> 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<KeyValuePair<string, TargetHttpsProxiesScopedList>> 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 (KeyValuePair<string, TargetHttpsProxiesScopedList> 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;

AggregatedListAsync(string, string, int?, CallSettings)

public virtual PagedAsyncEnumerable<TargetHttpsProxyAggregatedList, KeyValuePair<string, TargetHttpsProxiesScopedList>> AggregatedListAsync(string project, string pageToken = null, int? pageSize = null, CallSettings callSettings = null)

Retrieves the list of all TargetHttpsProxy resources, regional and global, available to the specified project. To prevent failure, Google recommends that you set the returnPartialSuccess parameter to true.

Parameters
Name Description
project string

Name of the project scoping this request.

pageToken string

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

pageSize int

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.

callSettings CallSettings

If not null, applies overrides to this RPC call.

Returns
Type Description
PagedAsyncEnumerableTargetHttpsProxyAggregatedListKeyValuePairstringTargetHttpsProxiesScopedList

A pageable asynchronous sequence of KeyValuePair<TKey, TValue> resources.

Example
// Create client
TargetHttpsProxiesClient targetHttpsProxiesClient = await TargetHttpsProxiesClient.CreateAsync();
// Initialize request argument(s)
string project = "";
// Make the request
PagedAsyncEnumerable<TargetHttpsProxyAggregatedList, KeyValuePair<string, TargetHttpsProxiesScopedList>> response = targetHttpsProxiesClient.AggregatedListAsync(project);

// Iterate over all response items, lazily performing RPCs as required
await response.ForEachAsync((KeyValuePair<string, TargetHttpsProxiesScopedList> 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((TargetHttpsProxyAggregatedList page) =>
{
    // Do something with each page of items
    Console.WriteLine("A page of results:");
    foreach (KeyValuePair<string, TargetHttpsProxiesScopedList> 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<KeyValuePair<string, TargetHttpsProxiesScopedList>> 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 (KeyValuePair<string, TargetHttpsProxiesScopedList> 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;

Create()

public static TargetHttpsProxiesClient Create()

Synchronously creates a TargetHttpsProxiesClient using the default credentials, endpoint and settings. To specify custom credentials or other settings, use TargetHttpsProxiesClientBuilder .

Returns
Type Description
TargetHttpsProxiesClient

The created TargetHttpsProxiesClient.

CreateAsync(CancellationToken)

public static Task<TargetHttpsProxiesClient> CreateAsync(CancellationToken cancellationToken = default)

Asynchronously creates a TargetHttpsProxiesClient using the default credentials, endpoint and settings. To specify custom credentials or other settings, use TargetHttpsProxiesClientBuilder .

Parameter
Name Description
cancellationToken CancellationToken

The CancellationToken to use while creating the client.

Returns
Type Description
TaskTargetHttpsProxiesClient

The task representing the created TargetHttpsProxiesClient.

Delete(DeleteTargetHttpsProxyRequest, CallSettings)

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

Deletes the specified TargetHttpsProxy resource.

Parameters
Name Description
request DeleteTargetHttpsProxyRequest

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

callSettings CallSettings

If not null, applies overrides to this RPC call.

Returns
Type Description
OperationOperationOperation

The RPC response.

Example
// Create client
TargetHttpsProxiesClient targetHttpsProxiesClient = TargetHttpsProxiesClient.Create();
// Initialize request argument(s)
DeleteTargetHttpsProxyRequest request = new DeleteTargetHttpsProxyRequest
{
    RequestId = "",
    TargetHttpsProxy = "",
    Project = "",
};
// Make the request
lro::Operation<Operation, Operation> response = targetHttpsProxiesClient.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 = targetHttpsProxiesClient.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 targetHttpsProxy, CallSettings callSettings = null)

Deletes the specified TargetHttpsProxy resource.

Parameters
Name Description
project string

Project ID for this request.

targetHttpsProxy string

Name of the TargetHttpsProxy resource to delete.

callSettings CallSettings

If not null, applies overrides to this RPC call.

Returns
Type Description
OperationOperationOperation

The RPC response.

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

// 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 = targetHttpsProxiesClient.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(DeleteTargetHttpsProxyRequest, CallSettings)

public virtual Task<Operation<Operation, Operation>> DeleteAsync(DeleteTargetHttpsProxyRequest request, CallSettings callSettings = null)

Deletes the specified TargetHttpsProxy resource.

Parameters
Name Description
request DeleteTargetHttpsProxyRequest

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

callSettings CallSettings

If not null, applies overrides to this RPC call.

Returns
Type Description
TaskOperationOperationOperation

A Task containing the RPC response.

Example
// Create client
TargetHttpsProxiesClient targetHttpsProxiesClient = await TargetHttpsProxiesClient.CreateAsync();
// Initialize request argument(s)
DeleteTargetHttpsProxyRequest request = new DeleteTargetHttpsProxyRequest
{
    RequestId = "",
    TargetHttpsProxy = "",
    Project = "",
};
// Make the request
lro::Operation<Operation, Operation> response = await targetHttpsProxiesClient.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 targetHttpsProxiesClient.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(DeleteTargetHttpsProxyRequest, CancellationToken)

public virtual Task<Operation<Operation, Operation>> DeleteAsync(DeleteTargetHttpsProxyRequest request, CancellationToken cancellationToken)

Deletes the specified TargetHttpsProxy resource.

Parameters
Name Description
request DeleteTargetHttpsProxyRequest

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

cancellationToken CancellationToken

A CancellationToken to use for this RPC.

Returns
Type Description
TaskOperationOperationOperation

A Task containing the RPC response.

Example
// Create client
TargetHttpsProxiesClient targetHttpsProxiesClient = await TargetHttpsProxiesClient.CreateAsync();
// Initialize request argument(s)
DeleteTargetHttpsProxyRequest request = new DeleteTargetHttpsProxyRequest
{
    RequestId = "",
    TargetHttpsProxy = "",
    Project = "",
};
// Make the request
lro::Operation<Operation, Operation> response = await targetHttpsProxiesClient.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 targetHttpsProxiesClient.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 targetHttpsProxy, CallSettings callSettings = null)

Deletes the specified TargetHttpsProxy resource.

Parameters
Name Description
project string

Project ID for this request.

targetHttpsProxy string

Name of the TargetHttpsProxy resource to delete.

callSettings CallSettings

If not null, applies overrides to this RPC call.

Returns
Type Description
TaskOperationOperationOperation

A Task containing the RPC response.

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

// 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 targetHttpsProxiesClient.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 targetHttpsProxy, CancellationToken cancellationToken)

Deletes the specified TargetHttpsProxy resource.

Parameters
Name Description
project string

Project ID for this request.

targetHttpsProxy string

Name of the TargetHttpsProxy resource to delete.

cancellationToken CancellationToken

A CancellationToken to use for this RPC.

Returns
Type Description
TaskOperationOperationOperation

A Task containing the RPC response.

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

// 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 targetHttpsProxiesClient.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(GetTargetHttpsProxyRequest, CallSettings)

public virtual TargetHttpsProxy Get(GetTargetHttpsProxyRequest request, CallSettings callSettings = null)

Returns the specified TargetHttpsProxy resource.

Parameters
Name Description
request GetTargetHttpsProxyRequest

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

callSettings CallSettings

If not null, applies overrides to this RPC call.

Returns
Type Description
TargetHttpsProxy

The RPC response.

Example
// Create client
TargetHttpsProxiesClient targetHttpsProxiesClient = TargetHttpsProxiesClient.Create();
// Initialize request argument(s)
GetTargetHttpsProxyRequest request = new GetTargetHttpsProxyRequest
{
    TargetHttpsProxy = "",
    Project = "",
};
// Make the request
TargetHttpsProxy response = targetHttpsProxiesClient.Get(request);

Get(string, string, CallSettings)

public virtual TargetHttpsProxy Get(string project, string targetHttpsProxy, CallSettings callSettings = null)

Returns the specified TargetHttpsProxy resource.

Parameters
Name Description
project string

Project ID for this request.

targetHttpsProxy string

Name of the TargetHttpsProxy resource to return.

callSettings CallSettings

If not null, applies overrides to this RPC call.

Returns
Type Description
TargetHttpsProxy

The RPC response.

Example
// Create client
TargetHttpsProxiesClient targetHttpsProxiesClient = TargetHttpsProxiesClient.Create();
// Initialize request argument(s)
string project = "";
string targetHttpsProxy = "";
// Make the request
TargetHttpsProxy response = targetHttpsProxiesClient.Get(project, targetHttpsProxy);

GetAsync(GetTargetHttpsProxyRequest, CallSettings)

public virtual Task<TargetHttpsProxy> GetAsync(GetTargetHttpsProxyRequest request, CallSettings callSettings = null)

Returns the specified TargetHttpsProxy resource.

Parameters
Name Description
request GetTargetHttpsProxyRequest

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

callSettings CallSettings

If not null, applies overrides to this RPC call.

Returns
Type Description
TaskTargetHttpsProxy

A Task containing the RPC response.

Example
// Create client
TargetHttpsProxiesClient targetHttpsProxiesClient = await TargetHttpsProxiesClient.CreateAsync();
// Initialize request argument(s)
GetTargetHttpsProxyRequest request = new GetTargetHttpsProxyRequest
{
    TargetHttpsProxy = "",
    Project = "",
};
// Make the request
TargetHttpsProxy response = await targetHttpsProxiesClient.GetAsync(request);

GetAsync(GetTargetHttpsProxyRequest, CancellationToken)

public virtual Task<TargetHttpsProxy> GetAsync(GetTargetHttpsProxyRequest request, CancellationToken cancellationToken)

Returns the specified TargetHttpsProxy resource.

Parameters
Name Description
request GetTargetHttpsProxyRequest

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

cancellationToken CancellationToken

A CancellationToken to use for this RPC.

Returns
Type Description
TaskTargetHttpsProxy

A Task containing the RPC response.

Example
// Create client
TargetHttpsProxiesClient targetHttpsProxiesClient = await TargetHttpsProxiesClient.CreateAsync();
// Initialize request argument(s)
GetTargetHttpsProxyRequest request = new GetTargetHttpsProxyRequest
{
    TargetHttpsProxy = "",
    Project = "",
};
// Make the request
TargetHttpsProxy response = await targetHttpsProxiesClient.GetAsync(request);

GetAsync(string, string, CallSettings)

public virtual Task<TargetHttpsProxy> GetAsync(string project, string targetHttpsProxy, CallSettings callSettings = null)

Returns the specified TargetHttpsProxy resource.

Parameters
Name Description
project string

Project ID for this request.

targetHttpsProxy string

Name of the TargetHttpsProxy resource to return.

callSettings CallSettings

If not null, applies overrides to this RPC call.

Returns
Type Description
TaskTargetHttpsProxy

A Task containing the RPC response.

Example
// Create client
TargetHttpsProxiesClient targetHttpsProxiesClient = await TargetHttpsProxiesClient.CreateAsync();
// Initialize request argument(s)
string project = "";
string targetHttpsProxy = "";
// Make the request
TargetHttpsProxy response = await targetHttpsProxiesClient.GetAsync(project, targetHttpsProxy);

GetAsync(string, string, CancellationToken)

public virtual Task<TargetHttpsProxy> GetAsync(string project, string targetHttpsProxy, CancellationToken cancellationToken)

Returns the specified TargetHttpsProxy resource.

Parameters
Name Description
project string

Project ID for this request.

targetHttpsProxy string

Name of the TargetHttpsProxy resource to return.

cancellationToken CancellationToken

A CancellationToken to use for this RPC.

Returns
Type Description
TaskTargetHttpsProxy

A Task containing the RPC response.

Example
// Create client
TargetHttpsProxiesClient targetHttpsProxiesClient = await TargetHttpsProxiesClient.CreateAsync();
// Initialize request argument(s)
string project = "";
string targetHttpsProxy = "";
// Make the request
TargetHttpsProxy response = await targetHttpsProxiesClient.GetAsync(project, targetHttpsProxy);

Insert(InsertTargetHttpsProxyRequest, CallSettings)

public virtual Operation<Operation, Operation> Insert(InsertTargetHttpsProxyRequest request, CallSettings callSettings = null)

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

Parameters
Name Description
request InsertTargetHttpsProxyRequest

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

callSettings CallSettings

If not null, applies overrides to this RPC call.

Returns
Type Description
OperationOperationOperation

The RPC response.

Example
// Create client
TargetHttpsProxiesClient targetHttpsProxiesClient = TargetHttpsProxiesClient.Create();
// Initialize request argument(s)
InsertTargetHttpsProxyRequest request = new InsertTargetHttpsProxyRequest
{
    RequestId = "",
    Project = "",
    TargetHttpsProxyResource = new TargetHttpsProxy(),
};
// Make the request
lro::Operation<Operation, Operation> response = targetHttpsProxiesClient.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 = targetHttpsProxiesClient.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, TargetHttpsProxy, CallSettings)

public virtual Operation<Operation, Operation> Insert(string project, TargetHttpsProxy targetHttpsProxyResource, CallSettings callSettings = null)

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

Parameters
Name Description
project string

Project ID for this request.

targetHttpsProxyResource TargetHttpsProxy

The body resource for this request

callSettings CallSettings

If not null, applies overrides to this RPC call.

Returns
Type Description
OperationOperationOperation

The RPC response.

Example
// Create client
TargetHttpsProxiesClient targetHttpsProxiesClient = TargetHttpsProxiesClient.Create();
// Initialize request argument(s)
string project = "";
TargetHttpsProxy targetHttpsProxyResource = new TargetHttpsProxy();
// Make the request
lro::Operation<Operation, Operation> response = targetHttpsProxiesClient.Insert(project, targetHttpsProxyResource);

// 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 = targetHttpsProxiesClient.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(InsertTargetHttpsProxyRequest, CallSettings)

public virtual Task<Operation<Operation, Operation>> InsertAsync(InsertTargetHttpsProxyRequest request, CallSettings callSettings = null)

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

Parameters
Name Description
request InsertTargetHttpsProxyRequest

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

callSettings CallSettings

If not null, applies overrides to this RPC call.

Returns
Type Description
TaskOperationOperationOperation

A Task containing the RPC response.

Example
// Create client
TargetHttpsProxiesClient targetHttpsProxiesClient = await TargetHttpsProxiesClient.CreateAsync();
// Initialize request argument(s)
InsertTargetHttpsProxyRequest request = new InsertTargetHttpsProxyRequest
{
    RequestId = "",
    Project = "",
    TargetHttpsProxyResource = new TargetHttpsProxy(),
};
// Make the request
lro::Operation<Operation, Operation> response = await targetHttpsProxiesClient.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 targetHttpsProxiesClient.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(InsertTargetHttpsProxyRequest, CancellationToken)

public virtual Task<Operation<Operation, Operation>> InsertAsync(InsertTargetHttpsProxyRequest request, CancellationToken cancellationToken)

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

Parameters
Name Description
request InsertTargetHttpsProxyRequest

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

cancellationToken CancellationToken

A CancellationToken to use for this RPC.

Returns
Type Description
TaskOperationOperationOperation

A Task containing the RPC response.

Example
// Create client
TargetHttpsProxiesClient targetHttpsProxiesClient = await TargetHttpsProxiesClient.CreateAsync();
// Initialize request argument(s)
InsertTargetHttpsProxyRequest request = new InsertTargetHttpsProxyRequest
{
    RequestId = "",
    Project = "",
    TargetHttpsProxyResource = new TargetHttpsProxy(),
};
// Make the request
lro::Operation<Operation, Operation> response = await targetHttpsProxiesClient.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 targetHttpsProxiesClient.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, TargetHttpsProxy, CallSettings)

public virtual Task<Operation<Operation, Operation>> InsertAsync(string project, TargetHttpsProxy targetHttpsProxyResource, CallSettings callSettings = null)

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

Parameters
Name Description
project string

Project ID for this request.

targetHttpsProxyResource TargetHttpsProxy

The body resource for this request

callSettings CallSettings

If not null, applies overrides to this RPC call.

Returns
Type Description
TaskOperationOperationOperation

A Task containing the RPC response.

Example
// Create client
TargetHttpsProxiesClient targetHttpsProxiesClient = await TargetHttpsProxiesClient.CreateAsync();
// Initialize request argument(s)
string project = "";
TargetHttpsProxy targetHttpsProxyResource = new TargetHttpsProxy();
// Make the request
lro::Operation<Operation, Operation> response = await targetHttpsProxiesClient.InsertAsync(project, targetHttpsProxyResource);

// 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 targetHttpsProxiesClient.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, TargetHttpsProxy, CancellationToken)

public virtual Task<Operation<Operation, Operation>> InsertAsync(string project, TargetHttpsProxy targetHttpsProxyResource, CancellationToken cancellationToken)

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

Parameters
Name Description
project string

Project ID for this request.

targetHttpsProxyResource TargetHttpsProxy

The body resource for this request

cancellationToken CancellationToken

A CancellationToken to use for this RPC.

Returns
Type Description
TaskOperationOperationOperation

A Task containing the RPC response.

Example
// Create client
TargetHttpsProxiesClient targetHttpsProxiesClient = await TargetHttpsProxiesClient.CreateAsync();
// Initialize request argument(s)
string project = "";
TargetHttpsProxy targetHttpsProxyResource = new TargetHttpsProxy();
// Make the request
lro::Operation<Operation, Operation> response = await targetHttpsProxiesClient.InsertAsync(project, targetHttpsProxyResource);

// 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 targetHttpsProxiesClient.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(ListTargetHttpsProxiesRequest, CallSettings)

public virtual PagedEnumerable<TargetHttpsProxyList, TargetHttpsProxy> List(ListTargetHttpsProxiesRequest request, CallSettings callSettings = null)

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

Parameters
Name Description
request ListTargetHttpsProxiesRequest

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

callSettings CallSettings

If not null, applies overrides to this RPC call.

Returns
Type Description
PagedEnumerableTargetHttpsProxyListTargetHttpsProxy

A pageable sequence of TargetHttpsProxy resources.

Example
// Create client
TargetHttpsProxiesClient targetHttpsProxiesClient = TargetHttpsProxiesClient.Create();
// Initialize request argument(s)
ListTargetHttpsProxiesRequest request = new ListTargetHttpsProxiesRequest
{
    OrderBy = "",
    Project = "",
    Filter = "",
    ReturnPartialSuccess = false,
};
// Make the request
PagedEnumerable<TargetHttpsProxyList, TargetHttpsProxy> response = targetHttpsProxiesClient.List(request);

// Iterate over all response items, lazily performing RPCs as required
foreach (TargetHttpsProxy 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 (TargetHttpsProxyList page in response.AsRawResponses())
{
    // Do something with each page of items
    Console.WriteLine("A page of results:");
    foreach (TargetHttpsProxy 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<TargetHttpsProxy> 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 (TargetHttpsProxy 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<TargetHttpsProxyList, TargetHttpsProxy> List(string project, string pageToken = null, int? pageSize = null, CallSettings callSettings = null)

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

Parameters
Name Description
project string

Project ID for this request.

pageToken string

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

pageSize int

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.

callSettings CallSettings

If not null, applies overrides to this RPC call.

Returns
Type Description
PagedEnumerableTargetHttpsProxyListTargetHttpsProxy

A pageable sequence of TargetHttpsProxy resources.

Example
// Create client
TargetHttpsProxiesClient targetHttpsProxiesClient = TargetHttpsProxiesClient.Create();
// Initialize request argument(s)
string project = "";
// Make the request
PagedEnumerable<TargetHttpsProxyList, TargetHttpsProxy> response = targetHttpsProxiesClient.List(project);

// Iterate over all response items, lazily performing RPCs as required
foreach (TargetHttpsProxy 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 (TargetHttpsProxyList page in response.AsRawResponses())
{
    // Do something with each page of items
    Console.WriteLine("A page of results:");
    foreach (TargetHttpsProxy 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<TargetHttpsProxy> 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 (TargetHttpsProxy 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(ListTargetHttpsProxiesRequest, CallSettings)

public virtual PagedAsyncEnumerable<TargetHttpsProxyList, TargetHttpsProxy> ListAsync(ListTargetHttpsProxiesRequest request, CallSettings callSettings = null)

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

Parameters
Name Description
request ListTargetHttpsProxiesRequest

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

callSettings CallSettings

If not null, applies overrides to this RPC call.

Returns
Type Description
PagedAsyncEnumerableTargetHttpsProxyListTargetHttpsProxy

A pageable asynchronous sequence of TargetHttpsProxy resources.

Example
// Create client
TargetHttpsProxiesClient targetHttpsProxiesClient = await TargetHttpsProxiesClient.CreateAsync();
// Initialize request argument(s)
ListTargetHttpsProxiesRequest request = new ListTargetHttpsProxiesRequest
{
    OrderBy = "",
    Project = "",
    Filter = "",
    ReturnPartialSuccess = false,
};
// Make the request
PagedAsyncEnumerable<TargetHttpsProxyList, TargetHttpsProxy> response = targetHttpsProxiesClient.ListAsync(request);

// Iterate over all response items, lazily performing RPCs as required
await response.ForEachAsync((TargetHttpsProxy 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((TargetHttpsProxyList page) =>
{
    // Do something with each page of items
    Console.WriteLine("A page of results:");
    foreach (TargetHttpsProxy 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<TargetHttpsProxy> 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 (TargetHttpsProxy 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<TargetHttpsProxyList, TargetHttpsProxy> ListAsync(string project, string pageToken = null, int? pageSize = null, CallSettings callSettings = null)

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

Parameters
Name Description
project string

Project ID for this request.

pageToken string

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

pageSize int

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.

callSettings CallSettings

If not null, applies overrides to this RPC call.

Returns
Type Description
PagedAsyncEnumerableTargetHttpsProxyListTargetHttpsProxy

A pageable asynchronous sequence of TargetHttpsProxy resources.

Example
// Create client
TargetHttpsProxiesClient targetHttpsProxiesClient = await TargetHttpsProxiesClient.CreateAsync();
// Initialize request argument(s)
string project = "";
// Make the request
PagedAsyncEnumerable<TargetHttpsProxyList, TargetHttpsProxy> response = targetHttpsProxiesClient.ListAsync(project);

// Iterate over all response items, lazily performing RPCs as required
await response.ForEachAsync((TargetHttpsProxy 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((TargetHttpsProxyList page) =>
{
    // Do something with each page of items
    Console.WriteLine("A page of results:");
    foreach (TargetHttpsProxy 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<TargetHttpsProxy> 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 (TargetHttpsProxy 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;

Patch(PatchTargetHttpsProxyRequest, CallSettings)

public virtual Operation<Operation, Operation> Patch(PatchTargetHttpsProxyRequest request, CallSettings callSettings = null)

Patches the specified TargetHttpsProxy resource with the data included in the request. This method supports PATCH semantics and uses JSON merge patch format and processing rules.

Parameters
Name Description
request PatchTargetHttpsProxyRequest

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

callSettings CallSettings

If not null, applies overrides to this RPC call.

Returns
Type Description
OperationOperationOperation

The RPC response.

Example
// Create client
TargetHttpsProxiesClient targetHttpsProxiesClient = TargetHttpsProxiesClient.Create();
// Initialize request argument(s)
PatchTargetHttpsProxyRequest request = new PatchTargetHttpsProxyRequest
{
    RequestId = "",
    TargetHttpsProxy = "",
    Project = "",
    TargetHttpsProxyResource = new TargetHttpsProxy(),
};
// Make the request
lro::Operation<Operation, Operation> response = targetHttpsProxiesClient.Patch(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 = targetHttpsProxiesClient.PollOncePatch(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;
}

Patch(string, string, TargetHttpsProxy, CallSettings)

public virtual Operation<Operation, Operation> Patch(string project, string targetHttpsProxy, TargetHttpsProxy targetHttpsProxyResource, CallSettings callSettings = null)

Patches the specified TargetHttpsProxy resource with the data included in the request. This method supports PATCH semantics and uses JSON merge patch format and processing rules.

Parameters
Name Description
project string

Project ID for this request.

targetHttpsProxy string

Name of the TargetHttpsProxy resource to patch.

targetHttpsProxyResource TargetHttpsProxy

The body resource for this request

callSettings CallSettings

If not null, applies overrides to this RPC call.

Returns
Type Description
OperationOperationOperation

The RPC response.

Example
// Create client
TargetHttpsProxiesClient targetHttpsProxiesClient = TargetHttpsProxiesClient.Create();
// Initialize request argument(s)
string project = "";
string targetHttpsProxy = "";
TargetHttpsProxy targetHttpsProxyResource = new TargetHttpsProxy();
// Make the request
lro::Operation<Operation, Operation> response = targetHttpsProxiesClient.Patch(project, targetHttpsProxy, targetHttpsProxyResource);

// 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 = targetHttpsProxiesClient.PollOncePatch(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;
}

PatchAsync(PatchTargetHttpsProxyRequest, CallSettings)

public virtual Task<Operation<Operation, Operation>> PatchAsync(PatchTargetHttpsProxyRequest request, CallSettings callSettings = null)

Patches the specified TargetHttpsProxy resource with the data included in the request. This method supports PATCH semantics and uses JSON merge patch format and processing rules.

Parameters
Name Description
request PatchTargetHttpsProxyRequest

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

callSettings CallSettings

If not null, applies overrides to this RPC call.

Returns
Type Description
TaskOperationOperationOperation

A Task containing the RPC response.

Example
// Create client
TargetHttpsProxiesClient targetHttpsProxiesClient = await TargetHttpsProxiesClient.CreateAsync();
// Initialize request argument(s)
PatchTargetHttpsProxyRequest request = new PatchTargetHttpsProxyRequest
{
    RequestId = "",
    TargetHttpsProxy = "",
    Project = "",
    TargetHttpsProxyResource = new TargetHttpsProxy(),
};
// Make the request
lro::Operation<Operation, Operation> response = await targetHttpsProxiesClient.PatchAsync(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 targetHttpsProxiesClient.PollOncePatchAsync(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;
}

PatchAsync(PatchTargetHttpsProxyRequest, CancellationToken)

public virtual Task<Operation<Operation, Operation>> PatchAsync(PatchTargetHttpsProxyRequest request, CancellationToken cancellationToken)

Patches the specified TargetHttpsProxy resource with the data included in the request. This method supports PATCH semantics and uses JSON merge patch format and processing rules.

Parameters
Name Description
request PatchTargetHttpsProxyRequest

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

cancellationToken CancellationToken

A CancellationToken to use for this RPC.

Returns
Type Description
TaskOperationOperationOperation

A Task containing the RPC response.

Example
// Create client
TargetHttpsProxiesClient targetHttpsProxiesClient = await TargetHttpsProxiesClient.CreateAsync();
// Initialize request argument(s)
PatchTargetHttpsProxyRequest request = new PatchTargetHttpsProxyRequest
{
    RequestId = "",
    TargetHttpsProxy = "",
    Project = "",
    TargetHttpsProxyResource = new TargetHttpsProxy(),
};
// Make the request
lro::Operation<Operation, Operation> response = await targetHttpsProxiesClient.PatchAsync(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 targetHttpsProxiesClient.PollOncePatchAsync(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;
}

PatchAsync(string, string, TargetHttpsProxy, CallSettings)

public virtual Task<Operation<Operation, Operation>> PatchAsync(string project, string targetHttpsProxy, TargetHttpsProxy targetHttpsProxyResource, CallSettings callSettings = null)

Patches the specified TargetHttpsProxy resource with the data included in the request. This method supports PATCH semantics and uses JSON merge patch format and processing rules.

Parameters
Name Description
project string

Project ID for this request.

targetHttpsProxy string

Name of the TargetHttpsProxy resource to patch.

targetHttpsProxyResource TargetHttpsProxy

The body resource for this request

callSettings CallSettings

If not null, applies overrides to this RPC call.

Returns
Type Description
TaskOperationOperationOperation

A Task containing the RPC response.

Example
// Create client
TargetHttpsProxiesClient targetHttpsProxiesClient = await TargetHttpsProxiesClient.CreateAsync();
// Initialize request argument(s)
string project = "";
string targetHttpsProxy = "";
TargetHttpsProxy targetHttpsProxyResource = new TargetHttpsProxy();
// Make the request
lro::Operation<Operation, Operation> response = await targetHttpsProxiesClient.PatchAsync(project, targetHttpsProxy, targetHttpsProxyResource);

// 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 targetHttpsProxiesClient.PollOncePatchAsync(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;
}

PatchAsync(string, string, TargetHttpsProxy, CancellationToken)

public virtual Task<Operation<Operation, Operation>> PatchAsync(string project, string targetHttpsProxy, TargetHttpsProxy targetHttpsProxyResource, CancellationToken cancellationToken)

Patches the specified TargetHttpsProxy resource with the data included in the request. This method supports PATCH semantics and uses JSON merge patch format and processing rules.

Parameters
Name Description
project string

Project ID for this request.

targetHttpsProxy string

Name of the TargetHttpsProxy resource to patch.

targetHttpsProxyResource TargetHttpsProxy

The body resource for this request

cancellationToken CancellationToken

A CancellationToken to use for this RPC.

Returns
Type Description
TaskOperationOperationOperation

A Task containing the RPC response.

Example
// Create client
TargetHttpsProxiesClient targetHttpsProxiesClient = await TargetHttpsProxiesClient.CreateAsync();
// Initialize request argument(s)
string project = "";
string targetHttpsProxy = "";
TargetHttpsProxy targetHttpsProxyResource = new TargetHttpsProxy();
// Make the request
lro::Operation<Operation, Operation> response = await targetHttpsProxiesClient.PatchAsync(project, targetHttpsProxy, targetHttpsProxyResource);

// 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 targetHttpsProxiesClient.PollOncePatchAsync(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;
}

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
Name Description
operationName string

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

callSettings CallSettings

If not null, applies overrides to this RPC call.

Returns
Type Description
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
Name Description
operationName string

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

callSettings CallSettings

If not null, applies overrides to this RPC call.

Returns
Type Description
TaskOperationOperationOperation

A task representing the result of polling the operation.

PollOnceInsert(string, CallSettings)

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

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

Parameters
Name Description
operationName string

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

callSettings CallSettings

If not null, applies overrides to this RPC call.

Returns
Type Description
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
Name Description
operationName string

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

callSettings CallSettings

If not null, applies overrides to this RPC call.

Returns
Type Description
TaskOperationOperationOperation

A task representing the result of polling the operation.

PollOncePatch(string, CallSettings)

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

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

Parameters
Name Description
operationName string

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

callSettings CallSettings

If not null, applies overrides to this RPC call.

Returns
Type Description
OperationOperationOperation

The result of polling the operation.

PollOncePatchAsync(string, CallSettings)

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

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

Parameters
Name Description
operationName string

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

callSettings CallSettings

If not null, applies overrides to this RPC call.

Returns
Type Description
TaskOperationOperationOperation

A task representing the result of polling the operation.

PollOnceSetCertificateMap(string, CallSettings)

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

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

Parameters
Name Description
operationName string

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

callSettings CallSettings

If not null, applies overrides to this RPC call.

Returns
Type Description
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
Name Description
operationName string

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

callSettings CallSettings

If not null, applies overrides to this RPC call.

Returns
Type Description
TaskOperationOperationOperation

A task representing the result of polling the operation.

PollOnceSetQuicOverride(string, CallSettings)

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

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

Parameters
Name Description
operationName string

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

callSettings CallSettings

If not null, applies overrides to this RPC call.

Returns
Type Description
OperationOperationOperation

The result of polling the operation.

PollOnceSetQuicOverrideAsync(string, CallSettings)

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

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

Parameters
Name Description
operationName string

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

callSettings CallSettings

If not null, applies overrides to this RPC call.

Returns
Type Description
TaskOperationOperationOperation

A task representing the result of polling the operation.

PollOnceSetSslCertificates(string, CallSettings)

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

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

Parameters
Name Description
operationName string

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

callSettings CallSettings

If not null, applies overrides to this RPC call.

Returns
Type Description
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
Name Description
operationName string

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

callSettings CallSettings

If not null, applies overrides to this RPC call.

Returns
Type Description
TaskOperationOperationOperation

A task representing the result of polling the operation.

PollOnceSetSslPolicy(string, CallSettings)

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

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

Parameters
Name Description
operationName string

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

callSettings CallSettings

If not null, applies overrides to this RPC call.

Returns
Type Description
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
Name Description
operationName string

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

callSettings CallSettings

If not null, applies overrides to this RPC call.

Returns
Type Description
TaskOperationOperationOperation

A task representing the result of polling the operation.

PollOnceSetUrlMap(string, CallSettings)

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

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

Parameters
Name Description
operationName string

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

callSettings CallSettings

If not null, applies overrides to this RPC call.

Returns
Type Description
OperationOperationOperation

The result of polling the operation.

PollOnceSetUrlMapAsync(string, CallSettings)

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

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

Parameters
Name Description
operationName string

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

callSettings CallSettings

If not null, applies overrides to this RPC call.

Returns
Type Description
TaskOperationOperationOperation

A task representing the result of polling the operation.

SetCertificateMap(SetCertificateMapTargetHttpsProxyRequest, CallSettings)

public virtual Operation<Operation, Operation> SetCertificateMap(SetCertificateMapTargetHttpsProxyRequest request, CallSettings callSettings = null)

Changes the Certificate Map for TargetHttpsProxy.

Parameters
Name Description
request SetCertificateMapTargetHttpsProxyRequest

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

callSettings CallSettings

If not null, applies overrides to this RPC call.

Returns
Type Description
OperationOperationOperation

The RPC response.

Example
// Create client
TargetHttpsProxiesClient targetHttpsProxiesClient = TargetHttpsProxiesClient.Create();
// Initialize request argument(s)
SetCertificateMapTargetHttpsProxyRequest request = new SetCertificateMapTargetHttpsProxyRequest
{
    RequestId = "",
    TargetHttpsProxy = "",
    Project = "",
    TargetHttpsProxiesSetCertificateMapRequestResource = new TargetHttpsProxiesSetCertificateMapRequest(),
};
// Make the request
lro::Operation<Operation, Operation> response = targetHttpsProxiesClient.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 = targetHttpsProxiesClient.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, TargetHttpsProxiesSetCertificateMapRequest, CallSettings)

public virtual Operation<Operation, Operation> SetCertificateMap(string project, string targetHttpsProxy, TargetHttpsProxiesSetCertificateMapRequest targetHttpsProxiesSetCertificateMapRequestResource, CallSettings callSettings = null)

Changes the Certificate Map for TargetHttpsProxy.

Parameters
Name Description
project string

Project ID for this request.

targetHttpsProxy string

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

targetHttpsProxiesSetCertificateMapRequestResource TargetHttpsProxiesSetCertificateMapRequest

The body resource for this request

callSettings CallSettings

If not null, applies overrides to this RPC call.

Returns
Type Description
OperationOperationOperation

The RPC response.

Example
// Create client
TargetHttpsProxiesClient targetHttpsProxiesClient = TargetHttpsProxiesClient.Create();
// Initialize request argument(s)
string project = "";
string targetHttpsProxy = "";
TargetHttpsProxiesSetCertificateMapRequest targetHttpsProxiesSetCertificateMapRequestResource = new TargetHttpsProxiesSetCertificateMapRequest();
// Make the request
lro::Operation<Operation, Operation> response = targetHttpsProxiesClient.SetCertificateMap(project, targetHttpsProxy, targetHttpsProxiesSetCertificateMapRequestResource);

// 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 = targetHttpsProxiesClient.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(SetCertificateMapTargetHttpsProxyRequest, CallSettings)

public virtual Task<Operation<Operation, Operation>> SetCertificateMapAsync(SetCertificateMapTargetHttpsProxyRequest request, CallSettings callSettings = null)

Changes the Certificate Map for TargetHttpsProxy.

Parameters
Name Description
request SetCertificateMapTargetHttpsProxyRequest

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

callSettings CallSettings

If not null, applies overrides to this RPC call.

Returns
Type Description
TaskOperationOperationOperation

A Task containing the RPC response.

Example
// Create client
TargetHttpsProxiesClient targetHttpsProxiesClient = await TargetHttpsProxiesClient.CreateAsync();
// Initialize request argument(s)
SetCertificateMapTargetHttpsProxyRequest request = new SetCertificateMapTargetHttpsProxyRequest
{
    RequestId = "",
    TargetHttpsProxy = "",
    Project = "",
    TargetHttpsProxiesSetCertificateMapRequestResource = new TargetHttpsProxiesSetCertificateMapRequest(),
};
// Make the request
lro::Operation<Operation, Operation> response = await targetHttpsProxiesClient.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 targetHttpsProxiesClient.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(SetCertificateMapTargetHttpsProxyRequest, CancellationToken)

public virtual Task<Operation<Operation, Operation>> SetCertificateMapAsync(SetCertificateMapTargetHttpsProxyRequest request, CancellationToken cancellationToken)

Changes the Certificate Map for TargetHttpsProxy.

Parameters
Name Description
request SetCertificateMapTargetHttpsProxyRequest

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

cancellationToken CancellationToken

A CancellationToken to use for this RPC.

Returns
Type Description
TaskOperationOperationOperation

A Task containing the RPC response.

Example
// Create client
TargetHttpsProxiesClient targetHttpsProxiesClient = await TargetHttpsProxiesClient.CreateAsync();
// Initialize request argument(s)
SetCertificateMapTargetHttpsProxyRequest request = new SetCertificateMapTargetHttpsProxyRequest
{
    RequestId = "",
    TargetHttpsProxy = "",
    Project = "",
    TargetHttpsProxiesSetCertificateMapRequestResource = new TargetHttpsProxiesSetCertificateMapRequest(),
};
// Make the request
lro::Operation<Operation, Operation> response = await targetHttpsProxiesClient.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 targetHttpsProxiesClient.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, TargetHttpsProxiesSetCertificateMapRequest, CallSettings)

public virtual Task<Operation<Operation, Operation>> SetCertificateMapAsync(string project, string targetHttpsProxy, TargetHttpsProxiesSetCertificateMapRequest targetHttpsProxiesSetCertificateMapRequestResource, CallSettings callSettings = null)

Changes the Certificate Map for TargetHttpsProxy.

Parameters
Name Description
project string

Project ID for this request.

targetHttpsProxy string

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

targetHttpsProxiesSetCertificateMapRequestResource TargetHttpsProxiesSetCertificateMapRequest

The body resource for this request

callSettings CallSettings

If not null, applies overrides to this RPC call.

Returns
Type Description
TaskOperationOperationOperation

A Task containing the RPC response.

Example
// Create client
TargetHttpsProxiesClient targetHttpsProxiesClient = await TargetHttpsProxiesClient.CreateAsync();
// Initialize request argument(s)
string project = "";
string targetHttpsProxy = "";
TargetHttpsProxiesSetCertificateMapRequest targetHttpsProxiesSetCertificateMapRequestResource = new TargetHttpsProxiesSetCertificateMapRequest();
// Make the request
lro::Operation<Operation, Operation> response = await targetHttpsProxiesClient.SetCertificateMapAsync(project, targetHttpsProxy, targetHttpsProxiesSetCertificateMapRequestResource);

// 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 targetHttpsProxiesClient.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, TargetHttpsProxiesSetCertificateMapRequest, CancellationToken)

public virtual Task<Operation<Operation, Operation>> SetCertificateMapAsync(string project, string targetHttpsProxy, TargetHttpsProxiesSetCertificateMapRequest targetHttpsProxiesSetCertificateMapRequestResource, CancellationToken cancellationToken)

Changes the Certificate Map for TargetHttpsProxy.

Parameters
Name Description
project string

Project ID for this request.

targetHttpsProxy string

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

targetHttpsProxiesSetCertificateMapRequestResource TargetHttpsProxiesSetCertificateMapRequest

The body resource for this request

cancellationToken CancellationToken

A CancellationToken to use for this RPC.

Returns
Type Description
TaskOperationOperationOperation

A Task containing the RPC response.

Example
// Create client
TargetHttpsProxiesClient targetHttpsProxiesClient = await TargetHttpsProxiesClient.CreateAsync();
// Initialize request argument(s)
string project = "";
string targetHttpsProxy = "";
TargetHttpsProxiesSetCertificateMapRequest targetHttpsProxiesSetCertificateMapRequestResource = new TargetHttpsProxiesSetCertificateMapRequest();
// Make the request
lro::Operation<Operation, Operation> response = await targetHttpsProxiesClient.SetCertificateMapAsync(project, targetHttpsProxy, targetHttpsProxiesSetCertificateMapRequestResource);

// 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 targetHttpsProxiesClient.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;
}

SetQuicOverride(SetQuicOverrideTargetHttpsProxyRequest, CallSettings)

public virtual Operation<Operation, Operation> SetQuicOverride(SetQuicOverrideTargetHttpsProxyRequest request, CallSettings callSettings = null)

Sets the QUIC override policy for TargetHttpsProxy.

Parameters
Name Description
request SetQuicOverrideTargetHttpsProxyRequest

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

callSettings CallSettings

If not null, applies overrides to this RPC call.

Returns
Type Description
OperationOperationOperation

The RPC response.

Example
// Create client
TargetHttpsProxiesClient targetHttpsProxiesClient = TargetHttpsProxiesClient.Create();
// Initialize request argument(s)
SetQuicOverrideTargetHttpsProxyRequest request = new SetQuicOverrideTargetHttpsProxyRequest
{
    RequestId = "",
    TargetHttpsProxy = "",
    TargetHttpsProxiesSetQuicOverrideRequestResource = new TargetHttpsProxiesSetQuicOverrideRequest(),
    Project = "",
};
// Make the request
lro::Operation<Operation, Operation> response = targetHttpsProxiesClient.SetQuicOverride(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 = targetHttpsProxiesClient.PollOnceSetQuicOverride(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;
}

SetQuicOverride(string, string, TargetHttpsProxiesSetQuicOverrideRequest, CallSettings)

public virtual Operation<Operation, Operation> SetQuicOverride(string project, string targetHttpsProxy, TargetHttpsProxiesSetQuicOverrideRequest targetHttpsProxiesSetQuicOverrideRequestResource, CallSettings callSettings = null)

Sets the QUIC override policy for TargetHttpsProxy.

Parameters
Name Description
project string

Project ID for this request.

targetHttpsProxy string

Name of the TargetHttpsProxy resource to set the QUIC override policy for. The name should conform to RFC1035.

targetHttpsProxiesSetQuicOverrideRequestResource TargetHttpsProxiesSetQuicOverrideRequest

The body resource for this request

callSettings CallSettings

If not null, applies overrides to this RPC call.

Returns
Type Description
OperationOperationOperation

The RPC response.

Example
// Create client
TargetHttpsProxiesClient targetHttpsProxiesClient = TargetHttpsProxiesClient.Create();
// Initialize request argument(s)
string project = "";
string targetHttpsProxy = "";
TargetHttpsProxiesSetQuicOverrideRequest targetHttpsProxiesSetQuicOverrideRequestResource = new TargetHttpsProxiesSetQuicOverrideRequest();
// Make the request
lro::Operation<Operation, Operation> response = targetHttpsProxiesClient.SetQuicOverride(project, targetHttpsProxy, targetHttpsProxiesSetQuicOverrideRequestResource);

// 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 = targetHttpsProxiesClient.PollOnceSetQuicOverride(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;
}

SetQuicOverrideAsync(SetQuicOverrideTargetHttpsProxyRequest, CallSettings)

public virtual Task<Operation<Operation, Operation>> SetQuicOverrideAsync(SetQuicOverrideTargetHttpsProxyRequest request, CallSettings callSettings = null)

Sets the QUIC override policy for TargetHttpsProxy.

Parameters
Name Description
request SetQuicOverrideTargetHttpsProxyRequest

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

callSettings CallSettings

If not null, applies overrides to this RPC call.

Returns
Type Description
TaskOperationOperationOperation

A Task containing the RPC response.

Example
// Create client
TargetHttpsProxiesClient targetHttpsProxiesClient = await TargetHttpsProxiesClient.CreateAsync();
// Initialize request argument(s)
SetQuicOverrideTargetHttpsProxyRequest request = new SetQuicOverrideTargetHttpsProxyRequest
{
    RequestId = "",
    TargetHttpsProxy = "",
    TargetHttpsProxiesSetQuicOverrideRequestResource = new TargetHttpsProxiesSetQuicOverrideRequest(),
    Project = "",
};
// Make the request
lro::Operation<Operation, Operation> response = await targetHttpsProxiesClient.SetQuicOverrideAsync(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 targetHttpsProxiesClient.PollOnceSetQuicOverrideAsync(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;
}

SetQuicOverrideAsync(SetQuicOverrideTargetHttpsProxyRequest, CancellationToken)

public virtual Task<Operation<Operation, Operation>> SetQuicOverrideAsync(SetQuicOverrideTargetHttpsProxyRequest request, CancellationToken cancellationToken)

Sets the QUIC override policy for TargetHttpsProxy.

Parameters
Name Description
request SetQuicOverrideTargetHttpsProxyRequest

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

cancellationToken CancellationToken

A CancellationToken to use for this RPC.

Returns
Type Description
TaskOperationOperationOperation

A Task containing the RPC response.

Example
// Create client
TargetHttpsProxiesClient targetHttpsProxiesClient = await TargetHttpsProxiesClient.CreateAsync();
// Initialize request argument(s)
SetQuicOverrideTargetHttpsProxyRequest request = new SetQuicOverrideTargetHttpsProxyRequest
{
    RequestId = "",
    TargetHttpsProxy = "",
    TargetHttpsProxiesSetQuicOverrideRequestResource = new TargetHttpsProxiesSetQuicOverrideRequest(),
    Project = "",
};
// Make the request
lro::Operation<Operation, Operation> response = await targetHttpsProxiesClient.SetQuicOverrideAsync(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 targetHttpsProxiesClient.PollOnceSetQuicOverrideAsync(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;
}

SetQuicOverrideAsync(string, string, TargetHttpsProxiesSetQuicOverrideRequest, CallSettings)

public virtual Task<Operation<Operation, Operation>> SetQuicOverrideAsync(string project, string targetHttpsProxy, TargetHttpsProxiesSetQuicOverrideRequest targetHttpsProxiesSetQuicOverrideRequestResource, CallSettings callSettings = null)

Sets the QUIC override policy for TargetHttpsProxy.

Parameters
Name Description
project string

Project ID for this request.

targetHttpsProxy string

Name of the TargetHttpsProxy resource to set the QUIC override policy for. The name should conform to RFC1035.

targetHttpsProxiesSetQuicOverrideRequestResource TargetHttpsProxiesSetQuicOverrideRequest

The body resource for this request

callSettings CallSettings

If not null, applies overrides to this RPC call.

Returns
Type Description
TaskOperationOperationOperation

A Task containing the RPC response.

Example
// Create client
TargetHttpsProxiesClient targetHttpsProxiesClient = await TargetHttpsProxiesClient.CreateAsync();
// Initialize request argument(s)
string project = "";
string targetHttpsProxy = "";
TargetHttpsProxiesSetQuicOverrideRequest targetHttpsProxiesSetQuicOverrideRequestResource = new TargetHttpsProxiesSetQuicOverrideRequest();
// Make the request
lro::Operation<Operation, Operation> response = await targetHttpsProxiesClient.SetQuicOverrideAsync(project, targetHttpsProxy, targetHttpsProxiesSetQuicOverrideRequestResource);

// 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 targetHttpsProxiesClient.PollOnceSetQuicOverrideAsync(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;
}

SetQuicOverrideAsync(string, string, TargetHttpsProxiesSetQuicOverrideRequest, CancellationToken)

public virtual Task<Operation<Operation, Operation>> SetQuicOverrideAsync(string project, string targetHttpsProxy, TargetHttpsProxiesSetQuicOverrideRequest targetHttpsProxiesSetQuicOverrideRequestResource, CancellationToken cancellationToken)

Sets the QUIC override policy for TargetHttpsProxy.

Parameters
Name Description
project string

Project ID for this request.

targetHttpsProxy string

Name of the TargetHttpsProxy resource to set the QUIC override policy for. The name should conform to RFC1035.

targetHttpsProxiesSetQuicOverrideRequestResource TargetHttpsProxiesSetQuicOverrideRequest

The body resource for this request

cancellationToken CancellationToken

A CancellationToken to use for this RPC.

Returns
Type Description
TaskOperationOperationOperation

A Task containing the RPC response.

Example
// Create client
TargetHttpsProxiesClient targetHttpsProxiesClient = await TargetHttpsProxiesClient.CreateAsync();
// Initialize request argument(s)
string project = "";
string targetHttpsProxy = "";
TargetHttpsProxiesSetQuicOverrideRequest targetHttpsProxiesSetQuicOverrideRequestResource = new TargetHttpsProxiesSetQuicOverrideRequest();
// Make the request
lro::Operation<Operation, Operation> response = await targetHttpsProxiesClient.SetQuicOverrideAsync(project, targetHttpsProxy, targetHttpsProxiesSetQuicOverrideRequestResource);

// 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 targetHttpsProxiesClient.PollOnceSetQuicOverrideAsync(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(SetSslCertificatesTargetHttpsProxyRequest, CallSettings)

public virtual Operation<Operation, Operation> SetSslCertificates(SetSslCertificatesTargetHttpsProxyRequest request, CallSettings callSettings = null)

Replaces SslCertificates for TargetHttpsProxy.

Parameters
Name Description
request SetSslCertificatesTargetHttpsProxyRequest

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

callSettings CallSettings

If not null, applies overrides to this RPC call.

Returns
Type Description
OperationOperationOperation

The RPC response.

Example
// Create client
TargetHttpsProxiesClient targetHttpsProxiesClient = TargetHttpsProxiesClient.Create();
// Initialize request argument(s)
SetSslCertificatesTargetHttpsProxyRequest request = new SetSslCertificatesTargetHttpsProxyRequest
{
    RequestId = "",
    TargetHttpsProxy = "",
    TargetHttpsProxiesSetSslCertificatesRequestResource = new TargetHttpsProxiesSetSslCertificatesRequest(),
    Project = "",
};
// Make the request
lro::Operation<Operation, Operation> response = targetHttpsProxiesClient.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 = targetHttpsProxiesClient.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, TargetHttpsProxiesSetSslCertificatesRequest, CallSettings)

public virtual Operation<Operation, Operation> SetSslCertificates(string project, string targetHttpsProxy, TargetHttpsProxiesSetSslCertificatesRequest targetHttpsProxiesSetSslCertificatesRequestResource, CallSettings callSettings = null)

Replaces SslCertificates for TargetHttpsProxy.

Parameters
Name Description
project string

Project ID for this request.

targetHttpsProxy string

Name of the TargetHttpsProxy resource to set an SslCertificates resource for.

targetHttpsProxiesSetSslCertificatesRequestResource TargetHttpsProxiesSetSslCertificatesRequest

The body resource for this request

callSettings CallSettings

If not null, applies overrides to this RPC call.

Returns
Type Description
OperationOperationOperation

The RPC response.

Example
// Create client
TargetHttpsProxiesClient targetHttpsProxiesClient = TargetHttpsProxiesClient.Create();
// Initialize request argument(s)
string project = "";
string targetHttpsProxy = "";
TargetHttpsProxiesSetSslCertificatesRequest targetHttpsProxiesSetSslCertificatesRequestResource = new TargetHttpsProxiesSetSslCertificatesRequest();
// Make the request
lro::Operation<Operation, Operation> response = targetHttpsProxiesClient.SetSslCertificates(project, targetHttpsProxy, targetHttpsProxiesSetSslCertificatesRequestResource);

// 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 = targetHttpsProxiesClient.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(SetSslCertificatesTargetHttpsProxyRequest, CallSettings)

public virtual Task<Operation<Operation, Operation>> SetSslCertificatesAsync(SetSslCertificatesTargetHttpsProxyRequest request, CallSettings callSettings = null)

Replaces SslCertificates for TargetHttpsProxy.

Parameters
Name Description
request SetSslCertificatesTargetHttpsProxyRequest

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

callSettings CallSettings

If not null, applies overrides to this RPC call.

Returns
Type Description
TaskOperationOperationOperation

A Task containing the RPC response.

Example
// Create client
TargetHttpsProxiesClient targetHttpsProxiesClient = await TargetHttpsProxiesClient.CreateAsync();
// Initialize request argument(s)
SetSslCertificatesTargetHttpsProxyRequest request = new SetSslCertificatesTargetHttpsProxyRequest
{
    RequestId = "",
    TargetHttpsProxy = "",
    TargetHttpsProxiesSetSslCertificatesRequestResource = new TargetHttpsProxiesSetSslCertificatesRequest(),
    Project = "",
};
// Make the request
lro::Operation<Operation, Operation> response = await targetHttpsProxiesClient.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 targetHttpsProxiesClient.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(SetSslCertificatesTargetHttpsProxyRequest, CancellationToken)

public virtual Task<Operation<Operation, Operation>> SetSslCertificatesAsync(SetSslCertificatesTargetHttpsProxyRequest request, CancellationToken cancellationToken)

Replaces SslCertificates for TargetHttpsProxy.

Parameters
Name Description
request SetSslCertificatesTargetHttpsProxyRequest

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

cancellationToken CancellationToken

A CancellationToken to use for this RPC.

Returns
Type Description
TaskOperationOperationOperation

A Task containing the RPC response.

Example
// Create client
TargetHttpsProxiesClient targetHttpsProxiesClient = await TargetHttpsProxiesClient.CreateAsync();
// Initialize request argument(s)
SetSslCertificatesTargetHttpsProxyRequest request = new SetSslCertificatesTargetHttpsProxyRequest
{
    RequestId = "",
    TargetHttpsProxy = "",
    TargetHttpsProxiesSetSslCertificatesRequestResource = new TargetHttpsProxiesSetSslCertificatesRequest(),
    Project = "",
};
// Make the request
lro::Operation<Operation, Operation> response = await targetHttpsProxiesClient.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 targetHttpsProxiesClient.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, TargetHttpsProxiesSetSslCertificatesRequest, CallSettings)

public virtual Task<Operation<Operation, Operation>> SetSslCertificatesAsync(string project, string targetHttpsProxy, TargetHttpsProxiesSetSslCertificatesRequest targetHttpsProxiesSetSslCertificatesRequestResource, CallSettings callSettings = null)

Replaces SslCertificates for TargetHttpsProxy.

Parameters
Name Description
project string

Project ID for this request.

targetHttpsProxy string

Name of the TargetHttpsProxy resource to set an SslCertificates resource for.

targetHttpsProxiesSetSslCertificatesRequestResource TargetHttpsProxiesSetSslCertificatesRequest

The body resource for this request

callSettings CallSettings

If not null, applies overrides to this RPC call.

Returns
Type Description
TaskOperationOperationOperation

A Task containing the RPC response.

Example
// Create client
TargetHttpsProxiesClient targetHttpsProxiesClient = await TargetHttpsProxiesClient.CreateAsync();
// Initialize request argument(s)
string project = "";
string targetHttpsProxy = "";
TargetHttpsProxiesSetSslCertificatesRequest targetHttpsProxiesSetSslCertificatesRequestResource = new TargetHttpsProxiesSetSslCertificatesRequest();
// Make the request
lro::Operation<Operation, Operation> response = await targetHttpsProxiesClient.SetSslCertificatesAsync(project, targetHttpsProxy, targetHttpsProxiesSetSslCertificatesRequestResource);

// 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 targetHttpsProxiesClient.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, TargetHttpsProxiesSetSslCertificatesRequest, CancellationToken)

public virtual Task<Operation<Operation, Operation>> SetSslCertificatesAsync(string project, string targetHttpsProxy, TargetHttpsProxiesSetSslCertificatesRequest targetHttpsProxiesSetSslCertificatesRequestResource, CancellationToken cancellationToken)

Replaces SslCertificates for TargetHttpsProxy.

Parameters
Name Description
project string

Project ID for this request.

targetHttpsProxy string

Name of the TargetHttpsProxy resource to set an SslCertificates resource for.

targetHttpsProxiesSetSslCertificatesRequestResource TargetHttpsProxiesSetSslCertificatesRequest

The body resource for this request

cancellationToken CancellationToken

A CancellationToken to use for this RPC.

Returns
Type Description
TaskOperationOperationOperation

A Task containing the RPC response.

Example
// Create client
TargetHttpsProxiesClient targetHttpsProxiesClient = await TargetHttpsProxiesClient.CreateAsync();
// Initialize request argument(s)
string project = "";
string targetHttpsProxy = "";
TargetHttpsProxiesSetSslCertificatesRequest targetHttpsProxiesSetSslCertificatesRequestResource = new TargetHttpsProxiesSetSslCertificatesRequest();
// Make the request
lro::Operation<Operation, Operation> response = await targetHttpsProxiesClient.SetSslCertificatesAsync(project, targetHttpsProxy, targetHttpsProxiesSetSslCertificatesRequestResource);

// 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 targetHttpsProxiesClient.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(SetSslPolicyTargetHttpsProxyRequest, CallSettings)

public virtual Operation<Operation, Operation> SetSslPolicy(SetSslPolicyTargetHttpsProxyRequest request, CallSettings callSettings = null)

Sets the SSL policy for TargetHttpsProxy. The SSL policy specifies the server-side support for SSL features. This affects connections between clients and the HTTPS proxy load balancer. They do not affect the connection between the load balancer and the backends.

Parameters
Name Description
request SetSslPolicyTargetHttpsProxyRequest

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

callSettings CallSettings

If not null, applies overrides to this RPC call.

Returns
Type Description
OperationOperationOperation

The RPC response.

Example
// Create client
TargetHttpsProxiesClient targetHttpsProxiesClient = TargetHttpsProxiesClient.Create();
// Initialize request argument(s)
SetSslPolicyTargetHttpsProxyRequest request = new SetSslPolicyTargetHttpsProxyRequest
{
    RequestId = "",
    TargetHttpsProxy = "",
    Project = "",
    SslPolicyReferenceResource = new SslPolicyReference(),
};
// Make the request
lro::Operation<Operation, Operation> response = targetHttpsProxiesClient.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 = targetHttpsProxiesClient.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 targetHttpsProxy, SslPolicyReference sslPolicyReferenceResource, CallSettings callSettings = null)

Sets the SSL policy for TargetHttpsProxy. The SSL policy specifies the server-side support for SSL features. This affects connections between clients and the HTTPS proxy load balancer. They do not affect the connection between the load balancer and the backends.

Parameters
Name Description
project string

Project ID for this request.

targetHttpsProxy string

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

sslPolicyReferenceResource SslPolicyReference

The body resource for this request

callSettings CallSettings

If not null, applies overrides to this RPC call.

Returns
Type Description
OperationOperationOperation

The RPC response.

Example
// Create client
TargetHttpsProxiesClient targetHttpsProxiesClient = TargetHttpsProxiesClient.Create();
// Initialize request argument(s)
string project = "";
string targetHttpsProxy = "";
SslPolicyReference sslPolicyReferenceResource = new SslPolicyReference();
// Make the request
lro::Operation<Operation, Operation> response = targetHttpsProxiesClient.SetSslPolicy(project, targetHttpsProxy, 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 = targetHttpsProxiesClient.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(SetSslPolicyTargetHttpsProxyRequest, CallSettings)

public virtual Task<Operation<Operation, Operation>> SetSslPolicyAsync(SetSslPolicyTargetHttpsProxyRequest request, CallSettings callSettings = null)

Sets the SSL policy for TargetHttpsProxy. The SSL policy specifies the server-side support for SSL features. This affects connections between clients and the HTTPS proxy load balancer. They do not affect the connection between the load balancer and the backends.

Parameters
Name Description
request SetSslPolicyTargetHttpsProxyRequest

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

callSettings CallSettings

If not null, applies overrides to this RPC call.

Returns
Type Description
TaskOperationOperationOperation

A Task containing the RPC response.

Example
// Create client
TargetHttpsProxiesClient targetHttpsProxiesClient = await TargetHttpsProxiesClient.CreateAsync();
// Initialize request argument(s)
SetSslPolicyTargetHttpsProxyRequest request = new SetSslPolicyTargetHttpsProxyRequest
{
    RequestId = "",
    TargetHttpsProxy = "",
    Project = "",
    SslPolicyReferenceResource = new SslPolicyReference(),
};
// Make the request
lro::Operation<Operation, Operation> response = await targetHttpsProxiesClient.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 targetHttpsProxiesClient.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(SetSslPolicyTargetHttpsProxyRequest, CancellationToken)

public virtual Task<Operation<Operation, Operation>> SetSslPolicyAsync(SetSslPolicyTargetHttpsProxyRequest request, CancellationToken cancellationToken)

Sets the SSL policy for TargetHttpsProxy. The SSL policy specifies the server-side support for SSL features. This affects connections between clients and the HTTPS proxy load balancer. They do not affect the connection between the load balancer and the backends.

Parameters
Name Description
request SetSslPolicyTargetHttpsProxyRequest

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

cancellationToken CancellationToken

A CancellationToken to use for this RPC.

Returns
Type Description
TaskOperationOperationOperation

A Task containing the RPC response.

Example
// Create client
TargetHttpsProxiesClient targetHttpsProxiesClient = await TargetHttpsProxiesClient.CreateAsync();
// Initialize request argument(s)
SetSslPolicyTargetHttpsProxyRequest request = new SetSslPolicyTargetHttpsProxyRequest
{
    RequestId = "",
    TargetHttpsProxy = "",
    Project = "",
    SslPolicyReferenceResource = new SslPolicyReference(),
};
// Make the request
lro::Operation<Operation, Operation> response = await targetHttpsProxiesClient.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 targetHttpsProxiesClient.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 targetHttpsProxy, SslPolicyReference sslPolicyReferenceResource, CallSettings callSettings = null)

Sets the SSL policy for TargetHttpsProxy. The SSL policy specifies the server-side support for SSL features. This affects connections between clients and the HTTPS proxy load balancer. They do not affect the connection between the load balancer and the backends.

Parameters
Name Description
project string

Project ID for this request.

targetHttpsProxy string

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

sslPolicyReferenceResource SslPolicyReference

The body resource for this request

callSettings CallSettings

If not null, applies overrides to this RPC call.

Returns
Type Description
TaskOperationOperationOperation

A Task containing the RPC response.

Example
// Create client
TargetHttpsProxiesClient targetHttpsProxiesClient = await TargetHttpsProxiesClient.CreateAsync();
// Initialize request argument(s)
string project = "";
string targetHttpsProxy = "";
SslPolicyReference sslPolicyReferenceResource = new SslPolicyReference();
// Make the request
lro::Operation<Operation, Operation> response = await targetHttpsProxiesClient.SetSslPolicyAsync(project, targetHttpsProxy, 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 targetHttpsProxiesClient.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 targetHttpsProxy, SslPolicyReference sslPolicyReferenceResource, CancellationToken cancellationToken)

Sets the SSL policy for TargetHttpsProxy. The SSL policy specifies the server-side support for SSL features. This affects connections between clients and the HTTPS proxy load balancer. They do not affect the connection between the load balancer and the backends.

Parameters
Name Description
project string

Project ID for this request.

targetHttpsProxy string

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

sslPolicyReferenceResource SslPolicyReference

The body resource for this request

cancellationToken CancellationToken

A CancellationToken to use for this RPC.

Returns
Type Description
TaskOperationOperationOperation

A Task containing the RPC response.

Example
// Create client
TargetHttpsProxiesClient targetHttpsProxiesClient = await TargetHttpsProxiesClient.CreateAsync();
// Initialize request argument(s)
string project = "";
string targetHttpsProxy = "";
SslPolicyReference sslPolicyReferenceResource = new SslPolicyReference();
// Make the request
lro::Operation<Operation, Operation> response = await targetHttpsProxiesClient.SetSslPolicyAsync(project, targetHttpsProxy, 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 targetHttpsProxiesClient.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;
}

SetUrlMap(SetUrlMapTargetHttpsProxyRequest, CallSettings)

public virtual Operation<Operation, Operation> SetUrlMap(SetUrlMapTargetHttpsProxyRequest request, CallSettings callSettings = null)

Changes the URL map for TargetHttpsProxy.

Parameters
Name Description
request SetUrlMapTargetHttpsProxyRequest

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

callSettings CallSettings

If not null, applies overrides to this RPC call.

Returns
Type Description
OperationOperationOperation

The RPC response.

Example
// Create client
TargetHttpsProxiesClient targetHttpsProxiesClient = TargetHttpsProxiesClient.Create();
// Initialize request argument(s)
SetUrlMapTargetHttpsProxyRequest request = new SetUrlMapTargetHttpsProxyRequest
{
    RequestId = "",
    TargetHttpsProxy = "",
    Project = "",
    UrlMapReferenceResource = new UrlMapReference(),
};
// Make the request
lro::Operation<Operation, Operation> response = targetHttpsProxiesClient.SetUrlMap(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 = targetHttpsProxiesClient.PollOnceSetUrlMap(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;
}

SetUrlMap(string, string, UrlMapReference, CallSettings)

public virtual Operation<Operation, Operation> SetUrlMap(string project, string targetHttpsProxy, UrlMapReference urlMapReferenceResource, CallSettings callSettings = null)

Changes the URL map for TargetHttpsProxy.

Parameters
Name Description
project string

Project ID for this request.

targetHttpsProxy string

Name of the TargetHttpsProxy resource whose URL map is to be set.

urlMapReferenceResource UrlMapReference

The body resource for this request

callSettings CallSettings

If not null, applies overrides to this RPC call.

Returns
Type Description
OperationOperationOperation

The RPC response.

Example
// Create client
TargetHttpsProxiesClient targetHttpsProxiesClient = TargetHttpsProxiesClient.Create();
// Initialize request argument(s)
string project = "";
string targetHttpsProxy = "";
UrlMapReference urlMapReferenceResource = new UrlMapReference();
// Make the request
lro::Operation<Operation, Operation> response = targetHttpsProxiesClient.SetUrlMap(project, targetHttpsProxy, urlMapReferenceResource);

// 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 = targetHttpsProxiesClient.PollOnceSetUrlMap(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;
}

SetUrlMapAsync(SetUrlMapTargetHttpsProxyRequest, CallSettings)

public virtual Task<Operation<Operation, Operation>> SetUrlMapAsync(SetUrlMapTargetHttpsProxyRequest request, CallSettings callSettings = null)

Changes the URL map for TargetHttpsProxy.

Parameters
Name Description
request SetUrlMapTargetHttpsProxyRequest

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

callSettings CallSettings

If not null, applies overrides to this RPC call.

Returns
Type Description
TaskOperationOperationOperation

A Task containing the RPC response.

Example
// Create client
TargetHttpsProxiesClient targetHttpsProxiesClient = await TargetHttpsProxiesClient.CreateAsync();
// Initialize request argument(s)
SetUrlMapTargetHttpsProxyRequest request = new SetUrlMapTargetHttpsProxyRequest
{
    RequestId = "",
    TargetHttpsProxy = "",
    Project = "",
    UrlMapReferenceResource = new UrlMapReference(),
};
// Make the request
lro::Operation<Operation, Operation> response = await targetHttpsProxiesClient.SetUrlMapAsync(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 targetHttpsProxiesClient.PollOnceSetUrlMapAsync(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;
}

SetUrlMapAsync(SetUrlMapTargetHttpsProxyRequest, CancellationToken)

public virtual Task<Operation<Operation, Operation>> SetUrlMapAsync(SetUrlMapTargetHttpsProxyRequest request, CancellationToken cancellationToken)

Changes the URL map for TargetHttpsProxy.

Parameters
Name Description
request SetUrlMapTargetHttpsProxyRequest

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

cancellationToken CancellationToken

A CancellationToken to use for this RPC.

Returns
Type Description
TaskOperationOperationOperation

A Task containing the RPC response.

Example
// Create client
TargetHttpsProxiesClient targetHttpsProxiesClient = await TargetHttpsProxiesClient.CreateAsync();
// Initialize request argument(s)
SetUrlMapTargetHttpsProxyRequest request = new SetUrlMapTargetHttpsProxyRequest
{
    RequestId = "",
    TargetHttpsProxy = "",
    Project = "",
    UrlMapReferenceResource = new UrlMapReference(),
};
// Make the request
lro::Operation<Operation, Operation> response = await targetHttpsProxiesClient.SetUrlMapAsync(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 targetHttpsProxiesClient.PollOnceSetUrlMapAsync(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;
}

SetUrlMapAsync(string, string, UrlMapReference, CallSettings)

public virtual Task<Operation<Operation, Operation>> SetUrlMapAsync(string project, string targetHttpsProxy, UrlMapReference urlMapReferenceResource, CallSettings callSettings = null)

Changes the URL map for TargetHttpsProxy.

Parameters
Name Description
project string

Project ID for this request.

targetHttpsProxy string

Name of the TargetHttpsProxy resource whose URL map is to be set.

urlMapReferenceResource UrlMapReference

The body resource for this request

callSettings CallSettings

If not null, applies overrides to this RPC call.

Returns
Type Description
TaskOperationOperationOperation

A Task containing the RPC response.

Example
// Create client
TargetHttpsProxiesClient targetHttpsProxiesClient = await TargetHttpsProxiesClient.CreateAsync();
// Initialize request argument(s)
string project = "";
string targetHttpsProxy = "";
UrlMapReference urlMapReferenceResource = new UrlMapReference();
// Make the request
lro::Operation<Operation, Operation> response = await targetHttpsProxiesClient.SetUrlMapAsync(project, targetHttpsProxy, urlMapReferenceResource);

// 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 targetHttpsProxiesClient.PollOnceSetUrlMapAsync(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;
}

SetUrlMapAsync(string, string, UrlMapReference, CancellationToken)

public virtual Task<Operation<Operation, Operation>> SetUrlMapAsync(string project, string targetHttpsProxy, UrlMapReference urlMapReferenceResource, CancellationToken cancellationToken)

Changes the URL map for TargetHttpsProxy.

Parameters
Name Description
project string

Project ID for this request.

targetHttpsProxy string

Name of the TargetHttpsProxy resource whose URL map is to be set.

urlMapReferenceResource UrlMapReference

The body resource for this request

cancellationToken CancellationToken

A CancellationToken to use for this RPC.

Returns
Type Description
TaskOperationOperationOperation

A Task containing the RPC response.

Example
// Create client
TargetHttpsProxiesClient targetHttpsProxiesClient = await TargetHttpsProxiesClient.CreateAsync();
// Initialize request argument(s)
string project = "";
string targetHttpsProxy = "";
UrlMapReference urlMapReferenceResource = new UrlMapReference();
// Make the request
lro::Operation<Operation, Operation> response = await targetHttpsProxiesClient.SetUrlMapAsync(project, targetHttpsProxy, urlMapReferenceResource);

// 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 targetHttpsProxiesClient.PollOnceSetUrlMapAsync(operationName);
// Check if the retrieved long-running operation has completed
if (retrievedResponse.IsCompleted)
{
    // If it has completed, then access the result
    Operation retrievedResult = retrievedResponse.Result;
}

ShutdownDefaultChannelsAsync()

public static Task ShutdownDefaultChannelsAsync()

Shuts down any channels automatically created by Create() and CreateAsync(CancellationToken). Channels which weren't automatically created are not affected.

Returns
Type Description
Task

A task representing the asynchronous shutdown operation.

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.