Class RegionTargetHttpsProxiesClient (2.1.0)

public abstract class RegionTargetHttpsProxiesClient

RegionTargetHttpsProxies client wrapper, for convenient use.

Inheritance

Object > RegionTargetHttpsProxiesClient

Namespace

Google.Cloud.Compute.V1

Assembly

Google.Cloud.Compute.V1.dll

Remarks

The RegionTargetHttpsProxies API.

Properties

DefaultEndpoint

public static string DefaultEndpoint { get; }

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

Property Value
TypeDescription
String

DefaultScopes

public static IReadOnlyList<string> DefaultScopes { get; }

The default RegionTargetHttpsProxies scopes.

Property Value
TypeDescription
IReadOnlyList<String>
Remarks

DeleteOperationsClient

public virtual OperationsClient DeleteOperationsClient { get; }

The long-running operations client for Delete.

Property Value
TypeDescription
OperationsClient

GrpcClient

public virtual RegionTargetHttpsProxies.RegionTargetHttpsProxiesClient GrpcClient { get; }

The underlying gRPC RegionTargetHttpsProxies client

Property Value
TypeDescription
RegionTargetHttpsProxies.RegionTargetHttpsProxiesClient

InsertOperationsClient

public virtual OperationsClient InsertOperationsClient { get; }

The long-running operations client for Insert.

Property Value
TypeDescription
OperationsClient

PatchOperationsClient

public virtual OperationsClient PatchOperationsClient { get; }

The long-running operations client for Patch.

Property Value
TypeDescription
OperationsClient

ServiceMetadata

public static ServiceMetadata ServiceMetadata { get; }

The service metadata associated with this client type.

Property Value
TypeDescription
ServiceMetadata

SetSslCertificatesOperationsClient

public virtual OperationsClient SetSslCertificatesOperationsClient { get; }

The long-running operations client for SetSslCertificates.

Property Value
TypeDescription
OperationsClient

SetUrlMapOperationsClient

public virtual OperationsClient SetUrlMapOperationsClient { get; }

The long-running operations client for SetUrlMap.

Property Value
TypeDescription
OperationsClient

Methods

Create()

public static RegionTargetHttpsProxiesClient Create()

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

Returns
TypeDescription
RegionTargetHttpsProxiesClient

The created RegionTargetHttpsProxiesClient.

CreateAsync(CancellationToken)

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

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

Parameter
NameDescription
cancellationTokenCancellationToken

The CancellationToken to use while creating the client.

Returns
TypeDescription
Task<RegionTargetHttpsProxiesClient>

The task representing the created RegionTargetHttpsProxiesClient.

Delete(DeleteRegionTargetHttpsProxyRequest, CallSettings)

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

Deletes the specified TargetHttpsProxy resource.

Parameters
NameDescription
requestDeleteRegionTargetHttpsProxyRequest

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

callSettingsCallSettings

If not null, applies overrides to this RPC call.

Returns
TypeDescription
Operation<Operation, Operation>

The RPC response.

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

public virtual Operation<Operation, Operation> Delete(string project, string region, string targetHttpsProxy, CallSettings callSettings = null)

Deletes the specified TargetHttpsProxy resource.

Parameters
NameDescription
projectString

Project ID for this request.

regionString

Name of the region scoping this request.

targetHttpsProxyString

Name of the TargetHttpsProxy resource to delete.

callSettingsCallSettings

If not null, applies overrides to this RPC call.

Returns
TypeDescription
Operation<Operation, Operation>

The RPC response.

Example
// Create client
RegionTargetHttpsProxiesClient regionTargetHttpsProxiesClient = RegionTargetHttpsProxiesClient.Create();
// Initialize request argument(s)
string project = "";
string region = "";
string targetHttpsProxy = "";
// Make the request
lro::Operation<Operation, Operation> response = regionTargetHttpsProxiesClient.Delete(project, region, 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 = regionTargetHttpsProxiesClient.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(DeleteRegionTargetHttpsProxyRequest, CallSettings)

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

Deletes the specified TargetHttpsProxy resource.

Parameters
NameDescription
requestDeleteRegionTargetHttpsProxyRequest

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

callSettingsCallSettings

If not null, applies overrides to this RPC call.

Returns
TypeDescription
Task<Operation<Operation, Operation>>

A Task containing the RPC response.

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

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

Deletes the specified TargetHttpsProxy resource.

Parameters
NameDescription
requestDeleteRegionTargetHttpsProxyRequest

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

cancellationTokenCancellationToken

A CancellationToken to use for this RPC.

Returns
TypeDescription
Task<Operation<Operation, Operation>>

A Task containing the RPC response.

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

public virtual Task<Operation<Operation, Operation>> DeleteAsync(string project, string region, string targetHttpsProxy, CallSettings callSettings = null)

Deletes the specified TargetHttpsProxy resource.

Parameters
NameDescription
projectString

Project ID for this request.

regionString

Name of the region scoping this request.

targetHttpsProxyString

Name of the TargetHttpsProxy resource to delete.

callSettingsCallSettings

If not null, applies overrides to this RPC call.

Returns
TypeDescription
Task<Operation<Operation, Operation>>

A Task containing the RPC response.

Example
// Create client
RegionTargetHttpsProxiesClient regionTargetHttpsProxiesClient = await RegionTargetHttpsProxiesClient.CreateAsync();
// Initialize request argument(s)
string project = "";
string region = "";
string targetHttpsProxy = "";
// Make the request
lro::Operation<Operation, Operation> response = await regionTargetHttpsProxiesClient.DeleteAsync(project, region, 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 regionTargetHttpsProxiesClient.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, String, CancellationToken)

public virtual Task<Operation<Operation, Operation>> DeleteAsync(string project, string region, string targetHttpsProxy, CancellationToken cancellationToken)

Deletes the specified TargetHttpsProxy resource.

Parameters
NameDescription
projectString

Project ID for this request.

regionString

Name of the region scoping this request.

targetHttpsProxyString

Name of the TargetHttpsProxy resource to delete.

cancellationTokenCancellationToken

A CancellationToken to use for this RPC.

Returns
TypeDescription
Task<Operation<Operation, Operation>>

A Task containing the RPC response.

Example
// Create client
RegionTargetHttpsProxiesClient regionTargetHttpsProxiesClient = await RegionTargetHttpsProxiesClient.CreateAsync();
// Initialize request argument(s)
string project = "";
string region = "";
string targetHttpsProxy = "";
// Make the request
lro::Operation<Operation, Operation> response = await regionTargetHttpsProxiesClient.DeleteAsync(project, region, 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 regionTargetHttpsProxiesClient.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(GetRegionTargetHttpsProxyRequest, CallSettings)

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

Returns the specified TargetHttpsProxy resource in the specified region. Gets a list of available target HTTP proxies by making a list() request.

Parameters
NameDescription
requestGetRegionTargetHttpsProxyRequest

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

callSettingsCallSettings

If not null, applies overrides to this RPC call.

Returns
TypeDescription
TargetHttpsProxy

The RPC response.

Example
// Create client
RegionTargetHttpsProxiesClient regionTargetHttpsProxiesClient = RegionTargetHttpsProxiesClient.Create();
// Initialize request argument(s)
GetRegionTargetHttpsProxyRequest request = new GetRegionTargetHttpsProxyRequest
{
    TargetHttpsProxy = "",
    Region = "",
    Project = "",
};
// Make the request
TargetHttpsProxy response = regionTargetHttpsProxiesClient.Get(request);

Get(String, String, String, CallSettings)

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

Returns the specified TargetHttpsProxy resource in the specified region. Gets a list of available target HTTP proxies by making a list() request.

Parameters
NameDescription
projectString

Project ID for this request.

regionString

Name of the region scoping this request.

targetHttpsProxyString

Name of the TargetHttpsProxy resource to return.

callSettingsCallSettings

If not null, applies overrides to this RPC call.

Returns
TypeDescription
TargetHttpsProxy

The RPC response.

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

GetAsync(GetRegionTargetHttpsProxyRequest, CallSettings)

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

Returns the specified TargetHttpsProxy resource in the specified region. Gets a list of available target HTTP proxies by making a list() request.

Parameters
NameDescription
requestGetRegionTargetHttpsProxyRequest

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

callSettingsCallSettings

If not null, applies overrides to this RPC call.

Returns
TypeDescription
Task<TargetHttpsProxy>

A Task containing the RPC response.

Example
// Create client
RegionTargetHttpsProxiesClient regionTargetHttpsProxiesClient = await RegionTargetHttpsProxiesClient.CreateAsync();
// Initialize request argument(s)
GetRegionTargetHttpsProxyRequest request = new GetRegionTargetHttpsProxyRequest
{
    TargetHttpsProxy = "",
    Region = "",
    Project = "",
};
// Make the request
TargetHttpsProxy response = await regionTargetHttpsProxiesClient.GetAsync(request);

GetAsync(GetRegionTargetHttpsProxyRequest, CancellationToken)

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

Returns the specified TargetHttpsProxy resource in the specified region. Gets a list of available target HTTP proxies by making a list() request.

Parameters
NameDescription
requestGetRegionTargetHttpsProxyRequest

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

cancellationTokenCancellationToken

A CancellationToken to use for this RPC.

Returns
TypeDescription
Task<TargetHttpsProxy>

A Task containing the RPC response.

Example
// Create client
RegionTargetHttpsProxiesClient regionTargetHttpsProxiesClient = await RegionTargetHttpsProxiesClient.CreateAsync();
// Initialize request argument(s)
GetRegionTargetHttpsProxyRequest request = new GetRegionTargetHttpsProxyRequest
{
    TargetHttpsProxy = "",
    Region = "",
    Project = "",
};
// Make the request
TargetHttpsProxy response = await regionTargetHttpsProxiesClient.GetAsync(request);

GetAsync(String, String, String, CallSettings)

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

Returns the specified TargetHttpsProxy resource in the specified region. Gets a list of available target HTTP proxies by making a list() request.

Parameters
NameDescription
projectString

Project ID for this request.

regionString

Name of the region scoping this request.

targetHttpsProxyString

Name of the TargetHttpsProxy resource to return.

callSettingsCallSettings

If not null, applies overrides to this RPC call.

Returns
TypeDescription
Task<TargetHttpsProxy>

A Task containing the RPC response.

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

GetAsync(String, String, String, CancellationToken)

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

Returns the specified TargetHttpsProxy resource in the specified region. Gets a list of available target HTTP proxies by making a list() request.

Parameters
NameDescription
projectString

Project ID for this request.

regionString

Name of the region scoping this request.

targetHttpsProxyString

Name of the TargetHttpsProxy resource to return.

cancellationTokenCancellationToken

A CancellationToken to use for this RPC.

Returns
TypeDescription
Task<TargetHttpsProxy>

A Task containing the RPC response.

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

Insert(InsertRegionTargetHttpsProxyRequest, CallSettings)

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

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

Parameters
NameDescription
requestInsertRegionTargetHttpsProxyRequest

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

callSettingsCallSettings

If not null, applies overrides to this RPC call.

Returns
TypeDescription
Operation<Operation, Operation>

The RPC response.

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

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

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

Parameters
NameDescription
projectString

Project ID for this request.

regionString

Name of the region scoping this request.

targetHttpsProxyResourceTargetHttpsProxy

The body resource for this request

callSettingsCallSettings

If not null, applies overrides to this RPC call.

Returns
TypeDescription
Operation<Operation, Operation>

The RPC response.

Example
// Create client
RegionTargetHttpsProxiesClient regionTargetHttpsProxiesClient = RegionTargetHttpsProxiesClient.Create();
// Initialize request argument(s)
string project = "";
string region = "";
TargetHttpsProxy targetHttpsProxyResource = new TargetHttpsProxy();
// Make the request
lro::Operation<Operation, Operation> response = regionTargetHttpsProxiesClient.Insert(project, region, 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 = regionTargetHttpsProxiesClient.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(InsertRegionTargetHttpsProxyRequest, CallSettings)

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

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

Parameters
NameDescription
requestInsertRegionTargetHttpsProxyRequest

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

callSettingsCallSettings

If not null, applies overrides to this RPC call.

Returns
TypeDescription
Task<Operation<Operation, Operation>>

A Task containing the RPC response.

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

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

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

Parameters
NameDescription
requestInsertRegionTargetHttpsProxyRequest

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

cancellationTokenCancellationToken

A CancellationToken to use for this RPC.

Returns
TypeDescription
Task<Operation<Operation, Operation>>

A Task containing the RPC response.

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

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

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

Parameters
NameDescription
projectString

Project ID for this request.

regionString

Name of the region scoping this request.

targetHttpsProxyResourceTargetHttpsProxy

The body resource for this request

callSettingsCallSettings

If not null, applies overrides to this RPC call.

Returns
TypeDescription
Task<Operation<Operation, Operation>>

A Task containing the RPC response.

Example
// Create client
RegionTargetHttpsProxiesClient regionTargetHttpsProxiesClient = await RegionTargetHttpsProxiesClient.CreateAsync();
// Initialize request argument(s)
string project = "";
string region = "";
TargetHttpsProxy targetHttpsProxyResource = new TargetHttpsProxy();
// Make the request
lro::Operation<Operation, Operation> response = await regionTargetHttpsProxiesClient.InsertAsync(project, region, 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 regionTargetHttpsProxiesClient.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, String, TargetHttpsProxy, CancellationToken)

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

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

Parameters
NameDescription
projectString

Project ID for this request.

regionString

Name of the region scoping this request.

targetHttpsProxyResourceTargetHttpsProxy

The body resource for this request

cancellationTokenCancellationToken

A CancellationToken to use for this RPC.

Returns
TypeDescription
Task<Operation<Operation, Operation>>

A Task containing the RPC response.

Example
// Create client
RegionTargetHttpsProxiesClient regionTargetHttpsProxiesClient = await RegionTargetHttpsProxiesClient.CreateAsync();
// Initialize request argument(s)
string project = "";
string region = "";
TargetHttpsProxy targetHttpsProxyResource = new TargetHttpsProxy();
// Make the request
lro::Operation<Operation, Operation> response = await regionTargetHttpsProxiesClient.InsertAsync(project, region, 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 regionTargetHttpsProxiesClient.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(ListRegionTargetHttpsProxiesRequest, CallSettings)

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

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

Parameters
NameDescription
requestListRegionTargetHttpsProxiesRequest

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

callSettingsCallSettings

If not null, applies overrides to this RPC call.

Returns
TypeDescription
PagedEnumerable<TargetHttpsProxyList, TargetHttpsProxy>

A pageable sequence of TargetHttpsProxy resources.

Example
// Create client
RegionTargetHttpsProxiesClient regionTargetHttpsProxiesClient = RegionTargetHttpsProxiesClient.Create();
// Initialize request argument(s)
ListRegionTargetHttpsProxiesRequest request = new ListRegionTargetHttpsProxiesRequest
{
    Region = "",
    OrderBy = "",
    Project = "",
    Filter = "",
    ReturnPartialSuccess = false,
};
// Make the request
PagedEnumerable<TargetHttpsProxyList, TargetHttpsProxy> response = regionTargetHttpsProxiesClient.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, String, Nullable<Int32>, CallSettings)

public virtual PagedEnumerable<TargetHttpsProxyList, TargetHttpsProxy> List(string project, string region, string pageToken = null, int? pageSize = null, CallSettings callSettings = null)

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

Parameters
NameDescription
projectString

Project ID for this request.

regionString

Name of the region scoping this request.

pageTokenString

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

pageSizeNullable<Int32>

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

callSettingsCallSettings

If not null, applies overrides to this RPC call.

Returns
TypeDescription
PagedEnumerable<TargetHttpsProxyList, TargetHttpsProxy>

A pageable sequence of TargetHttpsProxy resources.

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

// 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(ListRegionTargetHttpsProxiesRequest, CallSettings)

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

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

Parameters
NameDescription
requestListRegionTargetHttpsProxiesRequest

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

callSettingsCallSettings

If not null, applies overrides to this RPC call.

Returns
TypeDescription
PagedAsyncEnumerable<TargetHttpsProxyList, TargetHttpsProxy>

A pageable asynchronous sequence of TargetHttpsProxy resources.

Example
// Create client
RegionTargetHttpsProxiesClient regionTargetHttpsProxiesClient = await RegionTargetHttpsProxiesClient.CreateAsync();
// Initialize request argument(s)
ListRegionTargetHttpsProxiesRequest request = new ListRegionTargetHttpsProxiesRequest
{
    Region = "",
    OrderBy = "",
    Project = "",
    Filter = "",
    ReturnPartialSuccess = false,
};
// Make the request
PagedAsyncEnumerable<TargetHttpsProxyList, TargetHttpsProxy> response = regionTargetHttpsProxiesClient.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, String, Nullable<Int32>, CallSettings)

public virtual PagedAsyncEnumerable<TargetHttpsProxyList, TargetHttpsProxy> ListAsync(string project, string region, string pageToken = null, int? pageSize = null, CallSettings callSettings = null)

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

Parameters
NameDescription
projectString

Project ID for this request.

regionString

Name of the region scoping this request.

pageTokenString

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

pageSizeNullable<Int32>

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

callSettingsCallSettings

If not null, applies overrides to this RPC call.

Returns
TypeDescription
PagedAsyncEnumerable<TargetHttpsProxyList, TargetHttpsProxy>

A pageable asynchronous sequence of TargetHttpsProxy resources.

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

// 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(PatchRegionTargetHttpsProxyRequest, CallSettings)

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

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

Parameters
NameDescription
requestPatchRegionTargetHttpsProxyRequest

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

callSettingsCallSettings

If not null, applies overrides to this RPC call.

Returns
TypeDescription
Operation<Operation, Operation>

The RPC response.

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

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

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

Parameters
NameDescription
projectString

Project ID for this request.

regionString

Name of the region for this request.

targetHttpsProxyString

Name of the TargetHttpsProxy resource to patch.

targetHttpsProxyResourceTargetHttpsProxy

The body resource for this request

callSettingsCallSettings

If not null, applies overrides to this RPC call.

Returns
TypeDescription
Operation<Operation, Operation>

The RPC response.

Example
// Create client
RegionTargetHttpsProxiesClient regionTargetHttpsProxiesClient = RegionTargetHttpsProxiesClient.Create();
// Initialize request argument(s)
string project = "";
string region = "";
string targetHttpsProxy = "";
TargetHttpsProxy targetHttpsProxyResource = new TargetHttpsProxy();
// Make the request
lro::Operation<Operation, Operation> response = regionTargetHttpsProxiesClient.Patch(project, region, 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 = regionTargetHttpsProxiesClient.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(PatchRegionTargetHttpsProxyRequest, CallSettings)

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

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

Parameters
NameDescription
requestPatchRegionTargetHttpsProxyRequest

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

callSettingsCallSettings

If not null, applies overrides to this RPC call.

Returns
TypeDescription
Task<Operation<Operation, Operation>>

A Task containing the RPC response.

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

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

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

Parameters
NameDescription
requestPatchRegionTargetHttpsProxyRequest

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

cancellationTokenCancellationToken

A CancellationToken to use for this RPC.

Returns
TypeDescription
Task<Operation<Operation, Operation>>

A Task containing the RPC response.

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

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

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

Parameters
NameDescription
projectString

Project ID for this request.

regionString

Name of the region for this request.

targetHttpsProxyString

Name of the TargetHttpsProxy resource to patch.

targetHttpsProxyResourceTargetHttpsProxy

The body resource for this request

callSettingsCallSettings

If not null, applies overrides to this RPC call.

Returns
TypeDescription
Task<Operation<Operation, Operation>>

A Task containing the RPC response.

Example
// Create client
RegionTargetHttpsProxiesClient regionTargetHttpsProxiesClient = await RegionTargetHttpsProxiesClient.CreateAsync();
// Initialize request argument(s)
string project = "";
string region = "";
string targetHttpsProxy = "";
TargetHttpsProxy targetHttpsProxyResource = new TargetHttpsProxy();
// Make the request
lro::Operation<Operation, Operation> response = await regionTargetHttpsProxiesClient.PatchAsync(project, region, 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 regionTargetHttpsProxiesClient.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, String, TargetHttpsProxy, CancellationToken)

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

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

Parameters
NameDescription
projectString

Project ID for this request.

regionString

Name of the region for this request.

targetHttpsProxyString

Name of the TargetHttpsProxy resource to patch.

targetHttpsProxyResourceTargetHttpsProxy

The body resource for this request

cancellationTokenCancellationToken

A CancellationToken to use for this RPC.

Returns
TypeDescription
Task<Operation<Operation, Operation>>

A Task containing the RPC response.

Example
// Create client
RegionTargetHttpsProxiesClient regionTargetHttpsProxiesClient = await RegionTargetHttpsProxiesClient.CreateAsync();
// Initialize request argument(s)
string project = "";
string region = "";
string targetHttpsProxy = "";
TargetHttpsProxy targetHttpsProxyResource = new TargetHttpsProxy();
// Make the request
lro::Operation<Operation, Operation> response = await regionTargetHttpsProxiesClient.PatchAsync(project, region, 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 regionTargetHttpsProxiesClient.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
NameDescription
operationNameString

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

callSettingsCallSettings

If not null, applies overrides to this RPC call.

Returns
TypeDescription
Operation<Operation, Operation>

The result of polling the operation.

PollOnceDeleteAsync(String, CallSettings)

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

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

Parameters
NameDescription
operationNameString

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

callSettingsCallSettings

If not null, applies overrides to this RPC call.

Returns
TypeDescription
Task<Operation<Operation, Operation>>

A task representing the result of polling the operation.

PollOnceInsert(String, CallSettings)

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

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

Parameters
NameDescription
operationNameString

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

callSettingsCallSettings

If not null, applies overrides to this RPC call.

Returns
TypeDescription
Operation<Operation, Operation>

The result of polling the operation.

PollOnceInsertAsync(String, CallSettings)

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

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

Parameters
NameDescription
operationNameString

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

callSettingsCallSettings

If not null, applies overrides to this RPC call.

Returns
TypeDescription
Task<Operation<Operation, Operation>>

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
NameDescription
operationNameString

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

callSettingsCallSettings

If not null, applies overrides to this RPC call.

Returns
TypeDescription
Operation<Operation, Operation>

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
NameDescription
operationNameString

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

callSettingsCallSettings

If not null, applies overrides to this RPC call.

Returns
TypeDescription
Task<Operation<Operation, Operation>>

A task representing the result of polling the operation.

PollOnceSetSslCertificates(String, CallSettings)

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

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

Parameters
NameDescription
operationNameString

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

callSettingsCallSettings

If not null, applies overrides to this RPC call.

Returns
TypeDescription
Operation<Operation, Operation>

The result of polling the operation.

PollOnceSetSslCertificatesAsync(String, CallSettings)

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

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

Parameters
NameDescription
operationNameString

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

callSettingsCallSettings

If not null, applies overrides to this RPC call.

Returns
TypeDescription
Task<Operation<Operation, Operation>>

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
NameDescription
operationNameString

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

callSettingsCallSettings

If not null, applies overrides to this RPC call.

Returns
TypeDescription
Operation<Operation, Operation>

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
NameDescription
operationNameString

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

callSettingsCallSettings

If not null, applies overrides to this RPC call.

Returns
TypeDescription
Task<Operation<Operation, Operation>>

A task representing the result of polling the operation.

SetSslCertificates(SetSslCertificatesRegionTargetHttpsProxyRequest, CallSettings)

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

Replaces SslCertificates for TargetHttpsProxy.

Parameters
NameDescription
requestSetSslCertificatesRegionTargetHttpsProxyRequest

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

callSettingsCallSettings

If not null, applies overrides to this RPC call.

Returns
TypeDescription
Operation<Operation, Operation>

The RPC response.

Example
// Create client
RegionTargetHttpsProxiesClient regionTargetHttpsProxiesClient = RegionTargetHttpsProxiesClient.Create();
// Initialize request argument(s)
SetSslCertificatesRegionTargetHttpsProxyRequest request = new SetSslCertificatesRegionTargetHttpsProxyRequest
{
    RequestId = "",
    TargetHttpsProxy = "",
    Region = "",
    Project = "",
    RegionTargetHttpsProxiesSetSslCertificatesRequestResource = new RegionTargetHttpsProxiesSetSslCertificatesRequest(),
};
// Make the request
lro::Operation<Operation, Operation> response = regionTargetHttpsProxiesClient.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 = regionTargetHttpsProxiesClient.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, String, RegionTargetHttpsProxiesSetSslCertificatesRequest, CallSettings)

public virtual Operation<Operation, Operation> SetSslCertificates(string project, string region, string targetHttpsProxy, RegionTargetHttpsProxiesSetSslCertificatesRequest regionTargetHttpsProxiesSetSslCertificatesRequestResource, CallSettings callSettings = null)

Replaces SslCertificates for TargetHttpsProxy.

Parameters
NameDescription
projectString

Project ID for this request.

regionString

Name of the region scoping this request.

targetHttpsProxyString

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

regionTargetHttpsProxiesSetSslCertificatesRequestResourceRegionTargetHttpsProxiesSetSslCertificatesRequest

The body resource for this request

callSettingsCallSettings

If not null, applies overrides to this RPC call.

Returns
TypeDescription
Operation<Operation, Operation>

The RPC response.

Example
// Create client
RegionTargetHttpsProxiesClient regionTargetHttpsProxiesClient = RegionTargetHttpsProxiesClient.Create();
// Initialize request argument(s)
string project = "";
string region = "";
string targetHttpsProxy = "";
RegionTargetHttpsProxiesSetSslCertificatesRequest regionTargetHttpsProxiesSetSslCertificatesRequestResource = new RegionTargetHttpsProxiesSetSslCertificatesRequest();
// Make the request
lro::Operation<Operation, Operation> response = regionTargetHttpsProxiesClient.SetSslCertificates(project, region, targetHttpsProxy, regionTargetHttpsProxiesSetSslCertificatesRequestResource);

// 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 = regionTargetHttpsProxiesClient.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(SetSslCertificatesRegionTargetHttpsProxyRequest, CallSettings)

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

Replaces SslCertificates for TargetHttpsProxy.

Parameters
NameDescription
requestSetSslCertificatesRegionTargetHttpsProxyRequest

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

callSettingsCallSettings

If not null, applies overrides to this RPC call.

Returns
TypeDescription
Task<Operation<Operation, Operation>>

A Task containing the RPC response.

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

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

Replaces SslCertificates for TargetHttpsProxy.

Parameters
NameDescription
requestSetSslCertificatesRegionTargetHttpsProxyRequest

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

cancellationTokenCancellationToken

A CancellationToken to use for this RPC.

Returns
TypeDescription
Task<Operation<Operation, Operation>>

A Task containing the RPC response.

Example
// Create client
RegionTargetHttpsProxiesClient regionTargetHttpsProxiesClient = await RegionTargetHttpsProxiesClient.CreateAsync();
// Initialize request argument(s)
SetSslCertificatesRegionTargetHttpsProxyRequest request = new SetSslCertificatesRegionTargetHttpsProxyRequest
{
    RequestId = "",
    TargetHttpsProxy = "",
    Region = "",
    Project = "",
    RegionTargetHttpsProxiesSetSslCertificatesRequestResource = new RegionTargetHttpsProxiesSetSslCertificatesRequest(),
};
// Make the request
lro::Operation<Operation, Operation> response = await regionTargetHttpsProxiesClient.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 regionTargetHttpsProxiesClient.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, String, RegionTargetHttpsProxiesSetSslCertificatesRequest, CallSettings)

public virtual Task<Operation<Operation, Operation>> SetSslCertificatesAsync(string project, string region, string targetHttpsProxy, RegionTargetHttpsProxiesSetSslCertificatesRequest regionTargetHttpsProxiesSetSslCertificatesRequestResource, CallSettings callSettings = null)

Replaces SslCertificates for TargetHttpsProxy.

Parameters
NameDescription
projectString

Project ID for this request.

regionString

Name of the region scoping this request.

targetHttpsProxyString

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

regionTargetHttpsProxiesSetSslCertificatesRequestResourceRegionTargetHttpsProxiesSetSslCertificatesRequest

The body resource for this request

callSettingsCallSettings

If not null, applies overrides to this RPC call.

Returns
TypeDescription
Task<Operation<Operation, Operation>>

A Task containing the RPC response.

Example
// Create client
RegionTargetHttpsProxiesClient regionTargetHttpsProxiesClient = await RegionTargetHttpsProxiesClient.CreateAsync();
// Initialize request argument(s)
string project = "";
string region = "";
string targetHttpsProxy = "";
RegionTargetHttpsProxiesSetSslCertificatesRequest regionTargetHttpsProxiesSetSslCertificatesRequestResource = new RegionTargetHttpsProxiesSetSslCertificatesRequest();
// Make the request
lro::Operation<Operation, Operation> response = await regionTargetHttpsProxiesClient.SetSslCertificatesAsync(project, region, targetHttpsProxy, regionTargetHttpsProxiesSetSslCertificatesRequestResource);

// 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 regionTargetHttpsProxiesClient.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, String, RegionTargetHttpsProxiesSetSslCertificatesRequest, CancellationToken)

public virtual Task<Operation<Operation, Operation>> SetSslCertificatesAsync(string project, string region, string targetHttpsProxy, RegionTargetHttpsProxiesSetSslCertificatesRequest regionTargetHttpsProxiesSetSslCertificatesRequestResource, CancellationToken cancellationToken)

Replaces SslCertificates for TargetHttpsProxy.

Parameters
NameDescription
projectString

Project ID for this request.

regionString

Name of the region scoping this request.

targetHttpsProxyString

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

regionTargetHttpsProxiesSetSslCertificatesRequestResourceRegionTargetHttpsProxiesSetSslCertificatesRequest

The body resource for this request

cancellationTokenCancellationToken

A CancellationToken to use for this RPC.

Returns
TypeDescription
Task<Operation<Operation, Operation>>

A Task containing the RPC response.

Example
// Create client
RegionTargetHttpsProxiesClient regionTargetHttpsProxiesClient = await RegionTargetHttpsProxiesClient.CreateAsync();
// Initialize request argument(s)
string project = "";
string region = "";
string targetHttpsProxy = "";
RegionTargetHttpsProxiesSetSslCertificatesRequest regionTargetHttpsProxiesSetSslCertificatesRequestResource = new RegionTargetHttpsProxiesSetSslCertificatesRequest();
// Make the request
lro::Operation<Operation, Operation> response = await regionTargetHttpsProxiesClient.SetSslCertificatesAsync(project, region, targetHttpsProxy, regionTargetHttpsProxiesSetSslCertificatesRequestResource);

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

SetUrlMap(SetUrlMapRegionTargetHttpsProxyRequest, CallSettings)

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

Changes the URL map for TargetHttpsProxy.

Parameters
NameDescription
requestSetUrlMapRegionTargetHttpsProxyRequest

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

callSettingsCallSettings

If not null, applies overrides to this RPC call.

Returns
TypeDescription
Operation<Operation, Operation>

The RPC response.

Example
// Create client
RegionTargetHttpsProxiesClient regionTargetHttpsProxiesClient = RegionTargetHttpsProxiesClient.Create();
// Initialize request argument(s)
SetUrlMapRegionTargetHttpsProxyRequest request = new SetUrlMapRegionTargetHttpsProxyRequest
{
    RequestId = "",
    TargetHttpsProxy = "",
    Region = "",
    Project = "",
    UrlMapReferenceResource = new UrlMapReference(),
};
// Make the request
lro::Operation<Operation, Operation> response = regionTargetHttpsProxiesClient.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 = regionTargetHttpsProxiesClient.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, String, UrlMapReference, CallSettings)

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

Changes the URL map for TargetHttpsProxy.

Parameters
NameDescription
projectString

Project ID for this request.

regionString

Name of the region scoping this request.

targetHttpsProxyString

Name of the TargetHttpsProxy to set a URL map for.

urlMapReferenceResourceUrlMapReference

The body resource for this request

callSettingsCallSettings

If not null, applies overrides to this RPC call.

Returns
TypeDescription
Operation<Operation, Operation>

The RPC response.

Example
// Create client
RegionTargetHttpsProxiesClient regionTargetHttpsProxiesClient = RegionTargetHttpsProxiesClient.Create();
// Initialize request argument(s)
string project = "";
string region = "";
string targetHttpsProxy = "";
UrlMapReference urlMapReferenceResource = new UrlMapReference();
// Make the request
lro::Operation<Operation, Operation> response = regionTargetHttpsProxiesClient.SetUrlMap(project, region, 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 = regionTargetHttpsProxiesClient.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(SetUrlMapRegionTargetHttpsProxyRequest, CallSettings)

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

Changes the URL map for TargetHttpsProxy.

Parameters
NameDescription
requestSetUrlMapRegionTargetHttpsProxyRequest

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

callSettingsCallSettings

If not null, applies overrides to this RPC call.

Returns
TypeDescription
Task<Operation<Operation, Operation>>

A Task containing the RPC response.

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

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

Changes the URL map for TargetHttpsProxy.

Parameters
NameDescription
requestSetUrlMapRegionTargetHttpsProxyRequest

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

cancellationTokenCancellationToken

A CancellationToken to use for this RPC.

Returns
TypeDescription
Task<Operation<Operation, Operation>>

A Task containing the RPC response.

Example
// Create client
RegionTargetHttpsProxiesClient regionTargetHttpsProxiesClient = await RegionTargetHttpsProxiesClient.CreateAsync();
// Initialize request argument(s)
SetUrlMapRegionTargetHttpsProxyRequest request = new SetUrlMapRegionTargetHttpsProxyRequest
{
    RequestId = "",
    TargetHttpsProxy = "",
    Region = "",
    Project = "",
    UrlMapReferenceResource = new UrlMapReference(),
};
// Make the request
lro::Operation<Operation, Operation> response = await regionTargetHttpsProxiesClient.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 regionTargetHttpsProxiesClient.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, String, UrlMapReference, CallSettings)

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

Changes the URL map for TargetHttpsProxy.

Parameters
NameDescription
projectString

Project ID for this request.

regionString

Name of the region scoping this request.

targetHttpsProxyString

Name of the TargetHttpsProxy to set a URL map for.

urlMapReferenceResourceUrlMapReference

The body resource for this request

callSettingsCallSettings

If not null, applies overrides to this RPC call.

Returns
TypeDescription
Task<Operation<Operation, Operation>>

A Task containing the RPC response.

Example
// Create client
RegionTargetHttpsProxiesClient regionTargetHttpsProxiesClient = await RegionTargetHttpsProxiesClient.CreateAsync();
// Initialize request argument(s)
string project = "";
string region = "";
string targetHttpsProxy = "";
UrlMapReference urlMapReferenceResource = new UrlMapReference();
// Make the request
lro::Operation<Operation, Operation> response = await regionTargetHttpsProxiesClient.SetUrlMapAsync(project, region, 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 regionTargetHttpsProxiesClient.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, String, UrlMapReference, CancellationToken)

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

Changes the URL map for TargetHttpsProxy.

Parameters
NameDescription
projectString

Project ID for this request.

regionString

Name of the region scoping this request.

targetHttpsProxyString

Name of the TargetHttpsProxy to set a URL map for.

urlMapReferenceResourceUrlMapReference

The body resource for this request

cancellationTokenCancellationToken

A CancellationToken to use for this RPC.

Returns
TypeDescription
Task<Operation<Operation, Operation>>

A Task containing the RPC response.

Example
// Create client
RegionTargetHttpsProxiesClient regionTargetHttpsProxiesClient = await RegionTargetHttpsProxiesClient.CreateAsync();
// Initialize request argument(s)
string project = "";
string region = "";
string targetHttpsProxy = "";
UrlMapReference urlMapReferenceResource = new UrlMapReference();
// Make the request
lro::Operation<Operation, Operation> response = await regionTargetHttpsProxiesClient.SetUrlMapAsync(project, region, 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 regionTargetHttpsProxiesClient.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
TypeDescription
Task

A task representing the asynchronous shutdown operation.

Remarks

After calling this method, further calls to Create() and CreateAsync(CancellationToken) will create new channels, which could in turn be shut down by another call to this method.