Certificate Manager v1 API - Class CertificateManagerClient (2.6.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

Google.Cloud.CertificateManager.V1

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

CreateTrustConfigOperationsClient

public virtual OperationsClient CreateTrustConfigOperationsClient { get; }

The long-running operations client for CreateTrustConfig.

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

DeleteTrustConfigOperationsClient

public virtual OperationsClient DeleteTrustConfigOperationsClient { get; }

The long-running operations client for DeleteTrustConfig.

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

UpdateTrustConfigOperationsClient

public virtual OperationsClient UpdateTrustConfigOperationsClient { get; }

The long-running operations client for UpdateTrustConfig.

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;
}

CreateTrustConfig(LocationName, TrustConfig, string, CallSettings)

public virtual Operation<TrustConfig, OperationMetadata> CreateTrustConfig(LocationName parent, TrustConfig trustConfig, string trustConfigId, CallSettings callSettings = null)

Creates a new TrustConfig in a given project and location.

Parameters
NameDescription
parentLocationName

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

trustConfigTrustConfig

Required. A definition of the TrustConfig to create.

trustConfigIdstring

Required. A user-provided name of the TrustConfig. Must match the regexp [a-z0-9-]{1,63}.

callSettingsCallSettings

If not null, applies overrides to this RPC call.

Returns
TypeDescription
OperationTrustConfigOperationMetadata

The RPC response.

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

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

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

CreateTrustConfig(CreateTrustConfigRequest, CallSettings)

public virtual Operation<TrustConfig, OperationMetadata> CreateTrustConfig(CreateTrustConfigRequest request, CallSettings callSettings = null)

Creates a new TrustConfig in a given project and location.

Parameters
NameDescription
requestCreateTrustConfigRequest

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

callSettingsCallSettings

If not null, applies overrides to this RPC call.

Returns
TypeDescription
OperationTrustConfigOperationMetadata

The RPC response.

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

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

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

CreateTrustConfig(string, TrustConfig, string, CallSettings)

public virtual Operation<TrustConfig, OperationMetadata> CreateTrustConfig(string parent, TrustConfig trustConfig, string trustConfigId, CallSettings callSettings = null)

Creates a new TrustConfig in a given project and location.

Parameters
NameDescription
parentstring

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

trustConfigTrustConfig

Required. A definition of the TrustConfig to create.

trustConfigIdstring

Required. A user-provided name of the TrustConfig. Must match the regexp [a-z0-9-]{1,63}.

callSettingsCallSettings

If not null, applies overrides to this RPC call.

Returns
TypeDescription
OperationTrustConfigOperationMetadata

The RPC response.

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

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

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

CreateTrustConfigAsync(LocationName, TrustConfig, string, CallSettings)

public virtual Task<Operation<TrustConfig, OperationMetadata>> CreateTrustConfigAsync(LocationName parent, TrustConfig trustConfig, string trustConfigId, CallSettings callSettings = null)

Creates a new TrustConfig in a given project and location.

Parameters
NameDescription
parentLocationName

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

trustConfigTrustConfig

Required. A definition of the TrustConfig to create.

trustConfigIdstring

Required. A user-provided name of the TrustConfig. Must match the regexp [a-z0-9-]{1,63}.

callSettingsCallSettings

If not null, applies overrides to this RPC call.

Returns
TypeDescription
TaskOperationTrustConfigOperationMetadata

A Task containing the RPC response.

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

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

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

CreateTrustConfigAsync(LocationName, TrustConfig, string, CancellationToken)

public virtual Task<Operation<TrustConfig, OperationMetadata>> CreateTrustConfigAsync(LocationName parent, TrustConfig trustConfig, string trustConfigId, CancellationToken cancellationToken)

Creates a new TrustConfig in a given project and location.

Parameters
NameDescription
parentLocationName

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

trustConfigTrustConfig

Required. A definition of the TrustConfig to create.

trustConfigIdstring

Required. A user-provided name of the TrustConfig. Must match the regexp [a-z0-9-]{1,63}.

cancellationTokenCancellationToken

A CancellationToken to use for this RPC.

Returns
TypeDescription
TaskOperationTrustConfigOperationMetadata

A Task containing the RPC response.

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

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

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

CreateTrustConfigAsync(CreateTrustConfigRequest, CallSettings)

public virtual Task<Operation<TrustConfig, OperationMetadata>> CreateTrustConfigAsync(CreateTrustConfigRequest request, CallSettings callSettings = null)

Creates a new TrustConfig in a given project and location.

Parameters
NameDescription
requestCreateTrustConfigRequest

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

callSettingsCallSettings

If not null, applies overrides to this RPC call.

Returns
TypeDescription
TaskOperationTrustConfigOperationMetadata

A Task containing the RPC response.

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

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

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

CreateTrustConfigAsync(CreateTrustConfigRequest, CancellationToken)

public virtual Task<Operation<TrustConfig, OperationMetadata>> CreateTrustConfigAsync(CreateTrustConfigRequest request, CancellationToken cancellationToken)

Creates a new TrustConfig in a given project and location.

Parameters
NameDescription
requestCreateTrustConfigRequest

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

cancellationTokenCancellationToken

A CancellationToken to use for this RPC.

Returns
TypeDescription
TaskOperationTrustConfigOperationMetadata

A Task containing the RPC response.

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

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

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

CreateTrustConfigAsync(string, TrustConfig, string, CallSettings)

public virtual Task<Operation<TrustConfig, OperationMetadata>> CreateTrustConfigAsync(string parent, TrustConfig trustConfig, string trustConfigId, CallSettings callSettings = null)

Creates a new TrustConfig in a given project and location.

Parameters
NameDescription
parentstring

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

trustConfigTrustConfig

Required. A definition of the TrustConfig to create.

trustConfigIdstring

Required. A user-provided name of the TrustConfig. Must match the regexp [a-z0-9-]{1,63}.

callSettingsCallSettings

If not null, applies overrides to this RPC call.

Returns
TypeDescription
TaskOperationTrustConfigOperationMetadata

A Task containing the RPC response.

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

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

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

CreateTrustConfigAsync(string, TrustConfig, string, CancellationToken)

public virtual Task<Operation<TrustConfig, OperationMetadata>> CreateTrustConfigAsync(string parent, TrustConfig trustConfig, string trustConfigId, CancellationToken cancellationToken)

Creates a new TrustConfig in a given project and location.

Parameters
NameDescription
parentstring

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

trustConfigTrustConfig

Required. A definition of the TrustConfig to create.

trustConfigIdstring

Required. A user-provided name of the TrustConfig. Must match the regexp [a-z0-9-]{1,63}.

cancellationTokenCancellationToken

A CancellationToken to use for this RPC.

Returns
TypeDescription
TaskOperationTrustConfigOperationMetadata

A Task containing the RPC response.

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

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

// Or 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<TrustConfig, OperationMetadata> retrievedResponse = await certificateManagerClient.PollOnceCreateTrustConfigAsync(operationName);
// Check if the retrieved long-running operation has completed
if (retrievedResponse.IsCompleted)
{
    // If it has completed, then access the result
    TrustConfig 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;
}

DeleteTrustConfig(DeleteTrustConfigRequest, CallSettings)

public virtual Operation<Empty, OperationMetadata> DeleteTrustConfig(DeleteTrustConfigRequest request, CallSettings callSettings = null)

Deletes a single TrustConfig.

Parameters
NameDescription
requestDeleteTrustConfigRequest

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)
DeleteTrustConfigRequest request = new DeleteTrustConfigRequest
{
    TrustConfigName = TrustConfigName.FromProjectLocationTrustConfig("[PROJECT]", "[LOCATION]", "[TRUST_CONFIG]"),
    Etag = "",
};
// Make the request
Operation<Empty, OperationMetadata> response = certificateManagerClient.DeleteTrustConfig(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.PollOnceDeleteTrustConfig(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;
}

DeleteTrustConfig(TrustConfigName, CallSettings)

public virtual Operation<Empty, OperationMetadata> DeleteTrustConfig(TrustConfigName name, CallSettings callSettings = null)

Deletes a single TrustConfig.

Parameters
NameDescription
nameTrustConfigName

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

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)
TrustConfigName name = TrustConfigName.FromProjectLocationTrustConfig("[PROJECT]", "[LOCATION]", "[TRUST_CONFIG]");
// Make the request
Operation<Empty, OperationMetadata> response = certificateManagerClient.DeleteTrustConfig(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.PollOnceDeleteTrustConfig(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;
}

DeleteTrustConfig(string, CallSettings)

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

Deletes a single TrustConfig.

Parameters
NameDescription
namestring

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

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]/trustConfigs/[TRUST_CONFIG]";
// Make the request
Operation<Empty, OperationMetadata> response = certificateManagerClient.DeleteTrustConfig(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.PollOnceDeleteTrustConfig(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;
}

DeleteTrustConfigAsync(DeleteTrustConfigRequest, CallSettings)

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

Deletes a single TrustConfig.

Parameters
NameDescription
requestDeleteTrustConfigRequest

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)
DeleteTrustConfigRequest request = new DeleteTrustConfigRequest
{
    TrustConfigName = TrustConfigName.FromProjectLocationTrustConfig("[PROJECT]", "[LOCATION]", "[TRUST_CONFIG]"),
    Etag = "",
};
// Make the request
Operation<Empty, OperationMetadata> response = await certificateManagerClient.DeleteTrustConfigAsync(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.PollOnceDeleteTrustConfigAsync(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;
}

DeleteTrustConfigAsync(DeleteTrustConfigRequest, CancellationToken)

public virtual Task<Operation<Empty, OperationMetadata>> DeleteTrustConfigAsync(DeleteTrustConfigRequest request, CancellationToken cancellationToken)

Deletes a single TrustConfig.

Parameters
NameDescription
requestDeleteTrustConfigRequest

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)
DeleteTrustConfigRequest request = new DeleteTrustConfigRequest
{
    TrustConfigName = TrustConfigName.FromProjectLocationTrustConfig("[PROJECT]", "[LOCATION]", "[TRUST_CONFIG]"),
    Etag = "",
};
// Make the request
Operation<Empty, OperationMetadata> response = await certificateManagerClient.DeleteTrustConfigAsync(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.PollOnceDeleteTrustConfigAsync(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;
}

DeleteTrustConfigAsync(TrustConfigName, CallSettings)

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

Deletes a single TrustConfig.

Parameters
NameDescription
nameTrustConfigName

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

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)
TrustConfigName name = TrustConfigName.FromProjectLocationTrustConfig("[PROJECT]", "[LOCATION]", "[TRUST_CONFIG]");
// Make the request
Operation<Empty, OperationMetadata> response = await certificateManagerClient.DeleteTrustConfigAsync(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.PollOnceDeleteTrustConfigAsync(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;
}

DeleteTrustConfigAsync(TrustConfigName, CancellationToken)

public virtual Task<Operation<Empty, OperationMetadata>> DeleteTrustConfigAsync(TrustConfigName name, CancellationToken cancellationToken)

Deletes a single TrustConfig.

Parameters
NameDescription
nameTrustConfigName

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

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)
TrustConfigName name = TrustConfigName.FromProjectLocationTrustConfig("[PROJECT]", "[LOCATION]", "[TRUST_CONFIG]");
// Make the request
Operation<Empty, OperationMetadata> response = await certificateManagerClient.DeleteTrustConfigAsync(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.PollOnceDeleteTrustConfigAsync(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;
}

DeleteTrustConfigAsync(string, CallSettings)

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

Deletes a single TrustConfig.

Parameters
NameDescription
namestring

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

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]/trustConfigs/[TRUST_CONFIG]";
// Make the request
Operation<Empty, OperationMetadata> response = await certificateManagerClient.DeleteTrustConfigAsync(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.PollOnceDeleteTrustConfigAsync(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;
}

DeleteTrustConfigAsync(string, CancellationToken)

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

Deletes a single TrustConfig.

Parameters
NameDescription
namestring

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

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]/trustConfigs/[TRUST_CONFIG]";
// Make the request
Operation<Empty, OperationMetadata> response = await certificateManagerClient.DeleteTrustConfigAsync(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.PollOnceDeleteTrustConfigAsync(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);

GetTrustConfig(GetTrustConfigRequest, CallSettings)

public virtual TrustConfig GetTrustConfig(GetTrustConfigRequest request, CallSettings callSettings = null)

Gets details of a single TrustConfig.

Parameters
NameDescription
requestGetTrustConfigRequest

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

callSettingsCallSettings

If not null, applies overrides to this RPC call.

Returns
TypeDescription
TrustConfig

The RPC response.

Example
// Create client
CertificateManagerClient certificateManagerClient = CertificateManagerClient.Create();
// Initialize request argument(s)
GetTrustConfigRequest request = new GetTrustConfigRequest
{
    TrustConfigName = TrustConfigName.FromProjectLocationTrustConfig("[PROJECT]", "[LOCATION]", "[TRUST_CONFIG]"),
};
// Make the request
TrustConfig response = certificateManagerClient.GetTrustConfig(request);

GetTrustConfig(TrustConfigName, CallSettings)

public virtual TrustConfig GetTrustConfig(TrustConfigName name, CallSettings callSettings = null)

Gets details of a single TrustConfig.

Parameters
NameDescription
nameTrustConfigName

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

callSettingsCallSettings

If not null, applies overrides to this RPC call.

Returns
TypeDescription
TrustConfig

The RPC response.

Example
// Create client
CertificateManagerClient certificateManagerClient = CertificateManagerClient.Create();
// Initialize request argument(s)
TrustConfigName name = TrustConfigName.FromProjectLocationTrustConfig("[PROJECT]", "[LOCATION]", "[TRUST_CONFIG]");
// Make the request
TrustConfig response = certificateManagerClient.GetTrustConfig(name);

GetTrustConfig(string, CallSettings)

public virtual TrustConfig GetTrustConfig(string name, CallSettings callSettings = null)

Gets details of a single TrustConfig.

Parameters
NameDescription
namestring

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

callSettingsCallSettings

If not null, applies overrides to this RPC call.

Returns
TypeDescription
TrustConfig

The RPC response.

Example
// Create client
CertificateManagerClient certificateManagerClient = CertificateManagerClient.Create();
// Initialize request argument(s)
string name = "projects/[PROJECT]/locations/[LOCATION]/trustConfigs/[TRUST_CONFIG]";
// Make the request
TrustConfig response = certificateManagerClient.GetTrustConfig(name);

GetTrustConfigAsync(GetTrustConfigRequest, CallSettings)

public virtual Task<TrustConfig> GetTrustConfigAsync(GetTrustConfigRequest request, CallSettings callSettings = null)

Gets details of a single TrustConfig.

Parameters
NameDescription
requestGetTrustConfigRequest

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

callSettingsCallSettings

If not null, applies overrides to this RPC call.

Returns
TypeDescription
TaskTrustConfig

A Task containing the RPC response.

Example
// Create client
CertificateManagerClient certificateManagerClient = await CertificateManagerClient.CreateAsync();
// Initialize request argument(s)
GetTrustConfigRequest request = new GetTrustConfigRequest
{
    TrustConfigName = TrustConfigName.FromProjectLocationTrustConfig("[PROJECT]", "[LOCATION]", "[TRUST_CONFIG]"),
};
// Make the request
TrustConfig response = await certificateManagerClient.GetTrustConfigAsync(request);

GetTrustConfigAsync(GetTrustConfigRequest, CancellationToken)

public virtual Task<TrustConfig> GetTrustConfigAsync(GetTrustConfigRequest request, CancellationToken cancellationToken)

Gets details of a single TrustConfig.

Parameters
NameDescription
requestGetTrustConfigRequest

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

cancellationTokenCancellationToken

A CancellationToken to use for this RPC.

Returns
TypeDescription
TaskTrustConfig

A Task containing the RPC response.

Example
// Create client
CertificateManagerClient certificateManagerClient = await CertificateManagerClient.CreateAsync();
// Initialize request argument(s)
GetTrustConfigRequest request = new GetTrustConfigRequest
{
    TrustConfigName = TrustConfigName.FromProjectLocationTrustConfig("[PROJECT]", "[LOCATION]", "[TRUST_CONFIG]"),
};
// Make the request
TrustConfig response = await certificateManagerClient.GetTrustConfigAsync(request);

GetTrustConfigAsync(TrustConfigName, CallSettings)

public virtual Task<TrustConfig> GetTrustConfigAsync(TrustConfigName name, CallSettings callSettings = null)

Gets details of a single TrustConfig.

Parameters
NameDescription
nameTrustConfigName

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

callSettingsCallSettings

If not null, applies overrides to this RPC call.

Returns
TypeDescription
TaskTrustConfig

A Task containing the RPC response.

Example
// Create client
CertificateManagerClient certificateManagerClient = await CertificateManagerClient.CreateAsync();
// Initialize request argument(s)
TrustConfigName name = TrustConfigName.FromProjectLocationTrustConfig("[PROJECT]", "[LOCATION]", "[TRUST_CONFIG]");
// Make the request
TrustConfig response = await certificateManagerClient.GetTrustConfigAsync(name);

GetTrustConfigAsync(TrustConfigName, CancellationToken)

public virtual Task<TrustConfig> GetTrustConfigAsync(TrustConfigName name, CancellationToken cancellationToken)

Gets details of a single TrustConfig.

Parameters
NameDescription
nameTrustConfigName

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

cancellationTokenCancellationToken

A CancellationToken to use for this RPC.

Returns
TypeDescription
TaskTrustConfig

A Task containing the RPC response.

Example
// Create client
CertificateManagerClient certificateManagerClient = await CertificateManagerClient.CreateAsync();
// Initialize request argument(s)
TrustConfigName name = TrustConfigName.FromProjectLocationTrustConfig("[PROJECT]", "[LOCATION]", "[TRUST_CONFIG]");
// Make the request
TrustConfig response = await certificateManagerClient.GetTrustConfigAsync(name);

GetTrustConfigAsync(string, CallSettings)

public virtual Task<TrustConfig> GetTrustConfigAsync(string name, CallSettings callSettings = null)

Gets details of a single TrustConfig.

Parameters
NameDescription
namestring

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

callSettingsCallSettings

If not null, applies overrides to this RPC call.

Returns
TypeDescription
TaskTrustConfig

A Task containing the RPC response.

Example
// Create client
CertificateManagerClient certificateManagerClient = await CertificateManagerClient.CreateAsync();
// Initialize request argument(s)
string name = "projects/[PROJECT]/locations/[LOCATION]/trustConfigs/[TRUST_CONFIG]";
// Make the request
TrustConfig response = await certificateManagerClient.GetTrustConfigAsync(name);

GetTrustConfigAsync(string, CancellationToken)

public virtual Task<TrustConfig> GetTrustConfigAsync(string name, CancellationToken cancellationToken)

Gets details of a single TrustConfig.

Parameters
NameDescription
namestring

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

cancellationTokenCancellationToken

A CancellationToken to use for this RPC.

Returns
TypeDescription
TaskTrustConfig

A Task containing the RPC response.

Example
// Create client
CertificateManagerClient certificateManagerClient = await CertificateManagerClient.CreateAsync();
// Initialize request argument(s)
string name = "projects/[PROJECT]/locations/[LOCATION]/trustConfigs/[TRUST_CONFIG]";
// Make the request
TrustConfig response = await certificateManagerClient.GetTrustConfigAsync(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

I