Certificate Manager v1 API - Class CertificateManagerClient (2.3.0)

public abstract class CertificateManagerClient

Reference documentation and code samples for the Certificate Manager v1 API class CertificateManagerClient.

CertificateManager client wrapper, for convenient use.

Inheritance

object > CertificateManagerClient

Namespace

GoogleCloudGoogle.Cloud.CertificateManagerV1

Assembly

Google.Cloud.CertificateManager.V1.dll

Remarks

API Overview

Certificates Manager API allows customers to see and manage all their TLS certificates.

Certificates Manager API service provides methods to manage certificates, group them into collections, and create serving configuration that can be easily applied to other Cloud resources e.g. Target Proxies.

Data Model

The Certificates Manager service exposes the following resources:

  • Certificate that describes a single TLS certificate.
  • CertificateMap that describes a collection of certificates that can be attached to a target resource.
  • CertificateMapEntry that describes a single configuration entry that consists of a SNI and a group of certificates. It's a subresource of CertificateMap.

Certificate, CertificateMap and CertificateMapEntry IDs have to fully match the regexp [a-z0-9-]{1,63}. In other words,

  • only lower case letters, digits, and hyphen are allowed
  • length of the resource ID has to be in [1,63] range.

Provides methods to manage Cloud Certificate Manager entities.

Properties

CreateCertificateIssuanceConfigOperationsClient

public virtual OperationsClient CreateCertificateIssuanceConfigOperationsClient { get; }

The long-running operations client for CreateCertificateIssuanceConfig.

Property Value
TypeDescription
OperationsClient

CreateCertificateMapEntryOperationsClient

public virtual OperationsClient CreateCertificateMapEntryOperationsClient { get; }

The long-running operations client for CreateCertificateMapEntry.

Property Value
TypeDescription
OperationsClient

CreateCertificateMapOperationsClient

public virtual OperationsClient CreateCertificateMapOperationsClient { get; }

The long-running operations client for CreateCertificateMap.

Property Value
TypeDescription
OperationsClient

CreateCertificateOperationsClient

public virtual OperationsClient CreateCertificateOperationsClient { get; }

The long-running operations client for CreateCertificate.

Property Value
TypeDescription
OperationsClient

CreateDnsAuthorizationOperationsClient

public virtual OperationsClient CreateDnsAuthorizationOperationsClient { get; }

The long-running operations client for CreateDnsAuthorization.

Property Value
TypeDescription
OperationsClient

DefaultEndpoint

public static string DefaultEndpoint { get; }

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

Property Value
TypeDescription
string

DefaultScopes

public static IReadOnlyList<string> DefaultScopes { get; }

The default CertificateManager scopes.

Property Value
TypeDescription
IReadOnlyListstring
Remarks

The default CertificateManager scopes are:

DeleteCertificateIssuanceConfigOperationsClient

public virtual OperationsClient DeleteCertificateIssuanceConfigOperationsClient { get; }

The long-running operations client for DeleteCertificateIssuanceConfig.

Property Value
TypeDescription
OperationsClient

DeleteCertificateMapEntryOperationsClient

public virtual OperationsClient DeleteCertificateMapEntryOperationsClient { get; }

The long-running operations client for DeleteCertificateMapEntry.

Property Value
TypeDescription
OperationsClient

DeleteCertificateMapOperationsClient

public virtual OperationsClient DeleteCertificateMapOperationsClient { get; }

The long-running operations client for DeleteCertificateMap.

Property Value
TypeDescription
OperationsClient

DeleteCertificateOperationsClient

public virtual OperationsClient DeleteCertificateOperationsClient { get; }

The long-running operations client for DeleteCertificate.

Property Value
TypeDescription
OperationsClient

DeleteDnsAuthorizationOperationsClient

public virtual OperationsClient DeleteDnsAuthorizationOperationsClient { get; }

The long-running operations client for DeleteDnsAuthorization.

Property Value
TypeDescription
OperationsClient

GrpcClient

public virtual CertificateManager.CertificateManagerClient GrpcClient { get; }

The underlying gRPC CertificateManager client

Property Value
TypeDescription
CertificateManagerCertificateManagerClient

LocationsClient

public virtual LocationsClient LocationsClient { get; }

The LocationsClient associated with this client.

Property Value
TypeDescription
LocationsClient

ServiceMetadata

public static ServiceMetadata ServiceMetadata { get; }

The service metadata associated with this client type.

Property Value
TypeDescription
ServiceMetadata

UpdateCertificateMapEntryOperationsClient

public virtual OperationsClient UpdateCertificateMapEntryOperationsClient { get; }

The long-running operations client for UpdateCertificateMapEntry.

Property Value
TypeDescription
OperationsClient

UpdateCertificateMapOperationsClient

public virtual OperationsClient UpdateCertificateMapOperationsClient { get; }

The long-running operations client for UpdateCertificateMap.

Property Value
TypeDescription
OperationsClient

UpdateCertificateOperationsClient

public virtual OperationsClient UpdateCertificateOperationsClient { get; }

The long-running operations client for UpdateCertificate.

Property Value
TypeDescription
OperationsClient

UpdateDnsAuthorizationOperationsClient

public virtual OperationsClient UpdateDnsAuthorizationOperationsClient { get; }

The long-running operations client for UpdateDnsAuthorization.

Property Value
TypeDescription
OperationsClient

Methods

Create()

public static CertificateManagerClient Create()

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

Returns
TypeDescription
CertificateManagerClient

The created CertificateManagerClient.

CreateAsync(CancellationToken)

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

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

Parameter
NameDescription
cancellationTokenCancellationToken

The CancellationToken to use while creating the client.

Returns
TypeDescription
TaskCertificateManagerClient

The task representing the created CertificateManagerClient.

CreateCertificate(LocationName, Certificate, string, CallSettings)

public virtual Operation<Certificate, OperationMetadata> CreateCertificate(LocationName parent, Certificate certificate, string certificateId, CallSettings callSettings = null)

Creates a new Certificate in a given project and location.

Parameters
NameDescription
parentLocationName

Required. The parent resource of the certificate. Must be in the format projects/*/locations/*.

certificateCertificate

Required. A definition of the certificate to create.

certificateIdstring

Required. A user-provided name of the certificate.

callSettingsCallSettings

If not null, applies overrides to this RPC call.

Returns
TypeDescription
OperationCertificateOperationMetadata

The RPC response.

Example
// Create client
CertificateManagerClient certificateManagerClient = CertificateManagerClient.Create();
// Initialize request argument(s)
LocationName parent = LocationName.FromProjectLocation("[PROJECT]", "[LOCATION]");
Certificate certificate = new Certificate();
string certificateId = "";
// Make the request
Operation<Certificate, OperationMetadata> response = certificateManagerClient.CreateCertificate(parent, certificate, certificateId);

// Poll until the returned long-running operation is complete
Operation<Certificate, OperationMetadata> completedResponse = response.PollUntilCompleted();
// Retrieve the operation result
Certificate result = completedResponse.Result;

// Or get the name of the operation
string operationName = response.Name;
// This name can be stored, then the long-running operation retrieved later by name
Operation<Certificate, OperationMetadata> retrievedResponse = certificateManagerClient.PollOnceCreateCertificate(operationName);
// Check if the retrieved long-running operation has completed
if (retrievedResponse.IsCompleted)
{
    // If it has completed, then access the result
    Certificate retrievedResult = retrievedResponse.Result;
}

CreateCertificate(CreateCertificateRequest, CallSettings)

public virtual Operation<Certificate, OperationMetadata> CreateCertificate(CreateCertificateRequest request, CallSettings callSettings = null)

Creates a new Certificate in a given project and location.

Parameters
NameDescription
requestCreateCertificateRequest

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

callSettingsCallSettings

If not null, applies overrides to this RPC call.

Returns
TypeDescription
OperationCertificateOperationMetadata

The RPC response.

Example
// Create client
CertificateManagerClient certificateManagerClient = CertificateManagerClient.Create();
// Initialize request argument(s)
CreateCertificateRequest request = new CreateCertificateRequest
{
    ParentAsLocationName = LocationName.FromProjectLocation("[PROJECT]", "[LOCATION]"),
    CertificateId = "",
    Certificate = new Certificate(),
};
// Make the request
Operation<Certificate, OperationMetadata> response = certificateManagerClient.CreateCertificate(request);

// Poll until the returned long-running operation is complete
Operation<Certificate, OperationMetadata> completedResponse = response.PollUntilCompleted();
// Retrieve the operation result
Certificate result = completedResponse.Result;

// Or get the name of the operation
string operationName = response.Name;
// This name can be stored, then the long-running operation retrieved later by name
Operation<Certificate, OperationMetadata> retrievedResponse = certificateManagerClient.PollOnceCreateCertificate(operationName);
// Check if the retrieved long-running operation has completed
if (retrievedResponse.IsCompleted)
{
    // If it has completed, then access the result
    Certificate retrievedResult = retrievedResponse.Result;
}

CreateCertificate(string, Certificate, string, CallSettings)

public virtual Operation<Certificate, OperationMetadata> CreateCertificate(string parent, Certificate certificate, string certificateId, CallSettings callSettings = null)

Creates a new Certificate in a given project and location.

Parameters
NameDescription
parentstring

Required. The parent resource of the certificate. Must be in the format projects/*/locations/*.

certificateCertificate

Required. A definition of the certificate to create.

certificateIdstring

Required. A user-provided name of the certificate.

callSettingsCallSettings

If not null, applies overrides to this RPC call.

Returns
TypeDescription
OperationCertificateOperationMetadata

The RPC response.

Example
// Create client
CertificateManagerClient certificateManagerClient = CertificateManagerClient.Create();
// Initialize request argument(s)
string parent = "projects/[PROJECT]/locations/[LOCATION]";
Certificate certificate = new Certificate();
string certificateId = "";
// Make the request
Operation<Certificate, OperationMetadata> response = certificateManagerClient.CreateCertificate(parent, certificate, certificateId);

// Poll until the returned long-running operation is complete
Operation<Certificate, OperationMetadata> completedResponse = response.PollUntilCompleted();
// Retrieve the operation result
Certificate result = completedResponse.Result;

// Or get the name of the operation
string operationName = response.Name;
// This name can be stored, then the long-running operation retrieved later by name
Operation<Certificate, OperationMetadata> retrievedResponse = certificateManagerClient.PollOnceCreateCertificate(operationName);
// Check if the retrieved long-running operation has completed
if (retrievedResponse.IsCompleted)
{
    // If it has completed, then access the result
    Certificate retrievedResult = retrievedResponse.Result;
}

CreateCertificateAsync(LocationName, Certificate, string, CallSettings)

public virtual Task<Operation<Certificate, OperationMetadata>> CreateCertificateAsync(LocationName parent, Certificate certificate, string certificateId, CallSettings callSettings = null)

Creates a new Certificate in a given project and location.

Parameters
NameDescription
parentLocationName

Required. The parent resource of the certificate. Must be in the format projects/*/locations/*.

certificateCertificate

Required. A definition of the certificate to create.

certificateIdstring

Required. A user-provided name of the certificate.

callSettingsCallSettings

If not null, applies overrides to this RPC call.

Returns
TypeDescription
TaskOperationCertificateOperationMetadata

A Task containing the RPC response.

Example
// Create client
CertificateManagerClient certificateManagerClient = await CertificateManagerClient.CreateAsync();
// Initialize request argument(s)
LocationName parent = LocationName.FromProjectLocation("[PROJECT]", "[LOCATION]");
Certificate certificate = new Certificate();
string certificateId = "";
// Make the request
Operation<Certificate, OperationMetadata> response = await certificateManagerClient.CreateCertificateAsync(parent, certificate, certificateId);

// Poll until the returned long-running operation is complete
Operation<Certificate, OperationMetadata> completedResponse = await response.PollUntilCompletedAsync();
// Retrieve the operation result
Certificate result = completedResponse.Result;

// Or get the name of the operation
string operationName = response.Name;
// This name can be stored, then the long-running operation retrieved later by name
Operation<Certificate, OperationMetadata> retrievedResponse = await certificateManagerClient.PollOnceCreateCertificateAsync(operationName);
// Check if the retrieved long-running operation has completed
if (retrievedResponse.IsCompleted)
{
    // If it has completed, then access the result
    Certificate retrievedResult = retrievedResponse.Result;
}

CreateCertificateAsync(LocationName, Certificate, string, CancellationToken)

public virtual Task<Operation<Certificate, OperationMetadata>> CreateCertificateAsync(LocationName parent, Certificate certificate, string certificateId, CancellationToken cancellationToken)

Creates a new Certificate in a given project and location.

Parameters
NameDescription
parentLocationName

Required. The parent resource of the certificate. Must be in the format projects/*/locations/*.

certificateCertificate

Required. A definition of the certificate to create.

certificateIdstring

Required. A user-provided name of the certificate.

cancellationTokenCancellationToken

A CancellationToken to use for this RPC.

Returns
TypeDescription
TaskOperationCertificateOperationMetadata

A Task containing the RPC response.

Example
// Create client
CertificateManagerClient certificateManagerClient = await CertificateManagerClient.CreateAsync();
// Initialize request argument(s)
LocationName parent = LocationName.FromProjectLocation("[PROJECT]", "[LOCATION]");
Certificate certificate = new Certificate();
string certificateId = "";
// Make the request
Operation<Certificate, OperationMetadata> response = await certificateManagerClient.CreateCertificateAsync(parent, certificate, certificateId);

// Poll until the returned long-running operation is complete
Operation<Certificate, OperationMetadata> completedResponse = await response.PollUntilCompletedAsync();
// Retrieve the operation result
Certificate result = completedResponse.Result;

// Or get the name of the operation
string operationName = response.Name;
// This name can be stored, then the long-running operation retrieved later by name
Operation<Certificate, OperationMetadata> retrievedResponse = await certificateManagerClient.PollOnceCreateCertificateAsync(operationName);
// Check if the retrieved long-running operation has completed
if (retrievedResponse.IsCompleted)
{
    // If it has completed, then access the result
    Certificate retrievedResult = retrievedResponse.Result;
}

CreateCertificateAsync(CreateCertificateRequest, CallSettings)

public virtual Task<Operation<Certificate, OperationMetadata>> CreateCertificateAsync(CreateCertificateRequest request, CallSettings callSettings = null)

Creates a new Certificate in a given project and location.

Parameters
NameDescription
requestCreateCertificateRequest

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

callSettingsCallSettings

If not null, applies overrides to this RPC call.

Returns
TypeDescription
TaskOperationCertificateOperationMetadata

A Task containing the RPC response.

Example
// Create client
CertificateManagerClient certificateManagerClient = await CertificateManagerClient.CreateAsync();
// Initialize request argument(s)
CreateCertificateRequest request = new CreateCertificateRequest
{
    ParentAsLocationName = LocationName.FromProjectLocation("[PROJECT]", "[LOCATION]"),
    CertificateId = "",
    Certificate = new Certificate(),
};
// Make the request
Operation<Certificate, OperationMetadata> response = await certificateManagerClient.CreateCertificateAsync(request);

// Poll until the returned long-running operation is complete
Operation<Certificate, OperationMetadata> completedResponse = await response.PollUntilCompletedAsync();
// Retrieve the operation result
Certificate result = completedResponse.Result;

// Or get the name of the operation
string operationName = response.Name;
// This name can be stored, then the long-running operation retrieved later by name
Operation<Certificate, OperationMetadata> retrievedResponse = await certificateManagerClient.PollOnceCreateCertificateAsync(operationName);
// Check if the retrieved long-running operation has completed
if (retrievedResponse.IsCompleted)
{
    // If it has completed, then access the result
    Certificate retrievedResult = retrievedResponse.Result;
}

CreateCertificateAsync(CreateCertificateRequest, CancellationToken)

public virtual Task<Operation<Certificate, OperationMetadata>> CreateCertificateAsync(CreateCertificateRequest request, CancellationToken cancellationToken)

Creates a new Certificate in a given project and location.

Parameters
NameDescription
requestCreateCertificateRequest

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

cancellationTokenCancellationToken

A CancellationToken to use for this RPC.

Returns
TypeDescription
TaskOperationCertificateOperationMetadata

A Task containing the RPC response.

Example
// Create client
CertificateManagerClient certificateManagerClient = await CertificateManagerClient.CreateAsync();
// Initialize request argument(s)
CreateCertificateRequest request = new CreateCertificateRequest
{
    ParentAsLocationName = LocationName.FromProjectLocation("[PROJECT]", "[LOCATION]"),
    CertificateId = "",
    Certificate = new Certificate(),
};
// Make the request
Operation<Certificate, OperationMetadata> response = await certificateManagerClient.CreateCertificateAsync(request);

// Poll until the returned long-running operation is complete
Operation<Certificate, OperationMetadata> completedResponse = await response.PollUntilCompletedAsync();
// Retrieve the operation result
Certificate result = completedResponse.Result;

// Or get the name of the operation
string operationName = response.Name;
// This name can be stored, then the long-running operation retrieved later by name
Operation<Certificate, OperationMetadata> retrievedResponse = await certificateManagerClient.PollOnceCreateCertificateAsync(operationName);
// Check if the retrieved long-running operation has completed
if (retrievedResponse.IsCompleted)
{
    // If it has completed, then access the result
    Certificate retrievedResult = retrievedResponse.Result;
}

CreateCertificateAsync(string, Certificate, string, CallSettings)

public virtual Task<Operation<Certificate, OperationMetadata>> CreateCertificateAsync(string parent, Certificate certificate, string certificateId, CallSettings callSettings = null)

Creates a new Certificate in a given project and location.

Parameters
NameDescription
parentstring

Required. The parent resource of the certificate. Must be in the format projects/*/locations/*.

certificateCertificate

Required. A definition of the certificate to create.

certificateIdstring

Required. A user-provided name of the certificate.

callSettingsCallSettings

If not null, applies overrides to this RPC call.

Returns
TypeDescription
TaskOperationCertificateOperationMetadata

A Task containing the RPC response.

Example
// Create client
CertificateManagerClient certificateManagerClient = await CertificateManagerClient.CreateAsync();
// Initialize request argument(s)
string parent = "projects/[PROJECT]/locations/[LOCATION]";
Certificate certificate = new Certificate();
string certificateId = "";
// Make the request
Operation<Certificate, OperationMetadata> response = await certificateManagerClient.CreateCertificateAsync(parent, certificate, certificateId);

// Poll until the returned long-running operation is complete
Operation<Certificate, OperationMetadata> completedResponse = await response.PollUntilCompletedAsync();
// Retrieve the operation result
Certificate result = completedResponse.Result;

// Or get the name of the operation
string operationName = response.Name;
// This name can be stored, then the long-running operation retrieved later by name
Operation<Certificate, OperationMetadata> retrievedResponse = await certificateManagerClient.PollOnceCreateCertificateAsync(operationName);
// Check if the retrieved long-running operation has completed
if (retrievedResponse.IsCompleted)
{
    // If it has completed, then access the result
    Certificate retrievedResult = retrievedResponse.Result;
}

CreateCertificateAsync(string, Certificate, string, CancellationToken)

public virtual Task<Operation<Certificate, OperationMetadata>> CreateCertificateAsync(string parent, Certificate certificate, string certificateId, CancellationToken cancellationToken)

Creates a new Certificate in a given project and location.

Parameters
NameDescription
parentstring

Required. The parent resource of the certificate. Must be in the format projects/*/locations/*.

certificateCertificate

Required. A definition of the certificate to create.

certificateIdstring

Required. A user-provided name of the certificate.

cancellationTokenCancellationToken

A CancellationToken to use for this RPC.

Returns
TypeDescription
TaskOperationCertificateOperationMetadata

A Task containing the RPC response.

Example
// Create client
CertificateManagerClient certificateManagerClient = await CertificateManagerClient.CreateAsync();
// Initialize request argument(s)
string parent = "projects/[PROJECT]/locations/[LOCATION]";
Certificate certificate = new Certificate();
string certificateId = "";
// Make the request
Operation<Certificate, OperationMetadata> response = await certificateManagerClient.CreateCertificateAsync(parent, certificate, certificateId);

// Poll until the returned long-running operation is complete
Operation<Certificate, OperationMetadata> completedResponse = await response.PollUntilCompletedAsync();
// Retrieve the operation result
Certificate result = completedResponse.Result;

// Or get the name of the operation
string operationName = response.Name;
// This name can be stored, then the long-running operation retrieved later by name
Operation<Certificate, OperationMetadata> retrievedResponse = await certificateManagerClient.PollOnceCreateCertificateAsync(operationName);
// Check if the retrieved long-running operation has completed
if (retrievedResponse.IsCompleted)
{
    // If it has completed, then access the result
    Certificate retrievedResult = retrievedResponse.Result;
}

CreateCertificateIssuanceConfig(LocationName, CertificateIssuanceConfig, string, CallSettings)

public virtual Operation<CertificateIssuanceConfig, OperationMetadata> CreateCertificateIssuanceConfig(LocationName parent, CertificateIssuanceConfig certificateIssuanceConfig, string certificateIssuanceConfigId, CallSettings callSettings = null)

Creates a new CertificateIssuanceConfig in a given project and location.

Parameters
NameDescription
parentLocationName

Required. The parent resource of the certificate issuance config. Must be in the format projects/*/locations/*.

certificateIssuanceConfigCertificateIssuanceConfig

Required. A definition of the certificate issuance config to create.

certificateIssuanceConfigIdstring

Required. A user-provided name of the certificate config.

callSettingsCallSettings

If not null, applies overrides to this RPC call.

Returns
TypeDescription
OperationCertificateIssuanceConfigOperationMetadata

The RPC response.

Example
// Create client
CertificateManagerClient certificateManagerClient = CertificateManagerClient.Create();
// Initialize request argument(s)
LocationName parent = LocationName.FromProjectLocation("[PROJECT]", "[LOCATION]");
CertificateIssuanceConfig certificateIssuanceConfig = new CertificateIssuanceConfig();
string certificateIssuanceConfigId = "";
// Make the request
Operation<CertificateIssuanceConfig, OperationMetadata> response = certificateManagerClient.CreateCertificateIssuanceConfig(parent, certificateIssuanceConfig, certificateIssuanceConfigId);

// Poll until the returned long-running operation is complete
Operation<CertificateIssuanceConfig, OperationMetadata> completedResponse = response.PollUntilCompleted();
// Retrieve the operation result
CertificateIssuanceConfig result = completedResponse.Result;

// Or get the name of the operation
string operationName = response.Name;
// This name can be stored, then the long-running operation retrieved later by name
Operation<CertificateIssuanceConfig, OperationMetadata> retrievedResponse = certificateManagerClient.PollOnceCreateCertificateIssuanceConfig(operationName);
// Check if the retrieved long-running operation has completed
if (retrievedResponse.IsCompleted)
{
    // If it has completed, then access the result
    CertificateIssuanceConfig retrievedResult = retrievedResponse.Result;
}

CreateCertificateIssuanceConfig(CreateCertificateIssuanceConfigRequest, CallSettings)

public virtual Operation<CertificateIssuanceConfig, OperationMetadata> CreateCertificateIssuanceConfig(CreateCertificateIssuanceConfigRequest request, CallSettings callSettings = null)

Creates a new CertificateIssuanceConfig in a given project and location.

Parameters
NameDescription
requestCreateCertificateIssuanceConfigRequest

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

callSettingsCallSettings

If not null, applies overrides to this RPC call.

Returns
TypeDescription
OperationCertificateIssuanceConfigOperationMetadata

The RPC response.

Example
// Create client
CertificateManagerClient certificateManagerClient = CertificateManagerClient.Create();
// Initialize request argument(s)
CreateCertificateIssuanceConfigRequest request = new CreateCertificateIssuanceConfigRequest
{
    ParentAsLocationName = LocationName.FromProjectLocation("[PROJECT]", "[LOCATION]"),
    CertificateIssuanceConfigId = "",
    CertificateIssuanceConfig = new CertificateIssuanceConfig(),
};
// Make the request
Operation<CertificateIssuanceConfig, OperationMetadata> response = certificateManagerClient.CreateCertificateIssuanceConfig(request);

// Poll until the returned long-running operation is complete
Operation<CertificateIssuanceConfig, OperationMetadata> completedResponse = response.PollUntilCompleted();
// Retrieve the operation result
CertificateIssuanceConfig result = completedResponse.Result;

// Or get the name of the operation
string operationName = response.Name;
// This name can be stored, then the long-running operation retrieved later by name
Operation<CertificateIssuanceConfig, OperationMetadata> retrievedResponse = certificateManagerClient.PollOnceCreateCertificateIssuanceConfig(operationName);
// Check if the retrieved long-running operation has completed
if (retrievedResponse.IsCompleted)
{
    // If it has completed, then access the result
    CertificateIssuanceConfig retrievedResult = retrievedResponse.Result;
}

CreateCertificateIssuanceConfig(string, CertificateIssuanceConfig, string, CallSettings)

public virtual Operation<CertificateIssuanceConfig, OperationMetadata> CreateCertificateIssuanceConfig(string parent, CertificateIssuanceConfig certificateIssuanceConfig, string certificateIssuanceConfigId, CallSettings callSettings = null)

Creates a new CertificateIssuanceConfig in a given project and location.

Parameters
NameDescription
parentstring

Required. The parent resource of the certificate issuance config. Must be in the format projects/*/locations/*.

certificateIssuanceConfigCertificateIssuanceConfig

Required. A definition of the certificate issuance config to create.

certificateIssuanceConfigIdstring

Required. A user-provided name of the certificate config.

callSettingsCallSettings

If not null, applies overrides to this RPC call.

Returns
TypeDescription
OperationCertificateIssuanceConfigOperationMetadata

The RPC response.

Example
// Create client
CertificateManagerClient certificateManagerClient = CertificateManagerClient.Create();
// Initialize request argument(s)
string parent = "projects/[PROJECT]/locations/[LOCATION]";
CertificateIssuanceConfig certificateIssuanceConfig = new CertificateIssuanceConfig();
string certificateIssuanceConfigId = "";
// Make the request
Operation<CertificateIssuanceConfig, OperationMetadata> response = certificateManagerClient.CreateCertificateIssuanceConfig(parent, certificateIssuanceConfig, certificateIssuanceConfigId);

// Poll until the returned long-running operation is complete
Operation<CertificateIssuanceConfig, OperationMetadata> completedResponse = response.PollUntilCompleted();
// Retrieve the operation result
CertificateIssuanceConfig result = completedResponse.Result;

// Or get the name of the operation
string operationName = response.Name;
// This name can be stored, then the long-running operation retrieved later by name
Operation<CertificateIssuanceConfig, OperationMetadata> retrievedResponse = certificateManagerClient.PollOnceCreateCertificateIssuanceConfig(operationName);
// Check if the retrieved long-running operation has completed
if (retrievedResponse.IsCompleted)
{
    // If it has completed, then access the result
    CertificateIssuanceConfig retrievedResult = retrievedResponse.Result;
}

CreateCertificateIssuanceConfigAsync(LocationName, CertificateIssuanceConfig, string, CallSettings)

public virtual Task<Operation<CertificateIssuanceConfig, OperationMetadata>> CreateCertificateIssuanceConfigAsync(LocationName parent, CertificateIssuanceConfig certificateIssuanceConfig, string certificateIssuanceConfigId, CallSettings callSettings = null)

Creates a new CertificateIssuanceConfig in a given project and location.

Parameters
NameDescription
parentLocationName

Required. The parent resource of the certificate issuance config. Must be in the format projects/*/locations/*.

certificateIssuanceConfigCertificateIssuanceConfig

Required. A definition of the certificate issuance config to create.

certificateIssuanceConfigIdstring

Required. A user-provided name of the certificate config.

callSettingsCallSettings

If not null, applies overrides to this RPC call.

Returns
TypeDescription
TaskOperationCertificateIssuanceConfigOperationMetadata

A Task containing the RPC response.

Example
// Create client
CertificateManagerClient certificateManagerClient = await CertificateManagerClient.CreateAsync();
// Initialize request argument(s)
LocationName parent = LocationName.FromProjectLocation("[PROJECT]", "[LOCATION]");
CertificateIssuanceConfig certificateIssuanceConfig = new CertificateIssuanceConfig();
string certificateIssuanceConfigId = "";
// Make the request
Operation<CertificateIssuanceConfig, OperationMetadata> response = await certificateManagerClient.CreateCertificateIssuanceConfigAsync(parent, certificateIssuanceConfig, certificateIssuanceConfigId);

// Poll until the returned long-running operation is complete
Operation<CertificateIssuanceConfig, OperationMetadata> completedResponse = await response.PollUntilCompletedAsync();
// Retrieve the operation result
CertificateIssuanceConfig result = completedResponse.Result;

// Or get the name of the operation
string operationName = response.Name;
// This name can be stored, then the long-running operation retrieved later by name
Operation<CertificateIssuanceConfig, OperationMetadata> retrievedResponse = await certificateManagerClient.PollOnceCreateCertificateIssuanceConfigAsync(operationName);
// Check if the retrieved long-running operation has completed
if (retrievedResponse.IsCompleted)
{
    // If it has completed, then access the result
    CertificateIssuanceConfig retrievedResult = retrievedResponse.Result;
}

CreateCertificateIssuanceConfigAsync(LocationName, CertificateIssuanceConfig, string, CancellationToken)

public virtual Task<Operation<CertificateIssuanceConfig, OperationMetadata>> CreateCertificateIssuanceConfigAsync(LocationName parent, CertificateIssuanceConfig certificateIssuanceConfig, string certificateIssuanceConfigId, CancellationToken cancellationToken)

Creates a new CertificateIssuanceConfig in a given project and location.

Parameters
NameDescription
parentLocationName

Required. The parent resource of the certificate issuance config. Must be in the format projects/*/locations/*.

certificateIssuanceConfigCertificateIssuanceConfig

Required. A definition of the certificate issuance config to create.

certificateIssuanceConfigIdstring

Required. A user-provided name of the certificate config.

cancellationTokenCancellationToken

A CancellationToken to use for this RPC.

Returns
TypeDescription
TaskOperationCertificateIssuanceConfigOperationMetadata

A Task containing the RPC response.

Example
// Create client
CertificateManagerClient certificateManagerClient = await CertificateManagerClient.CreateAsync();
// Initialize request argument(s)
LocationName parent = LocationName.FromProjectLocation("[PROJECT]", "[LOCATION]");
CertificateIssuanceConfig certificateIssuanceConfig = new CertificateIssuanceConfig();
string certificateIssuanceConfigId = "";
// Make the request
Operation<CertificateIssuanceConfig, OperationMetadata> response = await certificateManagerClient.CreateCertificateIssuanceConfigAsync(parent, certificateIssuanceConfig, certificateIssuanceConfigId);

// Poll until the returned long-running operation is complete
Operation<CertificateIssuanceConfig, OperationMetadata> completedResponse = await response.PollUntilCompletedAsync();
// Retrieve the operation result
CertificateIssuanceConfig result = completedResponse.Result;

// Or get the name of the operation
string operationName = response.Name;
// This name can be stored, then the long-running operation retrieved later by name
Operation<CertificateIssuanceConfig, OperationMetadata> retrievedResponse = await certificateManagerClient.PollOnceCreateCertificateIssuanceConfigAsync(operationName);
// Check if the retrieved long-running operation has completed
if (retrievedResponse.IsCompleted)
{
    // If it has completed, then access the result
    CertificateIssuanceConfig retrievedResult = retrievedResponse.Result;
}

CreateCertificateIssuanceConfigAsync(CreateCertificateIssuanceConfigRequest, CallSettings)

public virtual Task<Operation<CertificateIssuanceConfig, OperationMetadata>> CreateCertificateIssuanceConfigAsync(CreateCertificateIssuanceConfigRequest request, CallSettings callSettings = null)

Creates a new CertificateIssuanceConfig in a given project and location.

Parameters
NameDescription
requestCreateCertificateIssuanceConfigRequest

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

callSettingsCallSettings

If not null, applies overrides to this RPC call.

Returns
TypeDescription
TaskOperationCertificateIssuanceConfigOperationMetadata

A Task containing the RPC response.

Example
// Create client
CertificateManagerClient certificateManagerClient = await CertificateManagerClient.CreateAsync();
// Initialize request argument(s)
CreateCertificateIssuanceConfigRequest request = new CreateCertificateIssuanceConfigRequest
{
    ParentAsLocationName = LocationName.FromProjectLocation("[PROJECT]", "[LOCATION]"),
    CertificateIssuanceConfigId = "",
    CertificateIssuanceConfig = new CertificateIssuanceConfig(),
};
// Make the request
Operation<CertificateIssuanceConfig, OperationMetadata> response = await certificateManagerClient.CreateCertificateIssuanceConfigAsync(request);

// Poll until the returned long-running operation is complete
Operation<CertificateIssuanceConfig, OperationMetadata> completedResponse = await response.PollUntilCompletedAsync();
// Retrieve the operation result
CertificateIssuanceConfig result = completedResponse.Result;

// Or get the name of the operation
string operationName = response.Name;
// This name can be stored, then the long-running operation retrieved later by name
Operation<CertificateIssuanceConfig, OperationMetadata> retrievedResponse = await certificateManagerClient.PollOnceCreateCertificateIssuanceConfigAsync(operationName);
// Check if the retrieved long-running operation has completed
if (retrievedResponse.IsCompleted)
{
    // If it has completed, then access the result
    CertificateIssuanceConfig retrievedResult = retrievedResponse.Result;
}

CreateCertificateIssuanceConfigAsync(CreateCertificateIssuanceConfigRequest, CancellationToken)

public virtual Task<Operation<CertificateIssuanceConfig, OperationMetadata>> CreateCertificateIssuanceConfigAsync(CreateCertificateIssuanceConfigRequest request, CancellationToken cancellationToken)

Creates a new CertificateIssuanceConfig in a given project and location.

Parameters
NameDescription
requestCreateCertificateIssuanceConfigRequest

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

cancellationTokenCancellationToken

A CancellationToken to use for this RPC.

Returns
TypeDescription
TaskOperationCertificateIssuanceConfigOperationMetadata

A Task containing the RPC response.

Example
// Create client
CertificateManagerClient certificateManagerClient = await CertificateManagerClient.CreateAsync();
// Initialize request argument(s)
CreateCertificateIssuanceConfigRequest request = new CreateCertificateIssuanceConfigRequest
{
    ParentAsLocationName = LocationName.FromProjectLocation("[PROJECT]", "[LOCATION]"),
    CertificateIssuanceConfigId = "",
    CertificateIssuanceConfig = new CertificateIssuanceConfig(),
};
// Make the request
Operation<CertificateIssuanceConfig, OperationMetadata> response = await certificateManagerClient.CreateCertificateIssuanceConfigAsync(request);

// Poll until the returned long-running operation is complete
Operation<CertificateIssuanceConfig, OperationMetadata> completedResponse = await response.PollUntilCompletedAsync();
// Retrieve the operation result
CertificateIssuanceConfig result = completedResponse.Result;

// Or get the name of the operation
string operationName = response.Name;
// This name can be stored, then the long-running operation retrieved later by name
Operation<CertificateIssuanceConfig, OperationMetadata> retrievedResponse = await certificateManagerClient.PollOnceCreateCertificateIssuanceConfigAsync(operationName);
// Check if the retrieved long-running operation has completed
if (retrievedResponse.IsCompleted)
{
    // If it has completed, then access the result
    CertificateIssuanceConfig retrievedResult = retrievedResponse.Result;
}

CreateCertificateIssuanceConfigAsync(string, CertificateIssuanceConfig, string, CallSettings)

public virtual Task<Operation<CertificateIssuanceConfig, OperationMetadata>> CreateCertificateIssuanceConfigAsync(string parent, CertificateIssuanceConfig certificateIssuanceConfig, string certificateIssuanceConfigId, CallSettings callSettings = null)

Creates a new CertificateIssuanceConfig in a given project and location.

Parameters
NameDescription
parentstring

Required. The parent resource of the certificate issuance config. Must be in the format projects/*/locations/*.

certificateIssuanceConfigCertificateIssuanceConfig

Required. A definition of the certificate issuance config to create.

certificateIssuanceConfigIdstring

Required. A user-provided name of the certificate config.

callSettingsCallSettings

If not null, applies overrides to this RPC call.

Returns
TypeDescription
TaskOperationCertificateIssuanceConfigOperationMetadata

A Task containing the RPC response.

Example
// Create client
CertificateManagerClient certificateManagerClient = await CertificateManagerClient.CreateAsync();
// Initialize request argument(s)
string parent = "projects/[PROJECT]/locations/[LOCATION]";
CertificateIssuanceConfig certificateIssuanceConfig = new CertificateIssuanceConfig();
string certificateIssuanceConfigId = "";
// Make the request
Operation<CertificateIssuanceConfig, OperationMetadata> response = await certificateManagerClient.CreateCertificateIssuanceConfigAsync(parent, certificateIssuanceConfig, certificateIssuanceConfigId);

// Poll until the returned long-running operation is complete
Operation<CertificateIssuanceConfig, OperationMetadata> completedResponse = await response.PollUntilCompletedAsync();
// Retrieve the operation result
CertificateIssuanceConfig result = completedResponse.Result;

// Or get the name of the operation
string operationName = response.Name;
// This name can be stored, then the long-running operation retrieved later by name
Operation<CertificateIssuanceConfig, OperationMetadata> retrievedResponse = await certificateManagerClient.PollOnceCreateCertificateIssuanceConfigAsync(operationName);
// Check if the retrieved long-running operation has completed
if (retrievedResponse.IsCompleted)
{
    // If it has completed, then access the result
    CertificateIssuanceConfig retrievedResult = retrievedResponse.Result;
}

CreateCertificateIssuanceConfigAsync(string, CertificateIssuanceConfig, string, CancellationToken)

public virtual Task<Operation<CertificateIssuanceConfig, OperationMetadata>> CreateCertificateIssuanceConfigAsync(string parent, CertificateIssuanceConfig certificateIssuanceConfig, string certificateIssuanceConfigId, CancellationToken cancellationToken)

Creates a new CertificateIssuanceConfig in a given project and location.

Parameters
NameDescription
parentstring

Required. The parent resource of the certificate issuance config. Must be in the format projects/*/locations/*.

certificateIssuanceConfigCertificateIssuanceConfig

Required. A definition of the certificate issuance config to create.

certificateIssuanceConfigIdstring

Required. A user-provided name of the certificate config.

cancellationTokenCancellationToken

A CancellationToken to use for this RPC.

Returns
TypeDescription
TaskOperationCertificateIssuanceConfigOperationMetadata

A Task containing the RPC response.

Example
// Create client
CertificateManagerClient certificateManagerClient = await CertificateManagerClient.CreateAsync();
// Initialize request argument(s)
string parent = "projects/[PROJECT]/locations/[LOCATION]";
CertificateIssuanceConfig certificateIssuanceConfig = new CertificateIssuanceConfig();
string certificateIssuanceConfigId = "";
// Make the request
Operation<CertificateIssuanceConfig, OperationMetadata> response = await certificateManagerClient.CreateCertificateIssuanceConfigAsync(parent, certificateIssuanceConfig, certificateIssuanceConfigId);

// Poll until the returned long-running operation is complete
Operation<CertificateIssuanceConfig, OperationMetadata> completedResponse = await response.PollUntilCompletedAsync();
// Retrieve the operation result
CertificateIssuanceConfig result = completedResponse.Result;

// Or get the name of the operation
string operationName = response.Name;
// This name can be stored, then the long-running operation retrieved later by name
Operation<CertificateIssuanceConfig, OperationMetadata> retrievedResponse = await certificateManagerClient.PollOnceCreateCertificateIssuanceConfigAsync(operationName);
// Check if the retrieved long-running operation has completed
if (retrievedResponse.IsCompleted)
{
    // If it has completed, then access the result
    CertificateIssuanceConfig retrievedResult = retrievedResponse.Result;
}

CreateCertificateMap(LocationName, CertificateMap, string, CallSettings)

public virtual Operation<CertificateMap, OperationMetadata> CreateCertificateMap(LocationName parent, CertificateMap certificateMap, string certificateMapId, CallSettings callSettings = null)

Creates a new CertificateMap in a given project and location.

Parameters
NameDescription
parentLocationName

Required. The parent resource of the certificate map. Must be in the format projects/*/locations/*.

certificateMapCertificateMap

Required. A definition of the certificate map to create.

certificateMapIdstring

Required. A user-provided name of the certificate map.

callSettingsCallSettings

If not null, applies overrides to this RPC call.

Returns
TypeDescription
OperationCertificateMapOperationMetadata

The RPC response.

Example
// Create client
CertificateManagerClient certificateManagerClient = CertificateManagerClient.Create();
// Initialize request argument(s)
LocationName parent = LocationName.FromProjectLocation("[PROJECT]", "[LOCATION]");
CertificateMap certificateMap = new CertificateMap();
string certificateMapId = "";
// Make the request
Operation<CertificateMap, OperationMetadata> response = certificateManagerClient.CreateCertificateMap(parent, certificateMap, certificateMapId);

// Poll until the returned long-running operation is complete
Operation<CertificateMap, OperationMetadata> completedResponse = response.PollUntilCompleted();
// Retrieve the operation result
CertificateMap result = completedResponse.Result;

// Or get the name of the operation
string operationName = response.Name;
// This name can be stored, then the long-running operation retrieved later by name
Operation<CertificateMap, OperationMetadata> retrievedResponse = certificateManagerClient.PollOnceCreateCertificateMap(operationName);
// Check if the retrieved long-running operation has completed
if (retrievedResponse.IsCompleted)
{
    // If it has completed, then access the result
    CertificateMap retrievedResult = retrievedResponse.Result;
}

CreateCertificateMap(CreateCertificateMapRequest, CallSettings)

public virtual Operation<CertificateMap, OperationMetadata> CreateCertificateMap(CreateCertificateMapRequest request, CallSettings callSettings = null)

Creates a new CertificateMap in a given project and location.

Parameters
NameDescription
requestCreateCertificateMapRequest

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

callSettingsCallSettings

If not null, applies overrides to this RPC call.

Returns
TypeDescription
OperationCertificateMapOperationMetadata

The RPC response.

Example
// Create client
CertificateManagerClient certificateManagerClient = CertificateManagerClient.Create();
// Initialize request argument(s)
CreateCertificateMapRequest request = new CreateCertificateMapRequest
{
    ParentAsLocationName = LocationName.FromProjectLocation("[PROJECT]", "[LOCATION]"),
    CertificateMapId = "",
    CertificateMap = new CertificateMap(),
};
// Make the request
Operation<CertificateMap, OperationMetadata> response = certificateManagerClient.CreateCertificateMap(request);

// Poll until the returned long-running operation is complete
Operation<CertificateMap, OperationMetadata> completedResponse = response.PollUntilCompleted();
// Retrieve the operation result
CertificateMap result = completedResponse.Result;

// Or get the name of the operation
string operationName = response.Name;
// This name can be stored, then the long-running operation retrieved later by name
Operation<CertificateMap, OperationMetadata> retrievedResponse = certificateManagerClient.PollOnceCreateCertificateMap(operationName);
// Check if the retrieved long-running operation has completed
if (retrievedResponse.IsCompleted)
{
    // If it has completed, then access the result
    CertificateMap retrievedResult = retrievedResponse.Result;
}

CreateCertificateMap(string, CertificateMap, string, CallSettings)

public virtual Operation<CertificateMap, OperationMetadata> CreateCertificateMap(string parent, CertificateMap certificateMap, string certificateMapId, CallSettings callSettings = null)

Creates a new CertificateMap in a given project and location.

Parameters
NameDescription
parentstring

Required. The parent resource of the certificate map. Must be in the format projects/*/locations/*.

certificateMapCertificateMap

Required. A definition of the certificate map to create.

certificateMapIdstring

Required. A user-provided name of the certificate map.

callSettingsCallSettings

If not null, applies overrides to this RPC call.

Returns
TypeDescription
OperationCertificateMapOperationMetadata

The RPC response.

Example
// Create client
CertificateManagerClient certificateManagerClient = CertificateManagerClient.Create();
// Initialize request argument(s)
string parent = "projects/[PROJECT]/locations/[LOCATION]";
CertificateMap certificateMap = new CertificateMap();
string certificateMapId = "";
// Make the request
Operation<CertificateMap, OperationMetadata> response = certificateManagerClient.CreateCertificateMap(parent, certificateMap, certificateMapId);

// Poll until the returned long-running operation is complete
Operation<CertificateMap, OperationMetadata> completedResponse = response.PollUntilCompleted();
// Retrieve the operation result
CertificateMap result = completedResponse.Result;

// Or get the name of the operation
string operationName = response.Name;
// This name can be stored, then the long-running operation retrieved later by name
Operation<CertificateMap, OperationMetadata> retrievedResponse = certificateManagerClient.PollOnceCreateCertificateMap(operationName);
// Check if the retrieved long-running operation has completed
if (retrievedResponse.IsCompleted)
{
    // If it has completed, then access the result
    CertificateMap retrievedResult = retrievedResponse.Result;
}

CreateCertificateMapAsync(LocationName, CertificateMap, string, CallSettings)

public virtual Task<Operation<CertificateMap, OperationMetadata>> CreateCertificateMapAsync(LocationName parent, CertificateMap certificateMap, string certificateMapId, CallSettings callSettings = null)

Creates a new CertificateMap in a given project and location.

Parameters
NameDescription
parentLocationName

Required. The parent resource of the certificate map. Must be in the format projects/*/locations/*.

certificateMapCertificateMap

Required. A definition of the certificate map to create.

certificateMapIdstring

Required. A user-provided name of the certificate map.

callSettingsCallSettings

If not null, applies overrides to this RPC call.

Returns
TypeDescription
TaskOperationCertificateMapOperationMetadata

A Task containing the RPC response.

Example
// Create client
CertificateManagerClient certificateManagerClient = await CertificateManagerClient.CreateAsync();
// Initialize request argument(s)
LocationName parent = LocationName.FromProjectLocation("[PROJECT]", "[LOCATION]");
CertificateMap certificateMap = new CertificateMap();
string certificateMapId = "";
// Make the request
Operation<CertificateMap, OperationMetadata> response = await certificateManagerClient.CreateCertificateMapAsync(parent, certificateMap, certificateMapId);

// Poll until the returned long-running operation is complete
Operation<CertificateMap, OperationMetadata> completedResponse = await response.PollUntilCompletedAsync();
// Retrieve the operation result
CertificateMap result = completedResponse.Result;

// Or get the name of the operation
string operationName = response.Name;
// This name can be stored, then the long-running operation retrieved later by name
Operation<CertificateMap, OperationMetadata> retrievedResponse = await certificateManagerClient.PollOnceCreateCertificateMapAsync(operationName);
// Check if the retrieved long-running operation has completed
if (retrievedResponse.IsCompleted)
{
    // If it has completed, then access the result
    CertificateMap retrievedResult = retrievedResponse.Result;
}

CreateCertificateMapAsync(LocationName, CertificateMap, string, CancellationToken)

public virtual Task<Operation<CertificateMap, OperationMetadata>> CreateCertificateMapAsync(LocationName parent, CertificateMap certificateMap, string certificateMapId, CancellationToken cancellationToken)

Creates a new CertificateMap in a given project and location.

Parameters
NameDescription
parentLocationName

Required. The parent resource of the certificate map. Must be in the format projects/*/locations/*.

certificateMapCertificateMap

Required. A definition of the certificate map to create.

certificateMapIdstring

Required. A user-provided name of the certificate map.

cancellationTokenCancellationToken

A CancellationToken to use for this RPC.

Returns
TypeDescription
TaskOperationCertificateMapOperationMetadata

A Task containing the RPC response.

Example
// Create client
CertificateManagerClient certificateManagerClient = await CertificateManagerClient.CreateAsync();
// Initialize request argument(s)
LocationName parent = LocationName.FromProjectLocation("[PROJECT]", "[LOCATION]");
CertificateMap certificateMap = new CertificateMap();
string certificateMapId = "";
// Make the request
Operation<CertificateMap, OperationMetadata> response = await certificateManagerClient.CreateCertificateMapAsync(parent, certificateMap, certificateMapId);

// Poll until the returned long-running operation is complete
Operation<CertificateMap, OperationMetadata> completedResponse = await response.PollUntilCompletedAsync();
// Retrieve the operation result
CertificateMap result = completedResponse.Result;

// Or get the name of the operation
string operationName = response.Name;
// This name can be stored, then the long-running operation retrieved later by name
Operation<CertificateMap, OperationMetadata> retrievedResponse = await certificateManagerClient.PollOnceCreateCertificateMapAsync(operationName);
// Check if the retrieved long-running operation has completed
if (retrievedResponse.IsCompleted)
{
    // If it has completed, then access the result
    CertificateMap retrievedResult = retrievedResponse.Result;
}

CreateCertificateMapAsync(CreateCertificateMapRequest, CallSettings)

public virtual Task<Operation<CertificateMap, OperationMetadata>> CreateCertificateMapAsync(CreateCertificateMapRequest request, CallSettings callSettings = null)

Creates a new CertificateMap in a given project and location.

Parameters
NameDescription
requestCreateCertificateMapRequest

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

callSettingsCallSettings

If not null, applies overrides to this RPC call.

Returns
TypeDescription
TaskOperationCertificateMapOperationMetadata

A Task containing the RPC response.

Example
// Create client
CertificateManagerClient certificateManagerClient = await CertificateManagerClient.CreateAsync();
// Initialize request argument(s)
CreateCertificateMapRequest request = new CreateCertificateMapRequest
{
    ParentAsLocationName = LocationName.FromProjectLocation("[PROJECT]", "[LOCATION]"),
    CertificateMapId = "",
    CertificateMap = new CertificateMap(),
};
// Make the request
Operation<CertificateMap, OperationMetadata> response = await certificateManagerClient.CreateCertificateMapAsync(request);

// Poll until the returned long-running operation is complete
Operation<CertificateMap, OperationMetadata> completedResponse = await response.PollUntilCompletedAsync();
// Retrieve the operation result
CertificateMap result = completedResponse.Result;

// Or get the name of the operation
string operationName = response.Name;
// This name can be stored, then the long-running operation retrieved later by name
Operation<CertificateMap, OperationMetadata> retrievedResponse = await certificateManagerClient.PollOnceCreateCertificateMapAsync(operationName);
// Check if the retrieved long-running operation has completed
if (retrievedResponse.IsCompleted)
{
    // If it has completed, then access the result
    CertificateMap retrievedResult = retrievedResponse.Result;
}

CreateCertificateMapAsync(CreateCertificateMapRequest, CancellationToken)

public virtual Task<Operation<CertificateMap, OperationMetadata>> CreateCertificateMapAsync(CreateCertificateMapRequest request, CancellationToken cancellationToken)

Creates a new CertificateMap in a given project and location.

Parameters
NameDescription
requestCreateCertificateMapRequest

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

cancellationTokenCancellationToken

A CancellationToken to use for this RPC.

Returns
TypeDescription
TaskOperationCertificateMapOperationMetadata

A Task containing the RPC response.

Example
// Create client
CertificateManagerClient certificateManagerClient = await CertificateManagerClient.CreateAsync();
// Initialize request argument(s)
CreateCertificateMapRequest request = new CreateCertificateMapRequest
{
    ParentAsLocationName = LocationName.FromProjectLocation("[PROJECT]", "[LOCATION]"),
    CertificateMapId = "",
    CertificateMap = new CertificateMap(),
};
// Make the request
Operation<CertificateMap, OperationMetadata> response = await certificateManagerClient.CreateCertificateMapAsync(request);

// Poll until the returned long-running operation is complete
Operation<CertificateMap, OperationMetadata> completedResponse = await response.PollUntilCompletedAsync();
// Retrieve the operation result
CertificateMap result = completedResponse.Result;

// Or get the name of the operation
string operationName = response.Name;
// This name can be stored, then the long-running operation retrieved later by name
Operation<CertificateMap, OperationMetadata> retrievedResponse = await certificateManagerClient.PollOnceCreateCertificateMapAsync(operationName);
// Check if the retrieved long-running operation has completed
if (retrievedResponse.IsCompleted)
{
    // If it has completed, then access the result
    CertificateMap retrievedResult = retrievedResponse.Result;
}

CreateCertificateMapAsync(string, CertificateMap, string, CallSettings)

public virtual Task<Operation<CertificateMap, OperationMetadata>> CreateCertificateMapAsync(string parent, CertificateMap certificateMap, string certificateMapId, CallSettings callSettings = null)

Creates a new CertificateMap in a given project and location.

Parameters
NameDescription
parentstring

Required. The parent resource of the certificate map. Must be in the format projects/*/locations/*.

certificateMapCertificateMap

Required. A definition of the certificate map to create.

certificateMapIdstring

Required. A user-provided name of the certificate map.

callSettingsCallSettings

If not null, applies overrides to this RPC call.

Returns
TypeDescription
TaskOperationCertificateMapOperationMetadata

A Task containing the RPC response.

Example
// Create client
CertificateManagerClient certificateManagerClient = await CertificateManagerClient.CreateAsync();
// Initialize request argument(s)
string parent = "projects/[PROJECT]/locations/[LOCATION]";
CertificateMap certificateMap = new CertificateMap();
string certificateMapId = "";
// Make the request
Operation<CertificateMap, OperationMetadata> response = await certificateManagerClient.CreateCertificateMapAsync(parent, certificateMap, certificateMapId);

// Poll until the returned long-running operation is complete
Operation<CertificateMap, OperationMetadata> completedResponse = await response.PollUntilCompletedAsync();
// Retrieve the operation result
CertificateMap result = completedResponse.Result;

// Or get the name of the operation
string operationName = response.Name;
// This name can be stored, then the long-running operation retrieved later by name
Operation<CertificateMap, OperationMetadata> retrievedResponse = await certificateManagerClient.PollOnceCreateCertificateMapAsync(operationName);
// Check if the retrieved long-running operation has completed
if (retrievedResponse.IsCompleted)
{
    // If it has completed, then access the result
    CertificateMap retrievedResult = retrievedResponse.Result;
}

CreateCertificateMapAsync(string, CertificateMap, string, CancellationToken)

public virtual Task<Operation<CertificateMap, OperationMetadata>> CreateCertificateMapAsync(string parent, CertificateMap certificateMap, string certificateMapId, CancellationToken cancellationToken)

Creates a new CertificateMap in a given project and location.

Parameters
NameDescription
parentstring

Required. The parent resource of the certificate map. Must be in the format projects/*/locations/*.

certificateMapCertificateMap

Required. A definition of the certificate map to create.

certificateMapIdstring

Required. A user-provided name of the certificate map.

cancellationTokenCancellationToken

A CancellationToken to use for this RPC.

Returns
TypeDescription
TaskOperationCertificateMapOperationMetadata

A Task containing the RPC response.

Example
// Create client
CertificateManagerClient certificateManagerClient = await CertificateManagerClient.CreateAsync();
// Initialize request argument(s)
string parent = "projects/[PROJECT]/locations/[LOCATION]";
CertificateMap certificateMap = new CertificateMap();
string certificateMapId = "";
// Make the request
Operation<CertificateMap, OperationMetadata> response = await certificateManagerClient.CreateCertificateMapAsync(parent, certificateMap, certificateMapId);

// Poll until the returned long-running operation is complete
Operation<CertificateMap, OperationMetadata> completedResponse = await response.PollUntilCompletedAsync();
// Retrieve the operation result
CertificateMap result = completedResponse.Result;

// Or get the name of the operation
string operationName = response.Name;
// This name can be stored, then the long-running operation retrieved later by name
Operation<CertificateMap, OperationMetadata> retrievedResponse = await certificateManagerClient.PollOnceCreateCertificateMapAsync(operationName);
// Check if the retrieved long-running operation has completed
if (retrievedResponse.IsCompleted)
{
    // If it has completed, then access the result
    CertificateMap retrievedResult = retrievedResponse.Result;
}

CreateCertificateMapEntry(CertificateMapName, CertificateMapEntry, string, CallSettings)

public virtual Operation<CertificateMapEntry, OperationMetadata> CreateCertificateMapEntry(CertificateMapName parent, CertificateMapEntry certificateMapEntry, string certificateMapEntryId, CallSettings callSettings = null)

Creates a new CertificateMapEntry in a given project and location.

Parameters
NameDescription
parentCertificateMapName

Required. The parent resource of the certificate map entry. Must be in the format projects/*/locations/*/certificateMaps/*.

certificateMapEntryCertificateMapEntry

Required. A definition of the certificate map entry to create.

certificateMapEntryIdstring

Required. A user-provided name of the certificate map entry.

callSettingsCallSettings

If not null, applies overrides to this RPC call.

Returns
TypeDescription
OperationCertificateMapEntryOperationMetadata

The RPC response.

Example
// Create client
CertificateManagerClient certificateManagerClient = CertificateManagerClient.Create();
// Initialize request argument(s)
CertificateMapName parent = CertificateMapName.FromProjectLocationCertificateMap("[PROJECT]", "[LOCATION]", "[CERTIFICATE_MAP]");
CertificateMapEntry certificateMapEntry = new CertificateMapEntry();
string certificateMapEntryId = "";
// Make the request
Operation<CertificateMapEntry, OperationMetadata> response = certificateManagerClient.CreateCertificateMapEntry(parent, certificateMapEntry, certificateMapEntryId);

// Poll until the returned long-running operation is complete
Operation<CertificateMapEntry, OperationMetadata> completedResponse = response.PollUntilCompleted();
// Retrieve the operation result
CertificateMapEntry result = completedResponse.Result;

// Or get the name of the operation
string operationName = response.Name;
// This name can be stored, then the long-running operation retrieved later by name
Operation<CertificateMapEntry, OperationMetadata> retrievedResponse = certificateManagerClient.PollOnceCreateCertificateMapEntry(operationName);
// Check if the retrieved long-running operation has completed
if (retrievedResponse.IsCompleted)
{
    // If it has completed, then access the result
    CertificateMapEntry retrievedResult = retrievedResponse.Result;
}

CreateCertificateMapEntry(CreateCertificateMapEntryRequest, CallSettings)

public virtual Operation<CertificateMapEntry, OperationMetadata> CreateCertificateMapEntry(CreateCertificateMapEntryRequest request, CallSettings callSettings = null)

Creates a new CertificateMapEntry in a given project and location.

Parameters
NameDescription
requestCreateCertificateMapEntryRequest

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

callSettingsCallSettings

If not null, applies overrides to this RPC call.

Returns
TypeDescription
OperationCertificateMapEntryOperationMetadata

The RPC response.

Example
// Create client
CertificateManagerClient certificateManagerClient = CertificateManagerClient.Create();
// Initialize request argument(s)
CreateCertificateMapEntryRequest request = new CreateCertificateMapEntryRequest
{
    ParentAsCertificateMapName = CertificateMapName.FromProjectLocationCertificateMap("[PROJECT]", "[LOCATION]", "[CERTIFICATE_MAP]"),
    CertificateMapEntryId = "",
    CertificateMapEntry = new CertificateMapEntry(),
};
// Make the request
Operation<CertificateMapEntry, OperationMetadata> response = certificateManagerClient.CreateCertificateMapEntry(request);

// Poll until the returned long-running operation is complete
Operation<CertificateMapEntry, OperationMetadata> completedResponse = response.PollUntilCompleted();
// Retrieve the operation result
CertificateMapEntry result = completedResponse.Result;

// Or get the name of the operation
string operationName = response.Name;
// This name can be stored, then the long-running operation retrieved later by name
Operation<CertificateMapEntry, OperationMetadata> retrievedResponse = certificateManagerClient.PollOnceCreateCertificateMapEntry(operationName);
// Check if the retrieved long-running operation has completed
if (retrievedResponse.IsCompleted)
{
    // If it has completed, then access the result
    CertificateMapEntry retrievedResult = retrievedResponse.Result;
}

CreateCertificateMapEntry(string, CertificateMapEntry, string, CallSettings)

public virtual Operation<CertificateMapEntry, OperationMetadata> CreateCertificateMapEntry(string parent, CertificateMapEntry certificateMapEntry, string certificateMapEntryId, CallSettings callSettings = null)

Creates a new CertificateMapEntry in a given project and location.

Parameters
NameDescription
parentstring

Required. The parent resource of the certificate map entry. Must be in the format projects/*/locations/*/certificateMaps/*.

certificateMapEntryCertificateMapEntry

Required. A definition of the certificate map entry to create.

certificateMapEntryIdstring

Required. A user-provided name of the certificate map entry.

callSettingsCallSettings

If not null, applies overrides to this RPC call.

Returns
TypeDescription
OperationCertificateMapEntryOperationMetadata

The RPC response.

Example
// Create client
CertificateManagerClient certificateManagerClient = CertificateManagerClient.Create();
// Initialize request argument(s)
string parent = "projects/[PROJECT]/locations/[LOCATION]/certificateMaps/[CERTIFICATE_MAP]";
CertificateMapEntry certificateMapEntry = new CertificateMapEntry();
string certificateMapEntryId = "";
// Make the request
Operation<CertificateMapEntry, OperationMetadata> response = certificateManagerClient.CreateCertificateMapEntry(parent, certificateMapEntry, certificateMapEntryId);

// Poll until the returned long-running operation is complete
Operation<CertificateMapEntry, OperationMetadata> completedResponse = response.PollUntilCompleted();
// Retrieve the operation result
CertificateMapEntry result = completedResponse.Result;

// Or get the name of the operation
string operationName = response.Name;
// This name can be stored, then the long-running operation retrieved later by name
Operation<CertificateMapEntry, OperationMetadata> retrievedResponse = certificateManagerClient.PollOnceCreateCertificateMapEntry(operationName);
// Check if the retrieved long-running operation has completed
if (retrievedResponse.IsCompleted)
{
    // If it has completed, then access the result
    CertificateMapEntry retrievedResult = retrievedResponse.Result;
}

CreateCertificateMapEntryAsync(CertificateMapName, CertificateMapEntry, string, CallSettings)

public virtual Task<Operation<CertificateMapEntry, OperationMetadata>> CreateCertificateMapEntryAsync(CertificateMapName parent, CertificateMapEntry certificateMapEntry, string certificateMapEntryId, CallSettings callSettings = null)

Creates a new CertificateMapEntry in a given project and location.

Parameters
NameDescription
parentCertificateMapName

Required. The parent resource of the certificate map entry. Must be in the format projects/*/locations/*/certificateMaps/*.

certificateMapEntryCertificateMapEntry

Required. A definition of the certificate map entry to create.

certificateMapEntryIdstring

Required. A user-provided name of the certificate map entry.

callSettingsCallSettings

If not null, applies overrides to this RPC call.

Returns
TypeDescription
TaskOperationCertificateMapEntryOperationMetadata

A Task containing the RPC response.

Example
// Create client
CertificateManagerClient certificateManagerClient = await CertificateManagerClient.CreateAsync();
// Initialize request argument(s)
CertificateMapName parent = CertificateMapName.FromProjectLocationCertificateMap("[PROJECT]", "[LOCATION]", "[CERTIFICATE_MAP]");
CertificateMapEntry certificateMapEntry = new CertificateMapEntry();
string certificateMapEntryId = "";
// Make the request
Operation<CertificateMapEntry, OperationMetadata> response = await certificateManagerClient.CreateCertificateMapEntryAsync(parent, certificateMapEntry, certificateMapEntryId);

// Poll until the returned long-running operation is complete
Operation<CertificateMapEntry, OperationMetadata> completedResponse = await response.PollUntilCompletedAsync();
// Retrieve the operation result
CertificateMapEntry result = completedResponse.Result;

// Or get the name of the operation
string operationName = response.Name;
// This name can be stored, then the long-running operation retrieved later by name
Operation<CertificateMapEntry, OperationMetadata> retrievedResponse = await certificateManagerClient.PollOnceCreateCertificateMapEntryAsync(operationName);
// Check if the retrieved long-running operation has completed
if (retrievedResponse.IsCompleted)
{
    // If it has completed, then access the result
    CertificateMapEntry retrievedResult = retrievedResponse.Result;
}

CreateCertificateMapEntryAsync(CertificateMapName, CertificateMapEntry, string, CancellationToken)

public virtual Task<Operation<CertificateMapEntry, OperationMetadata>> CreateCertificateMapEntryAsync(CertificateMapName parent, CertificateMapEntry certificateMapEntry, string certificateMapEntryId, CancellationToken cancellationToken)

Creates a new CertificateMapEntry in a given project and location.

Parameters
NameDescription
parentCertificateMapName

Required. The parent resource of the certificate map entry. Must be in the format projects/*/locations/*/certificateMaps/*.

certificateMapEntryCertificateMapEntry

Required. A definition of the certificate map entry to create.

certificateMapEntryIdstring

Required. A user-provided name of the certificate map entry.

cancellationTokenCancellationToken

A CancellationToken to use for this RPC.

Returns
TypeDescription
TaskOperationCertificateMapEntryOperationMetadata

A Task containing the RPC response.

Example
// Create client
CertificateManagerClient certificateManagerClient = await CertificateManagerClient.CreateAsync();
// Initialize request argument(s)
CertificateMapName parent = CertificateMapName.FromProjectLocationCertificateMap("[PROJECT]", "[LOCATION]", "[CERTIFICATE_MAP]");
CertificateMapEntry certificateMapEntry = new CertificateMapEntry();
string certificateMapEntryId = "";
// Make the request
Operation<CertificateMapEntry, OperationMetadata> response = await certificateManagerClient.CreateCertificateMapEntryAsync(parent, certificateMapEntry, certificateMapEntryId);

// Poll until the returned long-running operation is complete
Operation<CertificateMapEntry, OperationMetadata> completedResponse = await response.PollUntilCompletedAsync();
// Retrieve the operation result
CertificateMapEntry result = completedResponse.Result;

// Or get the name of the operation
string operationName = response.Name;
// This name can be stored, then the long-running operation retrieved later by name
Operation<CertificateMapEntry, OperationMetadata> retrievedResponse = await certificateManagerClient.PollOnceCreateCertificateMapEntryAsync(operationName);
// Check if the retrieved long-running operation has completed
if (retrievedResponse.IsCompleted)
{
    // If it has completed, then access the result
    CertificateMapEntry retrievedResult = retrievedResponse.Result;
}

CreateCertificateMapEntryAsync(CreateCertificateMapEntryRequest, CallSettings)

public virtual Task<Operation<CertificateMapEntry, OperationMetadata>> CreateCertificateMapEntryAsync(CreateCertificateMapEntryRequest request, CallSettings callSettings = null)

Creates a new CertificateMapEntry in a given project and location.

Parameters
NameDescription
requestCreateCertificateMapEntryRequest

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

callSettingsCallSettings

If not null, applies overrides to this RPC call.

Returns
TypeDescription
TaskOperationCertificateMapEntryOperationMetadata

A Task containing the RPC response.

Example
// Create client
CertificateManagerClient certificateManagerClient = await CertificateManagerClient.CreateAsync();
// Initialize request argument(s)
CreateCertificateMapEntryRequest request = new CreateCertificateMapEntryRequest
{
    ParentAsCertificateMapName = CertificateMapName.FromProjectLocationCertificateMap("[PROJECT]", "[LOCATION]", "[CERTIFICATE_MAP]"),
    CertificateMapEntryId = "",
    CertificateMapEntry = new CertificateMapEntry(),
};
// Make the request
Operation<CertificateMapEntry, OperationMetadata> response = await certificateManagerClient.CreateCertificateMapEntryAsync(request);

// Poll until the returned long-running operation is complete
Operation<CertificateMapEntry, OperationMetadata> completedResponse = await response.PollUntilCompletedAsync();
// Retrieve the operation result
CertificateMapEntry result = completedResponse.Result;

// Or get the name of the operation
string operationName = response.Name;
// This name can be stored, then the long-running operation retrieved later by name
Operation<CertificateMapEntry, OperationMetadata> retrievedResponse = await certificateManagerClient.PollOnceCreateCertificateMapEntryAsync(operationName);
// Check if the retrieved long-running operation has completed
if (retrievedResponse.IsCompleted)
{
    // If it has completed, then access the result
    CertificateMapEntry retrievedResult = retrievedResponse.Result;
}

CreateCertificateMapEntryAsync(CreateCertificateMapEntryRequest, CancellationToken)

public virtual Task<Operation<CertificateMapEntry, OperationMetadata>> CreateCertificateMapEntryAsync(CreateCertificateMapEntryRequest request, CancellationToken cancellationToken)

Creates a new CertificateMapEntry in a given project and location.

Parameters
NameDescription
requestCreateCertificateMapEntryRequest

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

cancellationTokenCancellationToken

A CancellationToken to use for this RPC.

Returns
TypeDescription
TaskOperationCertificateMapEntryOperationMetadata

A Task containing the RPC response.

Example
// Create client
CertificateManagerClient certificateManagerClient = await CertificateManagerClient.CreateAsync();
// Initialize request argument(s)
CreateCertificateMapEntryRequest request = new CreateCertificateMapEntryRequest
{
    ParentAsCertificateMapName = CertificateMapName.FromProjectLocationCertificateMap("[PROJECT]", "[LOCATION]", "[CERTIFICATE_MAP]"),
    CertificateMapEntryId = "",
    CertificateMapEntry = new CertificateMapEntry(),
};
// Make the request
Operation<CertificateMapEntry, OperationMetadata> response = await certificateManagerClient.CreateCertificateMapEntryAsync(request);

// Poll until the returned long-running operation is complete
Operation<CertificateMapEntry, OperationMetadata> completedResponse = await response.PollUntilCompletedAsync();
// Retrieve the operation result
CertificateMapEntry result = completedResponse.Result;

// Or get the name of the operation
string operationName = response.Name;
// This name can be stored, then the long-running operation retrieved later by name
Operation<CertificateMapEntry, OperationMetadata> retrievedResponse = await certificateManagerClient.PollOnceCreateCertificateMapEntryAsync(operationName);
// Check if the retrieved long-running operation has completed
if (retrievedResponse.IsCompleted)
{
    // If it has completed, then access the result
    CertificateMapEntry retrievedResult = retrievedResponse.Result;
}

CreateCertificateMapEntryAsync(string, CertificateMapEntry, string, CallSettings)

public virtual Task<Operation<CertificateMapEntry, OperationMetadata>> CreateCertificateMapEntryAsync(string parent, CertificateMapEntry certificateMapEntry, string certificateMapEntryId, CallSettings callSettings = null)

Creates a new CertificateMapEntry in a given project and location.

Parameters
NameDescription
parentstring

Required. The parent resource of the certificate map entry. Must be in the format projects/*/locations/*/certificateMaps/*.

certificateMapEntryCertificateMapEntry

Required. A definition of the certificate map entry to create.

certificateMapEntryIdstring

Required. A user-provided name of the certificate map entry.

callSettingsCallSettings

If not null, applies overrides to this RPC call.

Returns
TypeDescription
TaskOperationCertificateMapEntryOperationMetadata

A Task containing the RPC response.

Example
// Create client
CertificateManagerClient certificateManagerClient = await CertificateManagerClient.CreateAsync();
// Initialize request argument(s)
string parent = "projects/[PROJECT]/locations/[LOCATION]/certificateMaps/[CERTIFICATE_MAP]";
CertificateMapEntry certificateMapEntry = new CertificateMapEntry();
string certificateMapEntryId = "";
// Make the request
Operation<CertificateMapEntry, OperationMetadata> response = await certificateManagerClient.CreateCertificateMapEntryAsync(parent, certificateMapEntry, certificateMapEntryId);

// Poll until the returned long-running operation is complete
Operation<CertificateMapEntry, OperationMetadata> completedResponse = await response.PollUntilCompletedAsync();
// Retrieve the operation result
CertificateMapEntry result = completedResponse.Result;

// Or get the name of the operation
string operationName = response.Name;
// This name can be stored, then the long-running operation retrieved later by name
Operation<CertificateMapEntry, OperationMetadata> retrievedResponse = await certificateManagerClient.PollOnceCreateCertificateMapEntryAsync(operationName);
// Check if the retrieved long-running operation has completed
if (retrievedResponse.IsCompleted)
{
    // If it has completed, then access the result
    CertificateMapEntry retrievedResult = retrievedResponse.Result;
}

CreateCertificateMapEntryAsync(string, CertificateMapEntry, string, CancellationToken)

public virtual Task<Operation<CertificateMapEntry, OperationMetadata>> CreateCertificateMapEntryAsync(string parent, CertificateMapEntry certificateMapEntry, string certificateMapEntryId, CancellationToken cancellationToken)

Creates a new CertificateMapEntry in a given project and location.

Parameters
NameDescription
parentstring

Required. The parent resource of the certificate map entry. Must be in the format projects/*/locations/*/certificateMaps/*.

certificateMapEntryCertificateMapEntry

Required. A definition of the certificate map entry to create.

certificateMapEntryIdstring

Required. A user-provided name of the certificate map entry.

cancellationTokenCancellationToken

A CancellationToken to use for this RPC.

Returns
TypeDescription
TaskOperationCertificateMapEntryOperationMetadata

A Task containing the RPC response.

Example
// Create client
CertificateManagerClient certificateManagerClient = await CertificateManagerClient.CreateAsync();
// Initialize request argument(s)
string parent = "projects/[PROJECT]/locations/[LOCATION]/certificateMaps/[CERTIFICATE_MAP]";
CertificateMapEntry certificateMapEntry = new CertificateMapEntry();
string certificateMapEntryId = "";
// Make the request
Operation<CertificateMapEntry, OperationMetadata> response = await certificateManagerClient.CreateCertificateMapEntryAsync(parent, certificateMapEntry, certificateMapEntryId);

// Poll until the returned long-running operation is complete
Operation<CertificateMapEntry, OperationMetadata> completedResponse = await response.PollUntilCompletedAsync();
// Retrieve the operation result
CertificateMapEntry result = completedResponse.Result;

// Or get the name of the operation
string operationName = response.Name;
// This name can be stored, then the long-running operation retrieved later by name
Operation<CertificateMapEntry, OperationMetadata> retrievedResponse = await certificateManagerClient.PollOnceCreateCertificateMapEntryAsync(operationName);
// Check if the retrieved long-running operation has completed
if (retrievedResponse.IsCompleted)
{
    // If it has completed, then access the result
    CertificateMapEntry retrievedResult = retrievedResponse.Result;
}

CreateDnsAuthorization(LocationName, DnsAuthorization, string, CallSettings)

public virtual Operation<DnsAuthorization, OperationMetadata> CreateDnsAuthorization(LocationName parent, DnsAuthorization dnsAuthorization, string dnsAuthorizationId, CallSettings callSettings = null)

Creates a new DnsAuthorization in a given project and location.

Parameters
NameDescription
parentLocationName

Required. The parent resource of the dns authorization. Must be in the format projects/*/locations/*.

dnsAuthorizationDnsAuthorization

Required. A definition of the dns authorization to create.

dnsAuthorizationIdstring

Required. A user-provided name of the dns authorization.

callSettingsCallSettings

If not null, applies overrides to this RPC call.

Returns
TypeDescription
OperationDnsAuthorizationOperationMetadata

The RPC response.

Example
// Create client
CertificateManagerClient certificateManagerClient = CertificateManagerClient.Create();
// Initialize request argument(s)
LocationName parent = LocationName.FromProjectLocation("[PROJECT]", "[LOCATION]");
DnsAuthorization dnsAuthorization = new DnsAuthorization();
string dnsAuthorizationId = "";
// Make the request
Operation<DnsAuthorization, OperationMetadata> response = certificateManagerClient.CreateDnsAuthorization(parent, dnsAuthorization, dnsAuthorizationId);

// Poll until the returned long-running operation is complete
Operation<DnsAuthorization, OperationMetadata> completedResponse = response.PollUntilCompleted();
// Retrieve the operation result
DnsAuthorization result = completedResponse.Result;

// Or get the name of the operation
string operationName = response.Name;
// This name can be stored, then the long-running operation retrieved later by name
Operation<DnsAuthorization, OperationMetadata> retrievedResponse = certificateManagerClient.PollOnceCreateDnsAuthorization(operationName);
// Check if the retrieved long-running operation has completed
if (retrievedResponse.IsCompleted)
{
    // If it has completed, then access the result
    DnsAuthorization retrievedResult = retrievedResponse.Result;
}

CreateDnsAuthorization(CreateDnsAuthorizationRequest, CallSettings)

public virtual Operation<DnsAuthorization, OperationMetadata> CreateDnsAuthorization(CreateDnsAuthorizationRequest request, CallSettings callSettings = null)

Creates a new DnsAuthorization in a given project and location.

Parameters
NameDescription
requestCreateDnsAuthorizationRequest

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

callSettingsCallSettings

If not null, applies overrides to this RPC call.

Returns
TypeDescription
OperationDnsAuthorizationOperationMetadata

The RPC response.

Example
// Create client
CertificateManagerClient certificateManagerClient = CertificateManagerClient.Create();
// Initialize request argument(s)
CreateDnsAuthorizationRequest request = new CreateDnsAuthorizationRequest
{
    ParentAsLocationName = LocationName.FromProjectLocation("[PROJECT]", "[LOCATION]"),
    DnsAuthorizationId = "",
    DnsAuthorization = new DnsAuthorization(),
};
// Make the request
Operation<DnsAuthorization, OperationMetadata> response = certificateManagerClient.CreateDnsAuthorization(request);

// Poll until the returned long-running operation is complete
Operation<DnsAuthorization, OperationMetadata> completedResponse = response.PollUntilCompleted();
// Retrieve the operation result
DnsAuthorization result = completedResponse.Result;

// Or get the name of the operation
string operationName = response.Name;
// This name can be stored, then the long-running operation retrieved later by name
Operation<DnsAuthorization, OperationMetadata> retrievedResponse = certificateManagerClient.PollOnceCreateDnsAuthorization(operationName);
// Check if the retrieved long-running operation has completed
if (retrievedResponse.IsCompleted)
{
    // If it has completed, then access the result
    DnsAuthorization retrievedResult = retrievedResponse.Result;
}

CreateDnsAuthorization(string, DnsAuthorization, string, CallSettings)

public virtual Operation<DnsAuthorization, OperationMetadata> CreateDnsAuthorization(string parent, DnsAuthorization dnsAuthorization, string dnsAuthorizationId, CallSettings callSettings = null)

Creates a new DnsAuthorization in a given project and location.

Parameters
NameDescription
parentstring

Required. The parent resource of the dns authorization. Must be in the format projects/*/locations/*.

dnsAuthorizationDnsAuthorization

Required. A definition of the dns authorization to create.

dnsAuthorizationIdstring

Required. A user-provided name of the dns authorization.

callSettingsCallSettings

If not null, applies overrides to this RPC call.

Returns
TypeDescription
OperationDnsAuthorizationOperationMetadata

The RPC response.

Example
// Create client
CertificateManagerClient certificateManagerClient = CertificateManagerClient.Create();
// Initialize request argument(s)
string parent = "projects/[PROJECT]/locations/[LOCATION]";
DnsAuthorization dnsAuthorization = new DnsAuthorization();
string dnsAuthorizationId = "";
// Make the request
Operation<DnsAuthorization, OperationMetadata> response = certificateManagerClient.CreateDnsAuthorization(parent, dnsAuthorization, dnsAuthorizationId);

// Poll until the returned long-running operation is complete
Operation<DnsAuthorization, OperationMetadata> completedResponse = response.PollUntilCompleted();
// Retrieve the operation result
DnsAuthorization result = completedResponse.Result;

// Or get the name of the operation
string operationName = response.Name;
// This name can be stored, then the long-running operation retrieved later by name
Operation<DnsAuthorization, OperationMetadata> retrievedResponse = certificateManagerClient.PollOnceCreateDnsAuthorization(operationName);
// Check if the retrieved long-running operation has completed
if (retrievedResponse.IsCompleted)
{
    // If it has completed, then access the result
    DnsAuthorization retrievedResult = retrievedResponse.Result;
}

CreateDnsAuthorizationAsync(LocationName, DnsAuthorization, string, CallSettings)

public virtual Task<Operation<DnsAuthorization, OperationMetadata>> CreateDnsAuthorizationAsync(LocationName parent, DnsAuthorization dnsAuthorization, string dnsAuthorizationId, CallSettings callSettings = null)

Creates a new DnsAuthorization in a given project and location.

Parameters
NameDescription
parentLocationName

Required. The parent resource of the dns authorization. Must be in the format projects/*/locations/*.

dnsAuthorizationDnsAuthorization

Required. A definition of the dns authorization to create.

dnsAuthorizationIdstring

Required. A user-provided name of the dns authorization.

callSettingsCallSettings

If not null, applies overrides to this RPC call.

Returns
TypeDescription
TaskOperationDnsAuthorizationOperationMetadata

A Task containing the RPC response.

Example
// Create client
CertificateManagerClient certificateManagerClient = await CertificateManagerClient.CreateAsync();
// Initialize request argument(s)
LocationName parent = LocationName.FromProjectLocation("[PROJECT]", "[LOCATION]");
DnsAuthorization dnsAuthorization = new DnsAuthorization();
string dnsAuthorizationId = "";
// Make the request
Operation<DnsAuthorization, OperationMetadata> response = await certificateManagerClient.CreateDnsAuthorizationAsync(parent, dnsAuthorization, dnsAuthorizationId);

// Poll until the returned long-running operation is complete
Operation<DnsAuthorization, OperationMetadata> completedResponse = await response.PollUntilCompletedAsync();
// Retrieve the operation result
DnsAuthorization result = completedResponse.Result;

// Or get the name of the operation
string operationName = response.Name;
// This name can be stored, then the long-running operation retrieved later by name
Operation<DnsAuthorization, OperationMetadata> retrievedResponse = await certificateManagerClient.PollOnceCreateDnsAuthorizationAsync(operationName);
// Check if the retrieved long-running operation has completed
if (retrievedResponse.IsCompleted)
{
    // If it has completed, then access the result
    DnsAuthorization retrievedResult = retrievedResponse.Result;
}

CreateDnsAuthorizationAsync(LocationName, DnsAuthorization, string, CancellationToken)

public virtual Task<Operation<DnsAuthorization, OperationMetadata>> CreateDnsAuthorizationAsync(LocationName parent, DnsAuthorization dnsAuthorization, string dnsAuthorizationId, CancellationToken cancellationToken)

Creates a new DnsAuthorization in a given project and location.

Parameters
NameDescription
parentLocationName

Required. The parent resource of the dns authorization. Must be in the format projects/*/locations/*.

dnsAuthorizationDnsAuthorization

Required. A definition of the dns authorization to create.

dnsAuthorizationIdstring

Required. A user-provided name of the dns authorization.

cancellationTokenCancellationToken

A CancellationToken to use for this RPC.

Returns
TypeDescription
TaskOperationDnsAuthorizationOperationMetadata

A Task containing the RPC response.

Example
// Create client
CertificateManagerClient certificateManagerClient = await CertificateManagerClient.CreateAsync();
// Initialize request argument(s)
LocationName parent = LocationName.FromProjectLocation("[PROJECT]", "[LOCATION]");
DnsAuthorization dnsAuthorization = new DnsAuthorization();
string dnsAuthorizationId = "";
// Make the request
Operation<DnsAuthorization, OperationMetadata> response = await certificateManagerClient.CreateDnsAuthorizationAsync(parent, dnsAuthorization, dnsAuthorizationId);

// Poll until the returned long-running operation is complete
Operation<DnsAuthorization, OperationMetadata> completedResponse = await response.PollUntilCompletedAsync();
// Retrieve the operation result
DnsAuthorization result = completedResponse.Result;

// Or get the name of the operation
string operationName = response.Name;
// This name can be stored, then the long-running operation retrieved later by name
Operation<DnsAuthorization, OperationMetadata> retrievedResponse = await certificateManagerClient.PollOnceCreateDnsAuthorizationAsync(operationName);
// Check if the retrieved long-running operation has completed
if (retrievedResponse.IsCompleted)
{
    // If it has completed, then access the result
    DnsAuthorization retrievedResult = retrievedResponse.Result;
}

CreateDnsAuthorizationAsync(CreateDnsAuthorizationRequest, CallSettings)

public virtual Task<Operation<DnsAuthorization, OperationMetadata>> CreateDnsAuthorizationAsync(CreateDnsAuthorizationRequest request, CallSettings callSettings = null)

Creates a new DnsAuthorization in a given project and location.

Parameters
NameDescription
requestCreateDnsAuthorizationRequest

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

callSettingsCallSettings

If not null, applies overrides to this RPC call.

Returns
TypeDescription
TaskOperationDnsAuthorizationOperationMetadata

A Task containing the RPC response.

Example
// Create client
CertificateManagerClient certificateManagerClient = await CertificateManagerClient.CreateAsync();
// Initialize request argument(s)
CreateDnsAuthorizationRequest request = new CreateDnsAuthorizationRequest
{
    ParentAsLocationName = LocationName.FromProjectLocation("[PROJECT]", "[LOCATION]"),
    DnsAuthorizationId = "",
    DnsAuthorization = new DnsAuthorization(),
};
// Make the request
Operation<DnsAuthorization, OperationMetadata> response = await certificateManagerClient.CreateDnsAuthorizationAsync(request);

// Poll until the returned long-running operation is complete
Operation<DnsAuthorization, OperationMetadata> completedResponse = await response.PollUntilCompletedAsync();
// Retrieve the operation result
DnsAuthorization result = completedResponse.Result;

// Or get the name of the operation
string operationName = response.Name;
// This name can be stored, then the long-running operation retrieved later by name
Operation<DnsAuthorization, OperationMetadata> retrievedResponse = await certificateManagerClient.PollOnceCreateDnsAuthorizationAsync(operationName);
// Check if the retrieved long-running operation has completed
if (retrievedResponse.IsCompleted)
{
    // If it has completed, then access the result
    DnsAuthorization retrievedResult = retrievedResponse.Result;
}

CreateDnsAuthorizationAsync(CreateDnsAuthorizationRequest, CancellationToken)

public virtual Task<Operation<DnsAuthorization, OperationMetadata>> CreateDnsAuthorizationAsync(CreateDnsAuthorizationRequest request, CancellationToken cancellationToken)

Creates a new DnsAuthorization in a given project and location.

Parameters
NameDescription
requestCreateDnsAuthorizationRequest

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

cancellationTokenCancellationToken

A CancellationToken to use for this RPC.

Returns
TypeDescription
TaskOperationDnsAuthorizationOperationMetadata

A Task containing the RPC response.

Example
// Create client
CertificateManagerClient certificateManagerClient = await CertificateManagerClient.CreateAsync();
// Initialize request argument(s)
CreateDnsAuthorizationRequest request = new CreateDnsAuthorizationRequest
{
    ParentAsLocationName = LocationName.FromProjectLocation("[PROJECT]", "[LOCATION]"),
    DnsAuthorizationId = "",
    DnsAuthorization = new DnsAuthorization(),
};
// Make the request
Operation<DnsAuthorization, OperationMetadata> response = await certificateManagerClient.CreateDnsAuthorizationAsync(request);

// Poll until the returned long-running operation is complete
Operation<DnsAuthorization, OperationMetadata> completedResponse = await response.PollUntilCompletedAsync();
// Retrieve the operation result
DnsAuthorization result = completedResponse.Result;

// Or get the name of the operation
string operationName = response.Name;
// This name can be stored, then the long-running operation retrieved later by name
Operation<DnsAuthorization, OperationMetadata> retrievedResponse = await certificateManagerClient.PollOnceCreateDnsAuthorizationAsync(operationName);
// Check if the retrieved long-running operation has completed
if (retrievedResponse.IsCompleted)
{
    // If it has completed, then access the result
    DnsAuthorization retrievedResult = retrievedResponse.Result;
}

CreateDnsAuthorizationAsync(string, DnsAuthorization, string, CallSettings)

public virtual Task<Operation<DnsAuthorization, OperationMetadata>> CreateDnsAuthorizationAsync(string parent, DnsAuthorization dnsAuthorization, string dnsAuthorizationId, CallSettings callSettings = null)

Creates a new DnsAuthorization in a given project and location.

Parameters
NameDescription
parentstring

Required. The parent resource of the dns authorization. Must be in the format projects/*/locations/*.

dnsAuthorizationDnsAuthorization

Required. A definition of the dns authorization to create.

dnsAuthorizationIdstring

Required. A user-provided name of the dns authorization.

callSettingsCallSettings

If not null, applies overrides to this RPC call.

Returns
TypeDescription
TaskOperationDnsAuthorizationOperationMetadata

A Task containing the RPC response.

Example
// Create client
CertificateManagerClient certificateManagerClient = await CertificateManagerClient.CreateAsync();
// Initialize request argument(s)
string parent = "projects/[PROJECT]/locations/[LOCATION]";
DnsAuthorization dnsAuthorization = new DnsAuthorization();
string dnsAuthorizationId = "";
// Make the request
Operation<DnsAuthorization, OperationMetadata> response = await certificateManagerClient.CreateDnsAuthorizationAsync(parent, dnsAuthorization, dnsAuthorizationId);

// Poll until the returned long-running operation is complete
Operation<DnsAuthorization, OperationMetadata> completedResponse = await response.PollUntilCompletedAsync();
// Retrieve the operation result
DnsAuthorization result = completedResponse.Result;

// Or get the name of the operation
string operationName = response.Name;
// This name can be stored, then the long-running operation retrieved later by name
Operation<DnsAuthorization, OperationMetadata> retrievedResponse = await certificateManagerClient.PollOnceCreateDnsAuthorizationAsync(operationName);
// Check if the retrieved long-running operation has completed
if (retrievedResponse.IsCompleted)
{
    // If it has completed, then access the result
    DnsAuthorization retrievedResult = retrievedResponse.Result;
}

CreateDnsAuthorizationAsync(string, DnsAuthorization, string, CancellationToken)

public virtual Task<Operation<DnsAuthorization, OperationMetadata>> CreateDnsAuthorizationAsync(string parent, DnsAuthorization dnsAuthorization, string dnsAuthorizationId, CancellationToken cancellationToken)

Creates a new DnsAuthorization in a given project and location.

Parameters
NameDescription
parentstring

Required. The parent resource of the dns authorization. Must be in the format projects/*/locations/*.

dnsAuthorizationDnsAuthorization

Required. A definition of the dns authorization to create.

dnsAuthorizationIdstring

Required. A user-provided name of the dns authorization.

cancellationTokenCancellationToken

A CancellationToken to use for this RPC.

Returns
TypeDescription
TaskOperationDnsAuthorizationOperationMetadata

A Task containing the RPC response.

Example
// Create client
CertificateManagerClient certificateManagerClient = await CertificateManagerClient.CreateAsync();
// Initialize request argument(s)
string parent = "projects/[PROJECT]/locations/[LOCATION]";
DnsAuthorization dnsAuthorization = new DnsAuthorization();
string dnsAuthorizationId = "";
// Make the request
Operation<DnsAuthorization, OperationMetadata> response = await certificateManagerClient.CreateDnsAuthorizationAsync(parent, dnsAuthorization, dnsAuthorizationId);

// Poll until the returned long-running operation is complete
Operation<DnsAuthorization, OperationMetadata> completedResponse = await response.PollUntilCompletedAsync();
// Retrieve the operation result
DnsAuthorization result = completedResponse.Result;

// Or get the name of the operation
string operationName = response.Name;
// This name can be stored, then the long-running operation retrieved later by name
Operation<DnsAuthorization, OperationMetadata> retrievedResponse = await certificateManagerClient.PollOnceCreateDnsAuthorizationAsync(operationName);
// Check if the retrieved long-running operation has completed
if (retrievedResponse.IsCompleted)
{
    // If it has completed, then access the result
    DnsAuthorization retrievedResult = retrievedResponse.Result;
}

DeleteCertificate(CertificateName, CallSettings)

public virtual Operation<Empty, OperationMetadata> DeleteCertificate(CertificateName name, CallSettings callSettings = null)

Deletes a single Certificate.

Parameters
NameDescription
nameCertificateName

Required. A name of the certificate to delete. Must be in the format projects/*/locations/*/certificates/*.

callSettingsCallSettings

If not null, applies overrides to this RPC call.

Returns
TypeDescription
OperationEmptyOperationMetadata

The RPC response.

Example
// Create client
CertificateManagerClient certificateManagerClient = CertificateManagerClient.Create();
// Initialize request argument(s)
CertificateName name = CertificateName.FromProjectLocationCertificate("[PROJECT]", "[LOCATION]", "[CERTIFICATE]");
// Make the request
Operation<Empty, OperationMetadata> response = certificateManagerClient.DeleteCertificate(name);

// Poll until the returned long-running operation is complete
Operation<Empty, OperationMetadata> completedResponse = response.PollUntilCompleted();
// Retrieve the operation result
Empty result = completedResponse.Result;

// Or get the name of the operation
string operationName = response.Name;
// This name can be stored, then the long-running operation retrieved later by name
Operation<Empty, OperationMetadata> retrievedResponse = certificateManagerClient.PollOnceDeleteCertificate(operationName);
// Check if the retrieved long-running operation has completed
if (retrievedResponse.IsCompleted)
{
    // If it has completed, then access the result
    Empty retrievedResult = retrievedResponse.Result;
}

DeleteCertificate(DeleteCertificateRequest, CallSettings)

public virtual Operation<Empty, OperationMetadata> DeleteCertificate(DeleteCertificateRequest request, CallSettings callSettings = null)

Deletes a single Certificate.

Parameters
NameDescription
requestDeleteCertificateRequest

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

callSettingsCallSettings

If not null, applies overrides to this RPC call.

Returns
TypeDescription
OperationEmptyOperationMetadata

The RPC response.

Example
// Create client
CertificateManagerClient certificateManagerClient = CertificateManagerClient.Create();
// Initialize request argument(s)
DeleteCertificateRequest request = new DeleteCertificateRequest
{
    CertificateName = CertificateName.FromProjectLocationCertificate("[PROJECT]", "[LOCATION]", "[CERTIFICATE]"),
};
// Make the request
Operation<Empty, OperationMetadata> response = certificateManagerClient.DeleteCertificate(request);

// Poll until the returned long-running operation is complete
Operation<Empty, OperationMetadata> completedResponse = response.PollUntilCompleted();
// Retrieve the operation result
Empty result = completedResponse.Result;

// Or get the name of the operation
string operationName = response.Name;
// This name can be stored, then the long-running operation retrieved later by name
Operation<Empty, OperationMetadata> retrievedResponse = certificateManagerClient.PollOnceDeleteCertificate(operationName);
// Check if the retrieved long-running operation has completed
if (retrievedResponse.IsCompleted)
{
    // If it has completed, then access the result
    Empty retrievedResult = retrievedResponse.Result;
}

DeleteCertificate(string, CallSettings)

public virtual Operation<Empty, OperationMetadata> DeleteCertificate(string name, CallSettings callSettings = null)

Deletes a single Certificate.

Parameters
NameDescription
namestring

Required. A name of the certificate to delete. Must be in the format projects/*/locations/*/certificates/*.

callSettingsCallSettings

If not null, applies overrides to this RPC call.

Returns
TypeDescription
OperationEmptyOperationMetadata

The RPC response.

Example
// Create client
CertificateManagerClient certificateManagerClient = CertificateManagerClient.Create();
// Initialize request argument(s)
string name = "projects/[PROJECT]/locations/[LOCATION]/certificates/[CERTIFICATE]";
// Make the request
Operation<Empty, OperationMetadata> response = certificateManagerClient.DeleteCertificate(name);

// Poll until the returned long-running operation is complete
Operation<Empty, OperationMetadata> completedResponse = response.PollUntilCompleted();
// Retrieve the operation result
Empty result = completedResponse.Result;

// Or get the name of the operation
string operationName = response.Name;
// This name can be stored, then the long-running operation retrieved later by name
Operation<Empty, OperationMetadata> retrievedResponse = certificateManagerClient.PollOnceDeleteCertificate(operationName);
// Check if the retrieved long-running operation has completed
if (retrievedResponse.IsCompleted)
{
    // If it has completed, then access the result
    Empty retrievedResult = retrievedResponse.Result;
}

DeleteCertificateAsync(CertificateName, CallSettings)

public virtual Task<Operation<Empty, OperationMetadata>> DeleteCertificateAsync(CertificateName name, CallSettings callSettings = null)

Deletes a single Certificate.

Parameters
NameDescription
nameCertificateName

Required. A name of the certificate to delete. Must be in the format projects/*/locations/*/certificates/*.

callSettingsCallSettings

If not null, applies overrides to this RPC call.

Returns
TypeDescription
TaskOperationEmptyOperationMetadata

A Task containing the RPC response.

Example
// Create client
CertificateManagerClient certificateManagerClient = await CertificateManagerClient.CreateAsync();
// Initialize request argument(s)
CertificateName name = CertificateName.FromProjectLocationCertificate("[PROJECT]", "[LOCATION]", "[CERTIFICATE]");
// Make the request
Operation<Empty, OperationMetadata> response = await certificateManagerClient.DeleteCertificateAsync(name);

// Poll until the returned long-running operation is complete
Operation<Empty, OperationMetadata> completedResponse = await response.PollUntilCompletedAsync();
// Retrieve the operation result
Empty result = completedResponse.Result;

// Or get the name of the operation
string operationName = response.Name;
// This name can be stored, then the long-running operation retrieved later by name
Operation<Empty, OperationMetadata> retrievedResponse = await certificateManagerClient.PollOnceDeleteCertificateAsync(operationName);
// Check if the retrieved long-running operation has completed
if (retrievedResponse.IsCompleted)
{
    // If it has completed, then access the result
    Empty retrievedResult = retrievedResponse.Result;
}

DeleteCertificateAsync(CertificateName, CancellationToken)

public virtual Task<Operation<Empty, OperationMetadata>> DeleteCertificateAsync(CertificateName name, CancellationToken cancellationToken)

Deletes a single Certificate.

Parameters
NameDescription
nameCertificateName

Required. A name of the certificate to delete. Must be in the format projects/*/locations/*/certificates/*.

cancellationTokenCancellationToken

A CancellationToken to use for this RPC.

Returns
TypeDescription
TaskOperationEmptyOperationMetadata

A Task containing the RPC response.

Example
// Create client
CertificateManagerClient certificateManagerClient = await CertificateManagerClient.CreateAsync();
// Initialize request argument(s)
CertificateName name = CertificateName.FromProjectLocationCertificate("[PROJECT]", "[LOCATION]", "[CERTIFICATE]");
// Make the request
Operation<Empty, OperationMetadata> response = await certificateManagerClient.DeleteCertificateAsync(name);

// Poll until the returned long-running operation is complete
Operation<Empty, OperationMetadata> completedResponse = await response.PollUntilCompletedAsync();
// Retrieve the operation result
Empty result = completedResponse.Result;

// Or get the name of the operation
string operationName = response.Name;
// This name can be stored, then the long-running operation retrieved later by name
Operation<Empty, OperationMetadata> retrievedResponse = await certificateManagerClient.PollOnceDeleteCertificateAsync(operationName);
// Check if the retrieved long-running operation has completed
if (retrievedResponse.IsCompleted)
{
    // If it has completed, then access the result
    Empty retrievedResult = retrievedResponse.Result;
}

DeleteCertificateAsync(DeleteCertificateRequest, CallSettings)

public virtual Task<Operation<Empty, OperationMetadata>> DeleteCertificateAsync(DeleteCertificateRequest request, CallSettings callSettings = null)

Deletes a single Certificate.

Parameters
NameDescription
requestDeleteCertificateRequest

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

callSettingsCallSettings

If not null, applies overrides to this RPC call.

Returns
TypeDescription
TaskOperationEmptyOperationMetadata

A Task containing the RPC response.

Example
// Create client
CertificateManagerClient certificateManagerClient = await CertificateManagerClient.CreateAsync();
// Initialize request argument(s)
DeleteCertificateRequest request = new DeleteCertificateRequest
{
    CertificateName = CertificateName.FromProjectLocationCertificate("[PROJECT]", "[LOCATION]", "[CERTIFICATE]"),
};
// Make the request
Operation<Empty, OperationMetadata> response = await certificateManagerClient.DeleteCertificateAsync(request);

// Poll until the returned long-running operation is complete
Operation<Empty, OperationMetadata> completedResponse = await response.PollUntilCompletedAsync();
// Retrieve the operation result
Empty result = completedResponse.Result;

// Or get the name of the operation
string operationName = response.Name;
// This name can be stored, then the long-running operation retrieved later by name
Operation<Empty, OperationMetadata> retrievedResponse = await certificateManagerClient.PollOnceDeleteCertificateAsync(operationName);
// Check if the retrieved long-running operation has completed
if (retrievedResponse.IsCompleted)
{
    // If it has completed, then access the result
    Empty retrievedResult = retrievedResponse.Result;
}

DeleteCertificateAsync(DeleteCertificateRequest, CancellationToken)

public virtual Task<Operation<Empty, OperationMetadata>> DeleteCertificateAsync(DeleteCertificateRequest request, CancellationToken cancellationToken)

Deletes a single Certificate.

Parameters
NameDescription
requestDeleteCertificateRequest

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

cancellationTokenCancellationToken

A CancellationToken to use for this RPC.

Returns
TypeDescription
TaskOperationEmptyOperationMetadata

A Task containing the RPC response.

Example
// Create client
CertificateManagerClient certificateManagerClient = await CertificateManagerClient.CreateAsync();
// Initialize request argument(s)
DeleteCertificateRequest request = new DeleteCertificateRequest
{
    CertificateName = CertificateName.FromProjectLocationCertificate("[PROJECT]", "[LOCATION]", "[CERTIFICATE]"),
};
// Make the request
Operation<Empty, OperationMetadata> response = await certificateManagerClient.DeleteCertificateAsync(request);

// Poll until the returned long-running operation is complete
Operation<Empty, OperationMetadata> completedResponse = await response.PollUntilCompletedAsync();
// Retrieve the operation result
Empty result = completedResponse.Result;

// Or get the name of the operation
string operationName = response.Name;
// This name can be stored, then the long-running operation retrieved later by name
Operation<Empty, OperationMetadata> retrievedResponse = await certificateManagerClient.PollOnceDeleteCertificateAsync(operationName);
// Check if the retrieved long-running operation has completed
if (retrievedResponse.IsCompleted)
{
    // If it has completed, then access the result
    Empty retrievedResult = retrievedResponse.Result;
}

DeleteCertificateAsync(string, CallSettings)

public virtual Task<Operation<Empty, OperationMetadata>> DeleteCertificateAsync(string name, CallSettings callSettings = null)

Deletes a single Certificate.

Parameters
NameDescription
namestring

Required. A name of the certificate to delete. Must be in the format projects/*/locations/*/certificates/*.

callSettingsCallSettings

If not null, applies overrides to this RPC call.

Returns
TypeDescription
TaskOperationEmptyOperationMetadata

A Task containing the RPC response.

Example
// Create client
CertificateManagerClient certificateManagerClient = await CertificateManagerClient.CreateAsync();
// Initialize request argument(s)
string name = "projects/[PROJECT]/locations/[LOCATION]/certificates/[CERTIFICATE]";
// Make the request
Operation<Empty, OperationMetadata> response = await certificateManagerClient.DeleteCertificateAsync(name);

// Poll until the returned long-running operation is complete
Operation<Empty, OperationMetadata> completedResponse = await response.PollUntilCompletedAsync();
// Retrieve the operation result
Empty result = completedResponse.Result;

// Or get the name of the operation
string operationName = response.Name;
// This name can be stored, then the long-running operation retrieved later by name
Operation<Empty, OperationMetadata> retrievedResponse = await certificateManagerClient.PollOnceDeleteCertificateAsync(operationName);
// Check if the retrieved long-running operation has completed
if (retrievedResponse.IsCompleted)
{
    // If it has completed, then access the result
    Empty retrievedResult = retrievedResponse.Result;
}

DeleteCertificateAsync(string, CancellationToken)

public virtual Task<Operation<Empty, OperationMetadata>> DeleteCertificateAsync(string name, CancellationToken cancellationToken)

Deletes a single Certificate.

Parameters
NameDescription
namestring

Required. A name of the certificate to delete. Must be in the format projects/*/locations/*/certificates/*.

cancellationTokenCancellationToken

A CancellationToken to use for this RPC.

Returns
TypeDescription
TaskOperationEmptyOperationMetadata

A Task containing the RPC response.

Example
// Create client
CertificateManagerClient certificateManagerClient = await CertificateManagerClient.CreateAsync();
// Initialize request argument(s)
string name = "projects/[PROJECT]/locations/[LOCATION]/certificates/[CERTIFICATE]";
// Make the request
Operation<Empty, OperationMetadata> response = await certificateManagerClient.DeleteCertificateAsync(name);

// Poll until the returned long-running operation is complete
Operation<Empty, OperationMetadata> completedResponse = await response.PollUntilCompletedAsync();
// Retrieve the operation result
Empty result = completedResponse.Result;

// Or get the name of the operation
string operationName = response.Name;
// This name can be stored, then the long-running operation retrieved later by name
Operation<Empty, OperationMetadata> retrievedResponse = await certificateManagerClient.PollOnceDeleteCertificateAsync(operationName);
// Check if the retrieved long-running operation has completed
if (retrievedResponse.IsCompleted)
{
    // If it has completed, then access the result
    Empty retrievedResult = retrievedResponse.Result;
}

DeleteCertificateIssuanceConfig(CertificateIssuanceConfigName, CallSettings)

public virtual Operation<Empty, OperationMetadata> DeleteCertificateIssuanceConfig(CertificateIssuanceConfigName name, CallSettings callSettings = null)

Deletes a single CertificateIssuanceConfig.

Parameters
NameDescription
nameCertificateIssuanceConfigName

Required. A name of the certificate issuance config to delete. Must be in the format projects/*/locations/*/certificateIssuanceConfigs/*.

callSettingsCallSettings

If not null, applies overrides to this RPC call.

Returns
TypeDescription
OperationEmptyOperationMetadata

The RPC response.

Example
// Create client
CertificateManagerClient certificateManagerClient = CertificateManagerClient.Create();
// Initialize request argument(s)
CertificateIssuanceConfigName name = CertificateIssuanceConfigName.FromProjectLocationCertificateIssuanceConfig("[PROJECT]", "[LOCATION]", "[CERTIFICATE_ISSUANCE_CONFIG]");
// Make the request
Operation<Empty, OperationMetadata> response = certificateManagerClient.DeleteCertificateIssuanceConfig(name);

// Poll until the returned long-running operation is complete
Operation<Empty, OperationMetadata> completedResponse = response.PollUntilCompleted();
// Retrieve the operation result
Empty result = completedResponse.Result;

// Or get the name of the operation
string operationName = response.Name;
// This name can be stored, then the long-running operation retrieved later by name
Operation<Empty, OperationMetadata> retrievedResponse = certificateManagerClient.PollOnceDeleteCertificateIssuanceConfig(operationName);
// Check if the retrieved long-running operation has completed
if (retrievedResponse.IsCompleted)
{
    // If it has completed, then access the result
    Empty retrievedResult = retrievedResponse.Result;
}

DeleteCertificateIssuanceConfig(DeleteCertificateIssuanceConfigRequest, CallSettings)

public virtual Operation<Empty, OperationMetadata> DeleteCertificateIssuanceConfig(DeleteCertificateIssuanceConfigRequest request, CallSettings callSettings = null)

Deletes a single CertificateIssuanceConfig.

Parameters
NameDescription
requestDeleteCertificateIssuanceConfigRequest

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

callSettingsCallSettings

If not null, applies overrides to this RPC call.

Returns
TypeDescription
OperationEmptyOperationMetadata

The RPC response.

Example
// Create client
CertificateManagerClient certificateManagerClient = CertificateManagerClient.Create();
// Initialize request argument(s)
DeleteCertificateIssuanceConfigRequest request = new DeleteCertificateIssuanceConfigRequest
{
    CertificateIssuanceConfigName = CertificateIssuanceConfigName.FromProjectLocationCertificateIssuanceConfig("[PROJECT]", "[LOCATION]", "[CERTIFICATE_ISSUANCE_CONFIG]"),
};
// Make the request
Operation<Empty, OperationMetadata> response = certificateManagerClient.DeleteCertificateIssuanceConfig(request);

// Poll until the returned long-running operation is complete
Operation<Empty, OperationMetadata> completedResponse = response.PollUntilCompleted();
// Retrieve the operation result
Empty result = completedResponse.Result;

// Or get the name of the operation
string operationName = response.Name;
// This name can be stored, then the long-running operation retrieved later by name
Operation<Empty, OperationMetadata> retrievedResponse = certificateManagerClient.PollOnceDeleteCertificateIssuanceConfig(operationName);
// Check if the retrieved long-running operation has completed
if (retrievedResponse.IsCompleted)
{
    // If it has completed, then access the result
    Empty retrievedResult = retrievedResponse.Result;
}

DeleteCertificateIssuanceConfig(string, CallSettings)

public virtual Operation<Empty, OperationMetadata> DeleteCertificateIssuanceConfig(string name, CallSettings callSettings = null)

Deletes a single CertificateIssuanceConfig.

Parameters
NameDescription
namestring

Required. A name of the certificate issuance config to delete. Must be in the format projects/*/locations/*/certificateIssuanceConfigs/*.

callSettingsCallSettings

If not null, applies overrides to this RPC call.

Returns
TypeDescription
OperationEmptyOperationMetadata

The RPC response.

Example
// Create client
CertificateManagerClient certificateManagerClient = CertificateManagerClient.Create();
// Initialize request argument(s)
string name = "projects/[PROJECT]/locations/[LOCATION]/certificateIssuanceConfigs/[CERTIFICATE_ISSUANCE_CONFIG]";
// Make the request
Operation<Empty, OperationMetadata> response = certificateManagerClient.DeleteCertificateIssuanceConfig(name);

// Poll until the returned long-running operation is complete
Operation<Empty, OperationMetadata> completedResponse = response.PollUntilCompleted();
// Retrieve the operation result
Empty result = completedResponse.Result;

// Or get the name of the operation
string operationName = response.Name;
// This name can be stored, then the long-running operation retrieved later by name
Operation<Empty, OperationMetadata> retrievedResponse = certificateManagerClient.PollOnceDeleteCertificateIssuanceConfig(operationName);
// Check if the retrieved long-running operation has completed
if (retrievedResponse.IsCompleted)
{
    // If it has completed, then access the result
    Empty retrievedResult = retrievedResponse.Result;
}

DeleteCertificateIssuanceConfigAsync(CertificateIssuanceConfigName, CallSettings)

public virtual Task<Operation<Empty, OperationMetadata>> DeleteCertificateIssuanceConfigAsync(CertificateIssuanceConfigName name, CallSettings callSettings = null)

Deletes a single CertificateIssuanceConfig.

Parameters
NameDescription
nameCertificateIssuanceConfigName

Required. A name of the certificate issuance config to delete. Must be in the format projects/*/locations/*/certificateIssuanceConfigs/*.

callSettingsCallSettings

If not null, applies overrides to this RPC call.

Returns
TypeDescription
TaskOperationEmptyOperationMetadata

A Task containing the RPC response.

Example
// Create client
CertificateManagerClient certificateManagerClient = await CertificateManagerClient.CreateAsync();
// Initialize request argument(s)
CertificateIssuanceConfigName name = CertificateIssuanceConfigName.FromProjectLocationCertificateIssuanceConfig("[PROJECT]", "[LOCATION]", "[CERTIFICATE_ISSUANCE_CONFIG]");
// Make the request
Operation<Empty, OperationMetadata> response = await certificateManagerClient.DeleteCertificateIssuanceConfigAsync(name);

// Poll until the returned long-running operation is complete
Operation<Empty, OperationMetadata> completedResponse = await response.PollUntilCompletedAsync();
// Retrieve the operation result
Empty result = completedResponse.Result;

// Or get the name of the operation
string operationName = response.Name;
// This name can be stored, then the long-running operation retrieved later by name
Operation<Empty, OperationMetadata> retrievedResponse = await certificateManagerClient.PollOnceDeleteCertificateIssuanceConfigAsync(operationName);
// Check if the retrieved long-running operation has completed
if (retrievedResponse.IsCompleted)
{
    // If it has completed, then access the result
    Empty retrievedResult = retrievedResponse.Result;
}

DeleteCertificateIssuanceConfigAsync(CertificateIssuanceConfigName, CancellationToken)

public virtual Task<Operation<Empty, OperationMetadata>> DeleteCertificateIssuanceConfigAsync(CertificateIssuanceConfigName name, CancellationToken cancellationToken)

Deletes a single CertificateIssuanceConfig.

Parameters
NameDescription
nameCertificateIssuanceConfigName

Required. A name of the certificate issuance config to delete. Must be in the format projects/*/locations/*/certificateIssuanceConfigs/*.

cancellationTokenCancellationToken

A CancellationToken to use for this RPC.

Returns
TypeDescription
TaskOperationEmptyOperationMetadata

A Task containing the RPC response.

Example
// Create client
CertificateManagerClient certificateManagerClient = await CertificateManagerClient.CreateAsync();
// Initialize request argument(s)
CertificateIssuanceConfigName name = CertificateIssuanceConfigName.FromProjectLocationCertificateIssuanceConfig("[PROJECT]", "[LOCATION]", "[CERTIFICATE_ISSUANCE_CONFIG]");
// Make the request
Operation<Empty, OperationMetadata> response = await certificateManagerClient.DeleteCertificateIssuanceConfigAsync(name);

// Poll until the returned long-running operation is complete
Operation<Empty, OperationMetadata> completedResponse = await response.PollUntilCompletedAsync();
// Retrieve the operation result
Empty result = completedResponse.Result;

// Or get the name of the operation
string operationName = response.Name;
// This name can be stored, then the long-running operation retrieved later by name
Operation<Empty, OperationMetadata> retrievedResponse = await certificateManagerClient.PollOnceDeleteCertificateIssuanceConfigAsync(operationName);
// Check if the retrieved long-running operation has completed
if (retrievedResponse.IsCompleted)
{
    // If it has completed, then access the result
    Empty retrievedResult = retrievedResponse.Result;
}

DeleteCertificateIssuanceConfigAsync(DeleteCertificateIssuanceConfigRequest, CallSettings)

public virtual Task<Operation<Empty, OperationMetadata>> DeleteCertificateIssuanceConfigAsync(DeleteCertificateIssuanceConfigRequest request, CallSettings callSettings = null)

Deletes a single CertificateIssuanceConfig.

Parameters
NameDescription
requestDeleteCertificateIssuanceConfigRequest

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

callSettingsCallSettings

If not null, applies overrides to this RPC call.

Returns
TypeDescription
TaskOperationEmptyOperationMetadata

A Task containing the RPC response.

Example
// Create client
CertificateManagerClient certificateManagerClient = await CertificateManagerClient.CreateAsync();
// Initialize request argument(s)
DeleteCertificateIssuanceConfigRequest request = new DeleteCertificateIssuanceConfigRequest
{
    CertificateIssuanceConfigName = CertificateIssuanceConfigName.FromProjectLocationCertificateIssuanceConfig("[PROJECT]", "[LOCATION]", "[CERTIFICATE_ISSUANCE_CONFIG]"),
};
// Make the request
Operation<Empty, OperationMetadata> response = await certificateManagerClient.DeleteCertificateIssuanceConfigAsync(request);

// Poll until the returned long-running operation is complete
Operation<Empty, OperationMetadata> completedResponse = await response.PollUntilCompletedAsync();
// Retrieve the operation result
Empty result = completedResponse.Result;

// Or get the name of the operation
string operationName = response.Name;
// This name can be stored, then the long-running operation retrieved later by name
Operation<Empty, OperationMetadata> retrievedResponse = await certificateManagerClient.PollOnceDeleteCertificateIssuanceConfigAsync(operationName);
// Check if the retrieved long-running operation has completed
if (retrievedResponse.IsCompleted)
{
    // If it has completed, then access the result
    Empty retrievedResult = retrievedResponse.Result;
}

DeleteCertificateIssuanceConfigAsync(DeleteCertificateIssuanceConfigRequest, CancellationToken)

public virtual Task<Operation<Empty, OperationMetadata>> DeleteCertificateIssuanceConfigAsync(DeleteCertificateIssuanceConfigRequest request, CancellationToken cancellationToken)

Deletes a single CertificateIssuanceConfig.

Parameters
NameDescription
requestDeleteCertificateIssuanceConfigRequest

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

cancellationTokenCancellationToken

A CancellationToken to use for this RPC.

Returns
TypeDescription
TaskOperationEmptyOperationMetadata

A Task containing the RPC response.

Example
// Create client
CertificateManagerClient certificateManagerClient = await CertificateManagerClient.CreateAsync();
// Initialize request argument(s)
DeleteCertificateIssuanceConfigRequest request = new DeleteCertificateIssuanceConfigRequest
{
    CertificateIssuanceConfigName = CertificateIssuanceConfigName.FromProjectLocationCertificateIssuanceConfig("[PROJECT]", "[LOCATION]", "[CERTIFICATE_ISSUANCE_CONFIG]"),
};
// Make the request
Operation<Empty, OperationMetadata> response = await certificateManagerClient.DeleteCertificateIssuanceConfigAsync(request);

// Poll until the returned long-running operation is complete
Operation<Empty, OperationMetadata> completedResponse = await response.PollUntilCompletedAsync();
// Retrieve the operation result
Empty result = completedResponse.Result;

// Or get the name of the operation
string operationName = response.Name;
// This name can be stored, then the long-running operation retrieved later by name
Operation<Empty, OperationMetadata> retrievedResponse = await certificateManagerClient.PollOnceDeleteCertificateIssuanceConfigAsync(operationName);
// Check if the retrieved long-running operation has completed
if (retrievedResponse.IsCompleted)
{
    // If it has completed, then access the result
    Empty retrievedResult = retrievedResponse.Result;
}

DeleteCertificateIssuanceConfigAsync(string, CallSettings)

public virtual Task<Operation<Empty, OperationMetadata>> DeleteCertificateIssuanceConfigAsync(string name, CallSettings callSettings = null)

Deletes a single CertificateIssuanceConfig.

Parameters
NameDescription
namestring

Required. A name of the certificate issuance config to delete. Must be in the format projects/*/locations/*/certificateIssuanceConfigs/*.

callSettingsCallSettings

If not null, applies overrides to this RPC call.

Returns
TypeDescription
TaskOperationEmptyOperationMetadata

A Task containing the RPC response.

Example
// Create client
CertificateManagerClient certificateManagerClient = await CertificateManagerClient.CreateAsync();
// Initialize request argument(s)
string name = "projects/[PROJECT]/locations/[LOCATION]/certificateIssuanceConfigs/[CERTIFICATE_ISSUANCE_CONFIG]";
// Make the request
Operation<Empty, OperationMetadata> response = await certificateManagerClient.DeleteCertificateIssuanceConfigAsync(name);

// Poll until the returned long-running operation is complete
Operation<Empty, OperationMetadata> completedResponse = await response.PollUntilCompletedAsync();
// Retrieve the operation result
Empty result = completedResponse.Result;

// Or get the name of the operation
string operationName = response.Name;
// This name can be stored, then the long-running operation retrieved later by name
Operation<Empty, OperationMetadata> retrievedResponse = await certificateManagerClient.PollOnceDeleteCertificateIssuanceConfigAsync(operationName);
// Check if the retrieved long-running operation has completed
if (retrievedResponse.IsCompleted)
{
    // If it has completed, then access the result
    Empty retrievedResult = retrievedResponse.Result;
}

DeleteCertificateIssuanceConfigAsync(string, CancellationToken)

public virtual Task<Operation<Empty, OperationMetadata>> DeleteCertificateIssuanceConfigAsync(string name, CancellationToken cancellationToken)

Deletes a single CertificateIssuanceConfig.

Parameters
NameDescription
namestring

Required. A name of the certificate issuance config to delete. Must be in the format projects/*/locations/*/certificateIssuanceConfigs/*.

cancellationTokenCancellationToken

A CancellationToken to use for this RPC.

Returns
TypeDescription
TaskOperationEmptyOperationMetadata

A Task containing the RPC response.

Example
// Create client
CertificateManagerClient certificateManagerClient = await CertificateManagerClient.CreateAsync();
// Initialize request argument(s)
string name = "projects/[PROJECT]/locations/[LOCATION]/certificateIssuanceConfigs/[CERTIFICATE_ISSUANCE_CONFIG]";
// Make the request
Operation<Empty, OperationMetadata> response = await certificateManagerClient.DeleteCertificateIssuanceConfigAsync(name);

// Poll until the returned long-running operation is complete
Operation<Empty, OperationMetadata> completedResponse = await response.PollUntilCompletedAsync();
// Retrieve the operation result
Empty result = completedResponse.Result;

// Or get the name of the operation
string operationName = response.Name;
// This name can be stored, then the long-running operation retrieved later by name
Operation<Empty, OperationMetadata> retrievedResponse = await certificateManagerClient.PollOnceDeleteCertificateIssuanceConfigAsync(operationName);
// Check if the retrieved long-running operation has completed
if (retrievedResponse.IsCompleted)
{
    // If it has completed, then access the result
    Empty retrievedResult = retrievedResponse.Result;
}

DeleteCertificateMap(CertificateMapName, CallSettings)

public virtual Operation<Empty, OperationMetadata> DeleteCertificateMap(CertificateMapName name, CallSettings callSettings = null)

Deletes a single CertificateMap. A Certificate Map can't be deleted if it contains Certificate Map Entries. Remove all the entries from the map before calling this method.

Parameters
NameDescription
nameCertificateMapName

Required. A name of the certificate map to delete. Must be in the format projects/*/locations/*/certificateMaps/*.

callSettingsCallSettings

If not null, applies overrides to this RPC call.

Returns
TypeDescription
OperationEmptyOperationMetadata

The RPC response.

Example
// Create client
CertificateManagerClient certificateManagerClient = CertificateManagerClient.Create();
// Initialize request argument(s)
CertificateMapName name = CertificateMapName.FromProjectLocationCertificateMap("[PROJECT]", "[LOCATION]", "[CERTIFICATE_MAP]");
// Make the request
Operation<Empty, OperationMetadata> response = certificateManagerClient.DeleteCertificateMap(name);

// Poll until the returned long-running operation is complete
Operation<Empty, OperationMetadata> completedResponse = response.PollUntilCompleted();
// Retrieve the operation result
Empty result = completedResponse.Result;

// Or get the name of the operation
string operationName = response.Name;
// This name can be stored, then the long-running operation retrieved later by name
Operation<Empty, OperationMetadata> retrievedResponse = certificateManagerClient.PollOnceDeleteCertificateMap(operationName);
// Check if the retrieved long-running operation has completed
if (retrievedResponse.IsCompleted)
{
    // If it has completed, then access the result
    Empty retrievedResult = retrievedResponse.Result;
}

DeleteCertificateMap(DeleteCertificateMapRequest, CallSettings)

public virtual Operation<Empty, OperationMetadata> DeleteCertificateMap(DeleteCertificateMapRequest request, CallSettings callSettings = null)

Deletes a single CertificateMap. A Certificate Map can't be deleted if it contains Certificate Map Entries. Remove all the entries from the map before calling this method.

Parameters
NameDescription
requestDeleteCertificateMapRequest

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

callSettingsCallSettings

If not null, applies overrides to this RPC call.

Returns
TypeDescription
OperationEmptyOperationMetadata

The RPC response.

Example
// Create client
CertificateManagerClient certificateManagerClient = CertificateManagerClient.Create();
// Initialize request argument(s)
DeleteCertificateMapRequest request = new DeleteCertificateMapRequest
{
    CertificateMapName = CertificateMapName.FromProjectLocationCertificateMap("[PROJECT]", "[LOCATION]", "[CERTIFICATE_MAP]"),
};
// Make the request
Operation<Empty, OperationMetadata> response = certificateManagerClient.DeleteCertificateMap(request);

// Poll until the returned long-running operation is complete
Operation<Empty, OperationMetadata> completedResponse = response.PollUntilCompleted();
// Retrieve the operation result
Empty result = completedResponse.Result;

// Or get the name of the operation
string operationName = response.Name;
// This name can be stored, then the long-running operation retrieved later by name
Operation<Empty, OperationMetadata> retrievedResponse = certificateManagerClient.PollOnceDeleteCertificateMap(operationName);
// Check if the retrieved long-running operation has completed
if (retrievedResponse.IsCompleted)
{
    // If it has completed, then access the result
    Empty retrievedResult = retrievedResponse.Result;
}

DeleteCertificateMap(string, CallSettings)

public virtual Operation<Empty, OperationMetadata> DeleteCertificateMap(string name, CallSettings callSettings = null)

Deletes a single CertificateMap. A Certificate Map can't be deleted if it contains Certificate Map Entries. Remove all the entries from the map before calling this method.

Parameters
NameDescription
namestring

Required. A name of the certificate map to delete. Must be in the format projects/*/locations/*/certificateMaps/*.

callSettingsCallSettings

If not null, applies overrides to this RPC call.

Returns
TypeDescription
OperationEmptyOperationMetadata

The RPC response.

Example
// Create client
CertificateManagerClient certificateManagerClient = CertificateManagerClient.Create();
// Initialize request argument(s)
string name = "projects/[PROJECT]/locations/[LOCATION]/certificateMaps/[CERTIFICATE_MAP]";
// Make the request
Operation<Empty, OperationMetadata> response = certificateManagerClient.DeleteCertificateMap(name);

// Poll until the returned long-running operation is complete
Operation<Empty, OperationMetadata> completedResponse = response.PollUntilCompleted();
// Retrieve the operation result
Empty result = completedResponse.Result;

// Or get the name of the operation
string operationName = response.Name;
// This name can be stored, then the long-running operation retrieved later by name
Operation<Empty, OperationMetadata> retrievedResponse = certificateManagerClient.PollOnceDeleteCertificateMap(operationName);
// Check if the retrieved long-running operation has completed
if (retrievedResponse.IsCompleted)
{
    // If it has completed, then access the result
    Empty retrievedResult = retrievedResponse.Result;
}

DeleteCertificateMapAsync(CertificateMapName, CallSettings)

public virtual Task<Operation<Empty, OperationMetadata>> DeleteCertificateMapAsync(CertificateMapName name, CallSettings callSettings = null)

Deletes a single CertificateMap. A Certificate Map can't be deleted if it contains Certificate Map Entries. Remove all the entries from the map before calling this method.

Parameters
NameDescription
nameCertificateMapName

Required. A name of the certificate map to delete. Must be in the format projects/*/locations/*/certificateMaps/*.

callSettingsCallSettings

If not null, applies overrides to this RPC call.

Returns
TypeDescription
TaskOperationEmptyOperationMetadata

A Task containing the RPC response.

Example
// Create client
CertificateManagerClient certificateManagerClient = await CertificateManagerClient.CreateAsync();
// Initialize request argument(s)
CertificateMapName name = CertificateMapName.FromProjectLocationCertificateMap("[PROJECT]", "[LOCATION]", "[CERTIFICATE_MAP]");
// Make the request
Operation<Empty, OperationMetadata> response = await certificateManagerClient.DeleteCertificateMapAsync(name);

// Poll until the returned long-running operation is complete
Operation<Empty, OperationMetadata> completedResponse = await response.PollUntilCompletedAsync();
// Retrieve the operation result
Empty result = completedResponse.Result;

// Or get the name of the operation
string operationName = response.Name;
// This name can be stored, then the long-running operation retrieved later by name
Operation<Empty, OperationMetadata> retrievedResponse = await certificateManagerClient.PollOnceDeleteCertificateMapAsync(operationName);
// Check if the retrieved long-running operation has completed
if (retrievedResponse.IsCompleted)
{
    // If it has completed, then access the result
    Empty retrievedResult = retrievedResponse.Result;
}

DeleteCertificateMapAsync(CertificateMapName, CancellationToken)

public virtual Task<Operation<Empty, OperationMetadata>> DeleteCertificateMapAsync(CertificateMapName name, CancellationToken cancellationToken)

Deletes a single CertificateMap. A Certificate Map can't be deleted if it contains Certificate Map Entries. Remove all the entries from the map before calling this method.

Parameters
NameDescription
nameCertificateMapName

Required. A name of the certificate map to delete. Must be in the format projects/*/locations/*/certificateMaps/*.

cancellationTokenCancellationToken

A CancellationToken to use for this RPC.

Returns
TypeDescription
TaskOperationEmptyOperationMetadata

A Task containing the RPC response.

Example
// Create client
CertificateManagerClient certificateManagerClient = await CertificateManagerClient.CreateAsync();
// Initialize request argument(s)
CertificateMapName name = CertificateMapName.FromProjectLocationCertificateMap("[PROJECT]", "[LOCATION]", "[CERTIFICATE_MAP]");
// Make the request
Operation<Empty, OperationMetadata> response = await certificateManagerClient.DeleteCertificateMapAsync(name);

// Poll until the returned long-running operation is complete
Operation<Empty, OperationMetadata> completedResponse = await response.PollUntilCompletedAsync();
// Retrieve the operation result
Empty result = completedResponse.Result;

// Or get the name of the operation
string operationName = response.Name;
// This name can be stored, then the long-running operation retrieved later by name
Operation<Empty, OperationMetadata> retrievedResponse = await certificateManagerClient.PollOnceDeleteCertificateMapAsync(operationName);
// Check if the retrieved long-running operation has completed
if (retrievedResponse.IsCompleted)
{
    // If it has completed, then access the result
    Empty retrievedResult = retrievedResponse.Result;
}

DeleteCertificateMapAsync(DeleteCertificateMapRequest, CallSettings)

public virtual Task<Operation<Empty, OperationMetadata>> DeleteCertificateMapAsync(DeleteCertificateMapRequest request, CallSettings callSettings = null)

Deletes a single CertificateMap. A Certificate Map can't be deleted if it contains Certificate Map Entries. Remove all the entries from the map before calling this method.

Parameters
NameDescription
requestDeleteCertificateMapRequest

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

callSettingsCallSettings

If not null, applies overrides to this RPC call.

Returns
TypeDescription
TaskOperationEmptyOperationMetadata

A Task containing the RPC response.

Example
// Create client
CertificateManagerClient certificateManagerClient = await CertificateManagerClient.CreateAsync();
// Initialize request argument(s)
DeleteCertificateMapRequest request = new DeleteCertificateMapRequest
{
    CertificateMapName = CertificateMapName.FromProjectLocationCertificateMap("[PROJECT]", "[LOCATION]", "[CERTIFICATE_MAP]"),
};
// Make the request
Operation<Empty, OperationMetadata> response = await certificateManagerClient.DeleteCertificateMapAsync(request);

// Poll until the returned long-running operation is complete
Operation<Empty, OperationMetadata> completedResponse = await response.PollUntilCompletedAsync();
// Retrieve the operation result
Empty result = completedResponse.Result;

// Or get the name of the operation
string operationName = response.Name;
// This name can be stored, then the long-running operation retrieved later by name
Operation<Empty, OperationMetadata> retrievedResponse = await certificateManagerClient.PollOnceDeleteCertificateMapAsync(operationName);
// Check if the retrieved long-running operation has completed
if (retrievedResponse.IsCompleted)
{
    // If it has completed, then access the result
    Empty retrievedResult = retrievedResponse.Result;
}

DeleteCertificateMapAsync(DeleteCertificateMapRequest, CancellationToken)

public virtual Task<Operation<Empty, OperationMetadata>> DeleteCertificateMapAsync(DeleteCertificateMapRequest request, CancellationToken cancellationToken)

Deletes a single CertificateMap. A Certificate Map can't be deleted if it contains Certificate Map Entries. Remove all the entries from the map before calling this method.

Parameters
NameDescription
requestDeleteCertificateMapRequest

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

cancellationTokenCancellationToken

A CancellationToken to use for this RPC.

Returns
TypeDescription
TaskOperationEmptyOperationMetadata

A Task containing the RPC response.

Example
// Create client
CertificateManagerClient certificateManagerClient = await CertificateManagerClient.CreateAsync();
// Initialize request argument(s)
DeleteCertificateMapRequest request = new DeleteCertificateMapRequest
{
    CertificateMapName = CertificateMapName.FromProjectLocationCertificateMap("[PROJECT]", "[LOCATION]", "[CERTIFICATE_MAP]"),
};
// Make the request
Operation<Empty, OperationMetadata> response = await certificateManagerClient.DeleteCertificateMapAsync(request);

// Poll until the returned long-running operation is complete
Operation<Empty, OperationMetadata> completedResponse = await response.PollUntilCompletedAsync();
// Retrieve the operation result
Empty result = completedResponse.Result;

// Or get the name of the operation
string operationName = response.Name;
// This name can be stored, then the long-running operation retrieved later by name
Operation<Empty, OperationMetadata> retrievedResponse = await certificateManagerClient.PollOnceDeleteCertificateMapAsync(operationName);
// Check if the retrieved long-running operation has completed
if (retrievedResponse.IsCompleted)
{
    // If it has completed, then access the result
    Empty retrievedResult = retrievedResponse.Result;
}

DeleteCertificateMapAsync(string, CallSettings)

public virtual Task<Operation<Empty, OperationMetadata>> DeleteCertificateMapAsync(string name, CallSettings callSettings = null)

Deletes a single CertificateMap. A Certificate Map can't be deleted if it contains Certificate Map Entries. Remove all the entries from the map before calling this method.

Parameters
NameDescription
namestring

Required. A name of the certificate map to delete. Must be in the format projects/*/locations/*/certificateMaps/*.

callSettingsCallSettings

If not null, applies overrides to this RPC call.

Returns
TypeDescription
TaskOperationEmptyOperationMetadata

A Task containing the RPC response.

Example
// Create client
CertificateManagerClient certificateManagerClient = await CertificateManagerClient.CreateAsync();
// Initialize request argument(s)
string name = "projects/[PROJECT]/locations/[LOCATION]/certificateMaps/[CERTIFICATE_MAP]";
// Make the request
Operation<Empty, OperationMetadata> response = await certificateManagerClient.DeleteCertificateMapAsync(name);

// Poll until the returned long-running operation is complete
Operation<Empty, OperationMetadata> completedResponse = await response.PollUntilCompletedAsync();
// Retrieve the operation result
Empty result = completedResponse.Result;

// Or get the name of the operation
string operationName = response.Name;
// This name can be stored, then the long-running operation retrieved later by name
Operation<Empty, OperationMetadata> retrievedResponse = await certificateManagerClient.PollOnceDeleteCertificateMapAsync(operationName);
// Check if the retrieved long-running operation has completed
if (retrievedResponse.IsCompleted)
{
    // If it has completed, then access the result
    Empty retrievedResult = retrievedResponse.Result;
}

DeleteCertificateMapAsync(string, CancellationToken)

public virtual Task<Operation<Empty, OperationMetadata>> DeleteCertificateMapAsync(string name, CancellationToken cancellationToken)

Deletes a single CertificateMap. A Certificate Map can't be deleted if it contains Certificate Map Entries. Remove all the entries from the map before calling this method.

Parameters
NameDescription
namestring

Required. A name of the certificate map to delete. Must be in the format projects/*/locations/*/certificateMaps/*.

cancellationTokenCancellationToken

A CancellationToken to use for this RPC.

Returns
TypeDescription
TaskOperationEmptyOperationMetadata

A Task containing the RPC response.

Example
// Create client
CertificateManagerClient certificateManagerClient = await CertificateManagerClient.CreateAsync();
// Initialize request argument(s)
string name = "projects/[PROJECT]/locations/[LOCATION]/certificateMaps/[CERTIFICATE_MAP]";
// Make the request
Operation<Empty, OperationMetadata> response = await certificateManagerClient.DeleteCertificateMapAsync(name);

// Poll until the returned long-running operation is complete
Operation<Empty, OperationMetadata> completedResponse = await response.PollUntilCompletedAsync();
// Retrieve the operation result
Empty result = completedResponse.Result;

// Or get the name of the operation
string operationName = response.Name;
// This name can be stored, then the long-running operation retrieved later by name
Operation<Empty, OperationMetadata> retrievedResponse = await certificateManagerClient.PollOnceDeleteCertificateMapAsync(operationName);
// Check if the retrieved long-running operation has completed
if (retrievedResponse.IsCompleted)
{
    // If it has completed, then access the result
    Empty retrievedResult = retrievedResponse.Result;
}

DeleteCertificateMapEntry(CertificateMapEntryName, CallSettings)

public virtual Operation<Empty, OperationMetadata> DeleteCertificateMapEntry(CertificateMapEntryName name, CallSettings callSettings = null)

Deletes a single CertificateMapEntry.

Parameters
NameDescription
nameCertificateMapEntryName

Required. A name of the certificate map entry to delete. Must be in the format projects/*/locations/*/certificateMaps/*/certificateMapEntries/*.

callSettingsCallSettings

If not null, applies overrides to this RPC call.

Returns
TypeDescription
OperationEmptyOperationMetadata

The RPC response.

Example
// Create client
CertificateManagerClient certificateManagerClient = CertificateManagerClient.Create();
// Initialize request argument(s)
CertificateMapEntryName name = CertificateMapEntryName.FromProjectLocationCertificateMapCertificateMapEntry("[PROJECT]", "[LOCATION]", "[CERTIFICATE_MAP]", "[CERTIFICATE_MAP_ENTRY]");
// Make the request
Operation<Empty, OperationMetadata> response = certificateManagerClient.DeleteCertificateMapEntry(name);

// Poll until the returned long-running operation is complete
Operation<Empty, OperationMetadata> completedResponse = response.PollUntilCompleted();
// Retrieve the operation result
Empty result = completedResponse.Result;

// Or get the name of the operation
string operationName = response.Name;
// This name can be stored, then the long-running operation retrieved later by name
Operation<Empty, OperationMetadata> retrievedResponse = certificateManagerClient.PollOnceDeleteCertificateMapEntry(operationName);
// Check if the retrieved long-running operation has completed
if (retrievedResponse.IsCompleted)
{
    // If it has completed, then access the result
    Empty retrievedResult = retrievedResponse.Result;
}

DeleteCertificateMapEntry(DeleteCertificateMapEntryRequest, CallSettings)

public virtual Operation<Empty, OperationMetadata> DeleteCertificateMapEntry(DeleteCertificateMapEntryRequest request, CallSettings callSettings = null)

Deletes a single CertificateMapEntry.

Parameters
NameDescription
requestDeleteCertificateMapEntryRequest

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

callSettingsCallSettings

If not null, applies overrides to this RPC call.

Returns
TypeDescription
OperationEmptyOperationMetadata

The RPC response.

Example
// Create client
CertificateManagerClient certificateManagerClient = CertificateManagerClient.Create();
// Initialize request argument(s)
DeleteCertificateMapEntryRequest request = new DeleteCertificateMapEntryRequest
{
    CertificateMapEntryName = CertificateMapEntryName.FromProjectLocationCertificateMapCertificateMapEntry("[PROJECT]", "[LOCATION]", "[CERTIFICATE_MAP]", "[CERTIFICATE_MAP_ENTRY]"),
};
// Make the request
Operation<Empty, OperationMetadata> response = certificateManagerClient.DeleteCertificateMapEntry(request);

// Poll until the returned long-running operation is complete
Operation<Empty, OperationMetadata> completedResponse = response.PollUntilCompleted();
// Retrieve the operation result
Empty result = completedResponse.Result;

// Or get the name of the operation
string operationName = response.Name;
// This name can be stored, then the long-running operation retrieved later by name
Operation<Empty, OperationMetadata> retrievedResponse = certificateManagerClient.PollOnceDeleteCertificateMapEntry(operationName);
// Check if the retrieved long-running operation has completed
if (retrievedResponse.IsCompleted)
{
    // If it has completed, then access the result
    Empty retrievedResult = retrievedResponse.Result;
}

DeleteCertificateMapEntry(string, CallSettings)

public virtual Operation<Empty, OperationMetadata> DeleteCertificateMapEntry(string name, CallSettings callSettings = null)

Deletes a single CertificateMapEntry.

Parameters
NameDescription
namestring

Required. A name of the certificate map entry to delete. Must be in the format projects/*/locations/*/certificateMaps/*/certificateMapEntries/*.

callSettingsCallSettings

If not null, applies overrides to this RPC call.

Returns
TypeDescription
OperationEmptyOperationMetadata

The RPC response.

Example
// Create client
CertificateManagerClient certificateManagerClient = CertificateManagerClient.Create();
// Initialize request argument(s)
string name = "projects/[PROJECT]/locations/[LOCATION]/certificateMaps/[CERTIFICATE_MAP]/certificateMapEntries/[CERTIFICATE_MAP_ENTRY]";
// Make the request
Operation<Empty, OperationMetadata> response = certificateManagerClient.DeleteCertificateMapEntry(name);

// Poll until the returned long-running operation is complete
Operation<Empty, OperationMetadata> completedResponse = response.PollUntilCompleted();
// Retrieve the operation result
Empty result = completedResponse.Result;

// Or get the name of the operation
string operationName = response.Name;
// This name can be stored, then the long-running operation retrieved later by name
Operation<Empty, OperationMetadata> retrievedResponse = certificateManagerClient.PollOnceDeleteCertificateMapEntry(operationName);
// Check if the retrieved long-running operation has completed
if (retrievedResponse.IsCompleted)
{
    // If it has completed, then access the result
    Empty retrievedResult = retrievedResponse.Result;
}

DeleteCertificateMapEntryAsync(CertificateMapEntryName, CallSettings)

public virtual Task<Operation<Empty, OperationMetadata>> DeleteCertificateMapEntryAsync(CertificateMapEntryName name, CallSettings callSettings = null)

Deletes a single CertificateMapEntry.

Parameters
NameDescription
nameCertificateMapEntryName

Required. A name of the certificate map entry to delete. Must be in the format projects/*/locations/*/certificateMaps/*/certificateMapEntries/*.

callSettingsCallSettings

If not null, applies overrides to this RPC call.

Returns
TypeDescription
TaskOperationEmptyOperationMetadata

A Task containing the RPC response.

Example
// Create client
CertificateManagerClient certificateManagerClient = await CertificateManagerClient.CreateAsync();
// Initialize request argument(s)
CertificateMapEntryName name = CertificateMapEntryName.FromProjectLocationCertificateMapCertificateMapEntry("[PROJECT]", "[LOCATION]", "[CERTIFICATE_MAP]", "[CERTIFICATE_MAP_ENTRY]");
// Make the request
Operation<Empty, OperationMetadata> response = await certificateManagerClient.DeleteCertificateMapEntryAsync(name);

// Poll until the returned long-running operation is complete
Operation<Empty, OperationMetadata> completedResponse = await response.PollUntilCompletedAsync();
// Retrieve the operation result
Empty result = completedResponse.Result;

// Or get the name of the operation
string operationName = response.Name;
// This name can be stored, then the long-running operation retrieved later by name
Operation<Empty, OperationMetadata> retrievedResponse = await certificateManagerClient.PollOnceDeleteCertificateMapEntryAsync(operationName);
// Check if the retrieved long-running operation has completed
if (retrievedResponse.IsCompleted)
{
    // If it has completed, then access the result
    Empty retrievedResult = retrievedResponse.Result;
}

DeleteCertificateMapEntryAsync(CertificateMapEntryName, CancellationToken)

public virtual Task<Operation<Empty, OperationMetadata>> DeleteCertificateMapEntryAsync(CertificateMapEntryName name, CancellationToken cancellationToken)

Deletes a single CertificateMapEntry.

Parameters
NameDescription
nameCertificateMapEntryName

Required. A name of the certificate map entry to delete. Must be in the format projects/*/locations/*/certificateMaps/*/certificateMapEntries/*.

cancellationTokenCancellationToken

A CancellationToken to use for this RPC.

Returns
TypeDescription
TaskOperationEmptyOperationMetadata

A Task containing the RPC response.

Example
// Create client
CertificateManagerClient certificateManagerClient = await CertificateManagerClient.CreateAsync();
// Initialize request argument(s)
CertificateMapEntryName name = CertificateMapEntryName.FromProjectLocationCertificateMapCertificateMapEntry("[PROJECT]", "[LOCATION]", "[CERTIFICATE_MAP]", "[CERTIFICATE_MAP_ENTRY]");
// Make the request
Operation<Empty, OperationMetadata> response = await certificateManagerClient.DeleteCertificateMapEntryAsync(name);

// Poll until the returned long-running operation is complete
Operation<Empty, OperationMetadata> completedResponse = await response.PollUntilCompletedAsync();
// Retrieve the operation result
Empty result = completedResponse.Result;

// Or get the name of the operation
string operationName = response.Name;
// This name can be stored, then the long-running operation retrieved later by name
Operation<Empty, OperationMetadata> retrievedResponse = await certificateManagerClient.PollOnceDeleteCertificateMapEntryAsync(operationName);
// Check if the retrieved long-running operation has completed
if (retrievedResponse.IsCompleted)
{
    // If it has completed, then access the result
    Empty retrievedResult = retrievedResponse.Result;
}

DeleteCertificateMapEntryAsync(DeleteCertificateMapEntryRequest, CallSettings)

public virtual Task<Operation<Empty, OperationMetadata>> DeleteCertificateMapEntryAsync(DeleteCertificateMapEntryRequest request, CallSettings callSettings = null)

Deletes a single CertificateMapEntry.

Parameters
NameDescription
requestDeleteCertificateMapEntryRequest

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

callSettingsCallSettings

If not null, applies overrides to this RPC call.

Returns
TypeDescription
TaskOperationEmptyOperationMetadata

A Task containing the RPC response.

Example
// Create client
CertificateManagerClient certificateManagerClient = await CertificateManagerClient.CreateAsync();
// Initialize request argument(s)
DeleteCertificateMapEntryRequest request = new DeleteCertificateMapEntryRequest
{
    CertificateMapEntryName = CertificateMapEntryName.FromProjectLocationCertificateMapCertificateMapEntry("[PROJECT]", "[LOCATION]", "[CERTIFICATE_MAP]", "[CERTIFICATE_MAP_ENTRY]"),
};
// Make the request
Operation<Empty, OperationMetadata> response = await certificateManagerClient.DeleteCertificateMapEntryAsync(request);

// Poll until the returned long-running operation is complete
Operation<Empty, OperationMetadata> completedResponse = await response.PollUntilCompletedAsync();
// Retrieve the operation result
Empty result = completedResponse.Result;

// Or get the name of the operation
string operationName = response.Name;
// This name can be stored, then the long-running operation retrieved later by name
Operation<Empty, OperationMetadata> retrievedResponse = await certificateManagerClient.PollOnceDeleteCertificateMapEntryAsync(operationName);
// Check if the retrieved long-running operation has completed
if (retrievedResponse.IsCompleted)
{
    // If it has completed, then access the result
    Empty retrievedResult = retrievedResponse.Result;
}

DeleteCertificateMapEntryAsync(DeleteCertificateMapEntryRequest, CancellationToken)

public virtual Task<Operation<Empty, OperationMetadata>> DeleteCertificateMapEntryAsync(DeleteCertificateMapEntryRequest request, CancellationToken cancellationToken)

Deletes a single CertificateMapEntry.

Parameters
NameDescription
requestDeleteCertificateMapEntryRequest

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

cancellationTokenCancellationToken

A CancellationToken to use for this RPC.

Returns
TypeDescription
TaskOperationEmptyOperationMetadata

A Task containing the RPC response.

Example
// Create client
CertificateManagerClient certificateManagerClient = await CertificateManagerClient.CreateAsync();
// Initialize request argument(s)
DeleteCertificateMapEntryRequest request = new DeleteCertificateMapEntryRequest
{
    CertificateMapEntryName = CertificateMapEntryName.FromProjectLocationCertificateMapCertificateMapEntry("[PROJECT]", "[LOCATION]", "[CERTIFICATE_MAP]", "[CERTIFICATE_MAP_ENTRY]"),
};
// Make the request
Operation<Empty, OperationMetadata> response = await certificateManagerClient.DeleteCertificateMapEntryAsync(request);

// Poll until the returned long-running operation is complete
Operation<Empty, OperationMetadata> completedResponse = await response.PollUntilCompletedAsync();
// Retrieve the operation result
Empty result = completedResponse.Result;

// Or get the name of the operation
string operationName = response.Name;
// This name can be stored, then the long-running operation retrieved later by name
Operation<Empty, OperationMetadata> retrievedResponse = await certificateManagerClient.PollOnceDeleteCertificateMapEntryAsync(operationName);
// Check if the retrieved long-running operation has completed
if (retrievedResponse.IsCompleted)
{
    // If it has completed, then access the result
    Empty retrievedResult = retrievedResponse.Result;
}

DeleteCertificateMapEntryAsync(string, CallSettings)

public virtual Task<Operation<Empty, OperationMetadata>> DeleteCertificateMapEntryAsync(string name, CallSettings callSettings = null)

Deletes a single CertificateMapEntry.

Parameters
NameDescription
namestring

Required. A name of the certificate map entry to delete. Must be in the format projects/*/locations/*/certificateMaps/*/certificateMapEntries/*.

callSettingsCallSettings

If not null, applies overrides to this RPC call.

Returns
TypeDescription
TaskOperationEmptyOperationMetadata

A Task containing the RPC response.

Example
// Create client
CertificateManagerClient certificateManagerClient = await CertificateManagerClient.CreateAsync();
// Initialize request argument(s)
string name = "projects/[PROJECT]/locations/[LOCATION]/certificateMaps/[CERTIFICATE_MAP]/certificateMapEntries/[CERTIFICATE_MAP_ENTRY]";
// Make the request
Operation<Empty, OperationMetadata> response = await certificateManagerClient.DeleteCertificateMapEntryAsync(name);

// Poll until the returned long-running operation is complete
Operation<Empty, OperationMetadata> completedResponse = await response.PollUntilCompletedAsync();
// Retrieve the operation result
Empty result = completedResponse.Result;

// Or get the name of the operation
string operationName = response.Name;
// This name can be stored, then the long-running operation retrieved later by name
Operation<Empty, OperationMetadata> retrievedResponse = await certificateManagerClient.PollOnceDeleteCertificateMapEntryAsync(operationName);
// Check if the retrieved long-running operation has completed
if (retrievedResponse.IsCompleted)
{
    // If it has completed, then access the result
    Empty retrievedResult = retrievedResponse.Result;
}

DeleteCertificateMapEntryAsync(string, CancellationToken)

public virtual Task<Operation<Empty, OperationMetadata>> DeleteCertificateMapEntryAsync(string name, CancellationToken cancellationToken)

Deletes a single CertificateMapEntry.

Parameters
NameDescription
namestring

Required. A name of the certificate map entry to delete. Must be in the format projects/*/locations/*/certificateMaps/*/certificateMapEntries/*.

cancellationTokenCancellationToken

A CancellationToken to use for this RPC.

Returns
TypeDescription
TaskOperationEmptyOperationMetadata

A Task containing the RPC response.

Example
// Create client
CertificateManagerClient certificateManagerClient = await CertificateManagerClient.CreateAsync();
// Initialize request argument(s)
string name = "projects/[PROJECT]/locations/[LOCATION]/certificateMaps/[CERTIFICATE_MAP]/certificateMapEntries/[CERTIFICATE_MAP_ENTRY]";
// Make the request
Operation<Empty, OperationMetadata> response = await certificateManagerClient.DeleteCertificateMapEntryAsync(name);

// Poll until the returned long-running operation is complete
Operation<Empty, OperationMetadata> completedResponse = await response.PollUntilCompletedAsync();
// Retrieve the operation result
Empty result = completedResponse.Result;

// Or get the name of the operation
string operationName = response.Name;
// This name can be stored, then the long-running operation retrieved later by name
Operation<Empty, OperationMetadata> retrievedResponse = await certificateManagerClient.PollOnceDeleteCertificateMapEntryAsync(operationName);
// Check if the retrieved long-running operation has completed
if (retrievedResponse.IsCompleted)
{
    // If it has completed, then access the result
    Empty retrievedResult = retrievedResponse.Result;
}

DeleteDnsAuthorization(DeleteDnsAuthorizationRequest, CallSettings)

public virtual Operation<Empty, OperationMetadata> DeleteDnsAuthorization(DeleteDnsAuthorizationRequest request, CallSettings callSettings = null)

Deletes a single DnsAuthorization.

Parameters
NameDescription
requestDeleteDnsAuthorizationRequest

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

callSettingsCallSettings

If not null, applies overrides to this RPC call.

Returns
TypeDescription
OperationEmptyOperationMetadata

The RPC response.

Example
// Create client
CertificateManagerClient certificateManagerClient = CertificateManagerClient.Create();
// Initialize request argument(s)
DeleteDnsAuthorizationRequest request = new DeleteDnsAuthorizationRequest
{
    DnsAuthorizationName = DnsAuthorizationName.FromProjectLocationDnsAuthorization("[PROJECT]", "[LOCATION]", "[DNS_AUTHORIZATION]"),
};
// Make the request
Operation<Empty, OperationMetadata> response = certificateManagerClient.DeleteDnsAuthorization(request);

// Poll until the returned long-running operation is complete
Operation<Empty, OperationMetadata> completedResponse = response.PollUntilCompleted();
// Retrieve the operation result
Empty result = completedResponse.Result;

// Or get the name of the operation
string operationName = response.Name;
// This name can be stored, then the long-running operation retrieved later by name
Operation<Empty, OperationMetadata> retrievedResponse = certificateManagerClient.PollOnceDeleteDnsAuthorization(operationName);
// Check if the retrieved long-running operation has completed
if (retrievedResponse.IsCompleted)
{
    // If it has completed, then access the result
    Empty retrievedResult = retrievedResponse.Result;
}

DeleteDnsAuthorization(DnsAuthorizationName, CallSettings)

public virtual Operation<Empty, OperationMetadata> DeleteDnsAuthorization(DnsAuthorizationName name, CallSettings callSettings = null)

Deletes a single DnsAuthorization.

Parameters
NameDescription
nameDnsAuthorizationName

Required. A name of the dns authorization to delete. Must be in the format projects/*/locations/*/dnsAuthorizations/*.

callSettingsCallSettings

If not null, applies overrides to this RPC call.

Returns
TypeDescription
OperationEmptyOperationMetadata

The RPC response.

Example
// Create client
CertificateManagerClient certificateManagerClient = CertificateManagerClient.Create();
// Initialize request argument(s)
DnsAuthorizationName name = DnsAuthorizationName.FromProjectLocationDnsAuthorization("[PROJECT]", "[LOCATION]", "[DNS_AUTHORIZATION]");
// Make the request
Operation<Empty, OperationMetadata> response = certificateManagerClient.DeleteDnsAuthorization(name);

// Poll until the returned long-running operation is complete
Operation<Empty, OperationMetadata> completedResponse = response.PollUntilCompleted();
// Retrieve the operation result
Empty result = completedResponse.Result;

// Or get the name of the operation
string operationName = response.Name;
// This name can be stored, then the long-running operation retrieved later by name
Operation<Empty, OperationMetadata> retrievedResponse = certificateManagerClient.PollOnceDeleteDnsAuthorization(operationName);
// Check if the retrieved long-running operation has completed
if (retrievedResponse.IsCompleted)
{
    // If it has completed, then access the result
    Empty retrievedResult = retrievedResponse.Result;
}

DeleteDnsAuthorization(string, CallSettings)

public virtual Operation<Empty, OperationMetadata> DeleteDnsAuthorization(string name, CallSettings callSettings = null)

Deletes a single DnsAuthorization.

Parameters
NameDescription
namestring

Required. A name of the dns authorization to delete. Must be in the format projects/*/locations/*/dnsAuthorizations/*.

callSettingsCallSettings

If not null, applies overrides to this RPC call.

Returns
TypeDescription
OperationEmptyOperationMetadata

The RPC response.

Example
// Create client
CertificateManagerClient certificateManagerClient = CertificateManagerClient.Create();
// Initialize request argument(s)
string name = "projects/[PROJECT]/locations/[LOCATION]/dnsAuthorizations/[DNS_AUTHORIZATION]";
// Make the request
Operation<Empty, OperationMetadata> response = certificateManagerClient.DeleteDnsAuthorization(name);

// Poll until the returned long-running operation is complete
Operation<Empty, OperationMetadata> completedResponse = response.PollUntilCompleted();
// Retrieve the operation result
Empty result = completedResponse.Result;

// Or get the name of the operation
string operationName = response.Name;
// This name can be stored, then the long-running operation retrieved later by name
Operation<Empty, OperationMetadata> retrievedResponse = certificateManagerClient.PollOnceDeleteDnsAuthorization(operationName);
// Check if the retrieved long-running operation has completed
if (retrievedResponse.IsCompleted)
{
    // If it has completed, then access the result
    Empty retrievedResult = retrievedResponse.Result;
}

DeleteDnsAuthorizationAsync(DeleteDnsAuthorizationRequest, CallSettings)

public virtual Task<Operation<Empty, OperationMetadata>> DeleteDnsAuthorizationAsync(DeleteDnsAuthorizationRequest request, CallSettings callSettings = null)

Deletes a single DnsAuthorization.

Parameters
NameDescription
requestDeleteDnsAuthorizationRequest

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

callSettingsCallSettings

If not null, applies overrides to this RPC call.

Returns
TypeDescription
TaskOperationEmptyOperationMetadata

A Task containing the RPC response.

Example
// Create client
CertificateManagerClient certificateManagerClient = await CertificateManagerClient.CreateAsync();
// Initialize request argument(s)
DeleteDnsAuthorizationRequest request = new DeleteDnsAuthorizationRequest
{
    DnsAuthorizationName = DnsAuthorizationName.FromProjectLocationDnsAuthorization("[PROJECT]", "[LOCATION]", "[DNS_AUTHORIZATION]"),
};
// Make the request
Operation<Empty, OperationMetadata> response = await certificateManagerClient.DeleteDnsAuthorizationAsync(request);

// Poll until the returned long-running operation is complete
Operation<Empty, OperationMetadata> completedResponse = await response.PollUntilCompletedAsync();
// Retrieve the operation result
Empty result = completedResponse.Result;

// Or get the name of the operation
string operationName = response.Name;
// This name can be stored, then the long-running operation retrieved later by name
Operation<Empty, OperationMetadata> retrievedResponse = await certificateManagerClient.PollOnceDeleteDnsAuthorizationAsync(operationName);
// Check if the retrieved long-running operation has completed
if (retrievedResponse.IsCompleted)
{
    // If it has completed, then access the result
    Empty retrievedResult = retrievedResponse.Result;
}

DeleteDnsAuthorizationAsync(DeleteDnsAuthorizationRequest, CancellationToken)

public virtual Task<Operation<Empty, OperationMetadata>> DeleteDnsAuthorizationAsync(DeleteDnsAuthorizationRequest request, CancellationToken cancellationToken)

Deletes a single DnsAuthorization.

Parameters
NameDescription
requestDeleteDnsAuthorizationRequest

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

cancellationTokenCancellationToken

A CancellationToken to use for this RPC.

Returns
TypeDescription
TaskOperationEmptyOperationMetadata

A Task containing the RPC response.

Example
// Create client
CertificateManagerClient certificateManagerClient = await CertificateManagerClient.CreateAsync();
// Initialize request argument(s)
DeleteDnsAuthorizationRequest request = new DeleteDnsAuthorizationRequest
{
    DnsAuthorizationName = DnsAuthorizationName.FromProjectLocationDnsAuthorization("[PROJECT]", "[LOCATION]", "[DNS_AUTHORIZATION]"),
};
// Make the request
Operation<Empty, OperationMetadata> response = await certificateManagerClient.DeleteDnsAuthorizationAsync(request);

// Poll until the returned long-running operation is complete
Operation<Empty, OperationMetadata> completedResponse = await response.PollUntilCompletedAsync();
// Retrieve the operation result
Empty result = completedResponse.Result;

// Or get the name of the operation
string operationName = response.Name;
// This name can be stored, then the long-running operation retrieved later by name
Operation<Empty, OperationMetadata> retrievedResponse = await certificateManagerClient.PollOnceDeleteDnsAuthorizationAsync(operationName);
// Check if the retrieved long-running operation has completed
if (retrievedResponse.IsCompleted)
{
    // If it has completed, then access the result
    Empty retrievedResult = retrievedResponse.Result;
}

DeleteDnsAuthorizationAsync(DnsAuthorizationName, CallSettings)

public virtual Task<Operation<Empty, OperationMetadata>> DeleteDnsAuthorizationAsync(DnsAuthorizationName name, CallSettings callSettings = null)

Deletes a single DnsAuthorization.

Parameters
NameDescription
nameDnsAuthorizationName

Required. A name of the dns authorization to delete. Must be in the format projects/*/locations/*/dnsAuthorizations/*.

callSettingsCallSettings

If not null, applies overrides to this RPC call.

Returns
TypeDescription
TaskOperationEmptyOperationMetadata

A Task containing the RPC response.

Example
// Create client
CertificateManagerClient certificateManagerClient = await CertificateManagerClient.CreateAsync();
// Initialize request argument(s)
DnsAuthorizationName name = DnsAuthorizationName.FromProjectLocationDnsAuthorization("[PROJECT]", "[LOCATION]", "[DNS_AUTHORIZATION]");
// Make the request
Operation<Empty, OperationMetadata> response = await certificateManagerClient.DeleteDnsAuthorizationAsync(name);

// Poll until the returned long-running operation is complete
Operation<Empty, OperationMetadata> completedResponse = await response.PollUntilCompletedAsync();
// Retrieve the operation result
Empty result = completedResponse.Result;

// Or get the name of the operation
string operationName = response.Name;
// This name can be stored, then the long-running operation retrieved later by name
Operation<Empty, OperationMetadata> retrievedResponse = await certificateManagerClient.PollOnceDeleteDnsAuthorizationAsync(operationName);
// Check if the retrieved long-running operation has completed
if (retrievedResponse.IsCompleted)
{
    // If it has completed, then access the result
    Empty retrievedResult = retrievedResponse.Result;
}

DeleteDnsAuthorizationAsync(DnsAuthorizationName, CancellationToken)

public virtual Task<Operation<Empty, OperationMetadata>> DeleteDnsAuthorizationAsync(DnsAuthorizationName name, CancellationToken cancellationToken)

Deletes a single DnsAuthorization.

Parameters
NameDescription
nameDnsAuthorizationName

Required. A name of the dns authorization to delete. Must be in the format projects/*/locations/*/dnsAuthorizations/*.

cancellationTokenCancellationToken

A CancellationToken to use for this RPC.

Returns
TypeDescription
TaskOperationEmptyOperationMetadata

A Task containing the RPC response.

Example
// Create client
CertificateManagerClient certificateManagerClient = await CertificateManagerClient.CreateAsync();
// Initialize request argument(s)
DnsAuthorizationName name = DnsAuthorizationName.FromProjectLocationDnsAuthorization("[PROJECT]", "[LOCATION]", "[DNS_AUTHORIZATION]");
// Make the request
Operation<Empty, OperationMetadata> response = await certificateManagerClient.DeleteDnsAuthorizationAsync(name);

// Poll until the returned long-running operation is complete
Operation<Empty, OperationMetadata> completedResponse = await response.PollUntilCompletedAsync();
// Retrieve the operation result
Empty result = completedResponse.Result;

// Or get the name of the operation
string operationName = response.Name;
// This name can be stored, then the long-running operation retrieved later by name
Operation<Empty, OperationMetadata> retrievedResponse = await certificateManagerClient.PollOnceDeleteDnsAuthorizationAsync(operationName);
// Check if the retrieved long-running operation has completed
if (retrievedResponse.IsCompleted)
{
    // If it has completed, then access the result
    Empty retrievedResult = retrievedResponse.Result;
}

DeleteDnsAuthorizationAsync(string, CallSettings)

public virtual Task<Operation<Empty, OperationMetadata>> DeleteDnsAuthorizationAsync(string name, CallSettings callSettings = null)

Deletes a single DnsAuthorization.

Parameters
NameDescription
namestring

Required. A name of the dns authorization to delete. Must be in the format projects/*/locations/*/dnsAuthorizations/*.

callSettingsCallSettings

If not null, applies overrides to this RPC call.

Returns
TypeDescription
TaskOperationEmptyOperationMetadata

A Task containing the RPC response.

Example
// Create client
CertificateManagerClient certificateManagerClient = await CertificateManagerClient.CreateAsync();
// Initialize request argument(s)
string name = "projects/[PROJECT]/locations/[LOCATION]/dnsAuthorizations/[DNS_AUTHORIZATION]";
// Make the request
Operation<Empty, OperationMetadata> response = await certificateManagerClient.DeleteDnsAuthorizationAsync(name);

// Poll until the returned long-running operation is complete
Operation<Empty, OperationMetadata> completedResponse = await response.PollUntilCompletedAsync();
// Retrieve the operation result
Empty result = completedResponse.Result;

// Or get the name of the operation
string operationName = response.Name;
// This name can be stored, then the long-running operation retrieved later by name
Operation<Empty, OperationMetadata> retrievedResponse = await certificateManagerClient.PollOnceDeleteDnsAuthorizationAsync(operationName);
// Check if the retrieved long-running operation has completed
if (retrievedResponse.IsCompleted)
{
    // If it has completed, then access the result
    Empty retrievedResult = retrievedResponse.Result;
}

DeleteDnsAuthorizationAsync(string, CancellationToken)

public virtual Task<Operation<Empty, OperationMetadata>> DeleteDnsAuthorizationAsync(string name, CancellationToken cancellationToken)

Deletes a single DnsAuthorization.

Parameters
NameDescription
namestring

Required. A name of the dns authorization to delete. Must be in the format projects/*/locations/*/dnsAuthorizations/*.

cancellationTokenCancellationToken

A CancellationToken to use for this RPC.

Returns
TypeDescription
TaskOperationEmptyOperationMetadata

A Task containing the RPC response.

Example
// Create client
CertificateManagerClient certificateManagerClient = await CertificateManagerClient.CreateAsync();
// Initialize request argument(s)
string name = "projects/[PROJECT]/locations/[LOCATION]/dnsAuthorizations/[DNS_AUTHORIZATION]";
// Make the request
Operation<Empty, OperationMetadata> response = await certificateManagerClient.DeleteDnsAuthorizationAsync(name);

// Poll until the returned long-running operation is complete
Operation<Empty, OperationMetadata> completedResponse = await response.PollUntilCompletedAsync();
// Retrieve the operation result
Empty result = completedResponse.Result;

// Or get the name of the operation
string operationName = response.Name;
// This name can be stored, then the long-running operation retrieved later by name
Operation<Empty, OperationMetadata> retrievedResponse = await certificateManagerClient.PollOnceDeleteDnsAuthorizationAsync(operationName);
// Check if the retrieved long-running operation has completed
if (retrievedResponse.IsCompleted)
{
    // If it has completed, then access the result
    Empty retrievedResult = retrievedResponse.Result;
}

GetCertificate(CertificateName, CallSettings)

public virtual Certificate GetCertificate(CertificateName name, CallSettings callSettings = null)

Gets details of a single Certificate.

Parameters
NameDescription
nameCertificateName

Required. A name of the certificate to describe. Must be in the format projects/*/locations/*/certificates/*.

callSettingsCallSettings

If not null, applies overrides to this RPC call.

Returns
TypeDescription
Certificate

The RPC response.

Example
// Create client
CertificateManagerClient certificateManagerClient = CertificateManagerClient.Create();
// Initialize request argument(s)
CertificateName name = CertificateName.FromProjectLocationCertificate("[PROJECT]", "[LOCATION]", "[CERTIFICATE]");
// Make the request
Certificate response = certificateManagerClient.GetCertificate(name);

GetCertificate(GetCertificateRequest, CallSettings)

public virtual Certificate GetCertificate(GetCertificateRequest request, CallSettings callSettings = null)

Gets details of a single Certificate.

Parameters
NameDescription
requestGetCertificateRequest

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

callSettingsCallSettings

If not null, applies overrides to this RPC call.

Returns
TypeDescription
Certificate

The RPC response.

Example
// Create client
CertificateManagerClient certificateManagerClient = CertificateManagerClient.Create();
// Initialize request argument(s)
GetCertificateRequest request = new GetCertificateRequest
{
    CertificateName = CertificateName.FromProjectLocationCertificate("[PROJECT]", "[LOCATION]", "[CERTIFICATE]"),
};
// Make the request
Certificate response = certificateManagerClient.GetCertificate(request);

GetCertificate(string, CallSettings)

public virtual Certificate GetCertificate(string name, CallSettings callSettings = null)

Gets details of a single Certificate.

Parameters
NameDescription
namestring

Required. A name of the certificate to describe. Must be in the format projects/*/locations/*/certificates/*.

callSettingsCallSettings

If not null, applies overrides to this RPC call.

Returns
TypeDescription
Certificate

The RPC response.

Example
// Create client
CertificateManagerClient certificateManagerClient = CertificateManagerClient.Create();
// Initialize request argument(s)
string name = "projects/[PROJECT]/locations/[LOCATION]/certificates/[CERTIFICATE]";
// Make the request
Certificate response = certificateManagerClient.GetCertificate(name);

GetCertificateAsync(CertificateName, CallSettings)

public virtual Task<Certificate> GetCertificateAsync(CertificateName name, CallSettings callSettings = null)

Gets details of a single Certificate.

Parameters
NameDescription
nameCertificateName

Required. A name of the certificate to describe. Must be in the format projects/*/locations/*/certificates/*.

callSettingsCallSettings

If not null, applies overrides to this RPC call.

Returns
TypeDescription
TaskCertificate

A Task containing the RPC response.

Example
// Create client
CertificateManagerClient certificateManagerClient = await CertificateManagerClient.CreateAsync();
// Initialize request argument(s)
CertificateName name = CertificateName.FromProjectLocationCertificate("[PROJECT]", "[LOCATION]", "[CERTIFICATE]");
// Make the request
Certificate response = await certificateManagerClient.GetCertificateAsync(name);

GetCertificateAsync(CertificateName, CancellationToken)

public virtual Task<Certificate> GetCertificateAsync(CertificateName name, CancellationToken cancellationToken)

Gets details of a single Certificate.

Parameters
NameDescription
nameCertificateName

Required. A name of the certificate to describe. Must be in the format projects/*/locations/*/certificates/*.

cancellationTokenCancellationToken

A CancellationToken to use for this RPC.

Returns
TypeDescription
TaskCertificate

A Task containing the RPC response.

Example
// Create client
CertificateManagerClient certificateManagerClient = await CertificateManagerClient.CreateAsync();
// Initialize request argument(s)
CertificateName name = CertificateName.FromProjectLocationCertificate("[PROJECT]", "[LOCATION]", "[CERTIFICATE]");
// Make the request
Certificate response = await certificateManagerClient.GetCertificateAsync(name);

GetCertificateAsync(GetCertificateRequest, CallSettings)

public virtual Task<Certificate> GetCertificateAsync(GetCertificateRequest request, CallSettings callSettings = null)

Gets details of a single Certificate.

Parameters
NameDescription
requestGetCertificateRequest

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

callSettingsCallSettings

If not null, applies overrides to this RPC call.

Returns
TypeDescription
TaskCertificate

A Task containing the RPC response.

Example
// Create client
CertificateManagerClient certificateManagerClient = await CertificateManagerClient.CreateAsync();
// Initialize request argument(s)
GetCertificateRequest request = new GetCertificateRequest
{
    CertificateName = CertificateName.FromProjectLocationCertificate("[PROJECT]", "[LOCATION]", "[CERTIFICATE]"),
};
// Make the request
Certificate response = await certificateManagerClient.GetCertificateAsync(request);

GetCertificateAsync(GetCertificateRequest, CancellationToken)

public virtual Task<Certificate> GetCertificateAsync(GetCertificateRequest request, CancellationToken cancellationToken)

Gets details of a single Certificate.

Parameters
NameDescription
requestGetCertificateRequest

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

cancellationTokenCancellationToken

A CancellationToken to use for this RPC.

Returns
TypeDescription
TaskCertificate

A Task containing the RPC response.

Example
// Create client
CertificateManagerClient certificateManagerClient = await CertificateManagerClient.CreateAsync();
// Initialize request argument(s)
GetCertificateRequest request = new GetCertificateRequest
{
    CertificateName = CertificateName.FromProjectLocationCertificate("[PROJECT]", "[LOCATION]", "[CERTIFICATE]"),
};
// Make the request
Certificate response = await certificateManagerClient.GetCertificateAsync(request);

GetCertificateAsync(string, CallSettings)

public virtual Task<Certificate> GetCertificateAsync(string name, CallSettings callSettings = null)

Gets details of a single Certificate.

Parameters
NameDescription
namestring

Required. A name of the certificate to describe. Must be in the format projects/*/locations/*/certificates/*.

callSettingsCallSettings

If not null, applies overrides to this RPC call.

Returns
TypeDescription
TaskCertificate

A Task containing the RPC response.

Example
// Create client
CertificateManagerClient certificateManagerClient = await CertificateManagerClient.CreateAsync();
// Initialize request argument(s)
string name = "projects/[PROJECT]/locations/[LOCATION]/certificates/[CERTIFICATE]";
// Make the request
Certificate response = await certificateManagerClient.GetCertificateAsync(name);

GetCertificateAsync(string, CancellationToken)

public virtual Task<Certificate> GetCertificateAsync(string name, CancellationToken cancellationToken)

Gets details of a single Certificate.

Parameters
NameDescription
namestring

Required. A name of the certificate to describe. Must be in the format projects/*/locations/*/certificates/*.

cancellationTokenCancellationToken

A CancellationToken to use for this RPC.

Returns
TypeDescription
TaskCertificate

A Task containing the RPC response.

Example
// Create client
CertificateManagerClient certificateManagerClient = await CertificateManagerClient.CreateAsync();
// Initialize request argument(s)
string name = "projects/[PROJECT]/locations/[LOCATION]/certificates/[CERTIFICATE]";
// Make the request
Certificate response = await certificateManagerClient.GetCertificateAsync(name);

GetCertificateIssuanceConfig(CertificateIssuanceConfigName, CallSettings)

public virtual CertificateIssuanceConfig GetCertificateIssuanceConfig(CertificateIssuanceConfigName name, CallSettings callSettings = null)

Gets details of a single CertificateIssuanceConfig.

Parameters
NameDescription
nameCertificateIssuanceConfigName

Required. A name of the certificate issuance config to describe. Must be in the format projects/*/locations/*/certificateIssuanceConfigs/*.

callSettingsCallSettings

If not null, applies overrides to this RPC call.

Returns
TypeDescription
CertificateIssuanceConfig

The RPC response.

Example
// Create client
CertificateManagerClient certificateManagerClient = CertificateManagerClient.Create();
// Initialize request argument(s)
CertificateIssuanceConfigName name = CertificateIssuanceConfigName.FromProjectLocationCertificateIssuanceConfig("[PROJECT]", "[LOCATION]", "[CERTIFICATE_ISSUANCE_CONFIG]");
// Make the request
CertificateIssuanceConfig response = certificateManagerClient.GetCertificateIssuanceConfig(name);

GetCertificateIssuanceConfig(GetCertificateIssuanceConfigRequest, CallSettings)

public virtual CertificateIssuanceConfig GetCertificateIssuanceConfig(GetCertificateIssuanceConfigRequest request, CallSettings callSettings = null)

Gets details of a single CertificateIssuanceConfig.

Parameters
NameDescription
requestGetCertificateIssuanceConfigRequest

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

callSettingsCallSettings

If not null, applies overrides to this RPC call.

Returns
TypeDescription
CertificateIssuanceConfig

The RPC response.

Example
// Create client
CertificateManagerClient certificateManagerClient = CertificateManagerClient.Create();
// Initialize request argument(s)
GetCertificateIssuanceConfigRequest request = new GetCertificateIssuanceConfigRequest
{
    CertificateIssuanceConfigName = CertificateIssuanceConfigName.FromProjectLocationCertificateIssuanceConfig("[PROJECT]", "[LOCATION]", "[CERTIFICATE_ISSUANCE_CONFIG]"),
};
// Make the request
CertificateIssuanceConfig response = certificateManagerClient.GetCertificateIssuanceConfig(request);

GetCertificateIssuanceConfig(string, CallSettings)

public virtual CertificateIssuanceConfig GetCertificateIssuanceConfig(string name, CallSettings callSettings = null)

Gets details of a single CertificateIssuanceConfig.

Parameters
NameDescription
namestring

Required. A name of the certificate issuance config to describe. Must be in the format projects/*/locations/*/certificateIssuanceConfigs/*.

callSettingsCallSettings

If not null, applies overrides to this RPC call.

Returns
TypeDescription
CertificateIssuanceConfig

The RPC response.

Example
// Create client
CertificateManagerClient certificateManagerClient = CertificateManagerClient.Create();
// Initialize request argument(s)
string name = "projects/[PROJECT]/locations/[LOCATION]/certificateIssuanceConfigs/[CERTIFICATE_ISSUANCE_CONFIG]";
// Make the request
CertificateIssuanceConfig response = certificateManagerClient.GetCertificateIssuanceConfig(name);

GetCertificateIssuanceConfigAsync(CertificateIssuanceConfigName, CallSettings)

public virtual Task<CertificateIssuanceConfig> GetCertificateIssuanceConfigAsync(CertificateIssuanceConfigName name, CallSettings callSettings = null)

Gets details of a single CertificateIssuanceConfig.

Parameters
NameDescription
nameCertificateIssuanceConfigName

Required. A name of the certificate issuance config to describe. Must be in the format projects/*/locations/*/certificateIssuanceConfigs/*.

callSettingsCallSettings

If not null, applies overrides to this RPC call.

Returns
TypeDescription
TaskCertificateIssuanceConfig

A Task containing the RPC response.

Example
// Create client
CertificateManagerClient certificateManagerClient = await CertificateManagerClient.CreateAsync();
// Initialize request argument(s)
CertificateIssuanceConfigName name = CertificateIssuanceConfigName.FromProjectLocationCertificateIssuanceConfig("[PROJECT]", "[LOCATION]", "[CERTIFICATE_ISSUANCE_CONFIG]");
// Make the request
CertificateIssuanceConfig response = await certificateManagerClient.GetCertificateIssuanceConfigAsync(name);

GetCertificateIssuanceConfigAsync(CertificateIssuanceConfigName, CancellationToken)

public virtual Task<CertificateIssuanceConfig> GetCertificateIssuanceConfigAsync(CertificateIssuanceConfigName name, CancellationToken cancellationToken)

Gets details of a single CertificateIssuanceConfig.

Parameters
NameDescription
nameCertificateIssuanceConfigName

Required. A name of the certificate issuance config to describe. Must be in the format projects/*/locations/*/certificateIssuanceConfigs/*.

cancellationTokenCancellationToken

A CancellationToken to use for this RPC.

Returns
TypeDescription
TaskCertificateIssuanceConfig

A Task containing the RPC response.

Example
// Create client
CertificateManagerClient certificateManagerClient = await CertificateManagerClient.CreateAsync();
// Initialize request argument(s)
CertificateIssuanceConfigName name = CertificateIssuanceConfigName.FromProjectLocationCertificateIssuanceConfig("[PROJECT]", "[LOCATION]", "[CERTIFICATE_ISSUANCE_CONFIG]");
// Make the request
CertificateIssuanceConfig response = await certificateManagerClient.GetCertificateIssuanceConfigAsync(name);

GetCertificateIssuanceConfigAsync(GetCertificateIssuanceConfigRequest, CallSettings)

public virtual Task<CertificateIssuanceConfig> GetCertificateIssuanceConfigAsync(GetCertificateIssuanceConfigRequest request, CallSettings callSettings = null)

Gets details of a single CertificateIssuanceConfig.

Parameters
NameDescription
requestGetCertificateIssuanceConfigRequest

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

callSettingsCallSettings

If not null, applies overrides to this RPC call.

Returns
TypeDescription
TaskCertificateIssuanceConfig

A Task containing the RPC response.

Example
// Create client
CertificateManagerClient certificateManagerClient = await CertificateManagerClient.CreateAsync();
// Initialize request argument(s)
GetCertificateIssuanceConfigRequest request = new GetCertificateIssuanceConfigRequest
{
    CertificateIssuanceConfigName = CertificateIssuanceConfigName.FromProjectLocationCertificateIssuanceConfig("[PROJECT]", "[LOCATION]", "[CERTIFICATE_ISSUANCE_CONFIG]"),
};
// Make the request
CertificateIssuanceConfig response = await certificateManagerClient.GetCertificateIssuanceConfigAsync(request);

GetCertificateIssuanceConfigAsync(GetCertificateIssuanceConfigRequest, CancellationToken)

public virtual Task<CertificateIssuanceConfig> GetCertificateIssuanceConfigAsync(GetCertificateIssuanceConfigRequest request, CancellationToken cancellationToken)

Gets details of a single CertificateIssuanceConfig.

Parameters
NameDescription
requestGetCertificateIssuanceConfigRequest

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

cancellationTokenCancellationToken

A CancellationToken to use for this RPC.

Returns
TypeDescription
TaskCertificateIssuanceConfig

A Task containing the RPC response.

Example
// Create client
CertificateManagerClient certificateManagerClient = await CertificateManagerClient.CreateAsync();
// Initialize request argument(s)
GetCertificateIssuanceConfigRequest request = new GetCertificateIssuanceConfigRequest
{
    CertificateIssuanceConfigName = CertificateIssuanceConfigName.FromProjectLocationCertificateIssuanceConfig("[PROJECT]", "[LOCATION]", "[CERTIFICATE_ISSUANCE_CONFIG]"),
};
// Make the request
CertificateIssuanceConfig response = await certificateManagerClient.GetCertificateIssuanceConfigAsync(request);

GetCertificateIssuanceConfigAsync(string, CallSettings)

public virtual Task<CertificateIssuanceConfig> GetCertificateIssuanceConfigAsync(string name, CallSettings callSettings = null)

Gets details of a single CertificateIssuanceConfig.

Parameters
NameDescription
namestring

Required. A name of the certificate issuance config to describe. Must be in the format projects/*/locations/*/certificateIssuanceConfigs/*.

callSettingsCallSettings

If not null, applies overrides to this RPC call.

Returns
TypeDescription
TaskCertificateIssuanceConfig

A Task containing the RPC response.

Example
// Create client
CertificateManagerClient certificateManagerClient = await CertificateManagerClient.CreateAsync();
// Initialize request argument(s)
string name = "projects/[PROJECT]/locations/[LOCATION]/certificateIssuanceConfigs/[CERTIFICATE_ISSUANCE_CONFIG]";
// Make the request
CertificateIssuanceConfig response = await certificateManagerClient.GetCertificateIssuanceConfigAsync(name);

GetCertificateIssuanceConfigAsync(string, CancellationToken)

public virtual Task<CertificateIssuanceConfig> GetCertificateIssuanceConfigAsync(string name, CancellationToken cancellationToken)

Gets details of a single CertificateIssuanceConfig.

Parameters
NameDescription
namestring

Required. A name of the certificate issuance config to describe. Must be in the format projects/*/locations/*/certificateIssuanceConfigs/*.

cancellationTokenCancellationToken

A CancellationToken to use for this RPC.

Returns
TypeDescription
TaskCertificateIssuanceConfig

A Task containing the RPC response.

Example
// Create client
CertificateManagerClient certificateManagerClient = await CertificateManagerClient.CreateAsync();
// Initialize request argument(s)
string name = "projects/[PROJECT]/locations/[LOCATION]/certificateIssuanceConfigs/[CERTIFICATE_ISSUANCE_CONFIG]";
// Make the request
CertificateIssuanceConfig response = await certificateManagerClient.GetCertificateIssuanceConfigAsync(name);

GetCertificateMap(CertificateMapName, CallSettings)

public virtual CertificateMap GetCertificateMap(CertificateMapName name, CallSettings callSettings = null)

Gets details of a single CertificateMap.

Parameters
NameDescription
nameCertificateMapName

Required. A name of the certificate map to describe. Must be in the format projects/*/locations/*/certificateMaps/*.

callSettingsCallSettings

If not null, applies overrides to this RPC call.

Returns
TypeDescription
CertificateMap

The RPC response.

Example
// Create client
CertificateManagerClient certificateManagerClient = CertificateManagerClient.Create();
// Initialize request argument(s)
CertificateMapName name = CertificateMapName.FromProjectLocationCertificateMap("[PROJECT]", "[LOCATION]", "[CERTIFICATE_MAP]");
// Make the request
CertificateMap response = certificateManagerClient.GetCertificateMap(name);

GetCertificateMap(GetCertificateMapRequest, CallSettings)

public virtual CertificateMap GetCertificateMap(GetCertificateMapRequest request, CallSettings callSettings = null)

Gets details of a single CertificateMap.

Parameters
NameDescription
requestGetCertificateMapRequest

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

callSettingsCallSettings

If not null, applies overrides to this RPC call.

Returns
TypeDescription
CertificateMap

The RPC response.

Example
// Create client
CertificateManagerClient certificateManagerClient = CertificateManagerClient.Create();
// Initialize request argument(s)
GetCertificateMapRequest request = new GetCertificateMapRequest
{
    CertificateMapName = CertificateMapName.FromProjectLocationCertificateMap("[PROJECT]", "[LOCATION]", "[CERTIFICATE_MAP]"),
};
// Make the request
CertificateMap response = certificateManagerClient.GetCertificateMap(request);

GetCertificateMap(string, CallSettings)

public virtual CertificateMap GetCertificateMap(string name, CallSettings callSettings = null)

Gets details of a single CertificateMap.

Parameters
NameDescription
namestring

Required. A name of the certificate map to describe. Must be in the format projects/*/locations/*/certificateMaps/*.

callSettingsCallSettings

If not null, applies overrides to this RPC call.

Returns
TypeDescription
CertificateMap

The RPC response.

Example
// Create client
CertificateManagerClient certificateManagerClient = CertificateManagerClient.Create();
// Initialize request argument(s)
string name = "projects/[PROJECT]/locations/[LOCATION]/certificateMaps/[CERTIFICATE_MAP]";
// Make the request
CertificateMap response = certificateManagerClient.GetCertificateMap(name);

GetCertificateMapAsync(CertificateMapName, CallSettings)

public virtual Task<CertificateMap> GetCertificateMapAsync(CertificateMapName name, CallSettings callSettings = null)

Gets details of a single CertificateMap.

Parameters
NameDescription
nameCertificateMapName

Required. A name of the certificate map to describe. Must be in the format projects/*/locations/*/certificateMaps/*.

callSettingsCallSettings

If not null, applies overrides to this RPC call.

Returns
TypeDescription
TaskCertificateMap

A Task containing the RPC response.

Example
// Create client
CertificateManagerClient certificateManagerClient = await CertificateManagerClient.CreateAsync();
// Initialize request argument(s)
CertificateMapName name = CertificateMapName.FromProjectLocationCertificateMap("[PROJECT]", "[LOCATION]", "[CERTIFICATE_MAP]");
// Make the request
CertificateMap response = await certificateManagerClient.GetCertificateMapAsync(name);

GetCertificateMapAsync(CertificateMapName, CancellationToken)

public virtual Task<CertificateMap> GetCertificateMapAsync(CertificateMapName name, CancellationToken cancellationToken)

Gets details of a single CertificateMap.

Parameters
NameDescription
nameCertificateMapName

Required. A name of the certificate map to describe. Must be in the format projects/*/locations/*/certificateMaps/*.

cancellationTokenCancellationToken

A CancellationToken to use for this RPC.

Returns
TypeDescription
TaskCertificateMap

A Task containing the RPC response.

Example
// Create client
CertificateManagerClient certificateManagerClient = await CertificateManagerClient.CreateAsync();
// Initialize request argument(s)
CertificateMapName name = CertificateMapName.FromProjectLocationCertificateMap("[PROJECT]", "[LOCATION]", "[CERTIFICATE_MAP]");
// Make the request
CertificateMap response = await certificateManagerClient.GetCertificateMapAsync(name);

GetCertificateMapAsync(GetCertificateMapRequest, CallSettings)

public virtual Task<CertificateMap> GetCertificateMapAsync(GetCertificateMapRequest request, CallSettings callSettings = null)

Gets details of a single CertificateMap.

Parameters
NameDescription
requestGetCertificateMapRequest

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

callSettingsCallSettings

If not null, applies overrides to this RPC call.

Returns
TypeDescription
TaskCertificateMap

A Task containing the RPC response.

Example
// Create client
CertificateManagerClient certificateManagerClient = await CertificateManagerClient.CreateAsync();
// Initialize request argument(s)
GetCertificateMapRequest request = new GetCertificateMapRequest
{
    CertificateMapName = CertificateMapName.FromProjectLocationCertificateMap("[PROJECT]", "[LOCATION]", "[CERTIFICATE_MAP]"),
};
// Make the request
CertificateMap response = await certificateManagerClient.GetCertificateMapAsync(request);

GetCertificateMapAsync(GetCertificateMapRequest, CancellationToken)

public virtual Task<CertificateMap> GetCertificateMapAsync(GetCertificateMapRequest request, CancellationToken cancellationToken)

Gets details of a single CertificateMap.

Parameters
NameDescription
requestGetCertificateMapRequest

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

cancellationTokenCancellationToken

A CancellationToken to use for this RPC.

Returns
TypeDescription
TaskCertificateMap

A Task containing the RPC response.

Example
// Create client
CertificateManagerClient certificateManagerClient = await CertificateManagerClient.CreateAsync();
// Initialize request argument(s)
GetCertificateMapRequest request = new GetCertificateMapRequest
{
    CertificateMapName = CertificateMapName.FromProjectLocationCertificateMap("[PROJECT]", "[LOCATION]", "[CERTIFICATE_MAP]"),
};
// Make the request
CertificateMap response = await certificateManagerClient.GetCertificateMapAsync(request);

GetCertificateMapAsync(string, CallSettings)

public virtual Task<CertificateMap> GetCertificateMapAsync(string name, CallSettings callSettings = null)

Gets details of a single CertificateMap.

Parameters
NameDescription
namestring

Required. A name of the certificate map to describe. Must be in the format projects/*/locations/*/certificateMaps/*.

callSettingsCallSettings

If not null, applies overrides to this RPC call.

Returns
TypeDescription
TaskCertificateMap

A Task containing the RPC response.

Example
// Create client
CertificateManagerClient certificateManagerClient = await CertificateManagerClient.CreateAsync();
// Initialize request argument(s)
string name = "projects/[PROJECT]/locations/[LOCATION]/certificateMaps/[CERTIFICATE_MAP]";
// Make the request
CertificateMap response = await certificateManagerClient.GetCertificateMapAsync(name);

GetCertificateMapAsync(string, CancellationToken)

public virtual Task<CertificateMap> GetCertificateMapAsync(string name, CancellationToken cancellationToken)

Gets details of a single CertificateMap.

Parameters
NameDescription
namestring

Required. A name of the certificate map to describe. Must be in the format projects/*/locations/*/certificateMaps/*.

cancellationTokenCancellationToken

A CancellationToken to use for this RPC.

Returns
TypeDescription
TaskCertificateMap

A Task containing the RPC response.

Example
// Create client
CertificateManagerClient certificateManagerClient = await CertificateManagerClient.CreateAsync();
// Initialize request argument(s)
string name = "projects/[PROJECT]/locations/[LOCATION]/certificateMaps/[CERTIFICATE_MAP]";
// Make the request
CertificateMap response = await certificateManagerClient.GetCertificateMapAsync(name);

GetCertificateMapEntry(CertificateMapEntryName, CallSettings)

public virtual CertificateMapEntry GetCertificateMapEntry(CertificateMapEntryName name, CallSettings callSettings = null)

Gets details of a single CertificateMapEntry.

Parameters
NameDescription
nameCertificateMapEntryName

Required. A name of the certificate map entry to describe. Must be in the format projects/*/locations/*/certificateMaps/*/certificateMapEntries/*.

callSettingsCallSettings

If not null, applies overrides to this RPC call.

Returns
TypeDescription
CertificateMapEntry

The RPC response.

Example
// Create client
CertificateManagerClient certificateManagerClient = CertificateManagerClient.Create();
// Initialize request argument(s)
CertificateMapEntryName name = CertificateMapEntryName.FromProjectLocationCertificateMapCertificateMapEntry("[PROJECT]", "[LOCATION]", "[CERTIFICATE_MAP]", "[CERTIFICATE_MAP_ENTRY]");
// Make the request
CertificateMapEntry response = certificateManagerClient.GetCertificateMapEntry(name);

GetCertificateMapEntry(GetCertificateMapEntryRequest, CallSettings)

public virtual CertificateMapEntry GetCertificateMapEntry(GetCertificateMapEntryRequest request, CallSettings callSettings = null)

Gets details of a single CertificateMapEntry.

Parameters
NameDescription
requestGetCertificateMapEntryRequest

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

callSettingsCallSettings

If not null, applies overrides to this RPC call.

Returns
TypeDescription
CertificateMapEntry

The RPC response.

Example
// Create client
CertificateManagerClient certificateManagerClient = CertificateManagerClient.Create();
// Initialize request argument(s)
GetCertificateMapEntryRequest request = new GetCertificateMapEntryRequest
{
    CertificateMapEntryName = CertificateMapEntryName.FromProjectLocationCertificateMapCertificateMapEntry("[PROJECT]", "[LOCATION]", "[CERTIFICATE_MAP]", "[CERTIFICATE_MAP_ENTRY]"),
};
// Make the request
CertificateMapEntry response = certificateManagerClient.GetCertificateMapEntry(request);

GetCertificateMapEntry(string, CallSettings)

public virtual CertificateMapEntry GetCertificateMapEntry(string name, CallSettings callSettings = null)

Gets details of a single CertificateMapEntry.

Parameters
NameDescription
namestring

Required. A name of the certificate map entry to describe. Must be in the format projects/*/locations/*/certificateMaps/*/certificateMapEntries/*.

callSettingsCallSettings

If not null, applies overrides to this RPC call.

Returns
TypeDescription
CertificateMapEntry

The RPC response.

Example
// Create client
CertificateManagerClient certificateManagerClient = CertificateManagerClient.Create();
// Initialize request argument(s)
string name = "projects/[PROJECT]/locations/[LOCATION]/certificateMaps/[CERTIFICATE_MAP]/certificateMapEntries/[CERTIFICATE_MAP_ENTRY]";
// Make the request
CertificateMapEntry response = certificateManagerClient.GetCertificateMapEntry(name);

GetCertificateMapEntryAsync(CertificateMapEntryName, CallSettings)

public virtual Task<CertificateMapEntry> GetCertificateMapEntryAsync(CertificateMapEntryName name, CallSettings callSettings = null)

Gets details of a single CertificateMapEntry.

Parameters
NameDescription
nameCertificateMapEntryName

Required. A name of the certificate map entry to describe. Must be in the format projects/*/locations/*/certificateMaps/*/certificateMapEntries/*.

callSettingsCallSettings

If not null, applies overrides to this RPC call.

Returns
TypeDescription
TaskCertificateMapEntry

A Task containing the RPC response.

Example
// Create client
CertificateManagerClient certificateManagerClient = await CertificateManagerClient.CreateAsync();
// Initialize request argument(s)
CertificateMapEntryName name = CertificateMapEntryName.FromProjectLocationCertificateMapCertificateMapEntry("[PROJECT]", "[LOCATION]", "[CERTIFICATE_MAP]", "[CERTIFICATE_MAP_ENTRY]");
// Make the request
CertificateMapEntry response = await certificateManagerClient.GetCertificateMapEntryAsync(name);

GetCertificateMapEntryAsync(CertificateMapEntryName, CancellationToken)

public virtual Task<CertificateMapEntry> GetCertificateMapEntryAsync(CertificateMapEntryName name, CancellationToken cancellationToken)

Gets details of a single CertificateMapEntry.

Parameters
NameDescription
nameCertificateMapEntryName

Required. A name of the certificate map entry to describe. Must be in the format projects/*/locations/*/certificateMaps/*/certificateMapEntries/*.

cancellationTokenCancellationToken

A CancellationToken to use for this RPC.

Returns
TypeDescription
TaskCertificateMapEntry

A Task containing the RPC response.

Example
// Create client
CertificateManagerClient certificateManagerClient = await CertificateManagerClient.CreateAsync();
// Initialize request argument(s)
CertificateMapEntryName name = CertificateMapEntryName.FromProjectLocationCertificateMapCertificateMapEntry("[PROJECT]", "[LOCATION]", "[CERTIFICATE_MAP]", "[CERTIFICATE_MAP_ENTRY]");
// Make the request
CertificateMapEntry response = await certificateManagerClient.GetCertificateMapEntryAsync(name);

GetCertificateMapEntryAsync(GetCertificateMapEntryRequest, CallSettings)

public virtual Task<CertificateMapEntry> GetCertificateMapEntryAsync(GetCertificateMapEntryRequest request, CallSettings callSettings = null)

Gets details of a single CertificateMapEntry.

Parameters
NameDescription
requestGetCertificateMapEntryRequest

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

callSettingsCallSettings

If not null, applies overrides to this RPC call.

Returns
TypeDescription
TaskCertificateMapEntry

A Task containing the RPC response.

Example
// Create client
CertificateManagerClient certificateManagerClient = await CertificateManagerClient.CreateAsync();
// Initialize request argument(s)
GetCertificateMapEntryRequest request = new GetCertificateMapEntryRequest
{
    CertificateMapEntryName = CertificateMapEntryName.FromProjectLocationCertificateMapCertificateMapEntry("[PROJECT]", "[LOCATION]", "[CERTIFICATE_MAP]", "[CERTIFICATE_MAP_ENTRY]"),
};
// Make the request
CertificateMapEntry response = await certificateManagerClient.GetCertificateMapEntryAsync(request);

GetCertificateMapEntryAsync(GetCertificateMapEntryRequest, CancellationToken)

public virtual Task<CertificateMapEntry> GetCertificateMapEntryAsync(GetCertificateMapEntryRequest request, CancellationToken cancellationToken)

Gets details of a single CertificateMapEntry.

Parameters
NameDescription
requestGetCertificateMapEntryRequest

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

cancellationTokenCancellationToken

A CancellationToken to use for this RPC.

Returns
TypeDescription
TaskCertificateMapEntry

A Task containing the RPC response.

Example
// Create client
CertificateManagerClient certificateManagerClient = await CertificateManagerClient.CreateAsync();
// Initialize request argument(s)
GetCertificateMapEntryRequest request = new GetCertificateMapEntryRequest
{
    CertificateMapEntryName = CertificateMapEntryName.FromProjectLocationCertificateMapCertificateMapEntry("[PROJECT]", "[LOCATION]", "[CERTIFICATE_MAP]", "[CERTIFICATE_MAP_ENTRY]"),
};
// Make the request
CertificateMapEntry response = await certificateManagerClient.GetCertificateMapEntryAsync(request);

GetCertificateMapEntryAsync(string, CallSettings)

public virtual Task<CertificateMapEntry> GetCertificateMapEntryAsync(string name, CallSettings callSettings = null)

Gets details of a single CertificateMapEntry.

Parameters
NameDescription
namestring

Required. A name of the certificate map entry to describe. Must be in the format projects/*/locations/*/certificateMaps/*/certificateMapEntries/*.

callSettingsCallSettings

If not null, applies overrides to this RPC call.

Returns
TypeDescription
TaskCertificateMapEntry

A Task containing the RPC response.

Example
// Create client
CertificateManagerClient certificateManagerClient = await CertificateManagerClient.CreateAsync();
// Initialize request argument(s)
string name = "projects/[PROJECT]/locations/[LOCATION]/certificateMaps/[CERTIFICATE_MAP]/certificateMapEntries/[CERTIFICATE_MAP_ENTRY]";
// Make the request
CertificateMapEntry response = await certificateManagerClient.GetCertificateMapEntryAsync(name);

GetCertificateMapEntryAsync(string, CancellationToken)

public virtual Task<CertificateMapEntry> GetCertificateMapEntryAsync(string name, CancellationToken cancellationToken)

Gets details of a single CertificateMapEntry.

Parameters
NameDescription
namestring

Required. A name of the certificate map entry to describe. Must be in the format projects/*/locations/*/certificateMaps/*/certificateMapEntries/*.

cancellationTokenCancellationToken

A CancellationToken to use for this RPC.

Returns
TypeDescription
TaskCertificateMapEntry

A Task containing the RPC response.

Example
// Create client
CertificateManagerClient certificateManagerClient = await CertificateManagerClient.CreateAsync();
// Initialize request argument(s)
string name = "projects/[PROJECT]/locations/[LOCATION]/certificateMaps/[CERTIFICATE_MAP]/certificateMapEntries/[CERTIFICATE_MAP_ENTRY]";
// Make the request
CertificateMapEntry response = await certificateManagerClient.GetCertificateMapEntryAsync(name);

GetDnsAuthorization(DnsAuthorizationName, CallSettings)

public virtual DnsAuthorization GetDnsAuthorization(DnsAuthorizationName name, CallSettings callSettings = null)

Gets details of a single DnsAuthorization.

Parameters
NameDescription
nameDnsAuthorizationName

Required. A name of the dns authorization to describe. Must be in the format projects/*/locations/*/dnsAuthorizations/*.

callSettingsCallSettings

If not null, applies overrides to this RPC call.

Returns
TypeDescription
DnsAuthorization

The RPC response.

Example
// Create client
CertificateManagerClient certificateManagerClient = CertificateManagerClient.Create();
// Initialize request argument(s)
DnsAuthorizationName name = DnsAuthorizationName.FromProjectLocationDnsAuthorization("[PROJECT]", "[LOCATION]", "[DNS_AUTHORIZATION]");
// Make the request
DnsAuthorization response = certificateManagerClient.GetDnsAuthorization(name);

GetDnsAuthorization(GetDnsAuthorizationRequest, CallSettings)

public virtual DnsAuthorization GetDnsAuthorization(GetDnsAuthorizationRequest request, CallSettings callSettings = null)

Gets details of a single DnsAuthorization.

Parameters
NameDescription
requestGetDnsAuthorizationRequest

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

callSettingsCallSettings

If not null, applies overrides to this RPC call.

Returns
TypeDescription
DnsAuthorization

The RPC response.

Example
// Create client
CertificateManagerClient certificateManagerClient = CertificateManagerClient.Create();
// Initialize request argument(s)
GetDnsAuthorizationRequest request = new GetDnsAuthorizationRequest
{
    DnsAuthorizationName = DnsAuthorizationName.FromProjectLocationDnsAuthorization("[PROJECT]", "[LOCATION]", "[DNS_AUTHORIZATION]"),
};
// Make the request
DnsAuthorization response = certificateManagerClient.GetDnsAuthorization(request);

GetDnsAuthorization(string, CallSettings)

public virtual DnsAuthorization GetDnsAuthorization(string name, CallSettings callSettings = null)

Gets details of a single DnsAuthorization.

Parameters
NameDescription
namestring

Required. A name of the dns authorization to describe. Must be in the format projects/*/locations/*/dnsAuthorizations/*.

callSettingsCallSettings

If not null, applies overrides to this RPC call.

Returns
TypeDescription
DnsAuthorization

The RPC response.

Example
// Create client
CertificateManagerClient certificateManagerClient = CertificateManagerClient.Create();
// Initialize request argument(s)
string name = "projects/[PROJECT]/locations/[LOCATION]/dnsAuthorizations/[DNS_AUTHORIZATION]";
// Make the request
DnsAuthorization response = certificateManagerClient.GetDnsAuthorization(name);

GetDnsAuthorizationAsync(DnsAuthorizationName, CallSettings)

public virtual Task<DnsAuthorization> GetDnsAuthorizationAsync(DnsAuthorizationName name, CallSettings callSettings = null)

Gets details of a single DnsAuthorization.

Parameters
NameDescription
nameDnsAuthorizationName

Required. A name of the dns authorization to describe. Must be in the format projects/*/locations/*/dnsAuthorizations/*.

callSettingsCallSettings

If not null, applies overrides to this RPC call.

Returns
TypeDescription
TaskDnsAuthorization

A Task containing the RPC response.

Example
// Create client
CertificateManagerClient certificateManagerClient = await CertificateManagerClient.CreateAsync();
// Initialize request argument(s)
DnsAuthorizationName name = DnsAuthorizationName.FromProjectLocationDnsAuthorization("[PROJECT]", "[LOCATION]", "[DNS_AUTHORIZATION]");
// Make the request
DnsAuthorization response = await certificateManagerClient.GetDnsAuthorizationAsync(name);

GetDnsAuthorizationAsync(DnsAuthorizationName, CancellationToken)

public virtual Task<DnsAuthorization> GetDnsAuthorizationAsync(DnsAuthorizationName name, CancellationToken cancellationToken)

Gets details of a single DnsAuthorization.

Parameters
NameDescription
nameDnsAuthorizationName

Required. A name of the dns authorization to describe. Must be in the format projects/*/locations/*/dnsAuthorizations/*.

cancellationTokenCancellationToken

A CancellationToken to use for this RPC.

Returns
TypeDescription
TaskDnsAuthorization

A Task containing the RPC response.

Example
// Create client
CertificateManagerClient certificateManagerClient = await CertificateManagerClient.CreateAsync();
// Initialize request argument(s)
DnsAuthorizationName name = DnsAuthorizationName.FromProjectLocationDnsAuthorization("[PROJECT]", "[LOCATION]", "[DNS_AUTHORIZATION]");
// Make the request
DnsAuthorization response = await certificateManagerClient.GetDnsAuthorizationAsync(name);

GetDnsAuthorizationAsync(GetDnsAuthorizationRequest, CallSettings)

public virtual Task<DnsAuthorization> GetDnsAuthorizationAsync(GetDnsAuthorizationRequest request, CallSettings callSettings = null)

Gets details of a single DnsAuthorization.

Parameters
NameDescription
requestGetDnsAuthorizationRequest

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

callSettingsCallSettings

If not null, applies overrides to this RPC call.

Returns
TypeDescription
TaskDnsAuthorization

A Task containing the RPC response.

Example
// Create client
CertificateManagerClient certificateManagerClient = await CertificateManagerClient.CreateAsync();
// Initialize request argument(s)
GetDnsAuthorizationRequest request = new GetDnsAuthorizationRequest
{
    DnsAuthorizationName = DnsAuthorizationName.FromProjectLocationDnsAuthorization("[PROJECT]", "[LOCATION]", "[DNS_AUTHORIZATION]"),
};
// Make the request
DnsAuthorization response = await certificateManagerClient.GetDnsAuthorizationAsync(request);

GetDnsAuthorizationAsync(GetDnsAuthorizationRequest, CancellationToken)

public virtual Task<DnsAuthorization> GetDnsAuthorizationAsync(GetDnsAuthorizationRequest request, CancellationToken cancellationToken)

Gets details of a single DnsAuthorization.

Parameters
NameDescription
requestGetDnsAuthorizationRequest

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

cancellationTokenCancellationToken

A CancellationToken to use for this RPC.

Returns
TypeDescription
TaskDnsAuthorization

A Task containing the RPC response.

Example
// Create client
CertificateManagerClient certificateManagerClient = await CertificateManagerClient.CreateAsync();
// Initialize request argument(s)
GetDnsAuthorizationRequest request = new GetDnsAuthorizationRequest
{
    DnsAuthorizationName = DnsAuthorizationName.FromProjectLocationDnsAuthorization("[PROJECT]", "[LOCATION]", "[DNS_AUTHORIZATION]"),
};
// Make the request
DnsAuthorization response = await certificateManagerClient.GetDnsAuthorizationAsync(request);

GetDnsAuthorizationAsync(string, CallSettings)

public virtual Task<DnsAuthorization> GetDnsAuthorizationAsync(string name, CallSettings callSettings = null)

Gets details of a single DnsAuthorization.

Parameters
NameDescription
namestring

Required. A name of the dns authorization to describe. Must be in the format projects/*/locations/*/dnsAuthorizations/*.

callSettingsCallSettings

If not null, applies overrides to this RPC call.

Returns
TypeDescription
TaskDnsAuthorization

A Task containing the RPC response.

Example
// Create client
CertificateManagerClient certificateManagerClient = await CertificateManagerClient.CreateAsync();
// Initialize request argument(s)
string name = "projects/[PROJECT]/locations/[LOCATION]/dnsAuthorizations/[DNS_AUTHORIZATION]";
// Make the request
DnsAuthorization response = await certificateManagerClient.GetDnsAuthorizationAsync(name);

GetDnsAuthorizationAsync(string, CancellationToken)

public virtual Task<DnsAuthorization> GetDnsAuthorizationAsync(string name, CancellationToken cancellationToken)

Gets details of a single DnsAuthorization.

Parameters
NameDescription
namestring

Required. A name of the dns authorization to describe. Must be in the format projects/*/locations/*/dnsAuthorizations/*.

cancellationTokenCancellationToken

A CancellationToken to use for this RPC.

Returns
TypeDescription
TaskDnsAuthorization

A Task containing the RPC response.

Example
// Create client
CertificateManagerClient certificateManagerClient = await CertificateManagerClient.CreateAsync();
// Initialize request argument(s)
string name = "projects/[PROJECT]/locations/[LOCATION]/dnsAuthorizations/[DNS_AUTHORIZATION]";
// Make the request
DnsAuthorization response = await certificateManagerClient.GetDnsAuthorizationAsync(name);

ListCertificateIssuanceConfigs(LocationName, string, int?, CallSettings)

public virtual PagedEnumerable<ListCertificateIssuanceConfigsResponse, CertificateIssuanceConfig> ListCertificateIssuanceConfigs(LocationName parent, string pageToken = null, int? pageSize = null, CallSettings callSettings = null)

Lists CertificateIssuanceConfigs in a given project and location.

Parameters
NameDescription
parentLocationName

Required. The project and location from which the certificate should be listed, specified in the format projects/*/locations/*.

pageTokenstring

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

pageSizeint

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

callSettingsCallSettings

If not null, applies overrides to this RPC call.

Returns
TypeDescription
PagedEnumerableListCertificateIssuanceConfigsResponseCertificateIssuanceConfig

A pageable sequence of CertificateIssuanceConfig resources.

Example
// Create client
CertificateManagerClient certificateManagerClient = CertificateManagerClient.Create();
// Initialize request argument(s)
LocationName parent = LocationName.FromProjectLocation("[PROJECT]", "[LOCATION]");
// Make the request
PagedEnumerable<ListCertificateIssuanceConfigsResponse, CertificateIssuanceConfig> response = certificateManagerClient.ListCertificateIssuanceConfigs(parent);

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

ListCertificateIssuanceConfigs(ListCertificateIssuanceConfigsRequest, CallSettings)

public virtual PagedEnumerable<ListCertificateIssuanceConfigsResponse, CertificateIssuanceConfig> ListCertificateIssuanceConfigs(ListCertificateIssuanceConfigsRequest request, CallSettings callSettings = null)

Lists CertificateIssuanceConfigs in a given project and location.

Parameters
NameDescription
requestListCertificateIssuanceConfigsRequest

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

callSettingsCallSettings

If not null, applies overrides to this RPC call.

Returns
TypeDescription
PagedEnumerableListCertificateIssuanceConfigsResponseCertificateIssuanceConfig

A pageable sequence of CertificateIssuanceConfig resources.

Example
// Create client
CertificateManagerClient certificateManagerClient = CertificateManagerClient.Create();
// Initialize request argument(s)
ListCertificateIssuanceConfigsRequest request = new ListCertificateIssuanceConfigsRequest
{
    ParentAsLocationName = LocationName.FromProjectLocation("[PROJECT]", "[LOCATION]"),
    Filter = "",
    OrderBy = "",
};
// Make the request
PagedEnumerable<ListCertificateIssuanceConfigsResponse, CertificateIssuanceConfig> response = certificateManagerClient.ListCertificateIssuanceConfigs(request);

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

ListCertificateIssuanceConfigs(string, string, int?, CallSettings)

public virtual PagedEnumerable<ListCertificateIssuanceConfigsResponse, CertificateIssuanceConfig> ListCertificateIssuanceConfigs(string parent, string pageToken = null, int? pageSize = null, CallSettings callSettings = null)

Lists CertificateIssuanceConfigs in a given project and location.

Parameters
NameDescription
parentstring

Required. The project and location from which the certificate should be listed, specified in the format projects/*/locations/*.

pageTokenstring

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

pageSizeint

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

callSettingsCallSettings

If not null, applies overrides to this RPC call.

Returns
TypeDescription
PagedEnumerableListCertificateIssuanceConfigsResponseCertificateIssuanceConfig

A pageable sequence of CertificateIssuanceConfig resources.

Example
// Create client
CertificateManagerClient certificateManagerClient = CertificateManagerClient.Create();
// Initialize request argument(s)
string parent = "projects/[PROJECT]/locations/[LOCATION]";
// Make the request
PagedEnumerable<ListCertificateIssuanceConfigsResponse, CertificateIssuanceConfig> response = certificateManagerClient.ListCertificateIssuanceConfigs(parent);

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

ListCertificateIssuanceConfigsAsync(LocationName, string, int?, CallSettings)

public virtual PagedAsyncEnumerable<ListCertificateIssuanceConfigsResponse, CertificateIssuanceConfig> ListCertificateIssuanceConfigsAsync(LocationName parent, string pageToken = null, int? pageSize = null, CallSettings callSettings = null)

Lists CertificateIssuanceConfigs in a given project and location.

Parameters
NameDescription
parentLocationName

Required. The project and location from which the certificate should be listed, specified in the format projects/*/locations/*.

pageTokenstring

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

pageSizeint

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

callSettingsCallSettings

If not null, applies overrides to this RPC call.

Returns
TypeDescription
PagedAsyncEnumerableListCertificateIssuanceConfigsResponseCertificateIssuanceConfig

A pageable asynchronous sequence of CertificateIssuanceConfig resources.

Example
// Create client
CertificateManagerClient certificateManagerClient = await CertificateManagerClient.CreateAsync();
// Initialize request argument(s)
LocationName parent = LocationName.FromProjectLocation("[PROJECT]", "[LOCATION]");
// Make the request
PagedAsyncEnumerable<ListCertificateIssuanceConfigsResponse, CertificateIssuanceConfig> response = certificateManagerClient.ListCertificateIssuanceConfigsAsync(parent);

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

ListCertificateIssuanceConfigsAsync(ListCertificateIssuanceConfigsRequest, CallSettings)

public virtual PagedAsyncEnumerable<ListCertificateIssuanceConfigsResponse, CertificateIssuanceConfig> ListCertificateIssuanceConfigsAsync(ListCertificateIssuanceConfigsRequest request, CallSettings callSettings = null)

Lists CertificateIssuanceConfigs in a given project and location.

Parameters
NameDescription
requestListCertificateIssuanceConfigsRequest

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

callSettingsCallSettings

If not null, applies overrides to this RPC call.

Returns
TypeDescription
PagedAsyncEnumerableListCertificateIssuanceConfigsResponseCertificateIssuanceConfig

A pageable asynchronous sequence of CertificateIssuanceConfig resources.

Example
// Create client
CertificateManagerClient certificateManagerClient = await CertificateManagerClient.CreateAsync();
// Initialize request argument(s)
ListCertificateIssuanceConfigsRequest request = new ListCertificateIssuanceConfigsRequest
{
    ParentAsLocationName = LocationName.FromProjectLocation("[PROJECT]", "[LOCATION]"),
    Filter = "",
    OrderBy = "",
};
// Make the request
PagedAsyncEnumerable<ListCertificateIssuanceConfigsResponse, CertificateIssuanceConfig> response = certificateManagerClient.ListCertificateIssuanceConfigsAsync(request);

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

ListCertificateIssuanceConfigsAsync(string, string, int?, CallSettings)

public virtual PagedAsyncEnumerable<ListCertificateIssuanceConfigsResponse, CertificateIssuanceConfig> ListCertificateIssuanceConfigsAsync(string parent, string pageToken = null, int? pageSize = null, CallSettings callSettings = null)

Lists CertificateIssuanceConfigs in a given project and location.

Parameters
NameDescription
parentstring

Required. The project and location from which the certificate should be listed, specified in the format projects/*/locations/*.

pageTokenstring

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

pageSizeint

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

callSettingsCallSettings

If not null, applies overrides to this RPC call.

Returns
TypeDescription
PagedAsyncEnumerableListCertificateIssuanceConfigsResponseCertificateIssuanceConfig

A pageable asynchronous sequence of CertificateIssuanceConfig resources.

Example
// Create client
CertificateManagerClient certificateManagerClient = await CertificateManagerClient.CreateAsync();
// Initialize request argument(s)
string parent = "projects/[PROJECT]/locations/[LOCATION]";
// Make the request
PagedAsyncEnumerable<ListCertificateIssuanceConfigsResponse, CertificateIssuanceConfig> response = certificateManagerClient.ListCertificateIssuanceConfigsAsync(parent);

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

ListCertificateMapEntries(CertificateMapName, string, int?, CallSettings)

public virtual PagedEnumerable<ListCertificateMapEntriesResponse, CertificateMapEntry> ListCertificateMapEntries(CertificateMapName parent, string pageToken = null, int? pageSize = null, CallSettings callSettings = null)

Lists CertificateMapEntries in a given project and location.

Parameters
NameDescription
parentCertificateMapName

Required. The project, location and certificate map from which the certificate map entries should be listed, specified in the format projects/*/locations/*/certificateMaps/*.

pageTokenstring

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

pageSizeint

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

callSettingsCallSettings

If not null, applies overrides to this RPC call.

Returns
TypeDescription
PagedEnumerableListCertificateMapEntriesResponseCertificateMapEntry

A pageable sequence of CertificateMapEntry resources.

Example
// Create client
CertificateManagerClient certificateManagerClient = CertificateManagerClient.Create();
// Initialize request argument(s)
CertificateMapName parent = CertificateMapName.FromProjectLocationCertificateMap("[PROJECT]", "[LOCATION]", "[CERTIFICATE_MAP]");
// Make the request
PagedEnumerable<ListCertificateMapEntriesResponse, CertificateMapEntry> response = certificateManagerClient.ListCertificateMapEntries(parent);

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

ListCertificateMapEntries(ListCertificateMapEntriesRequest, CallSettings)

public virtual PagedEnumerable<ListCertificateMapEntriesResponse, CertificateMapEntry> ListCertificateMapEntries(ListCertificateMapEntriesRequest request, CallSettings callSettings = null)

Lists CertificateMapEntries in a given project and location.

Parameters
NameDescription
requestListCertificateMapEntriesRequest

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

callSettingsCallSettings

If not null, applies overrides to this RPC call.

Returns
TypeDescription
PagedEnumerableListCertificateMapEntriesResponseCertificateMapEntry

A pageable sequence of CertificateMapEntry resources.

Example
// Create client
CertificateManagerClient certificateManagerClient = CertificateManagerClient.Create();
// Initialize request argument(s)
ListCertificateMapEntriesRequest request = new ListCertificateMapEntriesRequest
{
    ParentAsCertificateMapName = CertificateMapName.FromProjectLocationCertificateMap("[PROJECT]", "[LOCATION]", "[CERTIFICATE_MAP]"),
    Filter = "",
    OrderBy = "",
};
// Make the request
PagedEnumerable<ListCertificateMapEntriesResponse, CertificateMapEntry> response = certificateManagerClient.ListCertificateMapEntries(request);

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

ListCertificateMapEntries(string, string, int?, CallSettings)

public virtual PagedEnumerable<ListCertificateMapEntriesResponse, CertificateMapEntry> ListCertificateMapEntries(string parent, string pageToken = null, int? pageSize = null, CallSettings callSettings = null)

Lists CertificateMapEntries in a given project and location.

Parameters
NameDescription
parentstring

Required. The project, location and certificate map from which the certificate map entries should be listed, specified in the format projects/*/locations/*/certificateMaps/*.

pageTokenstring

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

pageSizeint

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

callSettingsCallSettings

If not null, applies overrides to this RPC call.

Returns
TypeDescription
PagedEnumerableListCertificateMapEntriesResponseCertificateMapEntry

A pageable sequence of CertificateMapEntry resources.

Example
// Create client
CertificateManagerClient certificateManagerClient = CertificateManagerClient.Create();
// Initialize request argument(s)
string parent = "projects/[PROJECT]/locations/[LOCATION]/certificateMaps/[CERTIFICATE_MAP]";
// Make the request
PagedEnumerable<ListCertificateMapEntriesResponse, CertificateMapEntry> response = certificateManagerClient.ListCertificateMapEntries(parent);

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

ListCertificateMapEntriesAsync(CertificateMapName, string, int?, CallSettings)

public virtual PagedAsyncEnumerable<ListCertificateMapEntriesResponse, CertificateMapEntry> ListCertificateMapEntriesAsync(CertificateMapName parent, string pageToken = null, int? pageSize = null, CallSettings callSettings = null)

Lists CertificateMapEntries in a given project and location.

Parameters
NameDescription
parentCertificateMapName

Required. The project, location and certificate map from which the certificate map entries should be listed, specified in the format projects/*/locations/*/certificateMaps/*.

pageTokenstring

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

pageSizeint

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

callSettingsCallSettings

If not null, applies overrides to this RPC call.

Returns
TypeDescription
PagedAsyncEnumerableListCertificateMapEntriesResponseCertificateMapEntry

A pageable asynchronous sequence of CertificateMapEntry resources.

Example
// Create client
CertificateManagerClient certificateManagerClient = await CertificateManagerClient.CreateAsync();
// Initialize request argument(s)
CertificateMapName parent = CertificateMapName.FromProjectLocationCertificateMap("[PROJECT]", "[LOCATION]", "[CERTIFICATE_MAP]");
// Make the request
PagedAsyncEnumerable<ListCertificateMapEntriesResponse, CertificateMapEntry> response = certificateManagerClient.ListCertificateMapEntriesAsync(parent);

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

ListCertificateMapEntriesAsync(ListCertificateMapEntriesRequest, CallSettings)

public virtual PagedAsyncEnumerable<ListCertificateMapEntriesResponse, CertificateMapEntry> ListCertificateMapEntriesAsync(ListCertificateMapEntriesRequest request, CallSettings callSettings = null)

Lists CertificateMapEntries in a given project and location.

Parameters
NameDescription
requestListCertificateMapEntriesRequest

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

callSettingsCallSettings

If not null, applies overrides to this RPC call.

Returns
TypeDescription
PagedAsyncEnumerableListCertificateMapEntriesResponseCertificateMapEntry

A pageable asynchronous sequence of CertificateMapEntry resources.

Example
// Create client
CertificateManagerClient certificateManagerClient = await CertificateManagerClient.CreateAsync();
// Initialize request argument(s)
ListCertificateMapEntriesRequest request = new ListCertificateMapEntriesRequest
{
    ParentAsCertificateMapName = CertificateMapName.FromProjectLocationCertificateMap("[PROJECT]", "[LOCATION]", "[CERTIFICATE_MAP]"),
    Filter = "",
    OrderBy = "",
};
// Make the request
PagedAsyncEnumerable<ListCertificateMapEntriesResponse, CertificateMapEntry> response = certificateManagerClient.ListCertificateMapEntriesAsync(request);

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

ListCertificateMapEntriesAsync(string, string, int?, CallSettings)

public virtual PagedAsyncEnumerable<ListCertificateMapEntriesResponse, CertificateMapEntry> ListCertificateMapEntriesAsync(string parent, string pageToken = null, int? pageSize = null, CallSettings callSettings = null)

Lists CertificateMapEntries in a given project and location.

Parameters
NameDescription
parentstring

Required. The project, location and certificate map from which the certificate map entries should be listed, specified in the format projects/*/locations/*/certificateMaps/*.

pageTokenstring

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

pageSizeint

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

callSettingsCallSettings

If not null, applies overrides to this RPC call.

Returns
TypeDescription
PagedAsyncEnumerableListCertificateMapEntriesResponseCertificateMapEntry

A pageable asynchronous sequence of CertificateMapEntry resources.

Example
// Create client
CertificateManagerClient certificateManagerClient = await CertificateManagerClient.CreateAsync();
// Initialize request argument(s)
string parent = "projects/[PROJECT]/locations/[LOCATION]/certificateMaps/[CERTIFICATE_MAP]";
// Make the request
PagedAsyncEnumerable<ListCertificateMapEntriesResponse, CertificateMapEntry> response = certificateManagerClient.ListCertificateMapEntriesAsync(parent);

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

ListCertificateMaps(LocationName, string, int?, CallSettings)

public virtual PagedEnumerable<ListCertificateMapsResponse, CertificateMap> ListCertificateMaps(LocationName parent, string pageToken = null, int? pageSize = null, CallSettings callSettings = null)

Lists CertificateMaps in a given project and location.

Parameters
NameDescription
parentLocationName

Required. The project and location from which the certificate maps should be listed, specified in the format projects/*/locations/*.

pageTokenstring

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

pageSizeint

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

callSettingsCallSettings

If not null, applies overrides to this RPC call.

Returns
TypeDescription
PagedEnumerableListCertificateMapsResponseCertificateMap

A pageable sequence of CertificateMap resources.

Example
// Create client
CertificateManagerClient certificateManagerClient = CertificateManagerClient.Create();
// Initialize request argument(s)
LocationName parent = LocationName.FromProjectLocation("[PROJECT]", "[LOCATION]");
// Make the request
PagedEnumerable<ListCertificateMapsResponse, CertificateMap> response = certificateManagerClient.ListCertificateMaps(parent);

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

ListCertificateMaps(ListCertificateMapsRequest, CallSettings)

public virtual PagedEnumerable<ListCertificateMapsResponse, CertificateMap> ListCertificateMaps(ListCertificateMapsRequest request, CallSettings callSettings = null)

Lists CertificateMaps in a given project and location.

Parameters
NameDescription
requestListCertificateMapsRequest

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

callSettingsCallSettings

If not null, applies overrides to this RPC call.

Returns
TypeDescription
PagedEnumerableListCertificateMapsResponseCertificateMap

A pageable sequence of CertificateMap resources.

Example
// Create client
CertificateManagerClient certificateManagerClient = CertificateManagerClient.Create();
// Initialize request argument(s)
ListCertificateMapsRequest request = new ListCertificateMapsRequest
{
    ParentAsLocationName = LocationName.FromProjectLocation("[PROJECT]", "[LOCATION]"),
    Filter = "",
    OrderBy = "",
};
// Make the request
PagedEnumerable<ListCertificateMapsResponse, CertificateMap> response = certificateManagerClient.ListCertificateMaps(request);

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

ListCertificateMaps(string, string, int?, CallSettings)

public virtual PagedEnumerable<ListCertificateMapsResponse, CertificateMap> ListCertificateMaps(string parent, string pageToken = null, int? pageSize = null, CallSettings callSettings = null)

Lists CertificateMaps in a given project and location.

Parameters
NameDescription
parentstring

Required. The project and location from which the certificate maps should be listed, specified in the format projects/*/locations/*.

pageTokenstring

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

pageSizeint

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

callSettingsCallSettings

If not null, applies overrides to this RPC call.

Returns
TypeDescription
PagedEnumerableListCertificateMapsResponseCertificateMap

A pageable sequence of CertificateMap resources.

Example
// Create client
CertificateManagerClient certificateManagerClient = CertificateManagerClient.Create();
// Initialize request argument(s)
string parent = "projects/[PROJECT]/locations/[LOCATION]";
// Make the request
PagedEnumerable<ListCertificateMapsResponse, CertificateMap> response = certificateManagerClient.ListCertificateMaps(parent);

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

ListCertificateMapsAsync(LocationName, string, int?, CallSettings)

public virtual PagedAsyncEnumerable<ListCertificateMapsResponse, CertificateMap> ListCertificateMapsAsync(LocationName parent, string pageToken = null, int? pageSize = null, CallSettings callSettings = null)

Lists CertificateMaps in a given project and location.

Parameters
NameDescription
parentLocationName

Required. The project and location from which the certificate maps should be listed, specified in the format projects/*/locations/*.

pageTokenstring

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

pageSizeint

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

callSettingsCallSettings

If not null, applies overrides to this RPC call.

Returns
TypeDescription
PagedAsyncEnumerableListCertificateMapsResponseCertificateMap

A pageable asynchronous sequence of CertificateMap resources.

Example
// Create client
CertificateManagerClient certificateManagerClient = await CertificateManagerClient.CreateAsync();
// Initialize request argument(s)
LocationName parent = LocationName.FromProjectLocation("[PROJECT]", "[LOCATION]");
// Make the request
PagedAsyncEnumerable<ListCertificateMapsResponse, CertificateMap> response = certificateManagerClient.ListCertificateMapsAsync(parent);

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

ListCertificateMapsAsync(ListCertificateMapsRequest, CallSettings)

public virtual PagedAsyncEnumerable<ListCertificateMapsResponse, CertificateMap> ListCertificateMapsAsync(ListCertificateMapsRequest request, CallSettings callSettings = null)

Lists CertificateMaps in a given project and location.

Parameters
NameDescription
requestListCertificateMapsRequest

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

callSettingsCallSettings

If not null, applies overrides to this RPC call.

Returns
TypeDescription
PagedAsyncEnumerableListCertificateMapsResponseCertificateMap

A pageable asynchronous sequence of CertificateMap resources.

Example
// Create client
CertificateManagerClient certificateManagerClient = await CertificateManagerClient.CreateAsync();
// Initialize request argument(s)
ListCertificateMapsRequest request = new ListCertificateMapsRequest
{
    ParentAsLocationName = LocationName.FromProjectLocation("[PROJECT]", "[LOCATION]"),
    Filter = "",
    OrderBy = "",
};
// Make the request
PagedAsyncEnumerable<ListCertificateMapsResponse, CertificateMap> response = certificateManagerClient.ListCertificateMapsAsync(request);

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

ListCertificateMapsAsync(string, string, int?, CallSettings)

public virtual PagedAsyncEnumerable<ListCertificateMapsResponse, CertificateMap> ListCertificateMapsAsync(string parent, string pageToken = null, int? pageSize = null, CallSettings callSettings = null)

Lists CertificateMaps in a given project and location.

Parameters
NameDescription
parentstring

Required. The project and location from which the certificate maps should be listed, specified in the format projects/*/locations/*.

pageTokenstring

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

pageSizeint

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

callSettingsCallSettings

If not null, applies overrides to this RPC call.

Returns
TypeDescription
PagedAsyncEnumerableListCertificateMapsResponseCertificateMap

A pageable asynchronous sequence of CertificateMap resources.

Example
// Create client
CertificateManagerClient certificateManagerClient = await CertificateManagerClient.CreateAsync();
// Initialize request argument(s)
string parent = "projects/[PROJECT]/locations/[LOCATION]";
// Make the request
PagedAsyncEnumerable<ListCertificateMapsResponse, CertificateMap> response = certificateManagerClient.ListCertificateMapsAsync(parent);

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

ListCertificates(LocationName, string, int?, CallSettings)

public virtual PagedEnumerable<ListCertificatesResponse, Certificate> ListCertificates(LocationName parent, string pageToken = null, int? pageSize = null, CallSettings callSettings = null)

Lists Certificates in a given project and location.

Parameters
NameDescription
parentLocationName

Required. The project and location from which the certificate should be listed, specified in the format projects/*/locations/*.

pageTokenstring

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

pageSizeint

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

callSettingsCallSettings

If not null, applies overrides to this RPC call.

Returns
TypeDescription
PagedEnumerableListCertificatesResponseCertificate

A pageable sequence of Certificate resources.

Example
// Create client
CertificateManagerClient certificateManagerClient = CertificateManagerClient.Create();
// Initialize request argument(s)
LocationName parent = LocationName.FromProjectLocation("[PROJECT]", "[LOCATION]");
// Make the request
PagedEnumerable<ListCertificatesResponse, Certificate> response = certificateManagerClient.ListCertificates(parent);

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

ListCertificates(ListCertificatesRequest, CallSettings)

public virtual PagedEnumerable<ListCertificatesResponse, Certificate> ListCertificates(ListCertificatesRequest request, CallSettings callSettings = null)

Lists Certificates in a given project and location.

Parameters
NameDescription
requestListCertificatesRequest

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

callSettingsCallSettings

If not null, applies overrides to this RPC call.

Returns
TypeDescription
PagedEnumerableListCertificatesResponseCertificate

A pageable sequence of Certificate resources.

Example
// Create client
CertificateManagerClient certificateManagerClient = CertificateManagerClient.Create();
// Initialize request argument(s)
ListCertificatesRequest request = new ListCertificatesRequest
{
    ParentAsLocationName = LocationName.FromProjectLocation("[PROJECT]", "[LOCATION]"),
    Filter = "",
    OrderBy = "",
};
// Make the request
PagedEnumerable<ListCertificatesResponse, Certificate> response = certificateManagerClient.ListCertificates(request);

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

ListCertificates(string, string, int?, CallSettings)

public virtual PagedEnumerable<ListCertificatesResponse, Certificate> ListCertificates(string parent, string pageToken = null, int? pageSize = null, CallSettings callSettings = null)

Lists Certificates in a given project and location.

Parameters
NameDescription
parentstring

Required. The project and location from which the certificate should be listed, specified in the format projects/*/locations/*.

pageTokenstring

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

pageSizeint

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

callSettingsCallSettings

If not null, applies overrides to this RPC call.

Returns
TypeDescription
PagedEnumerableListCertificatesResponseCertificate

A pageable sequence of Certificate resources.

Example
// Create client
CertificateManagerClient certificateManagerClient = CertificateManagerClient.Create();
// Initialize request argument(s)
string parent = "projects/[PROJECT]/locations/[LOCATION]";
// Make the request
PagedEnumerable<ListCertificatesResponse, Certificate> response = certificateManagerClient.ListCertificates(parent);

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

ListCertificatesAsync(LocationName, string, int?, CallSettings)

public virtual PagedAsyncEnumerable<ListCertificatesResponse, Certificate> ListCertificatesAsync(LocationName parent, string pageToken = null, int? pageSize = null, CallSettings callSettings = null)

Lists Certificates in a given project and location.

Parameters
NameDescription
parentLocationName

Required. The project and location from which the certificate should be listed, specified in the format projects/*/locations/*.

pageTokenstring

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

pageSizeint

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

callSettingsCallSettings

If not null, applies overrides to this RPC call.

Returns
TypeDescription
PagedAsyncEnumerableListCertificatesResponseCertificate

A pageable asynchronous sequence of Certificate resources.

Example
// Create client
CertificateManagerClient certificateManagerClient = await CertificateManagerClient.CreateAsync();
// Initialize request argument(s)
LocationName parent = LocationName.FromProjectLocation("[PROJECT]", "[LOCATION]");
// Make the request
PagedAsyncEnumerable<ListCertificatesResponse, Certificate> response = certificateManagerClient.ListCertificatesAsync(parent);

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

ListCertificatesAsync(ListCertificatesRequest, CallSettings)

public virtual PagedAsyncEnumerable<ListCertificatesResponse, Certificate> ListCertificatesAsync(ListCertificatesRequest request, CallSettings callSettings = null)

Lists Certificates in a given project and location.

Parameters
NameDescription
requestListCertificatesRequest

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

callSettingsCallSettings

If not null, applies overrides to this RPC call.

Returns
TypeDescription
PagedAsyncEnumerableListCertificatesResponseCertificate

A pageable asynchronous sequence of Certificate resources.

Example
// Create client
CertificateManagerClient certificateManagerClient = await CertificateManagerClient.CreateAsync();
// Initialize request argument(s)
ListCertificatesRequest request = new ListCertificatesRequest
{
    ParentAsLocationName = LocationName.FromProjectLocation("[PROJECT]", "[LOCATION]"),
    Filter = "",
    OrderBy = "",
};
// Make the request
PagedAsyncEnumerable<ListCertificatesResponse, Certificate> response = certificateManagerClient.ListCertificatesAsync(request);

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

ListCertificatesAsync(string, string, int?, CallSettings)

public virtual PagedAsyncEnumerable<ListCertificatesResponse, Certificate> ListCertificatesAsync(string parent, string pageToken = null, int? pageSize = null, CallSettings callSettings = null)

Lists Certificates in a given project and location.

Parameters
NameDescription
parentstring

Required. The project and location from which the certificate should be listed, specified in the format projects/*/locations/*.

pageTokenstring

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

pageSizeint

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

callSettingsCallSettings

If not null, applies overrides to this RPC call.

Returns
TypeDescription
PagedAsyncEnumerableListCertificatesResponseCertificate

A pageable asynchronous sequence of Certificate resources.

Example
// Create client
CertificateManagerClient certificateManagerClient = await CertificateManagerClient.CreateAsync();
// Initialize request argument(s)
string parent = "projects/[PROJECT]/locations/[LOCATION]";
// Make the request
PagedAsyncEnumerable<ListCertificatesResponse, Certificate> response = certificateManagerClient.ListCertificatesAsync(parent);

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

ListDnsAuthorizations(LocationName, string, int?, CallSettings)

public virtual PagedEnumerable<ListDnsAuthorizationsResponse, DnsAuthorization> ListDnsAuthorizations(LocationName parent, string pageToken = null, int? pageSize = null, CallSettings callSettings = null)

Lists DnsAuthorizations in a given project and location.

Parameters
NameDescription
parentLocationName

Required. The project and location from which the dns authorizations should be listed, specified in the format projects/*/locations/*.

pageTokenstring

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

pageSizeint

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

callSettingsCallSettings

If not null, applies overrides to this RPC call.

Returns
TypeDescription
PagedEnumerableListDnsAuthorizationsResponseDnsAuthorization

A pageable sequence of DnsAuthorization resources.

Example
// Create client
CertificateManagerClient certificateManagerClient = CertificateManagerClient.Create();
// Initialize request argument(s)
LocationName parent = LocationName.FromProjectLocation("[PROJECT]", "[LOCATION]");
// Make the request
PagedEnumerable<ListDnsAuthorizationsResponse, DnsAuthorization> response = certificateManagerClient.ListDnsAuthorizations(parent);

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

ListDnsAuthorizations(ListDnsAuthorizationsRequest, CallSettings)

public virtual PagedEnumerable<ListDnsAuthorizationsResponse, DnsAuthorization> ListDnsAuthorizations(ListDnsAuthorizationsRequest request, CallSettings callSettings = null)

Lists DnsAuthorizations in a given project and location.

Parameters
NameDescription
requestListDnsAuthorizationsRequest

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

callSettingsCallSettings

If not null, applies overrides to this RPC call.

Returns
TypeDescription
PagedEnumerableListDnsAuthorizationsResponseDnsAuthorization

A pageable sequence of DnsAuthorization resources.

Example
// Create client
CertificateManagerClient certificateManagerClient = CertificateManagerClient.Create();
// Initialize request argument(s)
ListDnsAuthorizationsRequest request = new ListDnsAuthorizationsRequest
{
    ParentAsLocationName = LocationName.FromProjectLocation("[PROJECT]", "[LOCATION]"),
    Filter = "",
    OrderBy = "",
};
// Make the request
PagedEnumerable<ListDnsAuthorizationsResponse, DnsAuthorization> response = certificateManagerClient.ListDnsAuthorizations(request);

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

ListDnsAuthorizations(string, string, int?, CallSettings)

public virtual PagedEnumerable<ListDnsAuthorizationsResponse, DnsAuthorization> ListDnsAuthorizations(string parent, string pageToken = null, int? pageSize = null, CallSettings callSettings = null)

Lists DnsAuthorizations in a given project and location.

Parameters
NameDescription
parentstring

Required. The project and location from which the dns authorizations should be listed, specified in the format projects/*/locations/*.

pageTokenstring

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

pageSizeint

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

callSettingsCallSettings

If not null, applies overrides to this RPC call.

Returns
TypeDescription
PagedEnumerableListDnsAuthorizationsResponseDnsAuthorization

A pageable sequence of DnsAuthorization resources.

Example
// Create client
CertificateManagerClient certificateManagerClient = CertificateManagerClient.Create();
// Initialize request argument(s)
string parent = "projects/[PROJECT]/locations/[LOCATION]";
// Make the request
PagedEnumerable<ListDnsAuthorizationsResponse, DnsAuthorization> response = certificateManagerClient.ListDnsAuthorizations(parent);

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

ListDnsAuthorizationsAsync(LocationName, string, int?, CallSettings)

public virtual PagedAsyncEnumerable<ListDnsAuthorizationsResponse, DnsAuthorization> ListDnsAuthorizationsAsync(LocationName parent, string pageToken = null, int? pageSize = null, CallSettings callSettings = null)

Lists DnsAuthorizations in a given project and location.

Parameters
NameDescription
parentLocationName

Required. The project and location from which the dns authorizations should be listed, specified in the format projects/*/locations/*.

pageTokenstring

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

pageSizeint

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

callSettingsCallSettings

If not null, applies overrides to this RPC call.

Returns
TypeDescription
PagedAsyncEnumerableListDnsAuthorizationsResponseDnsAuthorization

A pageable asynchronous sequence of DnsAuthorization resources.

Example
// Create client
CertificateManagerClient certificateManagerClient = await CertificateManagerClient.CreateAsync();
// Initialize request argument(s)
LocationName parent = LocationName.FromProjectLocation("[PROJECT]", "[LOCATION]");
// Make the request
PagedAsyncEnumerable<ListDnsAuthorizationsResponse, DnsAuthorization> response = certificateManagerClient.ListDnsAuthorizationsAsync(parent);

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

ListDnsAuthorizationsAsync(ListDnsAuthorizationsRequest, CallSettings)

public virtual PagedAsyncEnumerable<ListDnsAuthorizationsResponse, DnsAuthorization> ListDnsAuthorizationsAsync(ListDnsAuthorizationsRequest request, CallSettings callSettings = null)

Lists DnsAuthorizations in a given project and location.

Parameters
NameDescription
requestListDnsAuthorizationsRequest

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

callSettingsCallSettings

If not null, applies overrides to this RPC call.

Returns
TypeDescription
PagedAsyncEnumerableListDnsAuthorizationsResponseDnsAuthorization

A pageable asynchronous sequence of DnsAuthorization resources.

Example
// Create client
CertificateManagerClient certificateManagerClient = await CertificateManagerClient.CreateAsync();
// Initialize request argument(s)
ListDnsAuthorizationsRequest request = new ListDnsAuthorizationsRequest
{
    ParentAsLocationName = LocationName.FromProjectLocation("[PROJECT]", "[LOCATION]"),
    Filter = "",
    OrderBy = "",
};
// Make the request
PagedAsyncEnumerable<ListDnsAuthorizationsResponse, DnsAuthorization> response = certificateManagerClient.ListDnsAuthorizationsAsync(request);

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

ListDnsAuthorizationsAsync(string, string, int?, CallSettings)

public virtual PagedAsyncEnumerable<ListDnsAuthorizationsResponse, DnsAuthorization> ListDnsAuthorizationsAsync(string parent, string pageToken = null, int? pageSize = null, CallSettings callSettings = null)

Lists DnsAuthorizations in a given project and location.

Parameters
NameDescription
parentstring

Required. The project and location from which the dns authorizations should be listed, specified in the format projects/*/locations/*.

pageTokenstring

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

pageSizeint

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

callSettingsCallSettings

If not null, applies overrides to this RPC call.

Returns
TypeDescription
PagedAsyncEnumerableListDnsAuthorizationsResponseDnsAuthorization

A pageable asynchronous sequence of DnsAuthorization resources.

Example
// Create client
CertificateManagerClient certificateManagerClient = await CertificateManagerClient.CreateAsync();
// Initialize request argument(s)
string parent = "projects/[PROJECT]/locations/[LOCATION]";
// Make the request
PagedAsyncEnumerable<ListDnsAuthorizationsResponse, DnsAuthorization> response = certificateManagerClient.ListDnsAuthorizationsAsync(parent);

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

PollOnceCreateCertificate(string, CallSettings)

public virtual Operation<Certificate, OperationMetadata> PollOnceCreateCertificate(string operationName, CallSettings callSettings = null)

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

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
OperationCertificateOperationMetadata

The result of polling the operation.

PollOnceCreateCertificateAsync(string, CallSettings)

public virtual Task<Operation<Certificate, OperationMetadata>> PollOnceCreateCertificateAsync(string operationName, CallSettings callSettings = null)

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

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
TaskOperationCertificateOperationMetadata

A task representing the result of polling the operation.

PollOnceCreateCertificateIssuanceConfig(string, CallSettings)

public virtual Operation<CertificateIssuanceConfig, OperationMetadata> PollOnceCreateCertificateIssuanceConfig(string operationName, CallSettings callSettings = null)

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

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
OperationCertificateIssuanceConfigOperationMetadata

The result of polling the operation.

PollOnceCreateCertificateIssuanceConfigAsync(string, CallSettings)

public virtual Task<Operation<CertificateIssuanceConfig, OperationMetadata>> PollOnceCreateCertificateIssuanceConfigAsync(string operationName, CallSettings callSettings = null)

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

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
TaskOperationCertificateIssuanceConfigOperationMetadata

A task representing the result of polling the operation.

PollOnceCreateCertificateMap(string, CallSettings)

public virtual Operation<CertificateMap, OperationMetadata> PollOnceCreateCertificateMap(string operationName, CallSettings callSettings = null)

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

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
OperationCertificateMapOperationMetadata

The result of polling the operation.

PollOnceCreateCertificateMapAsync(string, CallSettings)

public virtual Task<Operation<CertificateMap, OperationMetadata>> PollOnceCreateCertificateMapAsync(string operationName, CallSettings callSettings = null)

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

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
TaskOperationCertificateMapOperationMetadata

A task representing the result of polling the operation.

PollOnceCreateCertificateMapEntry(string, CallSettings)

public virtual Operation<CertificateMapEntry, OperationMetadata> PollOnceCreateCertificateMapEntry(string operationName, CallSettings callSettings = null)

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

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
OperationCertificateMapEntryOperationMetadata

The result of polling the operation.

PollOnceCreateCertificateMapEntryAsync(string, CallSettings)

public virtual Task<Operation<CertificateMapEntry, OperationMetadata>> PollOnceCreateCertificateMapEntryAsync(string operationName, CallSettings callSettings = null)

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

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
TaskOperationCertificateMapEntryOperationMetadata

A task representing the result of polling the operation.

PollOnceCreateDnsAuthorization(string, CallSettings)

public virtual Operation<DnsAuthorization, OperationMetadata> PollOnceCreateDnsAuthorization(string operationName, CallSettings callSettings = null)

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

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
OperationDnsAuthorizationOperationMetadata

The result of polling the operation.

PollOnceCreateDnsAuthorizationAsync(string, CallSettings)

public virtual Task<Operation<DnsAuthorization, OperationMetadata>> PollOnceCreateDnsAuthorizationAsync(string operationName, CallSettings callSettings = null)

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

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
TaskOperationDnsAuthorizationOperationMetadata

A task representing the result of polling the operation.

PollOnceDeleteCertificate(string, CallSettings)

public virtual Operation<Empty, OperationMetadata> PollOnceDeleteCertificate(string operationName, CallSettings callSettings = null)

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

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
OperationEmptyOperationMetadata

The result of polling the operation.

PollOnceDeleteCertificateAsync(string, CallSettings)

public virtual Task<Operation<Empty, OperationMetadata>> PollOnceDeleteCertificateAsync(string operationName, CallSettings callSettings = null)

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

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
TaskOperationEmptyOperationMetadata

A task representing the result of polling the operation.

PollOnceDeleteCertificateIssuanceConfig(string, CallSettings)

public virtual Operation<Empty, OperationMetadata> PollOnceDeleteCertificateIssuanceConfig(string operationName, CallSettings callSettings = null)

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

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
OperationEmptyOperationMetadata

The result of polling the operation.

PollOnceDeleteCertificateIssuanceConfigAsync(string, CallSettings)

public virtual Task<Operation<Empty, OperationMetadata>> PollOnceDeleteCertificateIssuanceConfigAsync(string operationName, CallSettings callSettings = null)

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

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
TaskOperationEmptyOperationMetadata

A task representing the result of polling the operation.

PollOnceDeleteCertificateMap(string, CallSettings)

public virtual Operation<Empty, OperationMetadata> PollOnceDeleteCertificateMap(string operationName, CallSettings callSettings = null)

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

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
OperationEmptyOperationMetadata

The result of polling the operation.

PollOnceDeleteCertificateMapAsync(string, CallSettings)

public virtual Task<Operation<Empty, OperationMetadata>> PollOnceDeleteCertificateMapAsync(string operationName, CallSettings callSettings = null)

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

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
TaskOperationEmptyOperationMetadata

A task representing the result of polling the operation.

PollOnceDeleteCertificateMapEntry(string, CallSettings)

public virtual Operation<Empty, OperationMetadata> PollOnceDeleteCertificateMapEntry(string operationName, CallSettings callSettings = null)

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

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
OperationEmptyOperationMetadata

The result of polling the operation.

PollOnceDeleteCertificateMapEntryAsync(string, CallSettings)

public virtual Task<Operation<Empty, OperationMetadata>> PollOnceDeleteCertificateMapEntryAsync(string operationName, CallSettings callSettings = null)

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

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
TaskOperationEmptyOperationMetadata

A task representing the result of polling the operation.

PollOnceDeleteDnsAuthorization(string, CallSettings)

public virtual Operation<Empty, OperationMetadata> PollOnceDeleteDnsAuthorization(string operationName, CallSettings callSettings = null)

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

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
OperationEmptyOperationMetadata

The result of polling the operation.

PollOnceDeleteDnsAuthorizationAsync(string, CallSettings)

public virtual Task<Operation<Empty, OperationMetadata>> PollOnceDeleteDnsAuthorizationAsync(string operationName, CallSettings callSettings = null)

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

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
TaskOperationEmptyOperationMetadata

A task representing the result of polling the operation.

PollOnceUpdateCertificate(string, CallSettings)

public virtual Operation<Certificate, OperationMetadata> PollOnceUpdateCertificate(string operationName, CallSettings callSettings = null)

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

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
OperationCertificateOperationMetadata

The result of polling the operation.

PollOnceUpdateCertificateAsync(string, CallSettings)

public virtual Task<Operation<Certificate, OperationMetadata>> PollOnceUpdateCertificateAsync(string operationName, CallSettings callSettings = null)

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

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
TaskOperationCertificateOperationMetadata

A task representing the result of polling the operation.

PollOnceUpdateCertificateMap(string, CallSettings)

public virtual Operation<CertificateMap, OperationMetadata> PollOnceUpdateCertificateMap(string operationName, CallSettings callSettings = null)

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

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
OperationCertificateMapOperationMetadata

The result of polling the operation.

PollOnceUpdateCertificateMapAsync(string, CallSettings)

public virtual Task<Operation<CertificateMap, OperationMetadata>> PollOnceUpdateCertificateMapAsync(string operationName, CallSettings callSettings = null)

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

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
TaskOperationCertificateMapOperationMetadata

A task representing the result of polling the operation.

PollOnceUpdateCertificateMapEntry(string, CallSettings)

public virtual Operation<CertificateMapEntry, OperationMetadata> PollOnceUpdateCertificateMapEntry(string operationName, CallSettings callSettings = null)

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

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
OperationCertificateMapEntryOperationMetadata

The result of polling the operation.

PollOnceUpdateCertificateMapEntryAsync(string, CallSettings)

public virtual Task<Operation<CertificateMapEntry, OperationMetadata>> PollOnceUpdateCertificateMapEntryAsync(string operationName, CallSettings callSettings = null)

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

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
TaskOperationCertificateMapEntryOperationMetadata

A task representing the result of polling the operation.

PollOnceUpdateDnsAuthorization(string, CallSettings)

public virtual Operation<DnsAuthorization, OperationMetadata> PollOnceUpdateDnsAuthorization(string operationName, CallSettings callSettings = null)

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

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
OperationDnsAuthorizationOperationMetadata

The result of polling the operation.

PollOnceUpdateDnsAuthorizationAsync(string, CallSettings)

public virtual Task<Operation<DnsAuthorization, OperationMetadata>> PollOnceUpdateDnsAuthorizationAsync(string operationName, CallSettings callSettings = null)

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

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
TaskOperationDnsAuthorizationOperationMetadata

A task representing the result of polling the operation.

ShutdownDefaultChannelsAsync()

public static Task ShutdownDefaultChannelsAsync()

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

Returns
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.

UpdateCertificate(Certificate, FieldMask, CallSettings)

public virtual Operation<Certificate, OperationMetadata> UpdateCertificate(Certificate certificate, FieldMask updateMask, CallSettings callSettings = null)

Updates a Certificate.

Parameters
NameDescription
certificateCertificate

Required. A definition of the certificate to update.

updateMaskFieldMask

Required. The update mask applies to the resource. For the FieldMask definition, see https://developers.google.com/protocol-buffers/docs/reference/google.protobuf#fieldmask.

callSettingsCallSettings

If not null, applies overrides to this RPC call.

Returns
TypeDescription
OperationCertificateOperationMetadata

The RPC response.

Example
// Create client
CertificateManagerClient certificateManagerClient = CertificateManagerClient.Create();
// Initialize request argument(s)
Certificate certificate = new Certificate();
FieldMask updateMask = new FieldMask();
// Make the request
Operation<Certificate, OperationMetadata> response = certificateManagerClient.UpdateCertificate(certificate, updateMask);

// Poll until the returned long-running operation is complete
Operation<Certificate, OperationMetadata> completedResponse = response.PollUntilCompleted();
// Retrieve the operation result
Certificate result = completedResponse.Result;

// Or get the name of the operation
string operationName = response.Name;
// This name can be stored, then the long-running operation retrieved later by name
Operation<Certificate, OperationMetadata> retrievedResponse = certificateManagerClient.PollOnceUpdateCertificate(operationName);
// Check if the retrieved long-running operation has completed
if (retrievedResponse.IsCompleted)
{
    // If it has completed, then access the result
    Certificate retrievedResult = retrievedResponse.Result;
}

UpdateCertificate(UpdateCertificateRequest, CallSettings)

public virtual Operation<Certificate, OperationMetadata> UpdateCertificate(UpdateCertificateRequest request, CallSettings callSettings = null)

Updates a Certificate.

Parameters
NameDescription
requestUpdateCertificateRequest

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

callSettingsCallSettings

If not null, applies overrides to this RPC call.

Returns
TypeDescription
OperationCertificateOperationMetadata

The RPC response.

Example
// Create client
CertificateManagerClient certificateManagerClient = CertificateManagerClient.Create();
// Initialize request argument(s)
UpdateCertificateRequest request = new UpdateCertificateRequest
{
    Certificate = new Certificate(),
    UpdateMask = new FieldMask(),
};
// Make the request
Operation<Certificate, OperationMetadata> response = certificateManagerClient.UpdateCertificate(request);

// Poll until the returned long-running operation is complete
Operation<Certificate, OperationMetadata> completedResponse = response.PollUntilCompleted();
// Retrieve the operation result
Certificate result = completedResponse.Result;

// Or get the name of the operation
string operationName = response.Name;
// This name can be stored, then the long-running operation retrieved later by name
Operation<Certificate, OperationMetadata> retrievedResponse = certificateManagerClient.PollOnceUpdateCertificate(operationName);
// Check if the retrieved long-running operation has completed
if (retrievedResponse.IsCompleted)
{
    // If it has completed, then access the result
    Certificate retrievedResult = retrievedResponse.Result;
}

UpdateCertificateAsync(Certificate, FieldMask, CallSettings)

public virtual Task<Operation<Certificate, OperationMetadata>> UpdateCertificateAsync(Certificate certificate, FieldMask updateMask, CallSettings callSettings = null)

Updates a Certificate.

Parameters
NameDescription
certificateCertificate

Required. A definition of the certificate to update.

updateMaskFieldMask

Required. The update mask applies to the resource. For the FieldMask definition, see https://developers.google.com/protocol-buffers/docs/reference/google.protobuf#fieldmask.

callSettingsCallSettings

If not null, applies overrides to this RPC call.

Returns
TypeDescription
TaskOperationCertificateOperationMetadata

A Task containing the RPC response.

Example
// Create client
CertificateManagerClient certificateManagerClient = await CertificateManagerClient.CreateAsync();
// Initialize request argument(s)
Certificate certificate = new Certificate();
FieldMask updateMask = new FieldMask();
// Make the request
Operation<Certificate, OperationMetadata> response = await certificateManagerClient.UpdateCertificateAsync(certificate, updateMask);

// Poll until the returned long-running operation is complete
Operation<Certificate, OperationMetadata> completedResponse = await response.PollUntilCompletedAsync();
// Retrieve the operation result
Certificate result = completedResponse.Result;

// Or get the name of the operation
string operationName = response.Name;
// This name can be stored, then the long-running operation retrieved later by name
Operation<Certificate, OperationMetadata> retrievedResponse = await certificateManagerClient.PollOnceUpdateCertificateAsync(operationName);
// Check if the retrieved long-running operation has completed
if (retrievedResponse.IsCompleted)
{
    // If it has completed, then access the result
    Certificate retrievedResult = retrievedResponse.Result;
}

UpdateCertificateAsync(Certificate, FieldMask, CancellationToken)

public virtual Task<Operation<Certificate, OperationMetadata>> UpdateCertificateAsync(Certificate certificate, FieldMask updateMask, CancellationToken cancellationToken)

Updates a Certificate.

Parameters
NameDescription
certificateCertificate

Required. A definition of the certificate to update.

updateMaskFieldMask

Required. The update mask applies to the resource. For the FieldMask definition, see https://developers.google.com/protocol-buffers/docs/reference/google.protobuf#fieldmask.

cancellationTokenCancellationToken

A CancellationToken to use for this RPC.

Returns
TypeDescription
TaskOperationCertificateOperationMetadata

A Task containing the RPC response.

Example
// Create client
CertificateManagerClient certificateManagerClient = await CertificateManagerClient.CreateAsync();
// Initialize request argument(s)
Certificate certificate = new Certificate();
FieldMask updateMask = new FieldMask();
// Make the request
Operation<Certificate, OperationMetadata> response = await certificateManagerClient.UpdateCertificateAsync(certificate, updateMask);

// Poll until the returned long-running operation is complete
Operation<Certificate, OperationMetadata> completedResponse = await response.PollUntilCompletedAsync();
// Retrieve the operation result
Certificate result = completedResponse.Result;

// Or get the name of the operation
string operationName = response.Name;
// This name can be stored, then the long-running operation retrieved later by name
Operation<Certificate, OperationMetadata> retrievedResponse = await certificateManagerClient.PollOnceUpdateCertificateAsync(operationName);
// Check if the retrieved long-running operation has completed
if (retrievedResponse.IsCompleted)
{
    // If it has completed, then access the result
    Certificate retrievedResult = retrievedResponse.Result;
}

UpdateCertificateAsync(UpdateCertificateRequest, CallSettings)

public virtual Task<Operation<Certificate, OperationMetadata>> UpdateCertificateAsync(UpdateCertificateRequest request, CallSettings callSettings = null)

Updates a Certificate.

Parameters
NameDescription
requestUpdateCertificateRequest

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

callSettingsCallSettings

If not null, applies overrides to this RPC call.

Returns
TypeDescription
TaskOperationCertificateOperationMetadata

A Task containing the RPC response.

Example
// Create client
CertificateManagerClient certificateManagerClient = await CertificateManagerClient.CreateAsync();
// Initialize request argument(s)
UpdateCertificateRequest request = new UpdateCertificateRequest
{
    Certificate = new Certificate(),
    UpdateMask = new FieldMask(),
};
// Make the request
Operation<Certificate, OperationMetadata> response = await certificateManagerClient.UpdateCertificateAsync(request);

// Poll until the returned long-running operation is complete
Operation<Certificate, OperationMetadata> completedResponse = await response.PollUntilCompletedAsync();
// Retrieve the operation result
Certificate result = completedResponse.Result;

// Or get the name of the operation
string operationName = response.Name;
// This name can be stored, then the long-running operation retrieved later by name
Operation<Certificate, OperationMetadata> retrievedResponse = await certificateManagerClient.PollOnceUpdateCertificateAsync(operationName);
// Check if the retrieved long-running operation has completed
if (retrievedResponse.IsCompleted)
{
    // If it has completed, then access the result
    Certificate retrievedResult = retrievedResponse.Result;
}

UpdateCertificateAsync(UpdateCertificateRequest, CancellationToken)

public virtual Task<Operation<Certificate, OperationMetadata>> UpdateCertificateAsync(UpdateCertificateRequest request, CancellationToken cancellationToken)

Updates a Certificate.

Parameters
NameDescription
requestUpdateCertificateRequest

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

cancellationTokenCancellationToken

A CancellationToken to use for this RPC.

Returns
TypeDescription
TaskOperationCertificateOperationMetadata

A Task containing the RPC response.

Example
// Create client
CertificateManagerClient certificateManagerClient = await CertificateManagerClient.CreateAsync();
// Initialize request argument(s)
UpdateCertificateRequest request = new UpdateCertificateRequest
{
    Certificate = new Certificate(),
    UpdateMask = new FieldMask(),
};
// Make the request
Operation<Certificate, OperationMetadata> response = await certificateManagerClient.UpdateCertificateAsync(request);

// Poll until the returned long-running operation is complete
Operation<Certificate, OperationMetadata> completedResponse = await response.PollUntilCompletedAsync();
// Retrieve the operation result
Certificate result = completedResponse.Result;

// Or get the name of the operation
string operationName = response.Name;
// This name can be stored, then the long-running operation retrieved later by name
Operation<Certificate, OperationMetadata> retrievedResponse = await certificateManagerClient.PollOnceUpdateCertificateAsync(operationName);
// Check if the retrieved long-running operation has completed
if (retrievedResponse.IsCompleted)
{
    // If it has completed, then access the result
    Certificate retrievedResult = retrievedResponse.Result;
}

UpdateCertificateMap(CertificateMap, FieldMask, CallSettings)

public virtual Operation<CertificateMap, OperationMetadata> UpdateCertificateMap(CertificateMap certificateMap, FieldMask updateMask, CallSettings callSettings = null)

Updates a CertificateMap.

Parameters
NameDescription
certificateMapCertificateMap

Required. A definition of the certificate map to update.

updateMaskFieldMask

Required. The update mask applies to the resource. For the FieldMask definition, see https://developers.google.com/protocol-buffers/docs/reference/google.protobuf#fieldmask.

callSettingsCallSettings

If not null, applies overrides to this RPC call.

Returns
TypeDescription
OperationCertificateMapOperationMetadata

The RPC response.

Example
// Create client
CertificateManagerClient certificateManagerClient = CertificateManagerClient.Create();
// Initialize request argument(s)
CertificateMap certificateMap = new CertificateMap();
FieldMask updateMask = new FieldMask();
// Make the request
Operation<CertificateMap, OperationMetadata> response = certificateManagerClient.UpdateCertificateMap(certificateMap, updateMask);

// Poll until the returned long-running operation is complete
Operation<CertificateMap, OperationMetadata> completedResponse = response.PollUntilCompleted();
// Retrieve the operation result
CertificateMap result = completedResponse.Result;

// Or get the name of the operation
string operationName = response.Name;
// This name can be stored, then the long-running operation retrieved later by name
Operation<CertificateMap, OperationMetadata> retrievedResponse = certificateManagerClient.PollOnceUpdateCertificateMap(operationName);
// Check if the retrieved long-running operation has completed
if (retrievedResponse.IsCompleted)
{
    // If it has completed, then access the result
    CertificateMap retrievedResult = retrievedResponse.Result;
}

UpdateCertificateMap(UpdateCertificateMapRequest, CallSettings)

public virtual Operation<CertificateMap, OperationMetadata> UpdateCertificateMap(UpdateCertificateMapRequest request, CallSettings callSettings = null)

Updates a CertificateMap.

Parameters
NameDescription
requestUpdateCertificateMapRequest

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

callSettingsCallSettings

If not null, applies overrides to this RPC call.

Returns
TypeDescription
OperationCertificateMapOperationMetadata

The RPC response.

Example
// Create client
CertificateManagerClient certificateManagerClient = CertificateManagerClient.Create();
// Initialize request argument(s)
UpdateCertificateMapRequest request = new UpdateCertificateMapRequest
{
    CertificateMap = new CertificateMap(),
    UpdateMask = new FieldMask(),
};
// Make the request
Operation<CertificateMap, OperationMetadata> response = certificateManagerClient.UpdateCertificateMap(request);

// Poll until the returned long-running operation is complete
Operation<CertificateMap, OperationMetadata> completedResponse = response.PollUntilCompleted();
// Retrieve the operation result
CertificateMap result = completedResponse.Result;

// Or get the name of the operation
string operationName = response.Name;
// This name can be stored, then the long-running operation retrieved later by name
Operation<CertificateMap, OperationMetadata> retrievedResponse = certificateManagerClient.PollOnceUpdateCertificateMap(operationName);
// Check if the retrieved long-running operation has completed
if (retrievedResponse.IsCompleted)
{
    // If it has completed, then access the result
    CertificateMap retrievedResult = retrievedResponse.Result;
}

UpdateCertificateMapAsync(CertificateMap, FieldMask, CallSettings)

public virtual Task<Operation<CertificateMap, OperationMetadata>> UpdateCertificateMapAsync(CertificateMap certificateMap, FieldMask updateMask, CallSettings callSettings = null)

Updates a CertificateMap.

Parameters
NameDescription
certificateMapCertificateMap

Required. A definition of the certificate map to update.

updateMaskFieldMask

Required. The update mask applies to the resource. For the FieldMask definition, see https://developers.google.com/protocol-buffers/docs/reference/google.protobuf#fieldmask.

callSettingsCallSettings

If not null, applies overrides to this RPC call.

Returns
TypeDescription
TaskOperationCertificateMapOperationMetadata

A Task containing the RPC response.

Example
// Create client
CertificateManagerClient certificateManagerClient = await CertificateManagerClient.CreateAsync();
// Initialize request argument(s)
CertificateMap certificateMap = new CertificateMap();
FieldMask updateMask = new FieldMask();
// Make the request
Operation<CertificateMap, OperationMetadata> response = await certificateManagerClient.UpdateCertificateMapAsync(certificateMap, updateMask);

// Poll until the returned long-running operation is complete
Operation<CertificateMap, OperationMetadata> completedResponse = await response.PollUntilCompletedAsync();
// Retrieve the operation result
CertificateMap result = completedResponse.Result;

// Or get the name of the operation
string operationName = response.Name;
// This name can be stored, then the long-running operation retrieved later by name
Operation<CertificateMap, OperationMetadata> retrievedResponse = await certificateManagerClient.PollOnceUpdateCertificateMapAsync(operationName);
// Check if the retrieved long-running operation has completed
if (retrievedResponse.IsCompleted)
{
    // If it has completed, then access the result
    CertificateMap retrievedResult = retrievedResponse.Result;
}

UpdateCertificateMapAsync(CertificateMap, FieldMask, CancellationToken)

public virtual Task<Operation<CertificateMap, OperationMetadata>> UpdateCertificateMapAsync(CertificateMap certificateMap, FieldMask updateMask, CancellationToken cancellationToken)

Updates a CertificateMap.

Parameters
NameDescription
certificateMapCertificateMap

Required. A definition of the certificate map to update.

updateMaskFieldMask

Required. The update mask applies to the resource. For the FieldMask definition, see https://developers.google.com/protocol-buffers/docs/reference/google.protobuf#fieldmask.

cancellationTokenCancellationToken

A CancellationToken to use for this RPC.

Returns
TypeDescription
TaskOperationCertificateMapOperationMetadata

A Task containing the RPC response.

Example
// Create client
CertificateManagerClient certificateManagerClient = await CertificateManagerClient.CreateAsync();
// Initialize request argument(s)
CertificateMap certificateMap = new CertificateMap();
FieldMask updateMask = new FieldMask();
// Make the request
Operation<CertificateMap, OperationMetadata> response = await certificateManagerClient.UpdateCertificateMapAsync(certificateMap, updateMask);

// Poll until the returned long-running operation is complete
Operation<CertificateMap, OperationMetadata> completedResponse = await response.PollUntilCompletedAsync();
// Retrieve the operation result
CertificateMap result = completedResponse.Result;

// Or get the name of the operation
string operationName = response.Name;
// This name can be stored, then the long-running operation retrieved later by name
Operation<CertificateMap, OperationMetadata> retrievedResponse = await certificateManagerClient.PollOnceUpdateCertificateMapAsync(operationName);
// Check if the retrieved long-running operation has completed
if (retrievedResponse.IsCompleted)
{
    // If it has completed, then access the result
    CertificateMap retrievedResult = retrievedResponse.Result;
}

UpdateCertificateMapAsync(UpdateCertificateMapRequest, CallSettings)

public virtual Task<Operation<CertificateMap, OperationMetadata>> UpdateCertificateMapAsync(UpdateCertificateMapRequest request, CallSettings callSettings = null)

Updates a CertificateMap.

Parameters
NameDescription
requestUpdateCertificateMapRequest

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

callSettingsCallSettings

If not null, applies overrides to this RPC call.

Returns
TypeDescription
TaskOperationCertificateMapOperationMetadata

A Task containing the RPC response.

Example
// Create client
CertificateManagerClient certificateManagerClient = await CertificateManagerClient.CreateAsync();
// Initialize request argument(s)
UpdateCertificateMapRequest request = new UpdateCertificateMapRequest
{
    CertificateMap = new CertificateMap(),
    UpdateMask = new FieldMask(),
};
// Make the request
Operation<CertificateMap, OperationMetadata> response = await certificateManagerClient.UpdateCertificateMapAsync(request);

// Poll until the returned long-running operation is complete
Operation<CertificateMap, OperationMetadata> completedResponse = await response.PollUntilCompletedAsync();
// Retrieve the operation result
CertificateMap result = completedResponse.Result;

// Or get the name of the operation
string operationName = response.Name;
// This name can be stored, then the long-running operation retrieved later by name
Operation<CertificateMap, OperationMetadata> retrievedResponse = await certificateManagerClient.PollOnceUpdateCertificateMapAsync(operationName);
// Check if the retrieved long-running operation has completed
if (retrievedResponse.IsCompleted)
{
    // If it has completed, then access the result
    CertificateMap retrievedResult = retrievedResponse.Result;
}

UpdateCertificateMapAsync(UpdateCertificateMapRequest, CancellationToken)

public virtual Task<Operation<CertificateMap, OperationMetadata>> UpdateCertificateMapAsync(UpdateCertificateMapRequest request, CancellationToken cancellationToken)

Updates a CertificateMap.

Parameters
NameDescription
requestUpdateCertificateMapRequest

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

cancellationTokenCancellationToken

A CancellationToken to use for this RPC.

Returns
TypeDescription
TaskOperationCertificateMapOperationMetadata

A Task containing the RPC response.

Example
// Create client
CertificateManagerClient certificateManagerClient = await CertificateManagerClient.CreateAsync();
// Initialize request argument(s)
UpdateCertificateMapRequest request = new UpdateCertificateMapRequest
{
    CertificateMap = new CertificateMap(),
    UpdateMask = new FieldMask(),
};
// Make the request
Operation<CertificateMap, OperationMetadata> response = await certificateManagerClient.UpdateCertificateMapAsync(request);

// Poll until the returned long-running operation is complete
Operation<CertificateMap, OperationMetadata> completedResponse = await response.PollUntilCompletedAsync();
// Retrieve the operation result
CertificateMap result = completedResponse.Result;

// Or get the name of the operation
string operationName = response.Name;
// This name can be stored, then the long-running operation retrieved later by name
Operation<CertificateMap, OperationMetadata> retrievedResponse = await certificateManagerClient.PollOnceUpdateCertificateMapAsync(operationName);
// Check if the retrieved long-running operation has completed
if (retrievedResponse.IsCompleted)
{
    // If it has completed, then access the result
    CertificateMap retrievedResult = retrievedResponse.Result;
}

UpdateCertificateMapEntry(CertificateMapEntry, FieldMask, CallSettings)

public virtual Operation<CertificateMapEntry, OperationMetadata> UpdateCertificateMapEntry(CertificateMapEntry certificateMapEntry, FieldMask updateMask, CallSettings callSettings = null)

Updates a CertificateMapEntry.

Parameters
NameDescription
certificateMapEntryCertificateMapEntry

Required. A definition of the certificate map entry to create map entry.

updateMaskFieldMask

Required. The update mask applies to the resource. For the FieldMask definition, see https://developers.google.com/protocol-buffers/docs/reference/google.protobuf#fieldmask.

callSettingsCallSettings

If not null, applies overrides to this RPC call.

Returns
TypeDescription
OperationCertificateMapEntryOperationMetadata

The RPC response.

Example
// Create client
CertificateManagerClient certificateManagerClient = CertificateManagerClient.Create();
// Initialize request argument(s)
CertificateMapEntry certificateMapEntry = new CertificateMapEntry();
FieldMask updateMask = new FieldMask();
// Make the request
Operation<CertificateMapEntry, OperationMetadata> response = certificateManagerClient.UpdateCertificateMapEntry(certificateMapEntry, updateMask);

// Poll until the returned long-running operation is complete
Operation<CertificateMapEntry, OperationMetadata> completedResponse = response.PollUntilCompleted();
// Retrieve the operation result
CertificateMapEntry result = completedResponse.Result;

// Or get the name of the operation
string operationName = response.Name;
// This name can be stored, then the long-running operation retrieved later by name
Operation<CertificateMapEntry, OperationMetadata> retrievedResponse = certificateManagerClient.PollOnceUpdateCertificateMapEntry(operationName);
// Check if the retrieved long-running operation has completed
if (retrievedResponse.IsCompleted)
{
    // If it has completed, then access the result
    CertificateMapEntry retrievedResult = retrievedResponse.Result;
}

UpdateCertificateMapEntry(UpdateCertificateMapEntryRequest, CallSettings)

public virtual Operation<CertificateMapEntry, OperationMetadata> UpdateCertificateMapEntry(UpdateCertificateMapEntryRequest request, CallSettings callSettings = null)

Updates a CertificateMapEntry.

Parameters
NameDescription
requestUpdateCertificateMapEntryRequest

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

callSettingsCallSettings

If not null, applies overrides to this RPC call.

Returns
TypeDescription
OperationCertificateMapEntryOperationMetadata

The RPC response.

Example
// Create client
CertificateManagerClient certificateManagerClient = CertificateManagerClient.Create();
// Initialize request argument(s)
UpdateCertificateMapEntryRequest request = new UpdateCertificateMapEntryRequest
{
    CertificateMapEntry = new CertificateMapEntry(),
    UpdateMask = new FieldMask(),
};
// Make the request
Operation<CertificateMapEntry, OperationMetadata> response = certificateManagerClient.UpdateCertificateMapEntry(request);

// Poll until the returned long-running operation is complete
Operation<CertificateMapEntry, OperationMetadata> completedResponse = response.PollUntilCompleted();
// Retrieve the operation result
CertificateMapEntry result = completedResponse.Result;

// Or get the name of the operation
string operationName = response.Name;
// This name can be stored, then the long-running operation retrieved later by name
Operation<CertificateMapEntry, OperationMetadata> retrievedResponse = certificateManagerClient.PollOnceUpdateCertificateMapEntry(operationName);
// Check if the retrieved long-running operation has completed
if (retrievedResponse.IsCompleted)
{
    // If it has completed, then access the result
    CertificateMapEntry retrievedResult = retrievedResponse.Result;
}

UpdateCertificateMapEntryAsync(CertificateMapEntry, FieldMask, CallSettings)

public virtual Task<Operation<CertificateMapEntry, OperationMetadata>> UpdateCertificateMapEntryAsync(CertificateMapEntry certificateMapEntry, FieldMask updateMask, CallSettings callSettings = null)

Updates a CertificateMapEntry.

Parameters
NameDescription
certificateMapEntryCertificateMapEntry

Required. A definition of the certificate map entry to create map entry.

updateMaskFieldMask

Required. The update mask applies to the resource. For the FieldMask definition, see https://developers.google.com/protocol-buffers/docs/reference/google.protobuf#fieldmask.

callSettingsCallSettings

If not null, applies overrides to this RPC call.

Returns
TypeDescription
TaskOperationCertificateMapEntryOperationMetadata

A Task containing the RPC response.

Example
// Create client
CertificateManagerClient certificateManagerClient = await CertificateManagerClient.CreateAsync();
// Initialize request argument(s)
CertificateMapEntry certificateMapEntry = new CertificateMapEntry();
FieldMask updateMask = new FieldMask();
// Make the request
Operation<CertificateMapEntry, OperationMetadata> response = await certificateManagerClient.UpdateCertificateMapEntryAsync(certificateMapEntry, updateMask);

// Poll until the returned long-running operation is complete
Operation<CertificateMapEntry, OperationMetadata> completedResponse = await response.PollUntilCompletedAsync();
// Retrieve the operation result
CertificateMapEntry result = completedResponse.Result;

// Or get the name of the operation
string operationName = response.Name;
// This name can be stored, then the long-running operation retrieved later by name
Operation<CertificateMapEntry, OperationMetadata> retrievedResponse = await certificateManagerClient.PollOnceUpdateCertificateMapEntryAsync(operationName);
// Check if the retrieved long-running operation has completed
if (retrievedResponse.IsCompleted)
{
    // If it has completed, then access the result
    CertificateMapEntry retrievedResult = retrievedResponse.Result;
}

UpdateCertificateMapEntryAsync(CertificateMapEntry, FieldMask, CancellationToken)

public virtual Task<Operation<CertificateMapEntry, OperationMetadata>> UpdateCertificateMapEntryAsync(CertificateMapEntry certificateMapEntry, FieldMask updateMask, CancellationToken cancellationToken)

Updates a CertificateMapEntry.

Parameters
NameDescription
certificateMapEntryCertificateMapEntry

Required. A definition of the certificate map entry to create map entry.

updateMaskFieldMask

Required. The update mask applies to the resource. For the FieldMask definition, see https://developers.google.com/protocol-buffers/docs/reference/google.protobuf#fieldmask.

cancellationTokenCancellationToken

A CancellationToken to use for this RPC.

Returns
TypeDescription
TaskOperationCertificateMapEntryOperationMetadata

A Task containing the RPC response.

Example
// Create client
CertificateManagerClient certificateManagerClient = await CertificateManagerClient.CreateAsync();
// Initialize request argument(s)
CertificateMapEntry certificateMapEntry = new CertificateMapEntry();
FieldMask updateMask = new FieldMask();
// Make the request
Operation<CertificateMapEntry, OperationMetadata> response = await certificateManagerClient.UpdateCertificateMapEntryAsync(certificateMapEntry, updateMask);

// Poll until the returned long-running operation is complete
Operation<CertificateMapEntry, OperationMetadata> completedResponse = await response.PollUntilCompletedAsync();
// Retrieve the operation result
CertificateMapEntry result = completedResponse.Result;

// Or get the name of the operation
string operationName = response.Name;
// This name can be stored, then the long-running operation retrieved later by name
Operation<CertificateMapEntry, OperationMetadata> retrievedResponse = await certificateManagerClient.PollOnceUpdateCertificateMapEntryAsync(operationName);
// Check if the retrieved long-running operation has completed
if (retrievedResponse.IsCompleted)
{
    // If it has completed, then access the result
    CertificateMapEntry retrievedResult = retrievedResponse.Result;
}

UpdateCertificateMapEntryAsync(UpdateCertificateMapEntryRequest, CallSettings)

public virtual Task<Operation<CertificateMapEntry, OperationMetadata>> UpdateCertificateMapEntryAsync(UpdateCertificateMapEntryRequest request, CallSettings callSettings = null)

Updates a CertificateMapEntry.

Parameters
NameDescription
requestUpdateCertificateMapEntryRequest

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

callSettingsCallSettings

If not null, applies overrides to this RPC call.

Returns
TypeDescription
TaskOperationCertificateMapEntryOperationMetadata

A Task containing the RPC response.

Example
// Create client
CertificateManagerClient certificateManagerClient = await CertificateManagerClient.CreateAsync();
// Initialize request argument(s)
UpdateCertificateMapEntryRequest request = new UpdateCertificateMapEntryRequest
{
    CertificateMapEntry = new CertificateMapEntry(),
    UpdateMask = new FieldMask(),
};
// Make the request
Operation<CertificateMapEntry, OperationMetadata> response = await certificateManagerClient.UpdateCertificateMapEntryAsync(request);

// Poll until the returned long-running operation is complete
Operation<CertificateMapEntry, OperationMetadata> completedResponse = await response.PollUntilCompletedAsync();
// Retrieve the operation result
CertificateMapEntry result = completedResponse.Result;

// Or get the name of the operation
string operationName = response.Name;
// This name can be stored, then the long-running operation retrieved later by name
Operation<CertificateMapEntry, OperationMetadata> retrievedResponse = await certificateManagerClient.PollOnceUpdateCertificateMapEntryAsync(operationName);
// Check if the retrieved long-running operation has completed
if (retrievedResponse.IsCompleted)
{
    // If it has completed, then access the result
    CertificateMapEntry retrievedResult = retrievedResponse.Result;
}

UpdateCertificateMapEntryAsync(UpdateCertificateMapEntryRequest, CancellationToken)

public virtual Task<Operation<CertificateMapEntry, OperationMetadata>> UpdateCertificateMapEntryAsync(UpdateCertificateMapEntryRequest request, CancellationToken cancellationToken)

Updates a CertificateMapEntry.

Parameters
NameDescription
requestUpdateCertificateMapEntryRequest

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

cancellationTokenCancellationToken

A CancellationToken to use for this RPC.

Returns
TypeDescription
TaskOperationCertificateMapEntryOperationMetadata

A Task containing the RPC response.

Example
// Create client
CertificateManagerClient certificateManagerClient = await CertificateManagerClient.CreateAsync();
// Initialize request argument(s)
UpdateCertificateMapEntryRequest request = new UpdateCertificateMapEntryRequest
{
    CertificateMapEntry = new CertificateMapEntry(),
    UpdateMask = new FieldMask(),
};
// Make the request
Operation<CertificateMapEntry, OperationMetadata> response = await certificateManagerClient.UpdateCertificateMapEntryAsync(request);

// Poll until the returned long-running operation is complete
Operation<CertificateMapEntry, OperationMetadata> completedResponse = await response.PollUntilCompletedAsync();
// Retrieve the operation result
CertificateMapEntry result = completedResponse.Result;

// Or get the name of the operation
string operationName = response.Name;
// This name can be stored, then the long-running operation retrieved later by name
Operation<CertificateMapEntry, OperationMetadata> retrievedResponse = await certificateManagerClient.PollOnceUpdateCertificateMapEntryAsync(operationName);
// Check if the retrieved long-running operation has completed
if (retrievedResponse.IsCompleted)
{
    // If it has completed, then access the result
    CertificateMapEntry retrievedResult = retrievedResponse.Result;
}

UpdateDnsAuthorization(DnsAuthorization, FieldMask, CallSettings)

public virtual Operation<DnsAuthorization, OperationMetadata> UpdateDnsAuthorization(DnsAuthorization dnsAuthorization, FieldMask updateMask, CallSettings callSettings = null)

Updates a DnsAuthorization.

Parameters
NameDescription
dnsAuthorizationDnsAuthorization

Required. A definition of the dns authorization to update.

updateMaskFieldMask

Required. The update mask applies to the resource. For the FieldMask definition, see https://developers.google.com/protocol-buffers/docs/reference/google.protobuf#fieldmask.

callSettingsCallSettings

If not null, applies overrides to this RPC call.

Returns
TypeDescription
OperationDnsAuthorizationOperationMetadata

The RPC response.

Example
// Create client
CertificateManagerClient certificateManagerClient = CertificateManagerClient.Create();
// Initialize request argument(s)
DnsAuthorization dnsAuthorization = new DnsAuthorization();
FieldMask updateMask = new FieldMask();
// Make the request
Operation<DnsAuthorization, OperationMetadata> response = certificateManagerClient.UpdateDnsAuthorization(dnsAuthorization, updateMask);

// Poll until the returned long-running operation is complete
Operation<DnsAuthorization, OperationMetadata> completedResponse = response.PollUntilCompleted();
// Retrieve the operation result
DnsAuthorization result = completedResponse.Result;

// Or get the name of the operation
string operationName = response.Name;
// This name can be stored, then the long-running operation retrieved later by name
Operation<DnsAuthorization, OperationMetadata> retrievedResponse = certificateManagerClient.PollOnceUpdateDnsAuthorization(operationName);
// Check if the retrieved long-running operation has completed
if (retrievedResponse.IsCompleted)
{
    // If it has completed, then access the result
    DnsAuthorization retrievedResult = retrievedResponse.Result;
}

UpdateDnsAuthorization(UpdateDnsAuthorizationRequest, CallSettings)

public virtual Operation<DnsAuthorization, OperationMetadata> UpdateDnsAuthorization(UpdateDnsAuthorizationRequest request, CallSettings callSettings = null)

Updates a DnsAuthorization.

Parameters
NameDescription
requestUpdateDnsAuthorizationRequest

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

callSettingsCallSettings

If not null, applies overrides to this RPC call.

Returns
TypeDescription
OperationDnsAuthorizationOperationMetadata

The RPC response.

Example
// Create client
CertificateManagerClient certificateManagerClient = CertificateManagerClient.Create();
// Initialize request argument(s)
UpdateDnsAuthorizationRequest request = new UpdateDnsAuthorizationRequest
{
    DnsAuthorization = new DnsAuthorization(),
    UpdateMask = new FieldMask(),
};
// Make the request
Operation<DnsAuthorization, OperationMetadata> response = certificateManagerClient.UpdateDnsAuthorization(request);

// Poll until the returned long-running operation is complete
Operation<DnsAuthorization, OperationMetadata> completedResponse = response.PollUntilCompleted();
// Retrieve the operation result
DnsAuthorization result = completedResponse.Result;

// Or get the name of the operation
string operationName = response.Name;
// This name can be stored, then the long-running operation retrieved later by name
Operation<DnsAuthorization, OperationMetadata> retrievedResponse = certificateManagerClient.PollOnceUpdateDnsAuthorization(operationName);
// Check if the retrieved long-running operation has completed
if (retrievedResponse.IsCompleted)
{
    // If it has completed, then access the result
    DnsAuthorization retrievedResult = retrievedResponse.Result;
}

UpdateDnsAuthorizationAsync(DnsAuthorization, FieldMask, CallSettings)

public virtual Task<Operation<DnsAuthorization, OperationMetadata>> UpdateDnsAuthorizationAsync(DnsAuthorization dnsAuthorization, FieldMask updateMask, CallSettings callSettings = null)

Updates a DnsAuthorization.

Parameters
NameDescription
dnsAuthorizationDnsAuthorization

Required. A definition of the dns authorization to update.

updateMaskFieldMask

Required. The update mask applies to the resource. For the FieldMask definition, see https://developers.google.com/protocol-buffers/docs/reference/google.protobuf#fieldmask.

callSettingsCallSettings

If not null, applies overrides to this RPC call.

Returns
TypeDescription
TaskOperationDnsAuthorizationOperationMetadata

A Task containing the RPC response.

Example
// Create client
CertificateManagerClient certificateManagerClient = await CertificateManagerClient.CreateAsync();
// Initialize request argument(s)
DnsAuthorization dnsAuthorization = new DnsAuthorization();
FieldMask updateMask = new FieldMask();
// Make the request
Operation<DnsAuthorization, OperationMetadata> response = await certificateManagerClient.UpdateDnsAuthorizationAsync(dnsAuthorization, updateMask);

// Poll until the returned long-running operation is complete
Operation<DnsAuthorization, OperationMetadata> completedResponse = await response.PollUntilCompletedAsync();
// Retrieve the operation result
DnsAuthorization result = completedResponse.Result;

// Or get the name of the operation
string operationName = response.Name;
// This name can be stored, then the long-running operation retrieved later by name
Operation<DnsAuthorization, OperationMetadata> retrievedResponse = await certificateManagerClient.PollOnceUpdateDnsAuthorizationAsync(operationName);
// Check if the retrieved long-running operation has completed
if (retrievedResponse.IsCompleted)
{
    // If it has completed, then access the result
    DnsAuthorization retrievedResult = retrievedResponse.Result;
}

UpdateDnsAuthorizationAsync(DnsAuthorization, FieldMask, CancellationToken)

public virtual Task<Operation<DnsAuthorization, OperationMetadata>> UpdateDnsAuthorizationAsync(DnsAuthorization dnsAuthorization, FieldMask updateMask, CancellationToken cancellationToken)

Updates a DnsAuthorization.

Parameters
NameDescription
dnsAuthorizationDnsAuthorization

Required. A definition of the dns authorization to update.

updateMaskFieldMask

Required. The update mask applies to the resource. For the FieldMask definition, see https://developers.google.com/protocol-buffers/docs/reference/google.protobuf#fieldmask.

cancellationTokenCancellationToken

A CancellationToken to use for this RPC.

Returns
TypeDescription
TaskOperationDnsAuthorizationOperationMetadata

A Task containing the RPC response.

Example
// Create client
CertificateManagerClient certificateManagerClient = await CertificateManagerClient.CreateAsync();
// Initialize request argument(s)
DnsAuthorization dnsAuthorization = new DnsAuthorization();
FieldMask updateMask = new FieldMask();
// Make the request
Operation<DnsAuthorization, OperationMetadata> response = await certificateManagerClient.UpdateDnsAuthorizationAsync(dnsAuthorization, updateMask);

// Poll until the returned long-running operation is complete
Operation<DnsAuthorization, OperationMetadata> completedResponse = await response.PollUntilCompletedAsync();
// Retrieve the operation result
DnsAuthorization result = completedResponse.Result;

// Or get the name of the operation
string operationName = response.Name;
// This name can be stored, then the long-running operation retrieved later by name
Operation<DnsAuthorization, OperationMetadata> retrievedResponse = await certificateManagerClient.PollOnceUpdateDnsAuthorizationAsync(operationName);
// Check if the retrieved long-running operation has completed
if (retrievedResponse.IsCompleted)
{
    // If it has completed, then access the result
    DnsAuthorization retrievedResult = retrievedResponse.Result;
}

UpdateDnsAuthorizationAsync(UpdateDnsAuthorizationRequest, CallSettings)

public virtual Task<Operation<DnsAuthorization, OperationMetadata>> UpdateDnsAuthorizationAsync(UpdateDnsAuthorizationRequest request, CallSettings callSettings = null)

Updates a DnsAuthorization.

Parameters
NameDescription
requestUpdateDnsAuthorizationRequest

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

callSettingsCallSettings

If not null, applies overrides to this RPC call.

Returns
TypeDescription
TaskOperationDnsAuthorizationOperationMetadata

A Task containing the RPC response.

Example
// Create client
CertificateManagerClient certificateManagerClient = await CertificateManagerClient.CreateAsync();
// Initialize request argument(s)
UpdateDnsAuthorizationRequest request = new UpdateDnsAuthorizationRequest
{
    DnsAuthorization = new DnsAuthorization(),
    UpdateMask = new FieldMask(),
};
// Make the request
Operation<DnsAuthorization, OperationMetadata> response = await certificateManagerClient.UpdateDnsAuthorizationAsync(request);

// Poll until the returned long-running operation is complete
Operation<DnsAuthorization, OperationMetadata> completedResponse = await response.PollUntilCompletedAsync();
// Retrieve the operation result
DnsAuthorization result = completedResponse.Result;

// Or get the name of the operation
string operationName = response.Name;
// This name can be stored, then the long-running operation retrieved later by name
Operation<DnsAuthorization, OperationMetadata> retrievedResponse = await certificateManagerClient.PollOnceUpdateDnsAuthorizationAsync(operationName);
// Check if the retrieved long-running operation has completed
if (retrievedResponse.IsCompleted)
{
    // If it has completed, then access the result
    DnsAuthorization retrievedResult = retrievedResponse.Result;
}

UpdateDnsAuthorizationAsync(UpdateDnsAuthorizationRequest, CancellationToken)

public virtual Task<Operation<DnsAuthorization, OperationMetadata>> UpdateDnsAuthorizationAsync(UpdateDnsAuthorizationRequest request, CancellationToken cancellationToken)

Updates a DnsAuthorization.

Parameters
NameDescription
requestUpdateDnsAuthorizationRequest

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

cancellationTokenCancellationToken

A CancellationToken to use for this RPC.

Returns
TypeDescription
TaskOperationDnsAuthorizationOperationMetadata

A Task containing the RPC response.

Example
// Create client
CertificateManagerClient certificateManagerClient = await CertificateManagerClient.CreateAsync();
// Initialize request argument(s)
UpdateDnsAuthorizationRequest request = new UpdateDnsAuthorizationRequest
{
    DnsAuthorization = new DnsAuthorization(),
    UpdateMask = new FieldMask(),
};
// Make the request
Operation<DnsAuthorization, OperationMetadata> response = await certificateManagerClient.UpdateDnsAuthorizationAsync(request);

// Poll until the returned long-running operation is complete
Operation<DnsAuthorization, OperationMetadata> completedResponse = await response.PollUntilCompletedAsync();
// Retrieve the operation result
DnsAuthorization result = completedResponse.Result;

// Or get the name of the operation
string operationName = response.Name;
// This name can be stored, then the long-running operation retrieved later by name
Operation<DnsAuthorization, OperationMetadata> retrievedResponse = await certificateManagerClient.PollOnceUpdateDnsAuthorizationAsync(operationName);
// Check if the retrieved long-running operation has completed
if (retrievedResponse.IsCompleted)
{
    // If it has completed, then access the result
    DnsAuthorization retrievedResult = retrievedResponse.Result;
}