# Class CertificateManagerClient (0.96.0)

0.96.0 (latest) 0.94.0 0.91.0 0.90.0 0.88.0 0.86.0 0.85.0 0.84.0 0.83.0 0.81.0 0.79.0 0.78.0 0.77.0 0.76.0 0.75.0 0.73.0 0.71.0 0.70.0 0.67.0 0.66.0 0.65.0 0.63.0 0.62.0 0.61.0 0.60.0 0.59.0 0.58.0 0.57.0 0.56.0 0.55.0 0.54.0 0.52.0 0.51.0 0.50.0 0.49.0 0.48.0 0.47.0 0.46.0 0.45.0 0.44.0 0.43.0 0.42.0 0.40.0 0.39.0 0.38.0 0.37.0 0.36.0 0.35.0 0.34.0 0.33.0 0.32.0 0.31.0 0.30.0 0.27.0 0.26.0 0.25.0 0.24.0 0.23.0 0.22.0 0.21.0 0.20.0 0.19.0 0.18.0 0.17.0 0.16.0 0.15.0 0.14.0 0.13.0 0.12.0 0.11.0 0.10.0 0.9.0 0.8.0 0.7.0 0.6.0 0.5.2 0.4.0 0.3.1 0.2.0 0.1.1

|---|---|
| [GitHub Repository](https://github.com/googleapis/google-cloud-java/tree/main/java-certificate-manager/google-cloud-certificate-manager/src/main/java/com/google/cloud/certificatemanager/v1/CertificateManagerClient.java) | [Product Reference](https://cloud.google.com/certificate-manager/docs) |

Service Description: 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.

This class provides the ability to make remote calls to the backing service through method
calls that map to API methods. Sample code to get started:


     // This snippet has been automatically generated and should be regarded as a code template only.
     // It will require modifications to work:
     // - It may require correct/in-range values for request initialization.
     // - It may require specifying regional endpoints when creating the service client as shown in
     // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
     try (CertificateManagerClient certificateManagerClient = CertificateManagerClient.create()) {
       CertificateName name = CertificateName.of("[PROJECT]", "[LOCATION]", "[CERTIFICATE]");
       Certificate response = certificateManagerClient.getCertificate(name);
     }
     
Note: close() needs to be called on the CertificateManagerClient object to clean up resources
such as threads. In the example above, try-with-resources is used, which automatically calls
close().

| Method | Description | Method Variants |
|---|---|---|
| ListCertificates | Lists Certificates in a given project and location. | Request object method variants only take one parameter, a request object, which must be constructed before the call. - listCertificates(ListCertificatesRequest request) "Flattened" method variants have converted the fields of the request object into function parameters to enable multiple ways to call the same method. - listCertificates(LocationName parent) - listCertificates(String parent) Callable method variants take no parameters and return an immutable API callable object, which can be used to initiate calls to the service. - listCertificatesPagedCallable() - listCertificatesCallable() |
| GetCertificate | Gets details of a single Certificate. | Request object method variants only take one parameter, a request object, which must be constructed before the call. - getCertificate(GetCertificateRequest request) "Flattened" method variants have converted the fields of the request object into function parameters to enable multiple ways to call the same method. - getCertificate(CertificateName name) - getCertificate(String name) Callable method variants take no parameters and return an immutable API callable object, which can be used to initiate calls to the service. - getCertificateCallable() |
| CreateCertificate | Creates a new Certificate in a given project and location. | Request object method variants only take one parameter, a request object, which must be constructed before the call. - createCertificateAsync(CreateCertificateRequest request) Methods that return long-running operations have "Async" method variants that return `OperationFuture`, which is used to track polling of the service. - createCertificateAsync(LocationName parent, Certificate certificate, String certificateId) - createCertificateAsync(String parent, Certificate certificate, String certificateId) Callable method variants take no parameters and return an immutable API callable object, which can be used to initiate calls to the service. - createCertificateOperationCallable() - createCertificateCallable() |
| UpdateCertificate | Updates a Certificate. | Request object method variants only take one parameter, a request object, which must be constructed before the call. - updateCertificateAsync(UpdateCertificateRequest request) Methods that return long-running operations have "Async" method variants that return `OperationFuture`, which is used to track polling of the service. - updateCertificateAsync(Certificate certificate, FieldMask updateMask) Callable method variants take no parameters and return an immutable API callable object, which can be used to initiate calls to the service. - updateCertificateOperationCallable() - updateCertificateCallable() |
| DeleteCertificate | Deletes a single Certificate. | Request object method variants only take one parameter, a request object, which must be constructed before the call. - deleteCertificateAsync(DeleteCertificateRequest request) Methods that return long-running operations have "Async" method variants that return `OperationFuture`, which is used to track polling of the service. - deleteCertificateAsync(CertificateName name) - deleteCertificateAsync(String name) Callable method variants take no parameters and return an immutable API callable object, which can be used to initiate calls to the service. - deleteCertificateOperationCallable() - deleteCertificateCallable() |
| ListCertificateMaps | Lists CertificateMaps in a given project and location. | Request object method variants only take one parameter, a request object, which must be constructed before the call. - listCertificateMaps(ListCertificateMapsRequest request) "Flattened" method variants have converted the fields of the request object into function parameters to enable multiple ways to call the same method. - listCertificateMaps(LocationName parent) - listCertificateMaps(String parent) Callable method variants take no parameters and return an immutable API callable object, which can be used to initiate calls to the service. - listCertificateMapsPagedCallable() - listCertificateMapsCallable() |
| GetCertificateMap | Gets details of a single CertificateMap. | Request object method variants only take one parameter, a request object, which must be constructed before the call. - getCertificateMap(GetCertificateMapRequest request) "Flattened" method variants have converted the fields of the request object into function parameters to enable multiple ways to call the same method. - getCertificateMap(CertificateMapName name) - getCertificateMap(String name) Callable method variants take no parameters and return an immutable API callable object, which can be used to initiate calls to the service. - getCertificateMapCallable() |
| CreateCertificateMap | Creates a new CertificateMap in a given project and location. | Request object method variants only take one parameter, a request object, which must be constructed before the call. - createCertificateMapAsync(CreateCertificateMapRequest request) Methods that return long-running operations have "Async" method variants that return `OperationFuture`, which is used to track polling of the service. - createCertificateMapAsync(LocationName parent, CertificateMap certificateMap, String certificateMapId) - createCertificateMapAsync(String parent, CertificateMap certificateMap, String certificateMapId) Callable method variants take no parameters and return an immutable API callable object, which can be used to initiate calls to the service. - createCertificateMapOperationCallable() - createCertificateMapCallable() |
| UpdateCertificateMap | Updates a CertificateMap. | Request object method variants only take one parameter, a request object, which must be constructed before the call. - updateCertificateMapAsync(UpdateCertificateMapRequest request) Methods that return long-running operations have "Async" method variants that return `OperationFuture`, which is used to track polling of the service. - updateCertificateMapAsync(CertificateMap certificateMap, FieldMask updateMask) Callable method variants take no parameters and return an immutable API callable object, which can be used to initiate calls to the service. - updateCertificateMapOperationCallable() - updateCertificateMapCallable() |
| DeleteCertificateMap | 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. | Request object method variants only take one parameter, a request object, which must be constructed before the call. - deleteCertificateMapAsync(DeleteCertificateMapRequest request) Methods that return long-running operations have "Async" method variants that return `OperationFuture`, which is used to track polling of the service. - deleteCertificateMapAsync(CertificateMapName name) - deleteCertificateMapAsync(String name) Callable method variants take no parameters and return an immutable API callable object, which can be used to initiate calls to the service. - deleteCertificateMapOperationCallable() - deleteCertificateMapCallable() |
| ListCertificateMapEntries | Lists CertificateMapEntries in a given project and location. | Request object method variants only take one parameter, a request object, which must be constructed before the call. - listCertificateMapEntries(ListCertificateMapEntriesRequest request) "Flattened" method variants have converted the fields of the request object into function parameters to enable multiple ways to call the same method. - listCertificateMapEntries(CertificateMapName parent) - listCertificateMapEntries(String parent) Callable method variants take no parameters and return an immutable API callable object, which can be used to initiate calls to the service. - listCertificateMapEntriesPagedCallable() - listCertificateMapEntriesCallable() |
| GetCertificateMapEntry | Gets details of a single CertificateMapEntry. | Request object method variants only take one parameter, a request object, which must be constructed before the call. - getCertificateMapEntry(GetCertificateMapEntryRequest request) "Flattened" method variants have converted the fields of the request object into function parameters to enable multiple ways to call the same method. - getCertificateMapEntry(CertificateMapEntryName name) - getCertificateMapEntry(String name) Callable method variants take no parameters and return an immutable API callable object, which can be used to initiate calls to the service. - getCertificateMapEntryCallable() |
| CreateCertificateMapEntry | Creates a new CertificateMapEntry in a given project and location. | Request object method variants only take one parameter, a request object, which must be constructed before the call. - createCertificateMapEntryAsync(CreateCertificateMapEntryRequest request) Methods that return long-running operations have "Async" method variants that return `OperationFuture`, which is used to track polling of the service. - createCertificateMapEntryAsync(CertificateMapName parent, CertificateMapEntry certificateMapEntry, String certificateMapEntryId) - createCertificateMapEntryAsync(String parent, CertificateMapEntry certificateMapEntry, String certificateMapEntryId) Callable method variants take no parameters and return an immutable API callable object, which can be used to initiate calls to the service. - createCertificateMapEntryOperationCallable() - createCertificateMapEntryCallable() |
| UpdateCertificateMapEntry | Updates a CertificateMapEntry. | Request object method variants only take one parameter, a request object, which must be constructed before the call. - updateCertificateMapEntryAsync(UpdateCertificateMapEntryRequest request) Methods that return long-running operations have "Async" method variants that return `OperationFuture`, which is used to track polling of the service. - updateCertificateMapEntryAsync(CertificateMapEntry certificateMapEntry, FieldMask updateMask) Callable method variants take no parameters and return an immutable API callable object, which can be used to initiate calls to the service. - updateCertificateMapEntryOperationCallable() - updateCertificateMapEntryCallable() |
| DeleteCertificateMapEntry | Deletes a single CertificateMapEntry. | Request object method variants only take one parameter, a request object, which must be constructed before the call. - deleteCertificateMapEntryAsync(DeleteCertificateMapEntryRequest request) Methods that return long-running operations have "Async" method variants that return `OperationFuture`, which is used to track polling of the service. - deleteCertificateMapEntryAsync(CertificateMapEntryName name) - deleteCertificateMapEntryAsync(String name) Callable method variants take no parameters and return an immutable API callable object, which can be used to initiate calls to the service. - deleteCertificateMapEntryOperationCallable() - deleteCertificateMapEntryCallable() |
| ListDnsAuthorizations | Lists DnsAuthorizations in a given project and location. | Request object method variants only take one parameter, a request object, which must be constructed before the call. - listDnsAuthorizations(ListDnsAuthorizationsRequest request) "Flattened" method variants have converted the fields of the request object into function parameters to enable multiple ways to call the same method. - listDnsAuthorizations(LocationName parent) - listDnsAuthorizations(String parent) Callable method variants take no parameters and return an immutable API callable object, which can be used to initiate calls to the service. - listDnsAuthorizationsPagedCallable() - listDnsAuthorizationsCallable() |
| GetDnsAuthorization | Gets details of a single DnsAuthorization. | Request object method variants only take one parameter, a request object, which must be constructed before the call. - getDnsAuthorization(GetDnsAuthorizationRequest request) "Flattened" method variants have converted the fields of the request object into function parameters to enable multiple ways to call the same method. - getDnsAuthorization(DnsAuthorizationName name) - getDnsAuthorization(String name) Callable method variants take no parameters and return an immutable API callable object, which can be used to initiate calls to the service. - getDnsAuthorizationCallable() |
| CreateDnsAuthorization | Creates a new DnsAuthorization in a given project and location. | Request object method variants only take one parameter, a request object, which must be constructed before the call. - createDnsAuthorizationAsync(CreateDnsAuthorizationRequest request) Methods that return long-running operations have "Async" method variants that return `OperationFuture`, which is used to track polling of the service. - createDnsAuthorizationAsync(LocationName parent, DnsAuthorization dnsAuthorization, String dnsAuthorizationId) - createDnsAuthorizationAsync(String parent, DnsAuthorization dnsAuthorization, String dnsAuthorizationId) Callable method variants take no parameters and return an immutable API callable object, which can be used to initiate calls to the service. - createDnsAuthorizationOperationCallable() - createDnsAuthorizationCallable() |
| UpdateDnsAuthorization | Updates a DnsAuthorization. | Request object method variants only take one parameter, a request object, which must be constructed before the call. - updateDnsAuthorizationAsync(UpdateDnsAuthorizationRequest request) Methods that return long-running operations have "Async" method variants that return `OperationFuture`, which is used to track polling of the service. - updateDnsAuthorizationAsync(DnsAuthorization dnsAuthorization, FieldMask updateMask) Callable method variants take no parameters and return an immutable API callable object, which can be used to initiate calls to the service. - updateDnsAuthorizationOperationCallable() - updateDnsAuthorizationCallable() |
| DeleteDnsAuthorization | Deletes a single DnsAuthorization. | Request object method variants only take one parameter, a request object, which must be constructed before the call. - deleteDnsAuthorizationAsync(DeleteDnsAuthorizationRequest request) Methods that return long-running operations have "Async" method variants that return `OperationFuture`, which is used to track polling of the service. - deleteDnsAuthorizationAsync(DnsAuthorizationName name) - deleteDnsAuthorizationAsync(String name) Callable method variants take no parameters and return an immutable API callable object, which can be used to initiate calls to the service. - deleteDnsAuthorizationOperationCallable() - deleteDnsAuthorizationCallable() |
| ListCertificateIssuanceConfigs | Lists CertificateIssuanceConfigs in a given project and location. | Request object method variants only take one parameter, a request object, which must be constructed before the call. - listCertificateIssuanceConfigs(ListCertificateIssuanceConfigsRequest request) "Flattened" method variants have converted the fields of the request object into function parameters to enable multiple ways to call the same method. - listCertificateIssuanceConfigs(LocationName parent) - listCertificateIssuanceConfigs(String parent) Callable method variants take no parameters and return an immutable API callable object, which can be used to initiate calls to the service. - listCertificateIssuanceConfigsPagedCallable() - listCertificateIssuanceConfigsCallable() |
| GetCertificateIssuanceConfig | Gets details of a single CertificateIssuanceConfig. | Request object method variants only take one parameter, a request object, which must be constructed before the call. - getCertificateIssuanceConfig(GetCertificateIssuanceConfigRequest request) "Flattened" method variants have converted the fields of the request object into function parameters to enable multiple ways to call the same method. - getCertificateIssuanceConfig(CertificateIssuanceConfigName name) - getCertificateIssuanceConfig(String name) Callable method variants take no parameters and return an immutable API callable object, which can be used to initiate calls to the service. - getCertificateIssuanceConfigCallable() |
| CreateCertificateIssuanceConfig | Creates a new CertificateIssuanceConfig in a given project and location. | Request object method variants only take one parameter, a request object, which must be constructed before the call. - createCertificateIssuanceConfigAsync(CreateCertificateIssuanceConfigRequest request) Methods that return long-running operations have "Async" method variants that return `OperationFuture`, which is used to track polling of the service. - createCertificateIssuanceConfigAsync(LocationName parent, CertificateIssuanceConfig certificateIssuanceConfig, String certificateIssuanceConfigId) - createCertificateIssuanceConfigAsync(String parent, CertificateIssuanceConfig certificateIssuanceConfig, String certificateIssuanceConfigId) Callable method variants take no parameters and return an immutable API callable object, which can be used to initiate calls to the service. - createCertificateIssuanceConfigOperationCallable() - createCertificateIssuanceConfigCallable() |
| DeleteCertificateIssuanceConfig | Deletes a single CertificateIssuanceConfig. | Request object method variants only take one parameter, a request object, which must be constructed before the call. - deleteCertificateIssuanceConfigAsync(DeleteCertificateIssuanceConfigRequest request) Methods that return long-running operations have "Async" method variants that return `OperationFuture`, which is used to track polling of the service. - deleteCertificateIssuanceConfigAsync(CertificateIssuanceConfigName name) - deleteCertificateIssuanceConfigAsync(String name) Callable method variants take no parameters and return an immutable API callable object, which can be used to initiate calls to the service. - deleteCertificateIssuanceConfigOperationCallable() - deleteCertificateIssuanceConfigCallable() |
| ListTrustConfigs | Lists TrustConfigs in a given project and location. | Request object method variants only take one parameter, a request object, which must be constructed before the call. - listTrustConfigs(ListTrustConfigsRequest request) "Flattened" method variants have converted the fields of the request object into function parameters to enable multiple ways to call the same method. - listTrustConfigs(LocationName parent) - listTrustConfigs(String parent) Callable method variants take no parameters and return an immutable API callable object, which can be used to initiate calls to the service. - listTrustConfigsPagedCallable() - listTrustConfigsCallable() |
| GetTrustConfig | Gets details of a single TrustConfig. | Request object method variants only take one parameter, a request object, which must be constructed before the call. - getTrustConfig(GetTrustConfigRequest request) "Flattened" method variants have converted the fields of the request object into function parameters to enable multiple ways to call the same method. - getTrustConfig(TrustConfigName name) - getTrustConfig(String name) Callable method variants take no parameters and return an immutable API callable object, which can be used to initiate calls to the service. - getTrustConfigCallable() |
| CreateTrustConfig | Creates a new TrustConfig in a given project and location. | Request object method variants only take one parameter, a request object, which must be constructed before the call. - createTrustConfigAsync(CreateTrustConfigRequest request) Methods that return long-running operations have "Async" method variants that return `OperationFuture`, which is used to track polling of the service. - createTrustConfigAsync(LocationName parent, TrustConfig trustConfig, String trustConfigId) - createTrustConfigAsync(String parent, TrustConfig trustConfig, String trustConfigId) Callable method variants take no parameters and return an immutable API callable object, which can be used to initiate calls to the service. - createTrustConfigOperationCallable() - createTrustConfigCallable() |
| UpdateTrustConfig | Updates a TrustConfig. | Request object method variants only take one parameter, a request object, which must be constructed before the call. - updateTrustConfigAsync(UpdateTrustConfigRequest request) Methods that return long-running operations have "Async" method variants that return `OperationFuture`, which is used to track polling of the service. - updateTrustConfigAsync(TrustConfig trustConfig, FieldMask updateMask) Callable method variants take no parameters and return an immutable API callable object, which can be used to initiate calls to the service. - updateTrustConfigOperationCallable() - updateTrustConfigCallable() |
| DeleteTrustConfig | Deletes a single TrustConfig. | Request object method variants only take one parameter, a request object, which must be constructed before the call. - deleteTrustConfigAsync(DeleteTrustConfigRequest request) Methods that return long-running operations have "Async" method variants that return `OperationFuture`, which is used to track polling of the service. - deleteTrustConfigAsync(TrustConfigName name) - deleteTrustConfigAsync(String name) Callable method variants take no parameters and return an immutable API callable object, which can be used to initiate calls to the service. - deleteTrustConfigOperationCallable() - deleteTrustConfigCallable() |
| ListLocations | Lists information about the supported locations for this service. | Request object method variants only take one parameter, a request object, which must be constructed before the call. - listLocations(ListLocationsRequest request) Callable method variants take no parameters and return an immutable API callable object, which can be used to initiate calls to the service. - listLocationsPagedCallable() - listLocationsCallable() |
| GetLocation | Gets information about a location. | Request object method variants only take one parameter, a request object, which must be constructed before the call. - getLocation(GetLocationRequest request) Callable method variants take no parameters and return an immutable API callable object, which can be used to initiate calls to the service. - getLocationCallable() |
[Methods]

See the individual methods for example code.

Many parameters require resource names to be formatted in a particular way. To assist with
these names, this class includes a format method for each type of name, and additionally a parse
method to extract the individual identifiers contained within names that are returned.

This class can be customized by passing in a custom instance of CertificateManagerSettings to
create(). For example:

To customize credentials:


     // This snippet has been automatically generated and should be regarded as a code template only.
     // It will require modifications to work:
     // - It may require correct/in-range values for request initialization.
     // - It may require specifying regional endpoints when creating the service client as shown in
     // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
     CertificateManagerSettings certificateManagerSettings =
         CertificateManagerSettings.newBuilder()
             .setCredentialsProvider(FixedCredentialsProvider.create(myCredentials))
             .build();
     CertificateManagerClient certificateManagerClient =
         CertificateManagerClient.create(certificateManagerSettings);
     
To customize the endpoint:


     // This snippet has been automatically generated and should be regarded as a code template only.
     // It will require modifications to work:
     // - It may require correct/in-range values for request initialization.
     // - It may require specifying regional endpoints when creating the service client as shown in
     // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
     CertificateManagerSettings certificateManagerSettings =
         CertificateManagerSettings.newBuilder().setEndpoint(myEndpoint).build();
     CertificateManagerClient certificateManagerClient =
         CertificateManagerClient.create(certificateManagerSettings);
     
To use REST (HTTP1.1/JSON) transport (instead of gRPC) for sending and receiving requests over
the wire:


     // This snippet has been automatically generated and should be regarded as a code template only.
     // It will require modifications to work:
     // - It may require correct/in-range values for request initialization.
     // - It may require specifying regional endpoints when creating the service client as shown in
     // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
     CertificateManagerSettings certificateManagerSettings =
         CertificateManagerSettings.newHttpJsonBuilder().build();
     CertificateManagerClient certificateManagerClient =
         CertificateManagerClient.create(certificateManagerSettings);
     
Please refer to the GitHub repository's samples for more quickstart code snippets.

## Inheritance

[java.lang.Object](https://docs.oracle.com/javase/8/docs/api/java/lang/Object.html) \> CertificateManagerClient

## Static Methods

### create()

    public static final CertificateManagerClient create()

Constructs an instance of CertificateManagerClient with default settings.

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `https://docs.cloud.google.com/java/docs/reference/google-cloud-certificate-manager/latest/com.google.cloud.certificatemanager.v1.CertificateManagerClient` |   |

| **Exceptions** ||
|---|---|
| **Type** | **Description** |
| `https://docs.oracle.com/javase/8/docs/api/java/io/IOException.html` |   |

### create(CertificateManagerSettings settings)

    public static final CertificateManagerClient create(CertificateManagerSettings settings)

Constructs an instance of CertificateManagerClient, using the given settings. The channels are
created based on the settings passed in, or defaults for any settings that are not set.

| **Parameter** ||
|---|---|
| **Name** | **Description** |
| `settings` | `https://docs.cloud.google.com/java/docs/reference/google-cloud-certificate-manager/latest/com.google.cloud.certificatemanager.v1.CertificateManagerSettings` |

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `https://docs.cloud.google.com/java/docs/reference/google-cloud-certificate-manager/latest/com.google.cloud.certificatemanager.v1.CertificateManagerClient` |   |

| **Exceptions** ||
|---|---|
| **Type** | **Description** |
| `https://docs.oracle.com/javase/8/docs/api/java/io/IOException.html` |   |

### create(CertificateManagerStub stub)

    public static final CertificateManagerClient create(CertificateManagerStub stub)

Constructs an instance of CertificateManagerClient, using the given stub for making calls. This
is for advanced usage - prefer using create(CertificateManagerSettings).

| **Parameter** ||
|---|---|
| **Name** | **Description** |
| `stub` | `https://docs.cloud.google.com/java/docs/reference/google-cloud-certificate-manager/latest/com.google.cloud.certificatemanager.v1.stub.CertificateManagerStub` |

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `https://docs.cloud.google.com/java/docs/reference/google-cloud-certificate-manager/latest/com.google.cloud.certificatemanager.v1.CertificateManagerClient` |   |

## Constructors

### CertificateManagerClient(CertificateManagerSettings settings)

    protected CertificateManagerClient(CertificateManagerSettings settings)

Constructs an instance of CertificateManagerClient, using the given settings. This is protected
so that it is easy to make a subclass, but otherwise, the static factory methods should be
preferred.

| **Parameter** ||
|---|---|
| **Name** | **Description** |
| `settings` | `https://docs.cloud.google.com/java/docs/reference/google-cloud-certificate-manager/latest/com.google.cloud.certificatemanager.v1.CertificateManagerSettings` |

### CertificateManagerClient(CertificateManagerStub stub)

    protected CertificateManagerClient(CertificateManagerStub stub)

| **Parameter** ||
|---|---|
| **Name** | **Description** |
| `stub` | `https://docs.cloud.google.com/java/docs/reference/google-cloud-certificate-manager/latest/com.google.cloud.certificatemanager.v1.stub.CertificateManagerStub` |

## Methods

### awaitTermination(long duration, TimeUnit unit)

    public boolean awaitTermination(long duration, TimeUnit unit)

| **Parameters** ||
|---|---|
| **Name** | **Description** |
| `duration` | `https://docs.oracle.com/javase/tutorial/java/nutsandbolts/datatypes.html` |
| `unit` | `https://docs.oracle.com/javase/8/docs/api/java/util/concurrent/TimeUnit.html` |

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `https://docs.oracle.com/javase/tutorial/java/nutsandbolts/datatypes.html` |   |

| **Exceptions** ||
|---|---|
| **Type** | **Description** |
| `https://docs.oracle.com/javase/8/docs/api/java/lang/InterruptedException.html` |   |

### close()

    public final void close()

### createCertificateAsync(CreateCertificateRequest request)

    public final OperationFuture<Certificate,OperationMetadata> createCertificateAsync(CreateCertificateRequest request)

Creates a new Certificate in a given project and location.

Sample code:


     // This snippet has been automatically generated and should be regarded as a code template only.
     // It will require modifications to work:
     // - It may require correct/in-range values for request initialization.
     // - It may require specifying regional endpoints when creating the service client as shown in
     // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
     try (CertificateManagerClient certificateManagerClient = CertificateManagerClient.create()) {
       CreateCertificateRequest request =
           CreateCertificateRequest.newBuilder()
               .setParent(LocationName.of("[PROJECT]", "[LOCATION]").toString())
               .setCertificateId("certificateId-644529902")
               .setCertificate(Certificate.newBuilder().build())
               .build();
       Certificate response = certificateManagerClient.createCertificateAsync(request).get();
     }
     
| **Parameter** ||
|---|---|
| **Name** | **Description** |
| `request` | `https://docs.cloud.google.com/java/docs/reference/google-cloud-certificate-manager/latest/com.google.cloud.certificatemanager.v1.CreateCertificateRequest` The request object containing all of the parameters for the API call. |

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `https://docs.cloud.google.com/java/docs/reference/gax/latest/com.google.api.gax.longrunning.OperationFuture.html<https://docs.cloud.google.com/java/docs/reference/google-cloud-certificate-manager/latest/com.google.cloud.certificatemanager.v1.Certificate,https://docs.cloud.google.com/java/docs/reference/google-cloud-certificate-manager/latest/com.google.cloud.certificatemanager.v1.OperationMetadata>` |   |

### createCertificateAsync(LocationName parent, Certificate certificate, String certificateId)

    public final OperationFuture<Certificate,OperationMetadata> createCertificateAsync(LocationName parent, Certificate certificate, String certificateId)

Creates a new Certificate in a given project and location.

Sample code:


     // This snippet has been automatically generated and should be regarded as a code template only.
     // It will require modifications to work:
     // - It may require correct/in-range values for request initialization.
     // - It may require specifying regional endpoints when creating the service client as shown in
     // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
     try (CertificateManagerClient certificateManagerClient = CertificateManagerClient.create()) {
       LocationName parent = LocationName.of("[PROJECT]", "[LOCATION]");
       Certificate certificate = Certificate.newBuilder().build();
       String certificateId = "certificateId-644529902";
       Certificate response =
           certificateManagerClient.createCertificateAsync(parent, certificate, certificateId).get();
     }
     
| **Parameters** ||
|---|---|
| **Name** | **Description** |
| `parent` | `https://docs.cloud.google.com/java/docs/reference/google-cloud-certificate-manager/latest/com.google.cloud.certificatemanager.v1.LocationName` Required. The parent resource of the certificate. Must be in the format `projects/*/locations/*`. |
| `certificate` | `https://docs.cloud.google.com/java/docs/reference/google-cloud-certificate-manager/latest/com.google.cloud.certificatemanager.v1.Certificate` Required. A definition of the certificate to create. |
| `certificateId` | `https://docs.oracle.com/javase/8/docs/api/java/lang/String.html` Required. A user-provided name of the certificate. |

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `https://docs.cloud.google.com/java/docs/reference/gax/latest/com.google.api.gax.longrunning.OperationFuture.html<https://docs.cloud.google.com/java/docs/reference/google-cloud-certificate-manager/latest/com.google.cloud.certificatemanager.v1.Certificate,https://docs.cloud.google.com/java/docs/reference/google-cloud-certificate-manager/latest/com.google.cloud.certificatemanager.v1.OperationMetadata>` |   |

### createCertificateAsync(String parent, Certificate certificate, String certificateId)

    public final OperationFuture<Certificate,OperationMetadata> createCertificateAsync(String parent, Certificate certificate, String certificateId)

Creates a new Certificate in a given project and location.

Sample code:


     // This snippet has been automatically generated and should be regarded as a code template only.
     // It will require modifications to work:
     // - It may require correct/in-range values for request initialization.
     // - It may require specifying regional endpoints when creating the service client as shown in
     // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
     try (CertificateManagerClient certificateManagerClient = CertificateManagerClient.create()) {
       String parent = LocationName.of("[PROJECT]", "[LOCATION]").toString();
       Certificate certificate = Certificate.newBuilder().build();
       String certificateId = "certificateId-644529902";
       Certificate response =
           certificateManagerClient.createCertificateAsync(parent, certificate, certificateId).get();
     }
     
| **Parameters** ||
|---|---|
| **Name** | **Description** |
| `parent` | `https://docs.oracle.com/javase/8/docs/api/java/lang/String.html` Required. The parent resource of the certificate. Must be in the format `projects/*/locations/*`. |
| `certificate` | `https://docs.cloud.google.com/java/docs/reference/google-cloud-certificate-manager/latest/com.google.cloud.certificatemanager.v1.Certificate` Required. A definition of the certificate to create. |
| `certificateId` | `https://docs.oracle.com/javase/8/docs/api/java/lang/String.html` Required. A user-provided name of the certificate. |

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `https://docs.cloud.google.com/java/docs/reference/gax/latest/com.google.api.gax.longrunning.OperationFuture.html<https://docs.cloud.google.com/java/docs/reference/google-cloud-certificate-manager/latest/com.google.cloud.certificatemanager.v1.Certificate,https://docs.cloud.google.com/java/docs/reference/google-cloud-certificate-manager/latest/com.google.cloud.certificatemanager.v1.OperationMetadata>` |   |

### createCertificateCallable()

    public final UnaryCallable<CreateCertificateRequest,Operation> createCertificateCallable()

Creates a new Certificate in a given project and location.

Sample code:


     // This snippet has been automatically generated and should be regarded as a code template only.
     // It will require modifications to work:
     // - It may require correct/in-range values for request initialization.
     // - It may require specifying regional endpoints when creating the service client as shown in
     // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
     try (CertificateManagerClient certificateManagerClient = CertificateManagerClient.create()) {
       CreateCertificateRequest request =
           CreateCertificateRequest.newBuilder()
               .setParent(LocationName.of("[PROJECT]", "[LOCATION]").toString())
               .setCertificateId("certificateId-644529902")
               .setCertificate(Certificate.newBuilder().build())
               .build();
       ApiFuture<Operation> future =
           certificateManagerClient.createCertificateCallable().futureCall(request);
       // Do something.
       Operation response = future.get();
     }
     
| **Returns** ||
|---|---|
| **Type** | **Description** |
| `https://docs.cloud.google.com/java/docs/reference/gax/latest/com.google.api.gax.rpc.UnaryCallable.html<https://docs.cloud.google.com/java/docs/reference/google-cloud-certificate-manager/latest/com.google.cloud.certificatemanager.v1.CreateCertificateRequest,https://docs.cloud.google.com/java/docs/reference/gax/latest/com.google.longrunning.Operation.html>` |   |

### createCertificateIssuanceConfigAsync(CreateCertificateIssuanceConfigRequest request)

    public final OperationFuture<CertificateIssuanceConfig,OperationMetadata> createCertificateIssuanceConfigAsync(CreateCertificateIssuanceConfigRequest request)

Creates a new CertificateIssuanceConfig in a given project and location.

Sample code:


     // This snippet has been automatically generated and should be regarded as a code template only.
     // It will require modifications to work:
     // - It may require correct/in-range values for request initialization.
     // - It may require specifying regional endpoints when creating the service client as shown in
     // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
     try (CertificateManagerClient certificateManagerClient = CertificateManagerClient.create()) {
       CreateCertificateIssuanceConfigRequest request =
           CreateCertificateIssuanceConfigRequest.newBuilder()
               .setParent(LocationName.of("[PROJECT]", "[LOCATION]").toString())
               .setCertificateIssuanceConfigId("certificateIssuanceConfigId1910303023")
               .setCertificateIssuanceConfig(CertificateIssuanceConfig.newBuilder().build())
               .build();
       CertificateIssuanceConfig response =
           certificateManagerClient.createCertificateIssuanceConfigAsync(request).get();
     }
     
| **Parameter** ||
|---|---|
| **Name** | **Description** |
| `request` | `https://docs.cloud.google.com/java/docs/reference/google-cloud-certificate-manager/latest/com.google.cloud.certificatemanager.v1.CreateCertificateIssuanceConfigRequest` The request object containing all of the parameters for the API call. |

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `https://docs.cloud.google.com/java/docs/reference/gax/latest/com.google.api.gax.longrunning.OperationFuture.html<https://docs.cloud.google.com/java/docs/reference/google-cloud-certificate-manager/latest/com.google.cloud.certificatemanager.v1.CertificateIssuanceConfig,https://docs.cloud.google.com/java/docs/reference/google-cloud-certificate-manager/latest/com.google.cloud.certificatemanager.v1.OperationMetadata>` |   |

### createCertificateIssuanceConfigAsync(LocationName parent, CertificateIssuanceConfig certificateIssuanceConfig, String certificateIssuanceConfigId)

    public final OperationFuture<CertificateIssuanceConfig,OperationMetadata> createCertificateIssuanceConfigAsync(LocationName parent, CertificateIssuanceConfig certificateIssuanceConfig, String certificateIssuanceConfigId)

Creates a new CertificateIssuanceConfig in a given project and location.

Sample code:


     // This snippet has been automatically generated and should be regarded as a code template only.
     // It will require modifications to work:
     // - It may require correct/in-range values for request initialization.
     // - It may require specifying regional endpoints when creating the service client as shown in
     // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
     try (CertificateManagerClient certificateManagerClient = CertificateManagerClient.create()) {
       LocationName parent = LocationName.of("[PROJECT]", "[LOCATION]");
       CertificateIssuanceConfig certificateIssuanceConfig =
           CertificateIssuanceConfig.newBuilder().build();
       String certificateIssuanceConfigId = "certificateIssuanceConfigId1910303023";
       CertificateIssuanceConfig response =
           certificateManagerClient
               .createCertificateIssuanceConfigAsync(
                   parent, certificateIssuanceConfig, certificateIssuanceConfigId)
               .get();
     }
     
| **Parameters** ||
|---|---|
| **Name** | **Description** |
| `parent` | `https://docs.cloud.google.com/java/docs/reference/google-cloud-certificate-manager/latest/com.google.cloud.certificatemanager.v1.LocationName` Required. The parent resource of the certificate issuance config. Must be in the format `projects/*/locations/*`. |
| `certificateIssuanceConfig` | `https://docs.cloud.google.com/java/docs/reference/google-cloud-certificate-manager/latest/com.google.cloud.certificatemanager.v1.CertificateIssuanceConfig` Required. A definition of the certificate issuance config to create. |
| `certificateIssuanceConfigId` | `https://docs.oracle.com/javase/8/docs/api/java/lang/String.html` Required. A user-provided name of the certificate config. |

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `https://docs.cloud.google.com/java/docs/reference/gax/latest/com.google.api.gax.longrunning.OperationFuture.html<https://docs.cloud.google.com/java/docs/reference/google-cloud-certificate-manager/latest/com.google.cloud.certificatemanager.v1.CertificateIssuanceConfig,https://docs.cloud.google.com/java/docs/reference/google-cloud-certificate-manager/latest/com.google.cloud.certificatemanager.v1.OperationMetadata>` |   |

### createCertificateIssuanceConfigAsync(String parent, CertificateIssuanceConfig certificateIssuanceConfig, String certificateIssuanceConfigId)

    public final OperationFuture<CertificateIssuanceConfig,OperationMetadata> createCertificateIssuanceConfigAsync(String parent, CertificateIssuanceConfig certificateIssuanceConfig, String certificateIssuanceConfigId)

Creates a new CertificateIssuanceConfig in a given project and location.

Sample code:


     // This snippet has been automatically generated and should be regarded as a code template only.
     // It will require modifications to work:
     // - It may require correct/in-range values for request initialization.
     // - It may require specifying regional endpoints when creating the service client as shown in
     // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
     try (CertificateManagerClient certificateManagerClient = CertificateManagerClient.create()) {
       String parent = LocationName.of("[PROJECT]", "[LOCATION]").toString();
       CertificateIssuanceConfig certificateIssuanceConfig =
           CertificateIssuanceConfig.newBuilder().build();
       String certificateIssuanceConfigId = "certificateIssuanceConfigId1910303023";
       CertificateIssuanceConfig response =
           certificateManagerClient
               .createCertificateIssuanceConfigAsync(
                   parent, certificateIssuanceConfig, certificateIssuanceConfigId)
               .get();
     }
     
| **Parameters** ||
|---|---|
| **Name** | **Description** |
| `parent` | `https://docs.oracle.com/javase/8/docs/api/java/lang/String.html` Required. The parent resource of the certificate issuance config. Must be in the format `projects/*/locations/*`. |
| `certificateIssuanceConfig` | `https://docs.cloud.google.com/java/docs/reference/google-cloud-certificate-manager/latest/com.google.cloud.certificatemanager.v1.CertificateIssuanceConfig` Required. A definition of the certificate issuance config to create. |
| `certificateIssuanceConfigId` | `https://docs.oracle.com/javase/8/docs/api/java/lang/String.html` Required. A user-provided name of the certificate config. |

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `https://docs.cloud.google.com/java/docs/reference/gax/latest/com.google.api.gax.longrunning.OperationFuture.html<https://docs.cloud.google.com/java/docs/reference/google-cloud-certificate-manager/latest/com.google.cloud.certificatemanager.v1.CertificateIssuanceConfig,https://docs.cloud.google.com/java/docs/reference/google-cloud-certificate-manager/latest/com.google.cloud.certificatemanager.v1.OperationMetadata>` |   |

### createCertificateIssuanceConfigCallable()

    public final UnaryCallable<CreateCertificateIssuanceConfigRequest,Operation> createCertificateIssuanceConfigCallable()

Creates a new CertificateIssuanceConfig in a given project and location.

Sample code:


     // This snippet has been automatically generated and should be regarded as a code template only.
     // It will require modifications to work:
     // - It may require correct/in-range values for request initialization.
     // - It may require specifying regional endpoints when creating the service client as shown in
     // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
     try (CertificateManagerClient certificateManagerClient = CertificateManagerClient.create()) {
       CreateCertificateIssuanceConfigRequest request =
           CreateCertificateIssuanceConfigRequest.newBuilder()
               .setParent(LocationName.of("[PROJECT]", "[LOCATION]").toString())
               .setCertificateIssuanceConfigId("certificateIssuanceConfigId1910303023")
               .setCertificateIssuanceConfig(CertificateIssuanceConfig.newBuilder().build())
               .build();
       ApiFuture<Operation> future =
           certificateManagerClient.createCertificateIssuanceConfigCallable().futureCall(request);
       // Do something.
       Operation response = future.get();
     }
     
| **Returns** ||
|---|---|
| **Type** | **Description** |
| `https://docs.cloud.google.com/java/docs/reference/gax/latest/com.google.api.gax.rpc.UnaryCallable.html<https://docs.cloud.google.com/java/docs/reference/google-cloud-certificate-manager/latest/com.google.cloud.certificatemanager.v1.CreateCertificateIssuanceConfigRequest,https://docs.cloud.google.com/java/docs/reference/gax/latest/com.google.longrunning.Operation.html>` |   |

### createCertificateIssuanceConfigOperationCallable()

    public final OperationCallable<CreateCertificateIssuanceConfigRequest,CertificateIssuanceConfig,OperationMetadata> createCertificateIssuanceConfigOperationCallable()

Creates a new CertificateIssuanceConfig in a given project and location.

Sample code:


     // This snippet has been automatically generated and should be regarded as a code template only.
     // It will require modifications to work:
     // - It may require correct/in-range values for request initialization.
     // - It may require specifying regional endpoints when creating the service client as shown in
     // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
     try (CertificateManagerClient certificateManagerClient = CertificateManagerClient.create()) {
       CreateCertificateIssuanceConfigRequest request =
           CreateCertificateIssuanceConfigRequest.newBuilder()
               .setParent(LocationName.of("[PROJECT]", "[LOCATION]").toString())
               .setCertificateIssuanceConfigId("certificateIssuanceConfigId1910303023")
               .setCertificateIssuanceConfig(CertificateIssuanceConfig.newBuilder().build())
               .build();
       OperationFuture<CertificateIssuanceConfig, OperationMetadata> future =
           certificateManagerClient
               .createCertificateIssuanceConfigOperationCallable()
               .futureCall(request);
       // Do something.
       CertificateIssuanceConfig response = future.get();
     }
     
| **Returns** ||
|---|---|
| **Type** | **Description** |
| `https://docs.cloud.google.com/java/docs/reference/gax/latest/com.google.api.gax.rpc.OperationCallable.html<https://docs.cloud.google.com/java/docs/reference/google-cloud-certificate-manager/latest/com.google.cloud.certificatemanager.v1.CreateCertificateIssuanceConfigRequest,https://docs.cloud.google.com/java/docs/reference/google-cloud-certificate-manager/latest/com.google.cloud.certificatemanager.v1.CertificateIssuanceConfig,https://docs.cloud.google.com/java/docs/reference/google-cloud-certificate-manager/latest/com.google.cloud.certificatemanager.v1.OperationMetadata>` |   |

### createCertificateMapAsync(CreateCertificateMapRequest request)

    public final OperationFuture<CertificateMap,OperationMetadata> createCertificateMapAsync(CreateCertificateMapRequest request)

Creates a new CertificateMap in a given project and location.

Sample code:


     // This snippet has been automatically generated and should be regarded as a code template only.
     // It will require modifications to work:
     // - It may require correct/in-range values for request initialization.
     // - It may require specifying regional endpoints when creating the service client as shown in
     // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
     try (CertificateManagerClient certificateManagerClient = CertificateManagerClient.create()) {
       CreateCertificateMapRequest request =
           CreateCertificateMapRequest.newBuilder()
               .setParent(LocationName.of("[PROJECT]", "[LOCATION]").toString())
               .setCertificateMapId("certificateMapId1612184640")
               .setCertificateMap(CertificateMap.newBuilder().build())
               .build();
       CertificateMap response = certificateManagerClient.createCertificateMapAsync(request).get();
     }
     
| **Parameter** ||
|---|---|
| **Name** | **Description** |
| `request` | `https://docs.cloud.google.com/java/docs/reference/google-cloud-certificate-manager/latest/com.google.cloud.certificatemanager.v1.CreateCertificateMapRequest` The request object containing all of the parameters for the API call. |

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `https://docs.cloud.google.com/java/docs/reference/gax/latest/com.google.api.gax.longrunning.OperationFuture.html<https://docs.cloud.google.com/java/docs/reference/google-cloud-certificate-manager/latest/com.google.cloud.certificatemanager.v1.CertificateMap,https://docs.cloud.google.com/java/docs/reference/google-cloud-certificate-manager/latest/com.google.cloud.certificatemanager.v1.OperationMetadata>` |   |

### createCertificateMapAsync(LocationName parent, CertificateMap certificateMap, String certificateMapId)

    public final OperationFuture<CertificateMap,OperationMetadata> createCertificateMapAsync(LocationName parent, CertificateMap certificateMap, String certificateMapId)

Creates a new CertificateMap in a given project and location.

Sample code:


     // This snippet has been automatically generated and should be regarded as a code template only.
     // It will require modifications to work:
     // - It may require correct/in-range values for request initialization.
     // - It may require specifying regional endpoints when creating the service client as shown in
     // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
     try (CertificateManagerClient certificateManagerClient = CertificateManagerClient.create()) {
       LocationName parent = LocationName.of("[PROJECT]", "[LOCATION]");
       CertificateMap certificateMap = CertificateMap.newBuilder().build();
       String certificateMapId = "certificateMapId1612184640";
       CertificateMap response =
           certificateManagerClient
               .createCertificateMapAsync(parent, certificateMap, certificateMapId)
               .get();
     }
     
| **Parameters** ||
|---|---|
| **Name** | **Description** |
| `parent` | `https://docs.cloud.google.com/java/docs/reference/google-cloud-certificate-manager/latest/com.google.cloud.certificatemanager.v1.LocationName` Required. The parent resource of the certificate map. Must be in the format `projects/*/locations/*`. |
| `certificateMap` | `https://docs.cloud.google.com/java/docs/reference/google-cloud-certificate-manager/latest/com.google.cloud.certificatemanager.v1.CertificateMap` Required. A definition of the certificate map to create. |
| `certificateMapId` | `https://docs.oracle.com/javase/8/docs/api/java/lang/String.html` Required. A user-provided name of the certificate map. |

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `https://docs.cloud.google.com/java/docs/reference/gax/latest/com.google.api.gax.longrunning.OperationFuture.html<https://docs.cloud.google.com/java/docs/reference/google-cloud-certificate-manager/latest/com.google.cloud.certificatemanager.v1.CertificateMap,https://docs.cloud.google.com/java/docs/reference/google-cloud-certificate-manager/latest/com.google.cloud.certificatemanager.v1.OperationMetadata>` |   |

### createCertificateMapAsync(String parent, CertificateMap certificateMap, String certificateMapId)

    public final OperationFuture<CertificateMap,OperationMetadata> createCertificateMapAsync(String parent, CertificateMap certificateMap, String certificateMapId)

Creates a new CertificateMap in a given project and location.

Sample code:


     // This snippet has been automatically generated and should be regarded as a code template only.
     // It will require modifications to work:
     // - It may require correct/in-range values for request initialization.
     // - It may require specifying regional endpoints when creating the service client as shown in
     // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
     try (CertificateManagerClient certificateManagerClient = CertificateManagerClient.create()) {
       String parent = LocationName.of("[PROJECT]", "[LOCATION]").toString();
       CertificateMap certificateMap = CertificateMap.newBuilder().build();
       String certificateMapId = "certificateMapId1612184640";
       CertificateMap response =
           certificateManagerClient
               .createCertificateMapAsync(parent, certificateMap, certificateMapId)
               .get();
     }
     
| **Parameters** ||
|---|---|
| **Name** | **Description** |
| `parent` | `https://docs.oracle.com/javase/8/docs/api/java/lang/String.html` Required. The parent resource of the certificate map. Must be in the format `projects/*/locations/*`. |
| `certificateMap` | `https://docs.cloud.google.com/java/docs/reference/google-cloud-certificate-manager/latest/com.google.cloud.certificatemanager.v1.CertificateMap` Required. A definition of the certificate map to create. |
| `certificateMapId` | `https://docs.oracle.com/javase/8/docs/api/java/lang/String.html` Required. A user-provided name of the certificate map. |

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `https://docs.cloud.google.com/java/docs/reference/gax/latest/com.google.api.gax.longrunning.OperationFuture.html<https://docs.cloud.google.com/java/docs/reference/google-cloud-certificate-manager/latest/com.google.cloud.certificatemanager.v1.CertificateMap,https://docs.cloud.google.com/java/docs/reference/google-cloud-certificate-manager/latest/com.google.cloud.certificatemanager.v1.OperationMetadata>` |   |

### createCertificateMapCallable()

    public final UnaryCallable<CreateCertificateMapRequest,Operation> createCertificateMapCallable()

Creates a new CertificateMap in a given project and location.

Sample code:


     // This snippet has been automatically generated and should be regarded as a code template only.
     // It will require modifications to work:
     // - It may require correct/in-range values for request initialization.
     // - It may require specifying regional endpoints when creating the service client as shown in
     // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
     try (CertificateManagerClient certificateManagerClient = CertificateManagerClient.create()) {
       CreateCertificateMapRequest request =
           CreateCertificateMapRequest.newBuilder()
               .setParent(LocationName.of("[PROJECT]", "[LOCATION]").toString())
               .setCertificateMapId("certificateMapId1612184640")
               .setCertificateMap(CertificateMap.newBuilder().build())
               .build();
       ApiFuture<Operation> future =
           certificateManagerClient.createCertificateMapCallable().futureCall(request);
       // Do something.
       Operation response = future.get();
     }
     
| **Returns** ||
|---|---|
| **Type** | **Description** |
| `https://docs.cloud.google.com/java/docs/reference/gax/latest/com.google.api.gax.rpc.UnaryCallable.html<https://docs.cloud.google.com/java/docs/reference/google-cloud-certificate-manager/latest/com.google.cloud.certificatemanager.v1.CreateCertificateMapRequest,https://docs.cloud.google.com/java/docs/reference/gax/latest/com.google.longrunning.Operation.html>` |   |

### createCertificateMapEntryAsync(CertificateMapName parent, CertificateMapEntry certificateMapEntry, String certificateMapEntryId)

    public final OperationFuture<CertificateMapEntry,OperationMetadata> createCertificateMapEntryAsync(CertificateMapName parent, CertificateMapEntry certificateMapEntry, String certificateMapEntryId)

Creates a new CertificateMapEntry in a given project and location.

Sample code:


     // This snippet has been automatically generated and should be regarded as a code template only.
     // It will require modifications to work:
     // - It may require correct/in-range values for request initialization.
     // - It may require specifying regional endpoints when creating the service client as shown in
     // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
     try (CertificateManagerClient certificateManagerClient = CertificateManagerClient.create()) {
       CertificateMapName parent =
           CertificateMapName.of("[PROJECT]", "[LOCATION]", "[CERTIFICATE_MAP]");
       CertificateMapEntry certificateMapEntry = CertificateMapEntry.newBuilder().build();
       String certificateMapEntryId = "certificateMapEntryId-859079384";
       CertificateMapEntry response =
           certificateManagerClient
               .createCertificateMapEntryAsync(parent, certificateMapEntry, certificateMapEntryId)
               .get();
     }
     
| **Parameters** ||
|---|---|
| **Name** | **Description** |
| `parent` | `https://docs.cloud.google.com/java/docs/reference/google-cloud-certificate-manager/latest/com.google.cloud.certificatemanager.v1.CertificateMapName` Required. The parent resource of the certificate map entry. Must be in the format `projects/*/locations/*/certificateMaps/*`. |
| `certificateMapEntry` | `https://docs.cloud.google.com/java/docs/reference/google-cloud-certificate-manager/latest/com.google.cloud.certificatemanager.v1.CertificateMapEntry` Required. A definition of the certificate map entry to create. |
| `certificateMapEntryId` | `https://docs.oracle.com/javase/8/docs/api/java/lang/String.html` Required. A user-provided name of the certificate map entry. |

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `https://docs.cloud.google.com/java/docs/reference/gax/latest/com.google.api.gax.longrunning.OperationFuture.html<https://docs.cloud.google.com/java/docs/reference/google-cloud-certificate-manager/latest/com.google.cloud.certificatemanager.v1.CertificateMapEntry,https://docs.cloud.google.com/java/docs/reference/google-cloud-certificate-manager/latest/com.google.cloud.certificatemanager.v1.OperationMetadata>` |   |

### createCertificateMapEntryAsync(CreateCertificateMapEntryRequest request)

    public final OperationFuture<CertificateMapEntry,OperationMetadata> createCertificateMapEntryAsync(CreateCertificateMapEntryRequest request)

Creates a new CertificateMapEntry in a given project and location.

Sample code:


     // This snippet has been automatically generated and should be regarded as a code template only.
     // It will require modifications to work:
     // - It may require correct/in-range values for request initialization.
     // - It may require specifying regional endpoints when creating the service client as shown in
     // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
     try (CertificateManagerClient certificateManagerClient = CertificateManagerClient.create()) {
       CreateCertificateMapEntryRequest request =
           CreateCertificateMapEntryRequest.newBuilder()
               .setParent(
                   CertificateMapName.of("[PROJECT]", "[LOCATION]", "[CERTIFICATE_MAP]").toString())
               .setCertificateMapEntryId("certificateMapEntryId-859079384")
               .setCertificateMapEntry(CertificateMapEntry.newBuilder().build())
               .build();
       CertificateMapEntry response =
           certificateManagerClient.createCertificateMapEntryAsync(request).get();
     }
     
| **Parameter** ||
|---|---|
| **Name** | **Description** |
| `request` | `https://docs.cloud.google.com/java/docs/reference/google-cloud-certificate-manager/latest/com.google.cloud.certificatemanager.v1.CreateCertificateMapEntryRequest` The request object containing all of the parameters for the API call. |

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `https://docs.cloud.google.com/java/docs/reference/gax/latest/com.google.api.gax.longrunning.OperationFuture.html<https://docs.cloud.google.com/java/docs/reference/google-cloud-certificate-manager/latest/com.google.cloud.certificatemanager.v1.CertificateMapEntry,https://docs.cloud.google.com/java/docs/reference/google-cloud-certificate-manager/latest/com.google.cloud.certificatemanager.v1.OperationMetadata>` |   |

### createCertificateMapEntryAsync(String parent, CertificateMapEntry certificateMapEntry, String certificateMapEntryId)

    public final OperationFuture<CertificateMapEntry,OperationMetadata> createCertificateMapEntryAsync(String parent, CertificateMapEntry certificateMapEntry, String certificateMapEntryId)

Creates a new CertificateMapEntry in a given project and location.

Sample code:


     // This snippet has been automatically generated and should be regarded as a code template only.
     // It will require modifications to work:
     // - It may require correct/in-range values for request initialization.
     // - It may require specifying regional endpoints when creating the service client as shown in
     // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
     try (CertificateManagerClient certificateManagerClient = CertificateManagerClient.create()) {
       String parent =
           CertificateMapName.of("[PROJECT]", "[LOCATION]", "[CERTIFICATE_MAP]").toString();
       CertificateMapEntry certificateMapEntry = CertificateMapEntry.newBuilder().build();
       String certificateMapEntryId = "certificateMapEntryId-859079384";
       CertificateMapEntry response =
           certificateManagerClient
               .createCertificateMapEntryAsync(parent, certificateMapEntry, certificateMapEntryId)
               .get();
     }
     
| **Parameters** ||
|---|---|
| **Name** | **Description** |
| `parent` | `https://docs.oracle.com/javase/8/docs/api/java/lang/String.html` Required. The parent resource of the certificate map entry. Must be in the format `projects/*/locations/*/certificateMaps/*`. |
| `certificateMapEntry` | `https://docs.cloud.google.com/java/docs/reference/google-cloud-certificate-manager/latest/com.google.cloud.certificatemanager.v1.CertificateMapEntry` Required. A definition of the certificate map entry to create. |
| `certificateMapEntryId` | `https://docs.oracle.com/javase/8/docs/api/java/lang/String.html` Required. A user-provided name of the certificate map entry. |

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `https://docs.cloud.google.com/java/docs/reference/gax/latest/com.google.api.gax.longrunning.OperationFuture.html<https://docs.cloud.google.com/java/docs/reference/google-cloud-certificate-manager/latest/com.google.cloud.certificatemanager.v1.CertificateMapEntry,https://docs.cloud.google.com/java/docs/reference/google-cloud-certificate-manager/latest/com.google.cloud.certificatemanager.v1.OperationMetadata>` |   |

### createCertificateMapEntryCallable()

    public final UnaryCallable<CreateCertificateMapEntryRequest,Operation> createCertificateMapEntryCallable()

Creates a new CertificateMapEntry in a given project and location.

Sample code:


     // This snippet has been automatically generated and should be regarded as a code template only.
     // It will require modifications to work:
     // - It may require correct/in-range values for request initialization.
     // - It may require specifying regional endpoints when creating the service client as shown in
     // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
     try (CertificateManagerClient certificateManagerClient = CertificateManagerClient.create()) {
       CreateCertificateMapEntryRequest request =
           CreateCertificateMapEntryRequest.newBuilder()
               .setParent(
                   CertificateMapName.of("[PROJECT]", "[LOCATION]", "[CERTIFICATE_MAP]").toString())
               .setCertificateMapEntryId("certificateMapEntryId-859079384")
               .setCertificateMapEntry(CertificateMapEntry.newBuilder().build())
               .build();
       ApiFuture<Operation> future =
           certificateManagerClient.createCertificateMapEntryCallable().futureCall(request);
       // Do something.
       Operation response = future.get();
     }
     
| **Returns** ||
|---|---|
| **Type** | **Description** |
| `https://docs.cloud.google.com/java/docs/reference/gax/latest/com.google.api.gax.rpc.UnaryCallable.html<https://docs.cloud.google.com/java/docs/reference/google-cloud-certificate-manager/latest/com.google.cloud.certificatemanager.v1.CreateCertificateMapEntryRequest,https://docs.cloud.google.com/java/docs/reference/gax/latest/com.google.longrunning.Operation.html>` |   |

### createCertificateMapEntryOperationCallable()

    public final OperationCallable<CreateCertificateMapEntryRequest,CertificateMapEntry,OperationMetadata> createCertificateMapEntryOperationCallable()

Creates a new CertificateMapEntry in a given project and location.

Sample code:


     // This snippet has been automatically generated and should be regarded as a code template only.
     // It will require modifications to work:
     // - It may require correct/in-range values for request initialization.
     // - It may require specifying regional endpoints when creating the service client as shown in
     // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
     try (CertificateManagerClient certificateManagerClient = CertificateManagerClient.create()) {
       CreateCertificateMapEntryRequest request =
           CreateCertificateMapEntryRequest.newBuilder()
               .setParent(
                   CertificateMapName.of("[PROJECT]", "[LOCATION]", "[CERTIFICATE_MAP]").toString())
               .setCertificateMapEntryId("certificateMapEntryId-859079384")
               .setCertificateMapEntry(CertificateMapEntry.newBuilder().build())
               .build();
       OperationFuture<CertificateMapEntry, OperationMetadata> future =
           certificateManagerClient.createCertificateMapEntryOperationCallable().futureCall(request);
       // Do something.
       CertificateMapEntry response = future.get();
     }
     
| **Returns** ||
|---|---|
| **Type** | **Description** |
| `https://docs.cloud.google.com/java/docs/reference/gax/latest/com.google.api.gax.rpc.OperationCallable.html<https://docs.cloud.google.com/java/docs/reference/google-cloud-certificate-manager/latest/com.google.cloud.certificatemanager.v1.CreateCertificateMapEntryRequest,https://docs.cloud.google.com/java/docs/reference/google-cloud-certificate-manager/latest/com.google.cloud.certificatemanager.v1.CertificateMapEntry,https://docs.cloud.google.com/java/docs/reference/google-cloud-certificate-manager/latest/com.google.cloud.certificatemanager.v1.OperationMetadata>` |   |

### createCertificateMapOperationCallable()

    public final OperationCallable<CreateCertificateMapRequest,CertificateMap,OperationMetadata> createCertificateMapOperationCallable()

Creates a new CertificateMap in a given project and location.

Sample code:


     // This snippet has been automatically generated and should be regarded as a code template only.
     // It will require modifications to work:
     // - It may require correct/in-range values for request initialization.
     // - It may require specifying regional endpoints when creating the service client as shown in
     // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
     try (CertificateManagerClient certificateManagerClient = CertificateManagerClient.create()) {
       CreateCertificateMapRequest request =
           CreateCertificateMapRequest.newBuilder()
               .setParent(LocationName.of("[PROJECT]", "[LOCATION]").toString())
               .setCertificateMapId("certificateMapId1612184640")
               .setCertificateMap(CertificateMap.newBuilder().build())
               .build();
       OperationFuture<CertificateMap, OperationMetadata> future =
           certificateManagerClient.createCertificateMapOperationCallable().futureCall(request);
       // Do something.
       CertificateMap response = future.get();
     }
     
| **Returns** ||
|---|---|
| **Type** | **Description** |
| `https://docs.cloud.google.com/java/docs/reference/gax/latest/com.google.api.gax.rpc.OperationCallable.html<https://docs.cloud.google.com/java/docs/reference/google-cloud-certificate-manager/latest/com.google.cloud.certificatemanager.v1.CreateCertificateMapRequest,https://docs.cloud.google.com/java/docs/reference/google-cloud-certificate-manager/latest/com.google.cloud.certificatemanager.v1.CertificateMap,https://docs.cloud.google.com/java/docs/reference/google-cloud-certificate-manager/latest/com.google.cloud.certificatemanager.v1.OperationMetadata>` |   |

### createCertificateOperationCallable()

    public final OperationCallable<CreateCertificateRequest,Certificate,OperationMetadata> createCertificateOperationCallable()

Creates a new Certificate in a given project and location.

Sample code:


     // This snippet has been automatically generated and should be regarded as a code template only.
     // It will require modifications to work:
     // - It may require correct/in-range values for request initialization.
     // - It may require specifying regional endpoints when creating the service client as shown in
     // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
     try (CertificateManagerClient certificateManagerClient = CertificateManagerClient.create()) {
       CreateCertificateRequest request =
           CreateCertificateRequest.newBuilder()
               .setParent(LocationName.of("[PROJECT]", "[LOCATION]").toString())
               .setCertificateId("certificateId-644529902")
               .setCertificate(Certificate.newBuilder().build())
               .build();
       OperationFuture<Certificate, OperationMetadata> future =
           certificateManagerClient.createCertificateOperationCallable().futureCall(request);
       // Do something.
       Certificate response = future.get();
     }
     
| **Returns** ||
|---|---|
| **Type** | **Description** |
| `https://docs.cloud.google.com/java/docs/reference/gax/latest/com.google.api.gax.rpc.OperationCallable.html<https://docs.cloud.google.com/java/docs/reference/google-cloud-certificate-manager/latest/com.google.cloud.certificatemanager.v1.CreateCertificateRequest,https://docs.cloud.google.com/java/docs/reference/google-cloud-certificate-manager/latest/com.google.cloud.certificatemanager.v1.Certificate,https://docs.cloud.google.com/java/docs/reference/google-cloud-certificate-manager/latest/com.google.cloud.certificatemanager.v1.OperationMetadata>` |   |

### createDnsAuthorizationAsync(CreateDnsAuthorizationRequest request)

    public final OperationFuture<DnsAuthorization,OperationMetadata> createDnsAuthorizationAsync(CreateDnsAuthorizationRequest request)

Creates a new DnsAuthorization in a given project and location.

Sample code:


     // This snippet has been automatically generated and should be regarded as a code template only.
     // It will require modifications to work:
     // - It may require correct/in-range values for request initialization.
     // - It may require specifying regional endpoints when creating the service client as shown in
     // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
     try (CertificateManagerClient certificateManagerClient = CertificateManagerClient.create()) {
       CreateDnsAuthorizationRequest request =
           CreateDnsAuthorizationRequest.newBuilder()
               .setParent(LocationName.of("[PROJECT]", "[LOCATION]").toString())
               .setDnsAuthorizationId("dnsAuthorizationId-2054763765")
               .setDnsAuthorization(DnsAuthorization.newBuilder().build())
               .build();
       DnsAuthorization response =
           certificateManagerClient.createDnsAuthorizationAsync(request).get();
     }
     
| **Parameter** ||
|---|---|
| **Name** | **Description** |
| `request` | `https://docs.cloud.google.com/java/docs/reference/google-cloud-certificate-manager/latest/com.google.cloud.certificatemanager.v1.CreateDnsAuthorizationRequest` The request object containing all of the parameters for the API call. |

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `https://docs.cloud.google.com/java/docs/reference/gax/latest/com.google.api.gax.longrunning.OperationFuture.html<https://docs.cloud.google.com/java/docs/reference/google-cloud-certificate-manager/latest/com.google.cloud.certificatemanager.v1.DnsAuthorization,https://docs.cloud.google.com/java/docs/reference/google-cloud-certificate-manager/latest/com.google.cloud.certificatemanager.v1.OperationMetadata>` |   |

### createDnsAuthorizationAsync(LocationName parent, DnsAuthorization dnsAuthorization, String dnsAuthorizationId)

    public final OperationFuture<DnsAuthorization,OperationMetadata> createDnsAuthorizationAsync(LocationName parent, DnsAuthorization dnsAuthorization, String dnsAuthorizationId)

Creates a new DnsAuthorization in a given project and location.

Sample code:


     // This snippet has been automatically generated and should be regarded as a code template only.
     // It will require modifications to work:
     // - It may require correct/in-range values for request initialization.
     // - It may require specifying regional endpoints when creating the service client as shown in
     // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
     try (CertificateManagerClient certificateManagerClient = CertificateManagerClient.create()) {
       LocationName parent = LocationName.of("[PROJECT]", "[LOCATION]");
       DnsAuthorization dnsAuthorization = DnsAuthorization.newBuilder().build();
       String dnsAuthorizationId = "dnsAuthorizationId-2054763765";
       DnsAuthorization response =
           certificateManagerClient
               .createDnsAuthorizationAsync(parent, dnsAuthorization, dnsAuthorizationId)
               .get();
     }
     
| **Parameters** ||
|---|---|
| **Name** | **Description** |
| `parent` | `https://docs.cloud.google.com/java/docs/reference/google-cloud-certificate-manager/latest/com.google.cloud.certificatemanager.v1.LocationName` Required. The parent resource of the dns authorization. Must be in the format `projects/*/locations/*`. |
| `dnsAuthorization` | `https://docs.cloud.google.com/java/docs/reference/google-cloud-certificate-manager/latest/com.google.cloud.certificatemanager.v1.DnsAuthorization` Required. A definition of the dns authorization to create. |
| `dnsAuthorizationId` | `https://docs.oracle.com/javase/8/docs/api/java/lang/String.html` Required. A user-provided name of the dns authorization. |

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `https://docs.cloud.google.com/java/docs/reference/gax/latest/com.google.api.gax.longrunning.OperationFuture.html<https://docs.cloud.google.com/java/docs/reference/google-cloud-certificate-manager/latest/com.google.cloud.certificatemanager.v1.DnsAuthorization,https://docs.cloud.google.com/java/docs/reference/google-cloud-certificate-manager/latest/com.google.cloud.certificatemanager.v1.OperationMetadata>` |   |

### createDnsAuthorizationAsync(String parent, DnsAuthorization dnsAuthorization, String dnsAuthorizationId)

    public final OperationFuture<DnsAuthorization,OperationMetadata> createDnsAuthorizationAsync(String parent, DnsAuthorization dnsAuthorization, String dnsAuthorizationId)

Creates a new DnsAuthorization in a given project and location.

Sample code:


     // This snippet has been automatically generated and should be regarded as a code template only.
     // It will require modifications to work:
     // - It may require correct/in-range values for request initialization.
     // - It may require specifying regional endpoints when creating the service client as shown in
     // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
     try (CertificateManagerClient certificateManagerClient = CertificateManagerClient.create()) {
       String parent = LocationName.of("[PROJECT]", "[LOCATION]").toString();
       DnsAuthorization dnsAuthorization = DnsAuthorization.newBuilder().build();
       String dnsAuthorizationId = "dnsAuthorizationId-2054763765";
       DnsAuthorization response =
           certificateManagerClient
               .createDnsAuthorizationAsync(parent, dnsAuthorization, dnsAuthorizationId)
               .get();
     }
     
| **Parameters** ||
|---|---|
| **Name** | **Description** |
| `parent` | `https://docs.oracle.com/javase/8/docs/api/java/lang/String.html` Required. The parent resource of the dns authorization. Must be in the format `projects/*/locations/*`. |
| `dnsAuthorization` | `https://docs.cloud.google.com/java/docs/reference/google-cloud-certificate-manager/latest/com.google.cloud.certificatemanager.v1.DnsAuthorization` Required. A definition of the dns authorization to create. |
| `dnsAuthorizationId` | `https://docs.oracle.com/javase/8/docs/api/java/lang/String.html` Required. A user-provided name of the dns authorization. |

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `https://docs.cloud.google.com/java/docs/reference/gax/latest/com.google.api.gax.longrunning.OperationFuture.html<https://docs.cloud.google.com/java/docs/reference/google-cloud-certificate-manager/latest/com.google.cloud.certificatemanager.v1.DnsAuthorization,https://docs.cloud.google.com/java/docs/reference/google-cloud-certificate-manager/latest/com.google.cloud.certificatemanager.v1.OperationMetadata>` |   |

### createDnsAuthorizationCallable()

    public final UnaryCallable<CreateDnsAuthorizationRequest,Operation> createDnsAuthorizationCallable()

Creates a new DnsAuthorization in a given project and location.

Sample code:


     // This snippet has been automatically generated and should be regarded as a code template only.
     // It will require modifications to work:
     // - It may require correct/in-range values for request initialization.
     // - It may require specifying regional endpoints when creating the service client as shown in
     // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
     try (CertificateManagerClient certificateManagerClient = CertificateManagerClient.create()) {
       CreateDnsAuthorizationRequest request =
           CreateDnsAuthorizationRequest.newBuilder()
               .setParent(LocationName.of("[PROJECT]", "[LOCATION]").toString())
               .setDnsAuthorizationId("dnsAuthorizationId-2054763765")
               .setDnsAuthorization(DnsAuthorization.newBuilder().build())
               .build();
       ApiFuture<Operation> future =
           certificateManagerClient.createDnsAuthorizationCallable().futureCall(request);
       // Do something.
       Operation response = future.get();
     }
     
| **Returns** ||
|---|---|
| **Type** | **Description** |
| `https://docs.cloud.google.com/java/docs/reference/gax/latest/com.google.api.gax.rpc.UnaryCallable.html<https://docs.cloud.google.com/java/docs/reference/google-cloud-certificate-manager/latest/com.google.cloud.certificatemanager.v1.CreateDnsAuthorizationRequest,https://docs.cloud.google.com/java/docs/reference/gax/latest/com.google.longrunning.Operation.html>` |   |

### createDnsAuthorizationOperationCallable()

    public final OperationCallable<CreateDnsAuthorizationRequest,DnsAuthorization,OperationMetadata> createDnsAuthorizationOperationCallable()

Creates a new DnsAuthorization in a given project and location.

Sample code:


     // This snippet has been automatically generated and should be regarded as a code template only.
     // It will require modifications to work:
     // - It may require correct/in-range values for request initialization.
     // - It may require specifying regional endpoints when creating the service client as shown in
     // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
     try (CertificateManagerClient certificateManagerClient = CertificateManagerClient.create()) {
       CreateDnsAuthorizationRequest request =
           CreateDnsAuthorizationRequest.newBuilder()
               .setParent(LocationName.of("[PROJECT]", "[LOCATION]").toString())
               .setDnsAuthorizationId("dnsAuthorizationId-2054763765")
               .setDnsAuthorization(DnsAuthorization.newBuilder().build())
               .build();
       OperationFuture<DnsAuthorization, OperationMetadata> future =
           certificateManagerClient.createDnsAuthorizationOperationCallable().futureCall(request);
       // Do something.
       DnsAuthorization response = future.get();
     }
     
| **Returns** ||
|---|---|
| **Type** | **Description** |
| `https://docs.cloud.google.com/java/docs/reference/gax/latest/com.google.api.gax.rpc.OperationCallable.html<https://docs.cloud.google.com/java/docs/reference/google-cloud-certificate-manager/latest/com.google.cloud.certificatemanager.v1.CreateDnsAuthorizationRequest,https://docs.cloud.google.com/java/docs/reference/google-cloud-certificate-manager/latest/com.google.cloud.certificatemanager.v1.DnsAuthorization,https://docs.cloud.google.com/java/docs/reference/google-cloud-certificate-manager/latest/com.google.cloud.certificatemanager.v1.OperationMetadata>` |   |

### createTrustConfigAsync(CreateTrustConfigRequest request)

    public final OperationFuture<TrustConfig,OperationMetadata> createTrustConfigAsync(CreateTrustConfigRequest request)

Creates a new TrustConfig in a given project and location.

Sample code:


     // This snippet has been automatically generated and should be regarded as a code template only.
     // It will require modifications to work:
     // - It may require correct/in-range values for request initialization.
     // - It may require specifying regional endpoints when creating the service client as shown in
     // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
     try (CertificateManagerClient certificateManagerClient = CertificateManagerClient.create()) {
       CreateTrustConfigRequest request =
           CreateTrustConfigRequest.newBuilder()
               .setParent(LocationName.of("[PROJECT]", "[LOCATION]").toString())
               .setTrustConfigId("trustConfigId1514573429")
               .setTrustConfig(TrustConfig.newBuilder().build())
               .build();
       TrustConfig response = certificateManagerClient.createTrustConfigAsync(request).get();
     }
     
| **Parameter** ||
|---|---|
| **Name** | **Description** |
| `request` | `https://docs.cloud.google.com/java/docs/reference/google-cloud-certificate-manager/latest/com.google.cloud.certificatemanager.v1.CreateTrustConfigRequest` The request object containing all of the parameters for the API call. |

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `https://docs.cloud.google.com/java/docs/reference/gax/latest/com.google.api.gax.longrunning.OperationFuture.html<https://docs.cloud.google.com/java/docs/reference/google-cloud-certificate-manager/latest/com.google.cloud.certificatemanager.v1.TrustConfig,https://docs.cloud.google.com/java/docs/reference/google-cloud-certificate-manager/latest/com.google.cloud.certificatemanager.v1.OperationMetadata>` |   |

### createTrustConfigAsync(LocationName parent, TrustConfig trustConfig, String trustConfigId)

    public final OperationFuture<TrustConfig,OperationMetadata> createTrustConfigAsync(LocationName parent, TrustConfig trustConfig, String trustConfigId)

Creates a new TrustConfig in a given project and location.

Sample code:


     // This snippet has been automatically generated and should be regarded as a code template only.
     // It will require modifications to work:
     // - It may require correct/in-range values for request initialization.
     // - It may require specifying regional endpoints when creating the service client as shown in
     // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
     try (CertificateManagerClient certificateManagerClient = CertificateManagerClient.create()) {
       LocationName parent = LocationName.of("[PROJECT]", "[LOCATION]");
       TrustConfig trustConfig = TrustConfig.newBuilder().build();
       String trustConfigId = "trustConfigId1514573429";
       TrustConfig response =
           certificateManagerClient.createTrustConfigAsync(parent, trustConfig, trustConfigId).get();
     }
     
| **Parameters** ||
|---|---|
| **Name** | **Description** |
| `parent` | `https://docs.cloud.google.com/java/docs/reference/google-cloud-certificate-manager/latest/com.google.cloud.certificatemanager.v1.LocationName` Required. The parent resource of the TrustConfig. Must be in the format `projects/*/locations/*`. |
| `trustConfig` | `https://docs.cloud.google.com/java/docs/reference/google-cloud-certificate-manager/latest/com.google.cloud.certificatemanager.v1.TrustConfig` Required. A definition of the TrustConfig to create. |
| `trustConfigId` | `https://docs.oracle.com/javase/8/docs/api/java/lang/String.html` Required. A user-provided name of the TrustConfig. Must match the regexp `[a-z0-9-]{1,63}`. |

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `https://docs.cloud.google.com/java/docs/reference/gax/latest/com.google.api.gax.longrunning.OperationFuture.html<https://docs.cloud.google.com/java/docs/reference/google-cloud-certificate-manager/latest/com.google.cloud.certificatemanager.v1.TrustConfig,https://docs.cloud.google.com/java/docs/reference/google-cloud-certificate-manager/latest/com.google.cloud.certificatemanager.v1.OperationMetadata>` |   |

### createTrustConfigAsync(String parent, TrustConfig trustConfig, String trustConfigId)

    public final OperationFuture<TrustConfig,OperationMetadata> createTrustConfigAsync(String parent, TrustConfig trustConfig, String trustConfigId)

Creates a new TrustConfig in a given project and location.

Sample code:


     // This snippet has been automatically generated and should be regarded as a code template only.
     // It will require modifications to work:
     // - It may require correct/in-range values for request initialization.
     // - It may require specifying regional endpoints when creating the service client as shown in
     // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
     try (CertificateManagerClient certificateManagerClient = CertificateManagerClient.create()) {
       String parent = LocationName.of("[PROJECT]", "[LOCATION]").toString();
       TrustConfig trustConfig = TrustConfig.newBuilder().build();
       String trustConfigId = "trustConfigId1514573429";
       TrustConfig response =
           certificateManagerClient.createTrustConfigAsync(parent, trustConfig, trustConfigId).get();
     }
     
| **Parameters** ||
|---|---|
| **Name** | **Description** |
| `parent` | `https://docs.oracle.com/javase/8/docs/api/java/lang/String.html` Required. The parent resource of the TrustConfig. Must be in the format `projects/*/locations/*`. |
| `trustConfig` | `https://docs.cloud.google.com/java/docs/reference/google-cloud-certificate-manager/latest/com.google.cloud.certificatemanager.v1.TrustConfig` Required. A definition of the TrustConfig to create. |
| `trustConfigId` | `https://docs.oracle.com/javase/8/docs/api/java/lang/String.html` Required. A user-provided name of the TrustConfig. Must match the regexp `[a-z0-9-]{1,63}`. |

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `https://docs.cloud.google.com/java/docs/reference/gax/latest/com.google.api.gax.longrunning.OperationFuture.html<https://docs.cloud.google.com/java/docs/reference/google-cloud-certificate-manager/latest/com.google.cloud.certificatemanager.v1.TrustConfig,https://docs.cloud.google.com/java/docs/reference/google-cloud-certificate-manager/latest/com.google.cloud.certificatemanager.v1.OperationMetadata>` |   |

### createTrustConfigCallable()

    public final UnaryCallable<CreateTrustConfigRequest,Operation> createTrustConfigCallable()

Creates a new TrustConfig in a given project and location.

Sample code:


     // This snippet has been automatically generated and should be regarded as a code template only.
     // It will require modifications to work:
     // - It may require correct/in-range values for request initialization.
     // - It may require specifying regional endpoints when creating the service client as shown in
     // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
     try (CertificateManagerClient certificateManagerClient = CertificateManagerClient.create()) {
       CreateTrustConfigRequest request =
           CreateTrustConfigRequest.newBuilder()
               .setParent(LocationName.of("[PROJECT]", "[LOCATION]").toString())
               .setTrustConfigId("trustConfigId1514573429")
               .setTrustConfig(TrustConfig.newBuilder().build())
               .build();
       ApiFuture<Operation> future =
           certificateManagerClient.createTrustConfigCallable().futureCall(request);
       // Do something.
       Operation response = future.get();
     }
     
| **Returns** ||
|---|---|
| **Type** | **Description** |
| `https://docs.cloud.google.com/java/docs/reference/gax/latest/com.google.api.gax.rpc.UnaryCallable.html<https://docs.cloud.google.com/java/docs/reference/google-cloud-certificate-manager/latest/com.google.cloud.certificatemanager.v1.CreateTrustConfigRequest,https://docs.cloud.google.com/java/docs/reference/gax/latest/com.google.longrunning.Operation.html>` |   |

### createTrustConfigOperationCallable()

    public final OperationCallable<CreateTrustConfigRequest,TrustConfig,OperationMetadata> createTrustConfigOperationCallable()

Creates a new TrustConfig in a given project and location.

Sample code:


     // This snippet has been automatically generated and should be regarded as a code template only.
     // It will require modifications to work:
     // - It may require correct/in-range values for request initialization.
     // - It may require specifying regional endpoints when creating the service client as shown in
     // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
     try (CertificateManagerClient certificateManagerClient = CertificateManagerClient.create()) {
       CreateTrustConfigRequest request =
           CreateTrustConfigRequest.newBuilder()
               .setParent(LocationName.of("[PROJECT]", "[LOCATION]").toString())
               .setTrustConfigId("trustConfigId1514573429")
               .setTrustConfig(TrustConfig.newBuilder().build())
               .build();
       OperationFuture<TrustConfig, OperationMetadata> future =
           certificateManagerClient.createTrustConfigOperationCallable().futureCall(request);
       // Do something.
       TrustConfig response = future.get();
     }
     
| **Returns** ||
|---|---|
| **Type** | **Description** |
| `https://docs.cloud.google.com/java/docs/reference/gax/latest/com.google.api.gax.rpc.OperationCallable.html<https://docs.cloud.google.com/java/docs/reference/google-cloud-certificate-manager/latest/com.google.cloud.certificatemanager.v1.CreateTrustConfigRequest,https://docs.cloud.google.com/java/docs/reference/google-cloud-certificate-manager/latest/com.google.cloud.certificatemanager.v1.TrustConfig,https://docs.cloud.google.com/java/docs/reference/google-cloud-certificate-manager/latest/com.google.cloud.certificatemanager.v1.OperationMetadata>` |   |

### deleteCertificateAsync(CertificateName name)

    public final OperationFuture<Empty,OperationMetadata> deleteCertificateAsync(CertificateName name)

Deletes a single Certificate.

Sample code:


     // This snippet has been automatically generated and should be regarded as a code template only.
     // It will require modifications to work:
     // - It may require correct/in-range values for request initialization.
     // - It may require specifying regional endpoints when creating the service client as shown in
     // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
     try (CertificateManagerClient certificateManagerClient = CertificateManagerClient.create()) {
       CertificateName name = CertificateName.of("[PROJECT]", "[LOCATION]", "[CERTIFICATE]");
       certificateManagerClient.deleteCertificateAsync(name).get();
     }
     
| **Parameter** ||
|---|---|
| **Name** | **Description** |
| `name` | `https://docs.cloud.google.com/java/docs/reference/google-cloud-certificate-manager/latest/com.google.cloud.certificatemanager.v1.CertificateName` Required. A name of the certificate to delete. Must be in the format `projects/*/locations/*/certificates/*`. |

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `https://docs.cloud.google.com/java/docs/reference/gax/latest/com.google.api.gax.longrunning.OperationFuture.html<https://cloud.google.com/java/docs/reference/protobuf/latest/com.google.protobuf.Empty.html,https://docs.cloud.google.com/java/docs/reference/google-cloud-certificate-manager/latest/com.google.cloud.certificatemanager.v1.OperationMetadata>` |   |

### deleteCertificateAsync(DeleteCertificateRequest request)

    public final OperationFuture<Empty,OperationMetadata> deleteCertificateAsync(DeleteCertificateRequest request)

Deletes a single Certificate.

Sample code:


     // This snippet has been automatically generated and should be regarded as a code template only.
     // It will require modifications to work:
     // - It may require correct/in-range values for request initialization.
     // - It may require specifying regional endpoints when creating the service client as shown in
     // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
     try (CertificateManagerClient certificateManagerClient = CertificateManagerClient.create()) {
       DeleteCertificateRequest request =
           DeleteCertificateRequest.newBuilder()
               .setName(CertificateName.of("[PROJECT]", "[LOCATION]", "[CERTIFICATE]").toString())
               .build();
       certificateManagerClient.deleteCertificateAsync(request).get();
     }
     
| **Parameter** ||
|---|---|
| **Name** | **Description** |
| `request` | `https://docs.cloud.google.com/java/docs/reference/google-cloud-certificate-manager/latest/com.google.cloud.certificatemanager.v1.DeleteCertificateRequest` The request object containing all of the parameters for the API call. |

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `https://docs.cloud.google.com/java/docs/reference/gax/latest/com.google.api.gax.longrunning.OperationFuture.html<https://cloud.google.com/java/docs/reference/protobuf/latest/com.google.protobuf.Empty.html,https://docs.cloud.google.com/java/docs/reference/google-cloud-certificate-manager/latest/com.google.cloud.certificatemanager.v1.OperationMetadata>` |   |

### deleteCertificateAsync(String name)

    public final OperationFuture<Empty,OperationMetadata> deleteCertificateAsync(String name)

Deletes a single Certificate.

Sample code:


     // This snippet has been automatically generated and should be regarded as a code template only.
     // It will require modifications to work:
     // - It may require correct/in-range values for request initialization.
     // - It may require specifying regional endpoints when creating the service client as shown in
     // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
     try (CertificateManagerClient certificateManagerClient = CertificateManagerClient.create()) {
       String name = CertificateName.of("[PROJECT]", "[LOCATION]", "[CERTIFICATE]").toString();
       certificateManagerClient.deleteCertificateAsync(name).get();
     }
     
| **Parameter** ||
|---|---|
| **Name** | **Description** |
| `name` | `https://docs.oracle.com/javase/8/docs/api/java/lang/String.html` Required. A name of the certificate to delete. Must be in the format `projects/*/locations/*/certificates/*`. |

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `https://docs.cloud.google.com/java/docs/reference/gax/latest/com.google.api.gax.longrunning.OperationFuture.html<https://cloud.google.com/java/docs/reference/protobuf/latest/com.google.protobuf.Empty.html,https://docs.cloud.google.com/java/docs/reference/google-cloud-certificate-manager/latest/com.google.cloud.certificatemanager.v1.OperationMetadata>` |   |

### deleteCertificateCallable()

    public final UnaryCallable<DeleteCertificateRequest,Operation> deleteCertificateCallable()

Deletes a single Certificate.

Sample code:


     // This snippet has been automatically generated and should be regarded as a code template only.
     // It will require modifications to work:
     // - It may require correct/in-range values for request initialization.
     // - It may require specifying regional endpoints when creating the service client as shown in
     // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
     try (CertificateManagerClient certificateManagerClient = CertificateManagerClient.create()) {
       DeleteCertificateRequest request =
           DeleteCertificateRequest.newBuilder()
               .setName(CertificateName.of("[PROJECT]", "[LOCATION]", "[CERTIFICATE]").toString())
               .build();
       ApiFuture<Operation> future =
           certificateManagerClient.deleteCertificateCallable().futureCall(request);
       // Do something.
       future.get();
     }
     
| **Returns** ||
|---|---|
| **Type** | **Description** |
| `https://docs.cloud.google.com/java/docs/reference/gax/latest/com.google.api.gax.rpc.UnaryCallable.html<https://docs.cloud.google.com/java/docs/reference/google-cloud-certificate-manager/latest/com.google.cloud.certificatemanager.v1.DeleteCertificateRequest,https://docs.cloud.google.com/java/docs/reference/gax/latest/com.google.longrunning.Operation.html>` |   |

### deleteCertificateIssuanceConfigAsync(CertificateIssuanceConfigName name)

    public final OperationFuture<Empty,OperationMetadata> deleteCertificateIssuanceConfigAsync(CertificateIssuanceConfigName name)

Deletes a single CertificateIssuanceConfig.

Sample code:


     // This snippet has been automatically generated and should be regarded as a code template only.
     // It will require modifications to work:
     // - It may require correct/in-range values for request initialization.
     // - It may require specifying regional endpoints when creating the service client as shown in
     // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
     try (CertificateManagerClient certificateManagerClient = CertificateManagerClient.create()) {
       CertificateIssuanceConfigName name =
           CertificateIssuanceConfigName.of(
               "[PROJECT]", "[LOCATION]", "[CERTIFICATE_ISSUANCE_CONFIG]");
       certificateManagerClient.deleteCertificateIssuanceConfigAsync(name).get();
     }
     
| **Parameter** ||
|---|---|
| **Name** | **Description** |
| `name` | `https://docs.cloud.google.com/java/docs/reference/google-cloud-certificate-manager/latest/com.google.cloud.certificatemanager.v1.CertificateIssuanceConfigName` Required. A name of the certificate issuance config to delete. Must be in the format `projects/*/locations/*/certificateIssuanceConfigs/*`. |

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `https://docs.cloud.google.com/java/docs/reference/gax/latest/com.google.api.gax.longrunning.OperationFuture.html<https://cloud.google.com/java/docs/reference/protobuf/latest/com.google.protobuf.Empty.html,https://docs.cloud.google.com/java/docs/reference/google-cloud-certificate-manager/latest/com.google.cloud.certificatemanager.v1.OperationMetadata>` |   |

### deleteCertificateIssuanceConfigAsync(DeleteCertificateIssuanceConfigRequest request)

    public final OperationFuture<Empty,OperationMetadata> deleteCertificateIssuanceConfigAsync(DeleteCertificateIssuanceConfigRequest request)

Deletes a single CertificateIssuanceConfig.

Sample code:


     // This snippet has been automatically generated and should be regarded as a code template only.
     // It will require modifications to work:
     // - It may require correct/in-range values for request initialization.
     // - It may require specifying regional endpoints when creating the service client as shown in
     // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
     try (CertificateManagerClient certificateManagerClient = CertificateManagerClient.create()) {
       DeleteCertificateIssuanceConfigRequest request =
           DeleteCertificateIssuanceConfigRequest.newBuilder()
               .setName(
                   CertificateIssuanceConfigName.of(
                           "[PROJECT]", "[LOCATION]", "[CERTIFICATE_ISSUANCE_CONFIG]")
                       .toString())
               .build();
       certificateManagerClient.deleteCertificateIssuanceConfigAsync(request).get();
     }
     
| **Parameter** ||
|---|---|
| **Name** | **Description** |
| `request` | `https://docs.cloud.google.com/java/docs/reference/google-cloud-certificate-manager/latest/com.google.cloud.certificatemanager.v1.DeleteCertificateIssuanceConfigRequest` The request object containing all of the parameters for the API call. |

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `https://docs.cloud.google.com/java/docs/reference/gax/latest/com.google.api.gax.longrunning.OperationFuture.html<https://cloud.google.com/java/docs/reference/protobuf/latest/com.google.protobuf.Empty.html,https://docs.cloud.google.com/java/docs/reference/google-cloud-certificate-manager/latest/com.google.cloud.certificatemanager.v1.OperationMetadata>` |   |

### deleteCertificateIssuanceConfigAsync(String name)

    public final OperationFuture<Empty,OperationMetadata> deleteCertificateIssuanceConfigAsync(String name)

Deletes a single CertificateIssuanceConfig.

Sample code:


     // This snippet has been automatically generated and should be regarded as a code template only.
     // It will require modifications to work:
     // - It may require correct/in-range values for request initialization.
     // - It may require specifying regional endpoints when creating the service client as shown in
     // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
     try (CertificateManagerClient certificateManagerClient = CertificateManagerClient.create()) {
       String name =
           CertificateIssuanceConfigName.of(
                   "[PROJECT]", "[LOCATION]", "[CERTIFICATE_ISSUANCE_CONFIG]")
               .toString();
       certificateManagerClient.deleteCertificateIssuanceConfigAsync(name).get();
     }
     
| **Parameter** ||
|---|---|
| **Name** | **Description** |
| `name` | `https://docs.oracle.com/javase/8/docs/api/java/lang/String.html` Required. A name of the certificate issuance config to delete. Must be in the format `projects/*/locations/*/certificateIssuanceConfigs/*`. |

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `https://docs.cloud.google.com/java/docs/reference/gax/latest/com.google.api.gax.longrunning.OperationFuture.html<https://cloud.google.com/java/docs/reference/protobuf/latest/com.google.protobuf.Empty.html,https://docs.cloud.google.com/java/docs/reference/google-cloud-certificate-manager/latest/com.google.cloud.certificatemanager.v1.OperationMetadata>` |   |

### deleteCertificateIssuanceConfigCallable()

    public final UnaryCallable<DeleteCertificateIssuanceConfigRequest,Operation> deleteCertificateIssuanceConfigCallable()

Deletes a single CertificateIssuanceConfig.

Sample code:


     // This snippet has been automatically generated and should be regarded as a code template only.
     // It will require modifications to work:
     // - It may require correct/in-range values for request initialization.
     // - It may require specifying regional endpoints when creating the service client as shown in
     // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
     try (CertificateManagerClient certificateManagerClient = CertificateManagerClient.create()) {
       DeleteCertificateIssuanceConfigRequest request =
           DeleteCertificateIssuanceConfigRequest.newBuilder()
               .setName(
                   CertificateIssuanceConfigName.of(
                           "[PROJECT]", "[LOCATION]", "[CERTIFICATE_ISSUANCE_CONFIG]")
                       .toString())
               .build();
       ApiFuture<Operation> future =
           certificateManagerClient.deleteCertificateIssuanceConfigCallable().futureCall(request);
       // Do something.
       future.get();
     }
     
| **Returns** ||
|---|---|
| **Type** | **Description** |
| `https://docs.cloud.google.com/java/docs/reference/gax/latest/com.google.api.gax.rpc.UnaryCallable.html<https://docs.cloud.google.com/java/docs/reference/google-cloud-certificate-manager/latest/com.google.cloud.certificatemanager.v1.DeleteCertificateIssuanceConfigRequest,https://docs.cloud.google.com/java/docs/reference/gax/latest/com.google.longrunning.Operation.html>` |   |

### deleteCertificateIssuanceConfigOperationCallable()

    public final OperationCallable<DeleteCertificateIssuanceConfigRequest,Empty,OperationMetadata> deleteCertificateIssuanceConfigOperationCallable()

Deletes a single CertificateIssuanceConfig.

Sample code:


     // This snippet has been automatically generated and should be regarded as a code template only.
     // It will require modifications to work:
     // - It may require correct/in-range values for request initialization.
     // - It may require specifying regional endpoints when creating the service client as shown in
     // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
     try (CertificateManagerClient certificateManagerClient = CertificateManagerClient.create()) {
       DeleteCertificateIssuanceConfigRequest request =
           DeleteCertificateIssuanceConfigRequest.newBuilder()
               .setName(
                   CertificateIssuanceConfigName.of(
                           "[PROJECT]", "[LOCATION]", "[CERTIFICATE_ISSUANCE_CONFIG]")
                       .toString())
               .build();
       OperationFuture<Empty, OperationMetadata> future =
           certificateManagerClient
               .deleteCertificateIssuanceConfigOperationCallable()
               .futureCall(request);
       // Do something.
       future.get();
     }
     
| **Returns** ||
|---|---|
| **Type** | **Description** |
| `https://docs.cloud.google.com/java/docs/reference/gax/latest/com.google.api.gax.rpc.OperationCallable.html<https://docs.cloud.google.com/java/docs/reference/google-cloud-certificate-manager/latest/com.google.cloud.certificatemanager.v1.DeleteCertificateIssuanceConfigRequest,https://cloud.google.com/java/docs/reference/protobuf/latest/com.google.protobuf.Empty.html,https://docs.cloud.google.com/java/docs/reference/google-cloud-certificate-manager/latest/com.google.cloud.certificatemanager.v1.OperationMetadata>` |   |

### deleteCertificateMapAsync(CertificateMapName name)

    public final OperationFuture<Empty,OperationMetadata> deleteCertificateMapAsync(CertificateMapName name)

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.

Sample code:


     // This snippet has been automatically generated and should be regarded as a code template only.
     // It will require modifications to work:
     // - It may require correct/in-range values for request initialization.
     // - It may require specifying regional endpoints when creating the service client as shown in
     // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
     try (CertificateManagerClient certificateManagerClient = CertificateManagerClient.create()) {
       CertificateMapName name =
           CertificateMapName.of("[PROJECT]", "[LOCATION]", "[CERTIFICATE_MAP]");
       certificateManagerClient.deleteCertificateMapAsync(name).get();
     }
     
| **Parameter** ||
|---|---|
| **Name** | **Description** |
| `name` | `https://docs.cloud.google.com/java/docs/reference/google-cloud-certificate-manager/latest/com.google.cloud.certificatemanager.v1.CertificateMapName` Required. A name of the certificate map to delete. Must be in the format `projects/*/locations/*/certificateMaps/*`. |

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `https://docs.cloud.google.com/java/docs/reference/gax/latest/com.google.api.gax.longrunning.OperationFuture.html<https://cloud.google.com/java/docs/reference/protobuf/latest/com.google.protobuf.Empty.html,https://docs.cloud.google.com/java/docs/reference/google-cloud-certificate-manager/latest/com.google.cloud.certificatemanager.v1.OperationMetadata>` |   |

### deleteCertificateMapAsync(DeleteCertificateMapRequest request)

    public final OperationFuture<Empty,OperationMetadata> deleteCertificateMapAsync(DeleteCertificateMapRequest request)

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.

Sample code:


     // This snippet has been automatically generated and should be regarded as a code template only.
     // It will require modifications to work:
     // - It may require correct/in-range values for request initialization.
     // - It may require specifying regional endpoints when creating the service client as shown in
     // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
     try (CertificateManagerClient certificateManagerClient = CertificateManagerClient.create()) {
       DeleteCertificateMapRequest request =
           DeleteCertificateMapRequest.newBuilder()
               .setName(
                   CertificateMapName.of("[PROJECT]", "[LOCATION]", "[CERTIFICATE_MAP]").toString())
               .build();
       certificateManagerClient.deleteCertificateMapAsync(request).get();
     }
     
| **Parameter** ||
|---|---|
| **Name** | **Description** |
| `request` | `https://docs.cloud.google.com/java/docs/reference/google-cloud-certificate-manager/latest/com.google.cloud.certificatemanager.v1.DeleteCertificateMapRequest` The request object containing all of the parameters for the API call. |

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `https://docs.cloud.google.com/java/docs/reference/gax/latest/com.google.api.gax.longrunning.OperationFuture.html<https://cloud.google.com/java/docs/reference/protobuf/latest/com.google.protobuf.Empty.html,https://docs.cloud.google.com/java/docs/reference/google-cloud-certificate-manager/latest/com.google.cloud.certificatemanager.v1.OperationMetadata>` |   |

### deleteCertificateMapAsync(String name)

    public final OperationFuture<Empty,OperationMetadata> deleteCertificateMapAsync(String name)

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.

Sample code:


     // This snippet has been automatically generated and should be regarded as a code template only.
     // It will require modifications to work:
     // - It may require correct/in-range values for request initialization.
     // - It may require specifying regional endpoints when creating the service client as shown in
     // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
     try (CertificateManagerClient certificateManagerClient = CertificateManagerClient.create()) {
       String name =
           CertificateMapName.of("[PROJECT]", "[LOCATION]", "[CERTIFICATE_MAP]").toString();
       certificateManagerClient.deleteCertificateMapAsync(name).get();
     }
     
| **Parameter** ||
|---|---|
| **Name** | **Description** |
| `name` | `https://docs.oracle.com/javase/8/docs/api/java/lang/String.html` Required. A name of the certificate map to delete. Must be in the format `projects/*/locations/*/certificateMaps/*`. |

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `https://docs.cloud.google.com/java/docs/reference/gax/latest/com.google.api.gax.longrunning.OperationFuture.html<https://cloud.google.com/java/docs/reference/protobuf/latest/com.google.protobuf.Empty.html,https://docs.cloud.google.com/java/docs/reference/google-cloud-certificate-manager/latest/com.google.cloud.certificatemanager.v1.OperationMetadata>` |   |

### deleteCertificateMapCallable()

    public final UnaryCallable<DeleteCertificateMapRequest,Operation> deleteCertificateMapCallable()

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.

Sample code:


     // This snippet has been automatically generated and should be regarded as a code template only.
     // It will require modifications to work:
     // - It may require correct/in-range values for request initialization.
     // - It may require specifying regional endpoints when creating the service client as shown in
     // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
     try (CertificateManagerClient certificateManagerClient = CertificateManagerClient.create()) {
       DeleteCertificateMapRequest request =
           DeleteCertificateMapRequest.newBuilder()
               .setName(
                   CertificateMapName.of("[PROJECT]", "[LOCATION]", "[CERTIFICATE_MAP]").toString())
               .build();
       ApiFuture<Operation> future =
           certificateManagerClient.deleteCertificateMapCallable().futureCall(request);
       // Do something.
       future.get();
     }
     
| **Returns** ||
|---|---|
| **Type** | **Description** |
| `https://docs.cloud.google.com/java/docs/reference/gax/latest/com.google.api.gax.rpc.UnaryCallable.html<https://docs.cloud.google.com/java/docs/reference/google-cloud-certificate-manager/latest/com.google.cloud.certificatemanager.v1.DeleteCertificateMapRequest,https://docs.cloud.google.com/java/docs/reference/gax/latest/com.google.longrunning.Operation.html>` |   |

### deleteCertificateMapEntryAsync(CertificateMapEntryName name)

    public final OperationFuture<Empty,OperationMetadata> deleteCertificateMapEntryAsync(CertificateMapEntryName name)

Deletes a single CertificateMapEntry.

Sample code:


     // This snippet has been automatically generated and should be regarded as a code template only.
     // It will require modifications to work:
     // - It may require correct/in-range values for request initialization.
     // - It may require specifying regional endpoints when creating the service client as shown in
     // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
     try (CertificateManagerClient certificateManagerClient = CertificateManagerClient.create()) {
       CertificateMapEntryName name =
           CertificateMapEntryName.of(
               "[PROJECT]", "[LOCATION]", "[CERTIFICATE_MAP]", "[CERTIFICATE_MAP_ENTRY]");
       certificateManagerClient.deleteCertificateMapEntryAsync(name).get();
     }
     
| **Parameter** ||
|---|---|
| **Name** | **Description** |
| `name` | `https://docs.cloud.google.com/java/docs/reference/google-cloud-certificate-manager/latest/com.google.cloud.certificatemanager.v1.CertificateMapEntryName` Required. A name of the certificate map entry to delete. Must be in the format `projects/*/locations/*/certificateMaps/*/certificateMapEntries/*`. |

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `https://docs.cloud.google.com/java/docs/reference/gax/latest/com.google.api.gax.longrunning.OperationFuture.html<https://cloud.google.com/java/docs/reference/protobuf/latest/com.google.protobuf.Empty.html,https://docs.cloud.google.com/java/docs/reference/google-cloud-certificate-manager/latest/com.google.cloud.certificatemanager.v1.OperationMetadata>` |   |

### deleteCertificateMapEntryAsync(DeleteCertificateMapEntryRequest request)

    public final OperationFuture<Empty,OperationMetadata> deleteCertificateMapEntryAsync(DeleteCertificateMapEntryRequest request)

Deletes a single CertificateMapEntry.

Sample code:


     // This snippet has been automatically generated and should be regarded as a code template only.
     // It will require modifications to work:
     // - It may require correct/in-range values for request initialization.
     // - It may require specifying regional endpoints when creating the service client as shown in
     // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
     try (CertificateManagerClient certificateManagerClient = CertificateManagerClient.create()) {
       DeleteCertificateMapEntryRequest request =
           DeleteCertificateMapEntryRequest.newBuilder()
               .setName(
                   CertificateMapEntryName.of(
                           "[PROJECT]", "[LOCATION]", "[CERTIFICATE_MAP]", "[CERTIFICATE_MAP_ENTRY]")
                       .toString())
               .build();
       certificateManagerClient.deleteCertificateMapEntryAsync(request).get();
     }
     
| **Parameter** ||
|---|---|
| **Name** | **Description** |
| `request` | `https://docs.cloud.google.com/java/docs/reference/google-cloud-certificate-manager/latest/com.google.cloud.certificatemanager.v1.DeleteCertificateMapEntryRequest` The request object containing all of the parameters for the API call. |

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `https://docs.cloud.google.com/java/docs/reference/gax/latest/com.google.api.gax.longrunning.OperationFuture.html<https://cloud.google.com/java/docs/reference/protobuf/latest/com.google.protobuf.Empty.html,https://docs.cloud.google.com/java/docs/reference/google-cloud-certificate-manager/latest/com.google.cloud.certificatemanager.v1.OperationMetadata>` |   |

### deleteCertificateMapEntryAsync(String name)

    public final OperationFuture<Empty,OperationMetadata> deleteCertificateMapEntryAsync(String name)

Deletes a single CertificateMapEntry.

Sample code:


     // This snippet has been automatically generated and should be regarded as a code template only.
     // It will require modifications to work:
     // - It may require correct/in-range values for request initialization.
     // - It may require specifying regional endpoints when creating the service client as shown in
     // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
     try (CertificateManagerClient certificateManagerClient = CertificateManagerClient.create()) {
       String name =
           CertificateMapEntryName.of(
                   "[PROJECT]", "[LOCATION]", "[CERTIFICATE_MAP]", "[CERTIFICATE_MAP_ENTRY]")
               .toString();
       certificateManagerClient.deleteCertificateMapEntryAsync(name).get();
     }
     
| **Parameter** ||
|---|---|
| **Name** | **Description** |
| `name` | `https://docs.oracle.com/javase/8/docs/api/java/lang/String.html` Required. A name of the certificate map entry to delete. Must be in the format `projects/*/locations/*/certificateMaps/*/certificateMapEntries/*`. |

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `https://docs.cloud.google.com/java/docs/reference/gax/latest/com.google.api.gax.longrunning.OperationFuture.html<https://cloud.google.com/java/docs/reference/protobuf/latest/com.google.protobuf.Empty.html,https://docs.cloud.google.com/java/docs/reference/google-cloud-certificate-manager/latest/com.google.cloud.certificatemanager.v1.OperationMetadata>` |   |

### deleteCertificateMapEntryCallable()

    public final UnaryCallable<DeleteCertificateMapEntryRequest,Operation> deleteCertificateMapEntryCallable()

Deletes a single CertificateMapEntry.

Sample code:


     // This snippet has been automatically generated and should be regarded as a code template only.
     // It will require modifications to work:
     // - It may require correct/in-range values for request initialization.
     // - It may require specifying regional endpoints when creating the service client as shown in
     // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
     try (CertificateManagerClient certificateManagerClient = CertificateManagerClient.create()) {
       DeleteCertificateMapEntryRequest request =
           DeleteCertificateMapEntryRequest.newBuilder()
               .setName(
                   CertificateMapEntryName.of(
                           "[PROJECT]", "[LOCATION]", "[CERTIFICATE_MAP]", "[CERTIFICATE_MAP_ENTRY]")
                       .toString())
               .build();
       ApiFuture<Operation> future =
           certificateManagerClient.deleteCertificateMapEntryCallable().futureCall(request);
       // Do something.
       future.get();
     }
     
| **Returns** ||
|---|---|
| **Type** | **Description** |
| `https://docs.cloud.google.com/java/docs/reference/gax/latest/com.google.api.gax.rpc.UnaryCallable.html<https://docs.cloud.google.com/java/docs/reference/google-cloud-certificate-manager/latest/com.google.cloud.certificatemanager.v1.DeleteCertificateMapEntryRequest,https://docs.cloud.google.com/java/docs/reference/gax/latest/com.google.longrunning.Operation.html>` |   |

### deleteCertificateMapEntryOperationCallable()

    public final OperationCallable<DeleteCertificateMapEntryRequest,Empty,OperationMetadata> deleteCertificateMapEntryOperationCallable()

Deletes a single CertificateMapEntry.

Sample code:


     // This snippet has been automatically generated and should be regarded as a code template only.
     // It will require modifications to work:
     // - It may require correct/in-range values for request initialization.
     // - It may require specifying regional endpoints when creating the service client as shown in
     // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
     try (CertificateManagerClient certificateManagerClient = CertificateManagerClient.create()) {
       DeleteCertificateMapEntryRequest request =
           DeleteCertificateMapEntryRequest.newBuilder()
               .setName(
                   CertificateMapEntryName.of(
                           "[PROJECT]", "[LOCATION]", "[CERTIFICATE_MAP]", "[CERTIFICATE_MAP_ENTRY]")
                       .toString())
               .build();
       OperationFuture<Empty, OperationMetadata> future =
           certificateManagerClient.deleteCertificateMapEntryOperationCallable().futureCall(request);
       // Do something.
       future.get();
     }
     
| **Returns** ||
|---|---|
| **Type** | **Description** |
| `https://docs.cloud.google.com/java/docs/reference/gax/latest/com.google.api.gax.rpc.OperationCallable.html<https://docs.cloud.google.com/java/docs/reference/google-cloud-certificate-manager/latest/com.google.cloud.certificatemanager.v1.DeleteCertificateMapEntryRequest,https://cloud.google.com/java/docs/reference/protobuf/latest/com.google.protobuf.Empty.html,https://docs.cloud.google.com/java/docs/reference/google-cloud-certificate-manager/latest/com.google.cloud.certificatemanager.v1.OperationMetadata>` |   |

### deleteCertificateMapOperationCallable()

    public final OperationCallable<DeleteCertificateMapRequest,Empty,OperationMetadata> deleteCertificateMapOperationCallable()

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.

Sample code:


     // This snippet has been automatically generated and should be regarded as a code template only.
     // It will require modifications to work:
     // - It may require correct/in-range values for request initialization.
     // - It may require specifying regional endpoints when creating the service client as shown in
     // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
     try (CertificateManagerClient certificateManagerClient = CertificateManagerClient.create()) {
       DeleteCertificateMapRequest request =
           DeleteCertificateMapRequest.newBuilder()
               .setName(
                   CertificateMapName.of("[PROJECT]", "[LOCATION]", "[CERTIFICATE_MAP]").toString())
               .build();
       OperationFuture<Empty, OperationMetadata> future =
           certificateManagerClient.deleteCertificateMapOperationCallable().futureCall(request);
       // Do something.
       future.get();
     }
     
| **Returns** ||
|---|---|
| **Type** | **Description** |
| `https://docs.cloud.google.com/java/docs/reference/gax/latest/com.google.api.gax.rpc.OperationCallable.html<https://docs.cloud.google.com/java/docs/reference/google-cloud-certificate-manager/latest/com.google.cloud.certificatemanager.v1.DeleteCertificateMapRequest,https://cloud.google.com/java/docs/reference/protobuf/latest/com.google.protobuf.Empty.html,https://docs.cloud.google.com/java/docs/reference/google-cloud-certificate-manager/latest/com.google.cloud.certificatemanager.v1.OperationMetadata>` |   |

### deleteCertificateOperationCallable()

    public final OperationCallable<DeleteCertificateRequest,Empty,OperationMetadata> deleteCertificateOperationCallable()

Deletes a single Certificate.

Sample code:


     // This snippet has been automatically generated and should be regarded as a code template only.
     // It will require modifications to work:
     // - It may require correct/in-range values for request initialization.
     // - It may require specifying regional endpoints when creating the service client as shown in
     // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
     try (CertificateManagerClient certificateManagerClient = CertificateManagerClient.create()) {
       DeleteCertificateRequest request =
           DeleteCertificateRequest.newBuilder()
               .setName(CertificateName.of("[PROJECT]", "[LOCATION]", "[CERTIFICATE]").toString())
               .build();
       OperationFuture<Empty, OperationMetadata> future =
           certificateManagerClient.deleteCertificateOperationCallable().futureCall(request);
       // Do something.
       future.get();
     }
     
| **Returns** ||
|---|---|
| **Type** | **Description** |
| `https://docs.cloud.google.com/java/docs/reference/gax/latest/com.google.api.gax.rpc.OperationCallable.html<https://docs.cloud.google.com/java/docs/reference/google-cloud-certificate-manager/latest/com.google.cloud.certificatemanager.v1.DeleteCertificateRequest,https://cloud.google.com/java/docs/reference/protobuf/latest/com.google.protobuf.Empty.html,https://docs.cloud.google.com/java/docs/reference/google-cloud-certificate-manager/latest/com.google.cloud.certificatemanager.v1.OperationMetadata>` |   |

### deleteDnsAuthorizationAsync(DeleteDnsAuthorizationRequest request)

    public final OperationFuture<Empty,OperationMetadata> deleteDnsAuthorizationAsync(DeleteDnsAuthorizationRequest request)

Deletes a single DnsAuthorization.

Sample code:


     // This snippet has been automatically generated and should be regarded as a code template only.
     // It will require modifications to work:
     // - It may require correct/in-range values for request initialization.
     // - It may require specifying regional endpoints when creating the service client as shown in
     // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
     try (CertificateManagerClient certificateManagerClient = CertificateManagerClient.create()) {
       DeleteDnsAuthorizationRequest request =
           DeleteDnsAuthorizationRequest.newBuilder()
               .setName(
                   DnsAuthorizationName.of("[PROJECT]", "[LOCATION]", "[DNS_AUTHORIZATION]")
                       .toString())
               .build();
       certificateManagerClient.deleteDnsAuthorizationAsync(request).get();
     }
     
| **Parameter** ||
|---|---|
| **Name** | **Description** |
| `request` | `https://docs.cloud.google.com/java/docs/reference/google-cloud-certificate-manager/latest/com.google.cloud.certificatemanager.v1.DeleteDnsAuthorizationRequest` The request object containing all of the parameters for the API call. |

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `https://docs.cloud.google.com/java/docs/reference/gax/latest/com.google.api.gax.longrunning.OperationFuture.html<https://cloud.google.com/java/docs/reference/protobuf/latest/com.google.protobuf.Empty.html,https://docs.cloud.google.com/java/docs/reference/google-cloud-certificate-manager/latest/com.google.cloud.certificatemanager.v1.OperationMetadata>` |   |

### deleteDnsAuthorizationAsync(DnsAuthorizationName name)

    public final OperationFuture<Empty,OperationMetadata> deleteDnsAuthorizationAsync(DnsAuthorizationName name)

Deletes a single DnsAuthorization.

Sample code:


     // This snippet has been automatically generated and should be regarded as a code template only.
     // It will require modifications to work:
     // - It may require correct/in-range values for request initialization.
     // - It may require specifying regional endpoints when creating the service client as shown in
     // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
     try (CertificateManagerClient certificateManagerClient = CertificateManagerClient.create()) {
       DnsAuthorizationName name =
           DnsAuthorizationName.of("[PROJECT]", "[LOCATION]", "[DNS_AUTHORIZATION]");
       certificateManagerClient.deleteDnsAuthorizationAsync(name).get();
     }
     
| **Parameter** ||
|---|---|
| **Name** | **Description** |
| `name` | `https://docs.cloud.google.com/java/docs/reference/google-cloud-certificate-manager/latest/com.google.cloud.certificatemanager.v1.DnsAuthorizationName` Required. A name of the dns authorization to delete. Must be in the format `projects/*/locations/*/dnsAuthorizations/*`. |

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `https://docs.cloud.google.com/java/docs/reference/gax/latest/com.google.api.gax.longrunning.OperationFuture.html<https://cloud.google.com/java/docs/reference/protobuf/latest/com.google.protobuf.Empty.html,https://docs.cloud.google.com/java/docs/reference/google-cloud-certificate-manager/latest/com.google.cloud.certificatemanager.v1.OperationMetadata>` |   |

### deleteDnsAuthorizationAsync(String name)

    public final OperationFuture<Empty,OperationMetadata> deleteDnsAuthorizationAsync(String name)

Deletes a single DnsAuthorization.

Sample code:


     // This snippet has been automatically generated and should be regarded as a code template only.
     // It will require modifications to work:
     // - It may require correct/in-range values for request initialization.
     // - It may require specifying regional endpoints when creating the service client as shown in
     // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
     try (CertificateManagerClient certificateManagerClient = CertificateManagerClient.create()) {
       String name =
           DnsAuthorizationName.of("[PROJECT]", "[LOCATION]", "[DNS_AUTHORIZATION]").toString();
       certificateManagerClient.deleteDnsAuthorizationAsync(name).get();
     }
     
| **Parameter** ||
|---|---|
| **Name** | **Description** |
| `name` | `https://docs.oracle.com/javase/8/docs/api/java/lang/String.html` Required. A name of the dns authorization to delete. Must be in the format `projects/*/locations/*/dnsAuthorizations/*`. |

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `https://docs.cloud.google.com/java/docs/reference/gax/latest/com.google.api.gax.longrunning.OperationFuture.html<https://cloud.google.com/java/docs/reference/protobuf/latest/com.google.protobuf.Empty.html,https://docs.cloud.google.com/java/docs/reference/google-cloud-certificate-manager/latest/com.google.cloud.certificatemanager.v1.OperationMetadata>` |   |

### deleteDnsAuthorizationCallable()

    public final UnaryCallable<DeleteDnsAuthorizationRequest,Operation> deleteDnsAuthorizationCallable()

Deletes a single DnsAuthorization.

Sample code:


     // This snippet has been automatically generated and should be regarded as a code template only.
     // It will require modifications to work:
     // - It may require correct/in-range values for request initialization.
     // - It may require specifying regional endpoints when creating the service client as shown in
     // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
     try (CertificateManagerClient certificateManagerClient = CertificateManagerClient.create()) {
       DeleteDnsAuthorizationRequest request =
           DeleteDnsAuthorizationRequest.newBuilder()
               .setName(
                   DnsAuthorizationName.of("[PROJECT]", "[LOCATION]", "[DNS_AUTHORIZATION]")
                       .toString())
               .build();
       ApiFuture<Operation> future =
           certificateManagerClient.deleteDnsAuthorizationCallable().futureCall(request);
       // Do something.
       future.get();
     }
     
| **Returns** ||
|---|---|
| **Type** | **Description** |
| `https://docs.cloud.google.com/java/docs/reference/gax/latest/com.google.api.gax.rpc.UnaryCallable.html<https://docs.cloud.google.com/java/docs/reference/google-cloud-certificate-manager/latest/com.google.cloud.certificatemanager.v1.DeleteDnsAuthorizationRequest,https://docs.cloud.google.com/java/docs/reference/gax/latest/com.google.longrunning.Operation.html>` |   |

### deleteDnsAuthorizationOperationCallable()

    public final OperationCallable<DeleteDnsAuthorizationRequest,Empty,OperationMetadata> deleteDnsAuthorizationOperationCallable()

Deletes a single DnsAuthorization.

Sample code:


     // This snippet has been automatically generated and should be regarded as a code template only.
     // It will require modifications to work:
     // - It may require correct/in-range values for request initialization.
     // - It may require specifying regional endpoints when creating the service client as shown in
     // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
     try (CertificateManagerClient certificateManagerClient = CertificateManagerClient.create()) {
       DeleteDnsAuthorizationRequest request =
           DeleteDnsAuthorizationRequest.newBuilder()
               .setName(
                   DnsAuthorizationName.of("[PROJECT]", "[LOCATION]", "[DNS_AUTHORIZATION]")
                       .toString())
               .build();
       OperationFuture<Empty, OperationMetadata> future =
           certificateManagerClient.deleteDnsAuthorizationOperationCallable().futureCall(request);
       // Do something.
       future.get();
     }
     
| **Returns** ||
|---|---|
| **Type** | **Description** |
| `https://docs.cloud.google.com/java/docs/reference/gax/latest/com.google.api.gax.rpc.OperationCallable.html<https://docs.cloud.google.com/java/docs/reference/google-cloud-certificate-manager/latest/com.google.cloud.certificatemanager.v1.DeleteDnsAuthorizationRequest,https://cloud.google.com/java/docs/reference/protobuf/latest/com.google.protobuf.Empty.html,https://docs.cloud.google.com/java/docs/reference/google-cloud-certificate-manager/latest/com.google.cloud.certificatemanager.v1.OperationMetadata>` |   |

### deleteTrustConfigAsync(DeleteTrustConfigRequest request)

    public final OperationFuture<Empty,OperationMetadata> deleteTrustConfigAsync(DeleteTrustConfigRequest request)

Deletes a single TrustConfig.

Sample code:


     // This snippet has been automatically generated and should be regarded as a code template only.
     // It will require modifications to work:
     // - It may require correct/in-range values for request initialization.
     // - It may require specifying regional endpoints when creating the service client as shown in
     // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
     try (CertificateManagerClient certificateManagerClient = CertificateManagerClient.create()) {
       DeleteTrustConfigRequest request =
           DeleteTrustConfigRequest.newBuilder()
               .setName(TrustConfigName.of("[PROJECT]", "[LOCATION]", "[TRUST_CONFIG]").toString())
               .setEtag("etag3123477")
               .build();
       certificateManagerClient.deleteTrustConfigAsync(request).get();
     }
     
| **Parameter** ||
|---|---|
| **Name** | **Description** |
| `request` | `https://docs.cloud.google.com/java/docs/reference/google-cloud-certificate-manager/latest/com.google.cloud.certificatemanager.v1.DeleteTrustConfigRequest` The request object containing all of the parameters for the API call. |

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `https://docs.cloud.google.com/java/docs/reference/gax/latest/com.google.api.gax.longrunning.OperationFuture.html<https://cloud.google.com/java/docs/reference/protobuf/latest/com.google.protobuf.Empty.html,https://docs.cloud.google.com/java/docs/reference/google-cloud-certificate-manager/latest/com.google.cloud.certificatemanager.v1.OperationMetadata>` |   |

### deleteTrustConfigAsync(TrustConfigName name)

    public final OperationFuture<Empty,OperationMetadata> deleteTrustConfigAsync(TrustConfigName name)

Deletes a single TrustConfig.

Sample code:


     // This snippet has been automatically generated and should be regarded as a code template only.
     // It will require modifications to work:
     // - It may require correct/in-range values for request initialization.
     // - It may require specifying regional endpoints when creating the service client as shown in
     // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
     try (CertificateManagerClient certificateManagerClient = CertificateManagerClient.create()) {
       TrustConfigName name = TrustConfigName.of("[PROJECT]", "[LOCATION]", "[TRUST_CONFIG]");
       certificateManagerClient.deleteTrustConfigAsync(name).get();
     }
     
| **Parameter** ||
|---|---|
| **Name** | **Description** |
| `name` | `https://docs.cloud.google.com/java/docs/reference/google-cloud-certificate-manager/latest/com.google.cloud.certificatemanager.v1.TrustConfigName` Required. A name of the TrustConfig to delete. Must be in the format `projects/*/locations/*/trustConfigs/*`. |

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `https://docs.cloud.google.com/java/docs/reference/gax/latest/com.google.api.gax.longrunning.OperationFuture.html<https://cloud.google.com/java/docs/reference/protobuf/latest/com.google.protobuf.Empty.html,https://docs.cloud.google.com/java/docs/reference/google-cloud-certificate-manager/latest/com.google.cloud.certificatemanager.v1.OperationMetadata>` |   |

### deleteTrustConfigAsync(String name)

    public final OperationFuture<Empty,OperationMetadata> deleteTrustConfigAsync(String name)

Deletes a single TrustConfig.

Sample code:


     // This snippet has been automatically generated and should be regarded as a code template only.
     // It will require modifications to work:
     // - It may require correct/in-range values for request initialization.
     // - It may require specifying regional endpoints when creating the service client as shown in
     // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
     try (CertificateManagerClient certificateManagerClient = CertificateManagerClient.create()) {
       String name = TrustConfigName.of("[PROJECT]", "[LOCATION]", "[TRUST_CONFIG]").toString();
       certificateManagerClient.deleteTrustConfigAsync(name).get();
     }
     
| **Parameter** ||
|---|---|
| **Name** | **Description** |
| `name` | `https://docs.oracle.com/javase/8/docs/api/java/lang/String.html` Required. A name of the TrustConfig to delete. Must be in the format `projects/*/locations/*/trustConfigs/*`. |

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `https://docs.cloud.google.com/java/docs/reference/gax/latest/com.google.api.gax.longrunning.OperationFuture.html<https://cloud.google.com/java/docs/reference/protobuf/latest/com.google.protobuf.Empty.html,https://docs.cloud.google.com/java/docs/reference/google-cloud-certificate-manager/latest/com.google.cloud.certificatemanager.v1.OperationMetadata>` |   |

### deleteTrustConfigCallable()

    public final UnaryCallable<DeleteTrustConfigRequest,Operation> deleteTrustConfigCallable()

Deletes a single TrustConfig.

Sample code:


     // This snippet has been automatically generated and should be regarded as a code template only.
     // It will require modifications to work:
     // - It may require correct/in-range values for request initialization.
     // - It may require specifying regional endpoints when creating the service client as shown in
     // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
     try (CertificateManagerClient certificateManagerClient = CertificateManagerClient.create()) {
       DeleteTrustConfigRequest request =
           DeleteTrustConfigRequest.newBuilder()
               .setName(TrustConfigName.of("[PROJECT]", "[LOCATION]", "[TRUST_CONFIG]").toString())
               .setEtag("etag3123477")
               .build();
       ApiFuture<Operation> future =
           certificateManagerClient.deleteTrustConfigCallable().futureCall(request);
       // Do something.
       future.get();
     }
     
| **Returns** ||
|---|---|
| **Type** | **Description** |
| `https://docs.cloud.google.com/java/docs/reference/gax/latest/com.google.api.gax.rpc.UnaryCallable.html<https://docs.cloud.google.com/java/docs/reference/google-cloud-certificate-manager/latest/com.google.cloud.certificatemanager.v1.DeleteTrustConfigRequest,https://docs.cloud.google.com/java/docs/reference/gax/latest/com.google.longrunning.Operation.html>` |   |

### deleteTrustConfigOperationCallable()

    public final OperationCallable<DeleteTrustConfigRequest,Empty,OperationMetadata> deleteTrustConfigOperationCallable()

Deletes a single TrustConfig.

Sample code:


     // This snippet has been automatically generated and should be regarded as a code template only.
     // It will require modifications to work:
     // - It may require correct/in-range values for request initialization.
     // - It may require specifying regional endpoints when creating the service client as shown in
     // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
     try (CertificateManagerClient certificateManagerClient = CertificateManagerClient.create()) {
       DeleteTrustConfigRequest request =
           DeleteTrustConfigRequest.newBuilder()
               .setName(TrustConfigName.of("[PROJECT]", "[LOCATION]", "[TRUST_CONFIG]").toString())
               .setEtag("etag3123477")
               .build();
       OperationFuture<Empty, OperationMetadata> future =
           certificateManagerClient.deleteTrustConfigOperationCallable().futureCall(request);
       // Do something.
       future.get();
     }
     
| **Returns** ||
|---|---|
| **Type** | **Description** |
| `https://docs.cloud.google.com/java/docs/reference/gax/latest/com.google.api.gax.rpc.OperationCallable.html<https://docs.cloud.google.com/java/docs/reference/google-cloud-certificate-manager/latest/com.google.cloud.certificatemanager.v1.DeleteTrustConfigRequest,https://cloud.google.com/java/docs/reference/protobuf/latest/com.google.protobuf.Empty.html,https://docs.cloud.google.com/java/docs/reference/google-cloud-certificate-manager/latest/com.google.cloud.certificatemanager.v1.OperationMetadata>` |   |

### getCertificate(CertificateName name)

    public final Certificate getCertificate(CertificateName name)

Gets details of a single Certificate.

Sample code:


     // This snippet has been automatically generated and should be regarded as a code template only.
     // It will require modifications to work:
     // - It may require correct/in-range values for request initialization.
     // - It may require specifying regional endpoints when creating the service client as shown in
     // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
     try (CertificateManagerClient certificateManagerClient = CertificateManagerClient.create()) {
       CertificateName name = CertificateName.of("[PROJECT]", "[LOCATION]", "[CERTIFICATE]");
       Certificate response = certificateManagerClient.getCertificate(name);
     }
     
| **Parameter** ||
|---|---|
| **Name** | **Description** |
| `name` | `https://docs.cloud.google.com/java/docs/reference/google-cloud-certificate-manager/latest/com.google.cloud.certificatemanager.v1.CertificateName` Required. A name of the certificate to describe. Must be in the format `projects/*/locations/*/certificates/*`. |

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `https://docs.cloud.google.com/java/docs/reference/google-cloud-certificate-manager/latest/com.google.cloud.certificatemanager.v1.Certificate` |   |

### getCertificate(GetCertificateRequest request)

    public final Certificate getCertificate(GetCertificateRequest request)

Gets details of a single Certificate.

Sample code:


     // This snippet has been automatically generated and should be regarded as a code template only.
     // It will require modifications to work:
     // - It may require correct/in-range values for request initialization.
     // - It may require specifying regional endpoints when creating the service client as shown in
     // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
     try (CertificateManagerClient certificateManagerClient = CertificateManagerClient.create()) {
       GetCertificateRequest request =
           GetCertificateRequest.newBuilder()
               .setName(CertificateName.of("[PROJECT]", "[LOCATION]", "[CERTIFICATE]").toString())
               .build();
       Certificate response = certificateManagerClient.getCertificate(request);
     }
     
| **Parameter** ||
|---|---|
| **Name** | **Description** |
| `request` | `https://docs.cloud.google.com/java/docs/reference/google-cloud-certificate-manager/latest/com.google.cloud.certificatemanager.v1.GetCertificateRequest` The request object containing all of the parameters for the API call. |

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `https://docs.cloud.google.com/java/docs/reference/google-cloud-certificate-manager/latest/com.google.cloud.certificatemanager.v1.Certificate` |   |

### getCertificate(String name)

    public final Certificate getCertificate(String name)

Gets details of a single Certificate.

Sample code:


     // This snippet has been automatically generated and should be regarded as a code template only.
     // It will require modifications to work:
     // - It may require correct/in-range values for request initialization.
     // - It may require specifying regional endpoints when creating the service client as shown in
     // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
     try (CertificateManagerClient certificateManagerClient = CertificateManagerClient.create()) {
       String name = CertificateName.of("[PROJECT]", "[LOCATION]", "[CERTIFICATE]").toString();
       Certificate response = certificateManagerClient.getCertificate(name);
     }
     
| **Parameter** ||
|---|---|
| **Name** | **Description** |
| `name` | `https://docs.oracle.com/javase/8/docs/api/java/lang/String.html` Required. A name of the certificate to describe. Must be in the format `projects/*/locations/*/certificates/*`. |

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `https://docs.cloud.google.com/java/docs/reference/google-cloud-certificate-manager/latest/com.google.cloud.certificatemanager.v1.Certificate` |   |

### getCertificateCallable()

    public final UnaryCallable<GetCertificateRequest,Certificate> getCertificateCallable()

Gets details of a single Certificate.

Sample code:


     // This snippet has been automatically generated and should be regarded as a code template only.
     // It will require modifications to work:
     // - It may require correct/in-range values for request initialization.
     // - It may require specifying regional endpoints when creating the service client as shown in
     // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
     try (CertificateManagerClient certificateManagerClient = CertificateManagerClient.create()) {
       GetCertificateRequest request =
           GetCertificateRequest.newBuilder()
               .setName(CertificateName.of("[PROJECT]", "[LOCATION]", "[CERTIFICATE]").toString())
               .build();
       ApiFuture<Certificate> future =
           certificateManagerClient.getCertificateCallable().futureCall(request);
       // Do something.
       Certificate response = future.get();
     }
     
| **Returns** ||
|---|---|
| **Type** | **Description** |
| `https://docs.cloud.google.com/java/docs/reference/gax/latest/com.google.api.gax.rpc.UnaryCallable.html<https://docs.cloud.google.com/java/docs/reference/google-cloud-certificate-manager/latest/com.google.cloud.certificatemanager.v1.GetCertificateRequest,https://docs.cloud.google.com/java/docs/reference/google-cloud-certificate-manager/latest/com.google.cloud.certificatemanager.v1.Certificate>` |   |

### getCertificateIssuanceConfig(CertificateIssuanceConfigName name)

    public final CertificateIssuanceConfig getCertificateIssuanceConfig(CertificateIssuanceConfigName name)

Gets details of a single CertificateIssuanceConfig.

Sample code:


     // This snippet has been automatically generated and should be regarded as a code template only.
     // It will require modifications to work:
     // - It may require correct/in-range values for request initialization.
     // - It may require specifying regional endpoints when creating the service client as shown in
     // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
     try (CertificateManagerClient certificateManagerClient = CertificateManagerClient.create()) {
       CertificateIssuanceConfigName name =
           CertificateIssuanceConfigName.of(
               "[PROJECT]", "[LOCATION]", "[CERTIFICATE_ISSUANCE_CONFIG]");
       CertificateIssuanceConfig response =
           certificateManagerClient.getCertificateIssuanceConfig(name);
     }
     
| **Parameter** ||
|---|---|
| **Name** | **Description** |
| `name` | `https://docs.cloud.google.com/java/docs/reference/google-cloud-certificate-manager/latest/com.google.cloud.certificatemanager.v1.CertificateIssuanceConfigName` Required. A name of the certificate issuance config to describe. Must be in the format `projects/*/locations/*/certificateIssuanceConfigs/*`. |

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `https://docs.cloud.google.com/java/docs/reference/google-cloud-certificate-manager/latest/com.google.cloud.certificatemanager.v1.CertificateIssuanceConfig` |   |

### getCertificateIssuanceConfig(GetCertificateIssuanceConfigRequest request)

    public final CertificateIssuanceConfig getCertificateIssuanceConfig(GetCertificateIssuanceConfigRequest request)

Gets details of a single CertificateIssuanceConfig.

Sample code:


     // This snippet has been automatically generated and should be regarded as a code template only.
     // It will require modifications to work:
     // - It may require correct/in-range values for request initialization.
     // - It may require specifying regional endpoints when creating the service client as shown in
     // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
     try (CertificateManagerClient certificateManagerClient = CertificateManagerClient.create()) {
       GetCertificateIssuanceConfigRequest request =
           GetCertificateIssuanceConfigRequest.newBuilder()
               .setName(
                   CertificateIssuanceConfigName.of(
                           "[PROJECT]", "[LOCATION]", "[CERTIFICATE_ISSUANCE_CONFIG]")
                       .toString())
               .build();
       CertificateIssuanceConfig response =
           certificateManagerClient.getCertificateIssuanceConfig(request);
     }
     
| **Parameter** ||
|---|---|
| **Name** | **Description** |
| `request` | `https://docs.cloud.google.com/java/docs/reference/google-cloud-certificate-manager/latest/com.google.cloud.certificatemanager.v1.GetCertificateIssuanceConfigRequest` The request object containing all of the parameters for the API call. |

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `https://docs.cloud.google.com/java/docs/reference/google-cloud-certificate-manager/latest/com.google.cloud.certificatemanager.v1.CertificateIssuanceConfig` |   |

### getCertificateIssuanceConfig(String name)

    public final CertificateIssuanceConfig getCertificateIssuanceConfig(String name)

Gets details of a single CertificateIssuanceConfig.

Sample code:


     // This snippet has been automatically generated and should be regarded as a code template only.
     // It will require modifications to work:
     // - It may require correct/in-range values for request initialization.
     // - It may require specifying regional endpoints when creating the service client as shown in
     // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
     try (CertificateManagerClient certificateManagerClient = CertificateManagerClient.create()) {
       String name =
           CertificateIssuanceConfigName.of(
                   "[PROJECT]", "[LOCATION]", "[CERTIFICATE_ISSUANCE_CONFIG]")
               .toString();
       CertificateIssuanceConfig response =
           certificateManagerClient.getCertificateIssuanceConfig(name);
     }
     
| **Parameter** ||
|---|---|
| **Name** | **Description** |
| `name` | `https://docs.oracle.com/javase/8/docs/api/java/lang/String.html` Required. A name of the certificate issuance config to describe. Must be in the format `projects/*/locations/*/certificateIssuanceConfigs/*`. |

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `https://docs.cloud.google.com/java/docs/reference/google-cloud-certificate-manager/latest/com.google.cloud.certificatemanager.v1.CertificateIssuanceConfig` |   |

### getCertificateIssuanceConfigCallable()

    public final UnaryCallable<GetCertificateIssuanceConfigRequest,CertificateIssuanceConfig> getCertificateIssuanceConfigCallable()

Gets details of a single CertificateIssuanceConfig.

Sample code:


     // This snippet has been automatically generated and should be regarded as a code template only.
     // It will require modifications to work:
     // - It may require correct/in-range values for request initialization.
     // - It may require specifying regional endpoints when creating the service client as shown in
     // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
     try (CertificateManagerClient certificateManagerClient = CertificateManagerClient.create()) {
       GetCertificateIssuanceConfigRequest request =
           GetCertificateIssuanceConfigRequest.newBuilder()
               .setName(
                   CertificateIssuanceConfigName.of(
                           "[PROJECT]", "[LOCATION]", "[CERTIFICATE_ISSUANCE_CONFIG]")
                       .toString())
               .build();
       ApiFuture<CertificateIssuanceConfig> future =
           certificateManagerClient.getCertificateIssuanceConfigCallable().futureCall(request);
       // Do something.
       CertificateIssuanceConfig response = future.get();
     }
     
| **Returns** ||
|---|---|
| **Type** | **Description** |
| `https://docs.cloud.google.com/java/docs/reference/gax/latest/com.google.api.gax.rpc.UnaryCallable.html<https://docs.cloud.google.com/java/docs/reference/google-cloud-certificate-manager/latest/com.google.cloud.certificatemanager.v1.GetCertificateIssuanceConfigRequest,https://docs.cloud.google.com/java/docs/reference/google-cloud-certificate-manager/latest/com.google.cloud.certificatemanager.v1.CertificateIssuanceConfig>` |   |

### getCertificateMap(CertificateMapName name)

    public final CertificateMap getCertificateMap(CertificateMapName name)

Gets details of a single CertificateMap.

Sample code:


     // This snippet has been automatically generated and should be regarded as a code template only.
     // It will require modifications to work:
     // - It may require correct/in-range values for request initialization.
     // - It may require specifying regional endpoints when creating the service client as shown in
     // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
     try (CertificateManagerClient certificateManagerClient = CertificateManagerClient.create()) {
       CertificateMapName name =
           CertificateMapName.of("[PROJECT]", "[LOCATION]", "[CERTIFICATE_MAP]");
       CertificateMap response = certificateManagerClient.getCertificateMap(name);
     }
     
| **Parameter** ||
|---|---|
| **Name** | **Description** |
| `name` | `https://docs.cloud.google.com/java/docs/reference/google-cloud-certificate-manager/latest/com.google.cloud.certificatemanager.v1.CertificateMapName` Required. A name of the certificate map to describe. Must be in the format `projects/*/locations/*/certificateMaps/*`. |

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `https://docs.cloud.google.com/java/docs/reference/google-cloud-certificate-manager/latest/com.google.cloud.certificatemanager.v1.CertificateMap` |   |

### getCertificateMap(GetCertificateMapRequest request)

    public final CertificateMap getCertificateMap(GetCertificateMapRequest request)

Gets details of a single CertificateMap.

Sample code:


     // This snippet has been automatically generated and should be regarded as a code template only.
     // It will require modifications to work:
     // - It may require correct/in-range values for request initialization.
     // - It may require specifying regional endpoints when creating the service client as shown in
     // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
     try (CertificateManagerClient certificateManagerClient = CertificateManagerClient.create()) {
       GetCertificateMapRequest request =
           GetCertificateMapRequest.newBuilder()
               .setName(
                   CertificateMapName.of("[PROJECT]", "[LOCATION]", "[CERTIFICATE_MAP]").toString())
               .build();
       CertificateMap response = certificateManagerClient.getCertificateMap(request);
     }
     
| **Parameter** ||
|---|---|
| **Name** | **Description** |
| `request` | `https://docs.cloud.google.com/java/docs/reference/google-cloud-certificate-manager/latest/com.google.cloud.certificatemanager.v1.GetCertificateMapRequest` The request object containing all of the parameters for the API call. |

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `https://docs.cloud.google.com/java/docs/reference/google-cloud-certificate-manager/latest/com.google.cloud.certificatemanager.v1.CertificateMap` |   |

### getCertificateMap(String name)

    public final CertificateMap getCertificateMap(String name)

Gets details of a single CertificateMap.

Sample code:


     // This snippet has been automatically generated and should be regarded as a code template only.
     // It will require modifications to work:
     // - It may require correct/in-range values for request initialization.
     // - It may require specifying regional endpoints when creating the service client as shown in
     // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
     try (CertificateManagerClient certificateManagerClient = CertificateManagerClient.create()) {
       String name =
           CertificateMapName.of("[PROJECT]", "[LOCATION]", "[CERTIFICATE_MAP]").toString();
       CertificateMap response = certificateManagerClient.getCertificateMap(name);
     }
     
| **Parameter** ||
|---|---|
| **Name** | **Description** |
| `name` | `https://docs.oracle.com/javase/8/docs/api/java/lang/String.html` Required. A name of the certificate map to describe. Must be in the format `projects/*/locations/*/certificateMaps/*`. |

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `https://docs.cloud.google.com/java/docs/reference/google-cloud-certificate-manager/latest/com.google.cloud.certificatemanager.v1.CertificateMap` |   |

### getCertificateMapCallable()

    public final UnaryCallable<GetCertificateMapRequest,CertificateMap> getCertificateMapCallable()

Gets details of a single CertificateMap.

Sample code:


     // This snippet has been automatically generated and should be regarded as a code template only.
     // It will require modifications to work:
     // - It may require correct/in-range values for request initialization.
     // - It may require specifying regional endpoints when creating the service client as shown in
     // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
     try (CertificateManagerClient certificateManagerClient = CertificateManagerClient.create()) {
       GetCertificateMapRequest request =
           GetCertificateMapRequest.newBuilder()
               .setName(
                   CertificateMapName.of("[PROJECT]", "[LOCATION]", "[CERTIFICATE_MAP]").toString())
               .build();
       ApiFuture<CertificateMap> future =
           certificateManagerClient.getCertificateMapCallable().futureCall(request);
       // Do something.
       CertificateMap response = future.get();
     }
     
| **Returns** ||
|---|---|
| **Type** | **Description** |
| `https://docs.cloud.google.com/java/docs/reference/gax/latest/com.google.api.gax.rpc.UnaryCallable.html<https://docs.cloud.google.com/java/docs/reference/google-cloud-certificate-manager/latest/com.google.cloud.certificatemanager.v1.GetCertificateMapRequest,https://docs.cloud.google.com/java/docs/reference/google-cloud-certificate-manager/latest/com.google.cloud.certificatemanager.v1.CertificateMap>` |   |

### getCertificateMapEntry(CertificateMapEntryName name)

    public final CertificateMapEntry getCertificateMapEntry(CertificateMapEntryName name)

Gets details of a single CertificateMapEntry.

Sample code:


     // This snippet has been automatically generated and should be regarded as a code template only.
     // It will require modifications to work:
     // - It may require correct/in-range values for request initialization.
     // - It may require specifying regional endpoints when creating the service client as shown in
     // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
     try (CertificateManagerClient certificateManagerClient = CertificateManagerClient.create()) {
       CertificateMapEntryName name =
           CertificateMapEntryName.of(
               "[PROJECT]", "[LOCATION]", "[CERTIFICATE_MAP]", "[CERTIFICATE_MAP_ENTRY]");
       CertificateMapEntry response = certificateManagerClient.getCertificateMapEntry(name);
     }
     
| **Parameter** ||
|---|---|
| **Name** | **Description** |
| `name` | `https://docs.cloud.google.com/java/docs/reference/google-cloud-certificate-manager/latest/com.google.cloud.certificatemanager.v1.CertificateMapEntryName` Required. A name of the certificate map entry to describe. Must be in the format `projects/*/locations/*/certificateMaps/*/certificateMapEntries/*`. |

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `https://docs.cloud.google.com/java/docs/reference/google-cloud-certificate-manager/latest/com.google.cloud.certificatemanager.v1.CertificateMapEntry` |   |

### getCertificateMapEntry(GetCertificateMapEntryRequest request)

    public final CertificateMapEntry getCertificateMapEntry(GetCertificateMapEntryRequest request)

Gets details of a single CertificateMapEntry.

Sample code:


     // This snippet has been automatically generated and should be regarded as a code template only.
     // It will require modifications to work:
     // - It may require correct/in-range values for request initialization.
     // - It may require specifying regional endpoints when creating the service client as shown in
     // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
     try (CertificateManagerClient certificateManagerClient = CertificateManagerClient.create()) {
       GetCertificateMapEntryRequest request =
           GetCertificateMapEntryRequest.newBuilder()
               .setName(
                   CertificateMapEntryName.of(
                           "[PROJECT]", "[LOCATION]", "[CERTIFICATE_MAP]", "[CERTIFICATE_MAP_ENTRY]")
                       .toString())
               .build();
       CertificateMapEntry response = certificateManagerClient.getCertificateMapEntry(request);
     }
     
| **Parameter** ||
|---|---|
| **Name** | **Description** |
| `request` | `https://docs.cloud.google.com/java/docs/reference/google-cloud-certificate-manager/latest/com.google.cloud.certificatemanager.v1.GetCertificateMapEntryRequest` The request object containing all of the parameters for the API call. |

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `https://docs.cloud.google.com/java/docs/reference/google-cloud-certificate-manager/latest/com.google.cloud.certificatemanager.v1.CertificateMapEntry` |   |

### getCertificateMapEntry(String name)

    public final CertificateMapEntry getCertificateMapEntry(String name)

Gets details of a single CertificateMapEntry.

Sample code:


     // This snippet has been automatically generated and should be regarded as a code template only.
     // It will require modifications to work:
     // - It may require correct/in-range values for request initialization.
     // - It may require specifying regional endpoints when creating the service client as shown in
     // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
     try (CertificateManagerClient certificateManagerClient = CertificateManagerClient.create()) {
       String name =
           CertificateMapEntryName.of(
                   "[PROJECT]", "[LOCATION]", "[CERTIFICATE_MAP]", "[CERTIFICATE_MAP_ENTRY]")
               .toString();
       CertificateMapEntry response = certificateManagerClient.getCertificateMapEntry(name);
     }
     
| **Parameter** ||
|---|---|
| **Name** | **Description** |
| `name` | `https://docs.oracle.com/javase/8/docs/api/java/lang/String.html` Required. A name of the certificate map entry to describe. Must be in the format `projects/*/locations/*/certificateMaps/*/certificateMapEntries/*`. |

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `https://docs.cloud.google.com/java/docs/reference/google-cloud-certificate-manager/latest/com.google.cloud.certificatemanager.v1.CertificateMapEntry` |   |

### getCertificateMapEntryCallable()

    public final UnaryCallable<GetCertificateMapEntryRequest,CertificateMapEntry> getCertificateMapEntryCallable()

Gets details of a single CertificateMapEntry.

Sample code:


     // This snippet has been automatically generated and should be regarded as a code template only.
     // It will require modifications to work:
     // - It may require correct/in-range values for request initialization.
     // - It may require specifying regional endpoints when creating the service client as shown in
     // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
     try (CertificateManagerClient certificateManagerClient = CertificateManagerClient.create()) {
       GetCertificateMapEntryRequest request =
           GetCertificateMapEntryRequest.newBuilder()
               .setName(
                   CertificateMapEntryName.of(
                           "[PROJECT]", "[LOCATION]", "[CERTIFICATE_MAP]", "[CERTIFICATE_MAP_ENTRY]")
                       .toString())
               .build();
       ApiFuture<CertificateMapEntry> future =
           certificateManagerClient.getCertificateMapEntryCallable().futureCall(request);
       // Do something.
       CertificateMapEntry response = future.get();
     }
     
| **Returns** ||
|---|---|
| **Type** | **Description** |
| `https://docs.cloud.google.com/java/docs/reference/gax/latest/com.google.api.gax.rpc.UnaryCallable.html<https://docs.cloud.google.com/java/docs/reference/google-cloud-certificate-manager/latest/com.google.cloud.certificatemanager.v1.GetCertificateMapEntryRequest,https://docs.cloud.google.com/java/docs/reference/google-cloud-certificate-manager/latest/com.google.cloud.certificatemanager.v1.CertificateMapEntry>` |   |

### getDnsAuthorization(DnsAuthorizationName name)

    public final DnsAuthorization getDnsAuthorization(DnsAuthorizationName name)

Gets details of a single DnsAuthorization.

Sample code:


     // This snippet has been automatically generated and should be regarded as a code template only.
     // It will require modifications to work:
     // - It may require correct/in-range values for request initialization.
     // - It may require specifying regional endpoints when creating the service client as shown in
     // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
     try (CertificateManagerClient certificateManagerClient = CertificateManagerClient.create()) {
       DnsAuthorizationName name =
           DnsAuthorizationName.of("[PROJECT]", "[LOCATION]", "[DNS_AUTHORIZATION]");
       DnsAuthorization response = certificateManagerClient.getDnsAuthorization(name);
     }
     
| **Parameter** ||
|---|---|
| **Name** | **Description** |
| `name` | `https://docs.cloud.google.com/java/docs/reference/google-cloud-certificate-manager/latest/com.google.cloud.certificatemanager.v1.DnsAuthorizationName` Required. A name of the dns authorization to describe. Must be in the format `projects/*/locations/*/dnsAuthorizations/*`. |

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `https://docs.cloud.google.com/java/docs/reference/google-cloud-certificate-manager/latest/com.google.cloud.certificatemanager.v1.DnsAuthorization` |   |

### getDnsAuthorization(GetDnsAuthorizationRequest request)

    public final DnsAuthorization getDnsAuthorization(GetDnsAuthorizationRequest request)

Gets details of a single DnsAuthorization.

Sample code:


     // This snippet has been automatically generated and should be regarded as a code template only.
     // It will require modifications to work:
     // - It may require correct/in-range values for request initialization.
     // - It may require specifying regional endpoints when creating the service client as shown in
     // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
     try (CertificateManagerClient certificateManagerClient = CertificateManagerClient.create()) {
       GetDnsAuthorizationRequest request =
           GetDnsAuthorizationRequest.newBuilder()
               .setName(
                   DnsAuthorizationName.of("[PROJECT]", "[LOCATION]", "[DNS_AUTHORIZATION]")
                       .toString())
               .build();
       DnsAuthorization response = certificateManagerClient.getDnsAuthorization(request);
     }
     
| **Parameter** ||
|---|---|
| **Name** | **Description** |
| `request` | `https://docs.cloud.google.com/java/docs/reference/google-cloud-certificate-manager/latest/com.google.cloud.certificatemanager.v1.GetDnsAuthorizationRequest` The request object containing all of the parameters for the API call. |

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `https://docs.cloud.google.com/java/docs/reference/google-cloud-certificate-manager/latest/com.google.cloud.certificatemanager.v1.DnsAuthorization` |   |

### getDnsAuthorization(String name)

    public final DnsAuthorization getDnsAuthorization(String name)

Gets details of a single DnsAuthorization.

Sample code:


     // This snippet has been automatically generated and should be regarded as a code template only.
     // It will require modifications to work:
     // - It may require correct/in-range values for request initialization.
     // - It may require specifying regional endpoints when creating the service client as shown in
     // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
     try (CertificateManagerClient certificateManagerClient = CertificateManagerClient.create()) {
       String name =
           DnsAuthorizationName.of("[PROJECT]", "[LOCATION]", "[DNS_AUTHORIZATION]").toString();
       DnsAuthorization response = certificateManagerClient.getDnsAuthorization(name);
     }
     
| **Parameter** ||
|---|---|
| **Name** | **Description** |
| `name` | `https://docs.oracle.com/javase/8/docs/api/java/lang/String.html` Required. A name of the dns authorization to describe. Must be in the format `projects/*/locations/*/dnsAuthorizations/*`. |

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `https://docs.cloud.google.com/java/docs/reference/google-cloud-certificate-manager/latest/com.google.cloud.certificatemanager.v1.DnsAuthorization` |   |

### getDnsAuthorizationCallable()

    public final UnaryCallable<GetDnsAuthorizationRequest,DnsAuthorization> getDnsAuthorizationCallable()

Gets details of a single DnsAuthorization.

Sample code:


     // This snippet has been automatically generated and should be regarded as a code template only.
     // It will require modifications to work:
     // - It may require correct/in-range values for request initialization.
     // - It may require specifying regional endpoints when creating the service client as shown in
     // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
     try (CertificateManagerClient certificateManagerClient = CertificateManagerClient.create()) {
       GetDnsAuthorizationRequest request =
           GetDnsAuthorizationRequest.newBuilder()
               .setName(
                   DnsAuthorizationName.of("[PROJECT]", "[LOCATION]", "[DNS_AUTHORIZATION]")
                       .toString())
               .build();
       ApiFuture<DnsAuthorization> future =
           certificateManagerClient.getDnsAuthorizationCallable().futureCall(request);
       // Do something.
       DnsAuthorization response = future.get();
     }
     
| **Returns** ||
|---|---|
| **Type** | **Description** |
| `https://docs.cloud.google.com/java/docs/reference/gax/latest/com.google.api.gax.rpc.UnaryCallable.html<https://docs.cloud.google.com/java/docs/reference/google-cloud-certificate-manager/latest/com.google.cloud.certificatemanager.v1.GetDnsAuthorizationRequest,https://docs.cloud.google.com/java/docs/reference/google-cloud-certificate-manager/latest/com.google.cloud.certificatemanager.v1.DnsAuthorization>` |   |

### getHttpJsonOperationsClient()

    public final OperationsClient getHttpJsonOperationsClient()

> [!WARNING]
> **Beta**
>
> This feature is covered by the [Pre-GA Offerings Terms](https://docs.cloud.google.com/terms/service-terms#1) of the Terms of Service. Pre-GA libraries might have limited support, and changes to pre-GA libraries might not be compatible with other pre-GA versions. For more information, see the launch stage descriptions.

Returns the OperationsClient that can be used to query the status of a long-running operation
returned by another API method call.

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `https://docs.cloud.google.com/java/docs/reference/gax/latest/com.google.api.gax.httpjson.longrunning.OperationsClient.html` |   |

### getLocation(GetLocationRequest request)

    public final Location getLocation(GetLocationRequest request)

Gets information about a location.

Sample code:


     // This snippet has been automatically generated and should be regarded as a code template only.
     // It will require modifications to work:
     // - It may require correct/in-range values for request initialization.
     // - It may require specifying regional endpoints when creating the service client as shown in
     // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
     try (CertificateManagerClient certificateManagerClient = CertificateManagerClient.create()) {
       GetLocationRequest request = GetLocationRequest.newBuilder().setName("name3373707").build();
       Location response = certificateManagerClient.getLocation(request);
     }
     
| **Parameter** ||
|---|---|
| **Name** | **Description** |
| `request` | `com.google.cloud.location.GetLocationRequest` The request object containing all of the parameters for the API call. |

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `com.google.cloud.location.Location` |   |

### getLocationCallable()

    public final UnaryCallable<GetLocationRequest,Location> getLocationCallable()

Gets information about a location.

Sample code:


     // This snippet has been automatically generated and should be regarded as a code template only.
     // It will require modifications to work:
     // - It may require correct/in-range values for request initialization.
     // - It may require specifying regional endpoints when creating the service client as shown in
     // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
     try (CertificateManagerClient certificateManagerClient = CertificateManagerClient.create()) {
       GetLocationRequest request = GetLocationRequest.newBuilder().setName("name3373707").build();
       ApiFuture<Location> future =
           certificateManagerClient.getLocationCallable().futureCall(request);
       // Do something.
       Location response = future.get();
     }
     
| **Returns** ||
|---|---|
| **Type** | **Description** |
| `https://docs.cloud.google.com/java/docs/reference/gax/latest/com.google.api.gax.rpc.UnaryCallable.html<com.google.cloud.location.GetLocationRequest,com.google.cloud.location.Location>` |   |

### getOperationsClient()

    public final OperationsClient getOperationsClient()

Returns the OperationsClient that can be used to query the status of a long-running operation
returned by another API method call.

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `https://docs.cloud.google.com/java/docs/reference/gax/latest/com.google.longrunning.OperationsClient.html` |   |

### getSettings()

    public final CertificateManagerSettings getSettings()

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `https://docs.cloud.google.com/java/docs/reference/google-cloud-certificate-manager/latest/com.google.cloud.certificatemanager.v1.CertificateManagerSettings` |   |

### getStub()

    public CertificateManagerStub getStub()

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `https://docs.cloud.google.com/java/docs/reference/google-cloud-certificate-manager/latest/com.google.cloud.certificatemanager.v1.stub.CertificateManagerStub` |   |

### getTrustConfig(GetTrustConfigRequest request)

    public final TrustConfig getTrustConfig(GetTrustConfigRequest request)

Gets details of a single TrustConfig.

Sample code:


     // This snippet has been automatically generated and should be regarded as a code template only.
     // It will require modifications to work:
     // - It may require correct/in-range values for request initialization.
     // - It may require specifying regional endpoints when creating the service client as shown in
     // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
     try (CertificateManagerClient certificateManagerClient = CertificateManagerClient.create()) {
       GetTrustConfigRequest request =
           GetTrustConfigRequest.newBuilder()
               .setName(TrustConfigName.of("[PROJECT]", "[LOCATION]", "[TRUST_CONFIG]").toString())
               .build();
       TrustConfig response = certificateManagerClient.getTrustConfig(request);
     }
     
| **Parameter** ||
|---|---|
| **Name** | **Description** |
| `request` | `https://docs.cloud.google.com/java/docs/reference/google-cloud-certificate-manager/latest/com.google.cloud.certificatemanager.v1.GetTrustConfigRequest` The request object containing all of the parameters for the API call. |

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `https://docs.cloud.google.com/java/docs/reference/google-cloud-certificate-manager/latest/com.google.cloud.certificatemanager.v1.TrustConfig` |   |

### getTrustConfig(TrustConfigName name)

    public final TrustConfig getTrustConfig(TrustConfigName name)

Gets details of a single TrustConfig.

Sample code:


     // This snippet has been automatically generated and should be regarded as a code template only.
     // It will require modifications to work:
     // - It may require correct/in-range values for request initialization.
     // - It may require specifying regional endpoints when creating the service client as shown in
     // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
     try (CertificateManagerClient certificateManagerClient = CertificateManagerClient.create()) {
       TrustConfigName name = TrustConfigName.of("[PROJECT]", "[LOCATION]", "[TRUST_CONFIG]");
       TrustConfig response = certificateManagerClient.getTrustConfig(name);
     }
     
| **Parameter** ||
|---|---|
| **Name** | **Description** |
| `name` | `https://docs.cloud.google.com/java/docs/reference/google-cloud-certificate-manager/latest/com.google.cloud.certificatemanager.v1.TrustConfigName` Required. A name of the TrustConfig to describe. Must be in the format `projects/*/locations/*/trustConfigs/*`. |

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `https://docs.cloud.google.com/java/docs/reference/google-cloud-certificate-manager/latest/com.google.cloud.certificatemanager.v1.TrustConfig` |   |

### getTrustConfig(String name)

    public final TrustConfig getTrustConfig(String name)

Gets details of a single TrustConfig.

Sample code:


     // This snippet has been automatically generated and should be regarded as a code template only.
     // It will require modifications to work:
     // - It may require correct/in-range values for request initialization.
     // - It may require specifying regional endpoints when creating the service client as shown in
     // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
     try (CertificateManagerClient certificateManagerClient = CertificateManagerClient.create()) {
       String name = TrustConfigName.of("[PROJECT]", "[LOCATION]", "[TRUST_CONFIG]").toString();
       TrustConfig response = certificateManagerClient.getTrustConfig(name);
     }
     
| **Parameter** ||
|---|---|
| **Name** | **Description** |
| `name` | `https://docs.oracle.com/javase/8/docs/api/java/lang/String.html` Required. A name of the TrustConfig to describe. Must be in the format `projects/*/locations/*/trustConfigs/*`. |

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `https://docs.cloud.google.com/java/docs/reference/google-cloud-certificate-manager/latest/com.google.cloud.certificatemanager.v1.TrustConfig` |   |

### getTrustConfigCallable()

    public final UnaryCallable<GetTrustConfigRequest,TrustConfig> getTrustConfigCallable()

Gets details of a single TrustConfig.

Sample code:


     // This snippet has been automatically generated and should be regarded as a code template only.
     // It will require modifications to work:
     // - It may require correct/in-range values for request initialization.
     // - It may require specifying regional endpoints when creating the service client as shown in
     // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
     try (CertificateManagerClient certificateManagerClient = CertificateManagerClient.create()) {
       GetTrustConfigRequest request =
           GetTrustConfigRequest.newBuilder()
               .setName(TrustConfigName.of("[PROJECT]", "[LOCATION]", "[TRUST_CONFIG]").toString())
               .build();
       ApiFuture<TrustConfig> future =
           certificateManagerClient.getTrustConfigCallable().futureCall(request);
       // Do something.
       TrustConfig response = future.get();
     }
     
| **Returns** ||
|---|---|
| **Type** | **Description** |
| `https://docs.cloud.google.com/java/docs/reference/gax/latest/com.google.api.gax.rpc.UnaryCallable.html<https://docs.cloud.google.com/java/docs/reference/google-cloud-certificate-manager/latest/com.google.cloud.certificatemanager.v1.GetTrustConfigRequest,https://docs.cloud.google.com/java/docs/reference/google-cloud-certificate-manager/latest/com.google.cloud.certificatemanager.v1.TrustConfig>` |   |

### isShutdown()

    public boolean isShutdown()

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `https://docs.oracle.com/javase/tutorial/java/nutsandbolts/datatypes.html` |   |

### isTerminated()

    public boolean isTerminated()

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `https://docs.oracle.com/javase/tutorial/java/nutsandbolts/datatypes.html` |   |

### listCertificateIssuanceConfigs(ListCertificateIssuanceConfigsRequest request)

    public final CertificateManagerClient.ListCertificateIssuanceConfigsPagedResponse listCertificateIssuanceConfigs(ListCertificateIssuanceConfigsRequest request)

Lists CertificateIssuanceConfigs in a given project and location.

Sample code:


     // This snippet has been automatically generated and should be regarded as a code template only.
     // It will require modifications to work:
     // - It may require correct/in-range values for request initialization.
     // - It may require specifying regional endpoints when creating the service client as shown in
     // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
     try (CertificateManagerClient certificateManagerClient = CertificateManagerClient.create()) {
       ListCertificateIssuanceConfigsRequest request =
           ListCertificateIssuanceConfigsRequest.newBuilder()
               .setParent(LocationName.of("[PROJECT]", "[LOCATION]").toString())
               .setPageSize(883849137)
               .setPageToken("pageToken873572522")
               .setFilter("filter-1274492040")
               .setOrderBy("orderBy-1207110587")
               .build();
       for (CertificateIssuanceConfig element :
           certificateManagerClient.listCertificateIssuanceConfigs(request).iterateAll()) {
         // doThingsWith(element);
       }
     }
     
| **Parameter** ||
|---|---|
| **Name** | **Description** |
| `request` | `https://docs.cloud.google.com/java/docs/reference/google-cloud-certificate-manager/latest/com.google.cloud.certificatemanager.v1.ListCertificateIssuanceConfigsRequest` The request object containing all of the parameters for the API call. |

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `https://docs.cloud.google.com/java/docs/reference/google-cloud-certificate-manager/latest/com.google.cloud.certificatemanager.v1.CertificateManagerClient.ListCertificateIssuanceConfigsPagedResponse` |   |

### listCertificateIssuanceConfigs(LocationName parent)

    public final CertificateManagerClient.ListCertificateIssuanceConfigsPagedResponse listCertificateIssuanceConfigs(LocationName parent)

Lists CertificateIssuanceConfigs in a given project and location.

Sample code:


     // This snippet has been automatically generated and should be regarded as a code template only.
     // It will require modifications to work:
     // - It may require correct/in-range values for request initialization.
     // - It may require specifying regional endpoints when creating the service client as shown in
     // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
     try (CertificateManagerClient certificateManagerClient = CertificateManagerClient.create()) {
       LocationName parent = LocationName.of("[PROJECT]", "[LOCATION]");
       for (CertificateIssuanceConfig element :
           certificateManagerClient.listCertificateIssuanceConfigs(parent).iterateAll()) {
         // doThingsWith(element);
       }
     }
     
| **Parameter** ||
|---|---|
| **Name** | **Description** |
| `parent` | `https://docs.cloud.google.com/java/docs/reference/google-cloud-certificate-manager/latest/com.google.cloud.certificatemanager.v1.LocationName` Required. The project and location from which the certificate should be listed, specified in the format `projects/*/locations/*`. |

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `https://docs.cloud.google.com/java/docs/reference/google-cloud-certificate-manager/latest/com.google.cloud.certificatemanager.v1.CertificateManagerClient.ListCertificateIssuanceConfigsPagedResponse` |   |

### listCertificateIssuanceConfigs(String parent)

    public final CertificateManagerClient.ListCertificateIssuanceConfigsPagedResponse listCertificateIssuanceConfigs(String parent)

Lists CertificateIssuanceConfigs in a given project and location.

Sample code:


     // This snippet has been automatically generated and should be regarded as a code template only.
     // It will require modifications to work:
     // - It may require correct/in-range values for request initialization.
     // - It may require specifying regional endpoints when creating the service client as shown in
     // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
     try (CertificateManagerClient certificateManagerClient = CertificateManagerClient.create()) {
       String parent = LocationName.of("[PROJECT]", "[LOCATION]").toString();
       for (CertificateIssuanceConfig element :
           certificateManagerClient.listCertificateIssuanceConfigs(parent).iterateAll()) {
         // doThingsWith(element);
       }
     }
     
| **Parameter** ||
|---|---|
| **Name** | **Description** |
| `parent` | `https://docs.oracle.com/javase/8/docs/api/java/lang/String.html` Required. The project and location from which the certificate should be listed, specified in the format `projects/*/locations/*`. |

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `https://docs.cloud.google.com/java/docs/reference/google-cloud-certificate-manager/latest/com.google.cloud.certificatemanager.v1.CertificateManagerClient.ListCertificateIssuanceConfigsPagedResponse` |   |

### listCertificateIssuanceConfigsCallable()

    public final UnaryCallable<ListCertificateIssuanceConfigsRequest,ListCertificateIssuanceConfigsResponse> listCertificateIssuanceConfigsCallable()

Lists CertificateIssuanceConfigs in a given project and location.

Sample code:


     // This snippet has been automatically generated and should be regarded as a code template only.
     // It will require modifications to work:
     // - It may require correct/in-range values for request initialization.
     // - It may require specifying regional endpoints when creating the service client as shown in
     // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
     try (CertificateManagerClient certificateManagerClient = CertificateManagerClient.create()) {
       ListCertificateIssuanceConfigsRequest request =
           ListCertificateIssuanceConfigsRequest.newBuilder()
               .setParent(LocationName.of("[PROJECT]", "[LOCATION]").toString())
               .setPageSize(883849137)
               .setPageToken("pageToken873572522")
               .setFilter("filter-1274492040")
               .setOrderBy("orderBy-1207110587")
               .build();
       while (true) {
         ListCertificateIssuanceConfigsResponse response =
             certificateManagerClient.listCertificateIssuanceConfigsCallable().call(request);
         for (CertificateIssuanceConfig element : response.getCertificateIssuanceConfigsList()) {
           // doThingsWith(element);
         }
         String nextPageToken = response.getNextPageToken();
         if (!Strings.isNullOrEmpty(nextPageToken)) {
           request = request.toBuilder().setPageToken(nextPageToken).build();
         } else {
           break;
         }
       }
     }
     
| **Returns** ||
|---|---|
| **Type** | **Description** |
| `https://docs.cloud.google.com/java/docs/reference/gax/latest/com.google.api.gax.rpc.UnaryCallable.html<https://docs.cloud.google.com/java/docs/reference/google-cloud-certificate-manager/latest/com.google.cloud.certificatemanager.v1.ListCertificateIssuanceConfigsRequest,https://docs.cloud.google.com/java/docs/reference/google-cloud-certificate-manager/latest/com.google.cloud.certificatemanager.v1.ListCertificateIssuanceConfigsResponse>` |   |

### listCertificateIssuanceConfigsPagedCallable()

    public final UnaryCallable<ListCertificateIssuanceConfigsRequest,CertificateManagerClient.ListCertificateIssuanceConfigsPagedResponse> listCertificateIssuanceConfigsPagedCallable()

Lists CertificateIssuanceConfigs in a given project and location.

Sample code:


     // This snippet has been automatically generated and should be regarded as a code template only.
     // It will require modifications to work:
     // - It may require correct/in-range values for request initialization.
     // - It may require specifying regional endpoints when creating the service client as shown in
     // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
     try (CertificateManagerClient certificateManagerClient = CertificateManagerClient.create()) {
       ListCertificateIssuanceConfigsRequest request =
           ListCertificateIssuanceConfigsRequest.newBuilder()
               .setParent(LocationName.of("[PROJECT]", "[LOCATION]").toString())
               .setPageSize(883849137)
               .setPageToken("pageToken873572522")
               .setFilter("filter-1274492040")
               .setOrderBy("orderBy-1207110587")
               .build();
       ApiFuture<CertificateIssuanceConfig> future =
           certificateManagerClient
               .listCertificateIssuanceConfigsPagedCallable()
               .futureCall(request);
       // Do something.
       for (CertificateIssuanceConfig element : future.get().iterateAll()) {
         // doThingsWith(element);
       }
     }
     
| **Returns** ||
|---|---|
| **Type** | **Description** |
| `https://docs.cloud.google.com/java/docs/reference/gax/latest/com.google.api.gax.rpc.UnaryCallable.html<https://docs.cloud.google.com/java/docs/reference/google-cloud-certificate-manager/latest/com.google.cloud.certificatemanager.v1.ListCertificateIssuanceConfigsRequest,https://docs.cloud.google.com/java/docs/reference/google-cloud-certificate-manager/latest/com.google.cloud.certificatemanager.v1.CertificateManagerClient.ListCertificateIssuanceConfigsPagedResponse>` |   |

### listCertificateMapEntries(CertificateMapName parent)

    public final CertificateManagerClient.ListCertificateMapEntriesPagedResponse listCertificateMapEntries(CertificateMapName parent)

Lists CertificateMapEntries in a given project and location.

Sample code:


     // This snippet has been automatically generated and should be regarded as a code template only.
     // It will require modifications to work:
     // - It may require correct/in-range values for request initialization.
     // - It may require specifying regional endpoints when creating the service client as shown in
     // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
     try (CertificateManagerClient certificateManagerClient = CertificateManagerClient.create()) {
       CertificateMapName parent =
           CertificateMapName.of("[PROJECT]", "[LOCATION]", "[CERTIFICATE_MAP]");
       for (CertificateMapEntry element :
           certificateManagerClient.listCertificateMapEntries(parent).iterateAll()) {
         // doThingsWith(element);
       }
     }
     
| **Parameter** ||
|---|---|
| **Name** | **Description** |
| `parent` | `https://docs.cloud.google.com/java/docs/reference/google-cloud-certificate-manager/latest/com.google.cloud.certificatemanager.v1.CertificateMapName` Required. The project, location and certificate map from which the certificate map entries should be listed, specified in the format `projects/*/locations/*/certificateMaps/*`. |

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `https://docs.cloud.google.com/java/docs/reference/google-cloud-certificate-manager/latest/com.google.cloud.certificatemanager.v1.CertificateManagerClient.ListCertificateMapEntriesPagedResponse` |   |

### listCertificateMapEntries(ListCertificateMapEntriesRequest request)

    public final CertificateManagerClient.ListCertificateMapEntriesPagedResponse listCertificateMapEntries(ListCertificateMapEntriesRequest request)

Lists CertificateMapEntries in a given project and location.

Sample code:


     // This snippet has been automatically generated and should be regarded as a code template only.
     // It will require modifications to work:
     // - It may require correct/in-range values for request initialization.
     // - It may require specifying regional endpoints when creating the service client as shown in
     // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
     try (CertificateManagerClient certificateManagerClient = CertificateManagerClient.create()) {
       ListCertificateMapEntriesRequest request =
           ListCertificateMapEntriesRequest.newBuilder()
               .setParent(
                   CertificateMapName.of("[PROJECT]", "[LOCATION]", "[CERTIFICATE_MAP]").toString())
               .setPageSize(883849137)
               .setPageToken("pageToken873572522")
               .setFilter("filter-1274492040")
               .setOrderBy("orderBy-1207110587")
               .build();
       for (CertificateMapEntry element :
           certificateManagerClient.listCertificateMapEntries(request).iterateAll()) {
         // doThingsWith(element);
       }
     }
     
| **Parameter** ||
|---|---|
| **Name** | **Description** |
| `request` | `https://docs.cloud.google.com/java/docs/reference/google-cloud-certificate-manager/latest/com.google.cloud.certificatemanager.v1.ListCertificateMapEntriesRequest` The request object containing all of the parameters for the API call. |

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `https://docs.cloud.google.com/java/docs/reference/google-cloud-certificate-manager/latest/com.google.cloud.certificatemanager.v1.CertificateManagerClient.ListCertificateMapEntriesPagedResponse` |   |

### listCertificateMapEntries(String parent)

    public final CertificateManagerClient.ListCertificateMapEntriesPagedResponse listCertificateMapEntries(String parent)

Lists CertificateMapEntries in a given project and location.

Sample code:


     // This snippet has been automatically generated and should be regarded as a code template only.
     // It will require modifications to work:
     // - It may require correct/in-range values for request initialization.
     // - It may require specifying regional endpoints when creating the service client as shown in
     // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
     try (CertificateManagerClient certificateManagerClient = CertificateManagerClient.create()) {
       String parent =
           CertificateMapName.of("[PROJECT]", "[LOCATION]", "[CERTIFICATE_MAP]").toString();
       for (CertificateMapEntry element :
           certificateManagerClient.listCertificateMapEntries(parent).iterateAll()) {
         // doThingsWith(element);
       }
     }
     
| **Parameter** ||
|---|---|
| **Name** | **Description** |
| `parent` | `https://docs.oracle.com/javase/8/docs/api/java/lang/String.html` Required. The project, location and certificate map from which the certificate map entries should be listed, specified in the format `projects/*/locations/*/certificateMaps/*`. |

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `https://docs.cloud.google.com/java/docs/reference/google-cloud-certificate-manager/latest/com.google.cloud.certificatemanager.v1.CertificateManagerClient.ListCertificateMapEntriesPagedResponse` |   |

### listCertificateMapEntriesCallable()

    public final UnaryCallable<ListCertificateMapEntriesRequest,ListCertificateMapEntriesResponse> listCertificateMapEntriesCallable()

Lists CertificateMapEntries in a given project and location.

Sample code:


     // This snippet has been automatically generated and should be regarded as a code template only.
     // It will require modifications to work:
     // - It may require correct/in-range values for request initialization.
     // - It may require specifying regional endpoints when creating the service client as shown in
     // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
     try (CertificateManagerClient certificateManagerClient = CertificateManagerClient.create()) {
       ListCertificateMapEntriesRequest request =
           ListCertificateMapEntriesRequest.newBuilder()
               .setParent(
                   CertificateMapName.of("[PROJECT]", "[LOCATION]", "[CERTIFICATE_MAP]").toString())
               .setPageSize(883849137)
               .setPageToken("pageToken873572522")
               .setFilter("filter-1274492040")
               .setOrderBy("orderBy-1207110587")
               .build();
       while (true) {
         ListCertificateMapEntriesResponse response =
             certificateManagerClient.listCertificateMapEntriesCallable().call(request);
         for (CertificateMapEntry element : response.getCertificateMapEntriesList()) {
           // doThingsWith(element);
         }
         String nextPageToken = response.getNextPageToken();
         if (!Strings.isNullOrEmpty(nextPageToken)) {
           request = request.toBuilder().setPageToken(nextPageToken).build();
         } else {
           break;
         }
       }
     }
     
| **Returns** ||
|---|---|
| **Type** | **Description** |
| `https://docs.cloud.google.com/java/docs/reference/gax/latest/com.google.api.gax.rpc.UnaryCallable.html<https://docs.cloud.google.com/java/docs/reference/google-cloud-certificate-manager/latest/com.google.cloud.certificatemanager.v1.ListCertificateMapEntriesRequest,https://docs.cloud.google.com/java/docs/reference/google-cloud-certificate-manager/latest/com.google.cloud.certificatemanager.v1.ListCertificateMapEntriesResponse>` |   |

### listCertificateMapEntriesPagedCallable()

    public final UnaryCallable<ListCertificateMapEntriesRequest,CertificateManagerClient.ListCertificateMapEntriesPagedResponse> listCertificateMapEntriesPagedCallable()

Lists CertificateMapEntries in a given project and location.

Sample code:


     // This snippet has been automatically generated and should be regarded as a code template only.
     // It will require modifications to work:
     // - It may require correct/in-range values for request initialization.
     // - It may require specifying regional endpoints when creating the service client as shown in
     // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
     try (CertificateManagerClient certificateManagerClient = CertificateManagerClient.create()) {
       ListCertificateMapEntriesRequest request =
           ListCertificateMapEntriesRequest.newBuilder()
               .setParent(
                   CertificateMapName.of("[PROJECT]", "[LOCATION]", "[CERTIFICATE_MAP]").toString())
               .setPageSize(883849137)
               .setPageToken("pageToken873572522")
               .setFilter("filter-1274492040")
               .setOrderBy("orderBy-1207110587")
               .build();
       ApiFuture<CertificateMapEntry> future =
           certificateManagerClient.listCertificateMapEntriesPagedCallable().futureCall(request);
       // Do something.
       for (CertificateMapEntry element : future.get().iterateAll()) {
         // doThingsWith(element);
       }
     }
     
| **Returns** ||
|---|---|
| **Type** | **Description** |
| `https://docs.cloud.google.com/java/docs/reference/gax/latest/com.google.api.gax.rpc.UnaryCallable.html<https://docs.cloud.google.com/java/docs/reference/google-cloud-certificate-manager/latest/com.google.cloud.certificatemanager.v1.ListCertificateMapEntriesRequest,https://docs.cloud.google.com/java/docs/reference/google-cloud-certificate-manager/latest/com.google.cloud.certificatemanager.v1.CertificateManagerClient.ListCertificateMapEntriesPagedResponse>` |   |

### listCertificateMaps(ListCertificateMapsRequest request)

    public final CertificateManagerClient.ListCertificateMapsPagedResponse listCertificateMaps(ListCertificateMapsRequest request)

Lists CertificateMaps in a given project and location.

Sample code:


     // This snippet has been automatically generated and should be regarded as a code template only.
     // It will require modifications to work:
     // - It may require correct/in-range values for request initialization.
     // - It may require specifying regional endpoints when creating the service client as shown in
     // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
     try (CertificateManagerClient certificateManagerClient = CertificateManagerClient.create()) {
       ListCertificateMapsRequest request =
           ListCertificateMapsRequest.newBuilder()
               .setParent(LocationName.of("[PROJECT]", "[LOCATION]").toString())
               .setPageSize(883849137)
               .setPageToken("pageToken873572522")
               .setFilter("filter-1274492040")
               .setOrderBy("orderBy-1207110587")
               .build();
       for (CertificateMap element :
           certificateManagerClient.listCertificateMaps(request).iterateAll()) {
         // doThingsWith(element);
       }
     }
     
| **Parameter** ||
|---|---|
| **Name** | **Description** |
| `request` | `https://docs.cloud.google.com/java/docs/reference/google-cloud-certificate-manager/latest/com.google.cloud.certificatemanager.v1.ListCertificateMapsRequest` The request object containing all of the parameters for the API call. |

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `https://docs.cloud.google.com/java/docs/reference/google-cloud-certificate-manager/latest/com.google.cloud.certificatemanager.v1.CertificateManagerClient.ListCertificateMapsPagedResponse` |   |

### listCertificateMaps(LocationName parent)

    public final CertificateManagerClient.ListCertificateMapsPagedResponse listCertificateMaps(LocationName parent)

Lists CertificateMaps in a given project and location.

Sample code:


     // This snippet has been automatically generated and should be regarded as a code template only.
     // It will require modifications to work:
     // - It may require correct/in-range values for request initialization.
     // - It may require specifying regional endpoints when creating the service client as shown in
     // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
     try (CertificateManagerClient certificateManagerClient = CertificateManagerClient.create()) {
       LocationName parent = LocationName.of("[PROJECT]", "[LOCATION]");
       for (CertificateMap element :
           certificateManagerClient.listCertificateMaps(parent).iterateAll()) {
         // doThingsWith(element);
       }
     }
     
| **Parameter** ||
|---|---|
| **Name** | **Description** |
| `parent` | `https://docs.cloud.google.com/java/docs/reference/google-cloud-certificate-manager/latest/com.google.cloud.certificatemanager.v1.LocationName` Required. The project and location from which the certificate maps should be listed, specified in the format `projects/*/locations/*`. |

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `https://docs.cloud.google.com/java/docs/reference/google-cloud-certificate-manager/latest/com.google.cloud.certificatemanager.v1.CertificateManagerClient.ListCertificateMapsPagedResponse` |   |

### listCertificateMaps(String parent)

    public final CertificateManagerClient.ListCertificateMapsPagedResponse listCertificateMaps(String parent)

Lists CertificateMaps in a given project and location.

Sample code:


     // This snippet has been automatically generated and should be regarded as a code template only.
     // It will require modifications to work:
     // - It may require correct/in-range values for request initialization.
     // - It may require specifying regional endpoints when creating the service client as shown in
     // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
     try (CertificateManagerClient certificateManagerClient = CertificateManagerClient.create()) {
       String parent = LocationName.of("[PROJECT]", "[LOCATION]").toString();
       for (CertificateMap element :
           certificateManagerClient.listCertificateMaps(parent).iterateAll()) {
         // doThingsWith(element);
       }
     }
     
| **Parameter** ||
|---|---|
| **Name** | **Description** |
| `parent` | `https://docs.oracle.com/javase/8/docs/api/java/lang/String.html` Required. The project and location from which the certificate maps should be listed, specified in the format `projects/*/locations/*`. |

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `https://docs.cloud.google.com/java/docs/reference/google-cloud-certificate-manager/latest/com.google.cloud.certificatemanager.v1.CertificateManagerClient.ListCertificateMapsPagedResponse` |   |

### listCertificateMapsCallable()

    public final UnaryCallable<ListCertificateMapsRequest,ListCertificateMapsResponse> listCertificateMapsCallable()

Lists CertificateMaps in a given project and location.

Sample code:


     // This snippet has been automatically generated and should be regarded as a code template only.
     // It will require modifications to work:
     // - It may require correct/in-range values for request initialization.
     // - It may require specifying regional endpoints when creating the service client as shown in
     // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
     try (CertificateManagerClient certificateManagerClient = CertificateManagerClient.create()) {
       ListCertificateMapsRequest request =
           ListCertificateMapsRequest.newBuilder()
               .setParent(LocationName.of("[PROJECT]", "[LOCATION]").toString())
               .setPageSize(883849137)
               .setPageToken("pageToken873572522")
               .setFilter("filter-1274492040")
               .setOrderBy("orderBy-1207110587")
               .build();
       while (true) {
         ListCertificateMapsResponse response =
             certificateManagerClient.listCertificateMapsCallable().call(request);
         for (CertificateMap element : response.getCertificateMapsList()) {
           // doThingsWith(element);
         }
         String nextPageToken = response.getNextPageToken();
         if (!Strings.isNullOrEmpty(nextPageToken)) {
           request = request.toBuilder().setPageToken(nextPageToken).build();
         } else {
           break;
         }
       }
     }
     
| **Returns** ||
|---|---|
| **Type** | **Description** |
| `https://docs.cloud.google.com/java/docs/reference/gax/latest/com.google.api.gax.rpc.UnaryCallable.html<https://docs.cloud.google.com/java/docs/reference/google-cloud-certificate-manager/latest/com.google.cloud.certificatemanager.v1.ListCertificateMapsRequest,https://docs.cloud.google.com/java/docs/reference/google-cloud-certificate-manager/latest/com.google.cloud.certificatemanager.v1.ListCertificateMapsResponse>` |   |

### listCertificateMapsPagedCallable()

    public final UnaryCallable<ListCertificateMapsRequest,CertificateManagerClient.ListCertificateMapsPagedResponse> listCertificateMapsPagedCallable()

Lists CertificateMaps in a given project and location.

Sample code:


     // This snippet has been automatically generated and should be regarded as a code template only.
     // It will require modifications to work:
     // - It may require correct/in-range values for request initialization.
     // - It may require specifying regional endpoints when creating the service client as shown in
     // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
     try (CertificateManagerClient certificateManagerClient = CertificateManagerClient.create()) {
       ListCertificateMapsRequest request =
           ListCertificateMapsRequest.newBuilder()
               .setParent(LocationName.of("[PROJECT]", "[LOCATION]").toString())
               .setPageSize(883849137)
               .setPageToken("pageToken873572522")
               .setFilter("filter-1274492040")
               .setOrderBy("orderBy-1207110587")
               .build();
       ApiFuture<CertificateMap> future =
           certificateManagerClient.listCertificateMapsPagedCallable().futureCall(request);
       // Do something.
       for (CertificateMap element : future.get().iterateAll()) {
         // doThingsWith(element);
       }
     }
     
| **Returns** ||
|---|---|
| **Type** | **Description** |
| `https://docs.cloud.google.com/java/docs/reference/gax/latest/com.google.api.gax.rpc.UnaryCallable.html<https://docs.cloud.google.com/java/docs/reference/google-cloud-certificate-manager/latest/com.google.cloud.certificatemanager.v1.ListCertificateMapsRequest,https://docs.cloud.google.com/java/docs/reference/google-cloud-certificate-manager/latest/com.google.cloud.certificatemanager.v1.CertificateManagerClient.ListCertificateMapsPagedResponse>` |   |

### listCertificates(ListCertificatesRequest request)

    public final CertificateManagerClient.ListCertificatesPagedResponse listCertificates(ListCertificatesRequest request)

Lists Certificates in a given project and location.

Sample code:


     // This snippet has been automatically generated and should be regarded as a code template only.
     // It will require modifications to work:
     // - It may require correct/in-range values for request initialization.
     // - It may require specifying regional endpoints when creating the service client as shown in
     // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
     try (CertificateManagerClient certificateManagerClient = CertificateManagerClient.create()) {
       ListCertificatesRequest request =
           ListCertificatesRequest.newBuilder()
               .setParent(LocationName.of("[PROJECT]", "[LOCATION]").toString())
               .setPageSize(883849137)
               .setPageToken("pageToken873572522")
               .setFilter("filter-1274492040")
               .setOrderBy("orderBy-1207110587")
               .build();
       for (Certificate element : certificateManagerClient.listCertificates(request).iterateAll()) {
         // doThingsWith(element);
       }
     }
     
| **Parameter** ||
|---|---|
| **Name** | **Description** |
| `request` | `https://docs.cloud.google.com/java/docs/reference/google-cloud-certificate-manager/latest/com.google.cloud.certificatemanager.v1.ListCertificatesRequest` The request object containing all of the parameters for the API call. |

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `https://docs.cloud.google.com/java/docs/reference/google-cloud-certificate-manager/latest/com.google.cloud.certificatemanager.v1.CertificateManagerClient.ListCertificatesPagedResponse` |   |

### listCertificates(LocationName parent)

    public final CertificateManagerClient.ListCertificatesPagedResponse listCertificates(LocationName parent)

Lists Certificates in a given project and location.

Sample code:


     // This snippet has been automatically generated and should be regarded as a code template only.
     // It will require modifications to work:
     // - It may require correct/in-range values for request initialization.
     // - It may require specifying regional endpoints when creating the service client as shown in
     // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
     try (CertificateManagerClient certificateManagerClient = CertificateManagerClient.create()) {
       LocationName parent = LocationName.of("[PROJECT]", "[LOCATION]");
       for (Certificate element : certificateManagerClient.listCertificates(parent).iterateAll()) {
         // doThingsWith(element);
       }
     }
     
| **Parameter** ||
|---|---|
| **Name** | **Description** |
| `parent` | `https://docs.cloud.google.com/java/docs/reference/google-cloud-certificate-manager/latest/com.google.cloud.certificatemanager.v1.LocationName` Required. The project and location from which the certificate should be listed, specified in the format `projects/*/locations/*`. |

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `https://docs.cloud.google.com/java/docs/reference/google-cloud-certificate-manager/latest/com.google.cloud.certificatemanager.v1.CertificateManagerClient.ListCertificatesPagedResponse` |   |

### listCertificates(String parent)

    public final CertificateManagerClient.ListCertificatesPagedResponse listCertificates(String parent)

Lists Certificates in a given project and location.

Sample code:


     // This snippet has been automatically generated and should be regarded as a code template only.
     // It will require modifications to work:
     // - It may require correct/in-range values for request initialization.
     // - It may require specifying regional endpoints when creating the service client as shown in
     // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
     try (CertificateManagerClient certificateManagerClient = CertificateManagerClient.create()) {
       String parent = LocationName.of("[PROJECT]", "[LOCATION]").toString();
       for (Certificate element : certificateManagerClient.listCertificates(parent).iterateAll()) {
         // doThingsWith(element);
       }
     }
     
| **Parameter** ||
|---|---|
| **Name** | **Description** |
| `parent` | `https://docs.oracle.com/javase/8/docs/api/java/lang/String.html` Required. The project and location from which the certificate should be listed, specified in the format `projects/*/locations/*`. |

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `https://docs.cloud.google.com/java/docs/reference/google-cloud-certificate-manager/latest/com.google.cloud.certificatemanager.v1.CertificateManagerClient.ListCertificatesPagedResponse` |   |

### listCertificatesCallable()

    public final UnaryCallable<ListCertificatesRequest,ListCertificatesResponse> listCertificatesCallable()

Lists Certificates in a given project and location.

Sample code:


     // This snippet has been automatically generated and should be regarded as a code template only.
     // It will require modifications to work:
     // - It may require correct/in-range values for request initialization.
     // - It may require specifying regional endpoints when creating the service client as shown in
     // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
     try (CertificateManagerClient certificateManagerClient = CertificateManagerClient.create()) {
       ListCertificatesRequest request =
           ListCertificatesRequest.newBuilder()
               .setParent(LocationName.of("[PROJECT]", "[LOCATION]").toString())
               .setPageSize(883849137)
               .setPageToken("pageToken873572522")
               .setFilter("filter-1274492040")
               .setOrderBy("orderBy-1207110587")
               .build();
       while (true) {
         ListCertificatesResponse response =
             certificateManagerClient.listCertificatesCallable().call(request);
         for (Certificate element : response.getCertificatesList()) {
           // doThingsWith(element);
         }
         String nextPageToken = response.getNextPageToken();
         if (!Strings.isNullOrEmpty(nextPageToken)) {
           request = request.toBuilder().setPageToken(nextPageToken).build();
         } else {
           break;
         }
       }
     }
     
| **Returns** ||
|---|---|
| **Type** | **Description** |
| `https://docs.cloud.google.com/java/docs/reference/gax/latest/com.google.api.gax.rpc.UnaryCallable.html<https://docs.cloud.google.com/java/docs/reference/google-cloud-certificate-manager/latest/com.google.cloud.certificatemanager.v1.ListCertificatesRequest,https://docs.cloud.google.com/java/docs/reference/google-cloud-certificate-manager/latest/com.google.cloud.certificatemanager.v1.ListCertificatesResponse>` |   |

### listCertificatesPagedCallable()

    public final UnaryCallable<ListCertificatesRequest,CertificateManagerClient.ListCertificatesPagedResponse> listCertificatesPagedCallable()

Lists Certificates in a given project and location.

Sample code:


     // This snippet has been automatically generated and should be regarded as a code template only.
     // It will require modifications to work:
     // - It may require correct/in-range values for request initialization.
     // - It may require specifying regional endpoints when creating the service client as shown in
     // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
     try (CertificateManagerClient certificateManagerClient = CertificateManagerClient.create()) {
       ListCertificatesRequest request =
           ListCertificatesRequest.newBuilder()
               .setParent(LocationName.of("[PROJECT]", "[LOCATION]").toString())
               .setPageSize(883849137)
               .setPageToken("pageToken873572522")
               .setFilter("filter-1274492040")
               .setOrderBy("orderBy-1207110587")
               .build();
       ApiFuture<Certificate> future =
           certificateManagerClient.listCertificatesPagedCallable().futureCall(request);
       // Do something.
       for (Certificate element : future.get().iterateAll()) {
         // doThingsWith(element);
       }
     }
     
| **Returns** ||
|---|---|
| **Type** | **Description** |
| `https://docs.cloud.google.com/java/docs/reference/gax/latest/com.google.api.gax.rpc.UnaryCallable.html<https://docs.cloud.google.com/java/docs/reference/google-cloud-certificate-manager/latest/com.google.cloud.certificatemanager.v1.ListCertificatesRequest,https://docs.cloud.google.com/java/docs/reference/google-cloud-certificate-manager/latest/com.google.cloud.certificatemanager.v1.CertificateManagerClient.ListCertificatesPagedResponse>` |   |

### listDnsAuthorizations(ListDnsAuthorizationsRequest request)

    public final CertificateManagerClient.ListDnsAuthorizationsPagedResponse listDnsAuthorizations(ListDnsAuthorizationsRequest request)

Lists DnsAuthorizations in a given project and location.

Sample code:


     // This snippet has been automatically generated and should be regarded as a code template only.
     // It will require modifications to work:
     // - It may require correct/in-range values for request initialization.
     // - It may require specifying regional endpoints when creating the service client as shown in
     // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
     try (CertificateManagerClient certificateManagerClient = CertificateManagerClient.create()) {
       ListDnsAuthorizationsRequest request =
           ListDnsAuthorizationsRequest.newBuilder()
               .setParent(LocationName.of("[PROJECT]", "[LOCATION]").toString())
               .setPageSize(883849137)
               .setPageToken("pageToken873572522")
               .setFilter("filter-1274492040")
               .setOrderBy("orderBy-1207110587")
               .build();
       for (DnsAuthorization element :
           certificateManagerClient.listDnsAuthorizations(request).iterateAll()) {
         // doThingsWith(element);
       }
     }
     
| **Parameter** ||
|---|---|
| **Name** | **Description** |
| `request` | `https://docs.cloud.google.com/java/docs/reference/google-cloud-certificate-manager/latest/com.google.cloud.certificatemanager.v1.ListDnsAuthorizationsRequest` The request object containing all of the parameters for the API call. |

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `https://docs.cloud.google.com/java/docs/reference/google-cloud-certificate-manager/latest/com.google.cloud.certificatemanager.v1.CertificateManagerClient.ListDnsAuthorizationsPagedResponse` |   |

### listDnsAuthorizations(LocationName parent)

    public final CertificateManagerClient.ListDnsAuthorizationsPagedResponse listDnsAuthorizations(LocationName parent)

Lists DnsAuthorizations in a given project and location.

Sample code:


     // This snippet has been automatically generated and should be regarded as a code template only.
     // It will require modifications to work:
     // - It may require correct/in-range values for request initialization.
     // - It may require specifying regional endpoints when creating the service client as shown in
     // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
     try (CertificateManagerClient certificateManagerClient = CertificateManagerClient.create()) {
       LocationName parent = LocationName.of("[PROJECT]", "[LOCATION]");
       for (DnsAuthorization element :
           certificateManagerClient.listDnsAuthorizations(parent).iterateAll()) {
         // doThingsWith(element);
       }
     }
     
| **Parameter** ||
|---|---|
| **Name** | **Description** |
| `parent` | `https://docs.cloud.google.com/java/docs/reference/google-cloud-certificate-manager/latest/com.google.cloud.certificatemanager.v1.LocationName` Required. The project and location from which the dns authorizations should be listed, specified in the format `projects/*/locations/*`. |

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `https://docs.cloud.google.com/java/docs/reference/google-cloud-certificate-manager/latest/com.google.cloud.certificatemanager.v1.CertificateManagerClient.ListDnsAuthorizationsPagedResponse` |   |

### listDnsAuthorizations(String parent)

    public final CertificateManagerClient.ListDnsAuthorizationsPagedResponse listDnsAuthorizations(String parent)

Lists DnsAuthorizations in a given project and location.

Sample code:


     // This snippet has been automatically generated and should be regarded as a code template only.
     // It will require modifications to work:
     // - It may require correct/in-range values for request initialization.
     // - It may require specifying regional endpoints when creating the service client as shown in
     // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
     try (CertificateManagerClient certificateManagerClient = CertificateManagerClient.create()) {
       String parent = LocationName.of("[PROJECT]", "[LOCATION]").toString();
       for (DnsAuthorization element :
           certificateManagerClient.listDnsAuthorizations(parent).iterateAll()) {
         // doThingsWith(element);
       }
     }
     
| **Parameter** ||
|---|---|
| **Name** | **Description** |
| `parent` | `https://docs.oracle.com/javase/8/docs/api/java/lang/String.html` Required. The project and location from which the dns authorizations should be listed, specified in the format `projects/*/locations/*`. |

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `https://docs.cloud.google.com/java/docs/reference/google-cloud-certificate-manager/latest/com.google.cloud.certificatemanager.v1.CertificateManagerClient.ListDnsAuthorizationsPagedResponse` |   |

### listDnsAuthorizationsCallable()

    public final UnaryCallable<ListDnsAuthorizationsRequest,ListDnsAuthorizationsResponse> listDnsAuthorizationsCallable()

Lists DnsAuthorizations in a given project and location.

Sample code:


     // This snippet has been automatically generated and should be regarded as a code template only.
     // It will require modifications to work:
     // - It may require correct/in-range values for request initialization.
     // - It may require specifying regional endpoints when creating the service client as shown in
     // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
     try (CertificateManagerClient certificateManagerClient = CertificateManagerClient.create()) {
       ListDnsAuthorizationsRequest request =
           ListDnsAuthorizationsRequest.newBuilder()
               .setParent(LocationName.of("[PROJECT]", "[LOCATION]").toString())
               .setPageSize(883849137)
               .setPageToken("pageToken873572522")
               .setFilter("filter-1274492040")
               .setOrderBy("orderBy-1207110587")
               .build();
       while (true) {
         ListDnsAuthorizationsResponse response =
             certificateManagerClient.listDnsAuthorizationsCallable().call(request);
         for (DnsAuthorization element : response.getDnsAuthorizationsList()) {
           // doThingsWith(element);
         }
         String nextPageToken = response.getNextPageToken();
         if (!Strings.isNullOrEmpty(nextPageToken)) {
           request = request.toBuilder().setPageToken(nextPageToken).build();
         } else {
           break;
         }
       }
     }
     
| **Returns** ||
|---|---|
| **Type** | **Description** |
| `https://docs.cloud.google.com/java/docs/reference/gax/latest/com.google.api.gax.rpc.UnaryCallable.html<https://docs.cloud.google.com/java/docs/reference/google-cloud-certificate-manager/latest/com.google.cloud.certificatemanager.v1.ListDnsAuthorizationsRequest,https://docs.cloud.google.com/java/docs/reference/google-cloud-certificate-manager/latest/com.google.cloud.certificatemanager.v1.ListDnsAuthorizationsResponse>` |   |

### listDnsAuthorizationsPagedCallable()

    public final UnaryCallable<ListDnsAuthorizationsRequest,CertificateManagerClient.ListDnsAuthorizationsPagedResponse> listDnsAuthorizationsPagedCallable()

Lists DnsAuthorizations in a given project and location.

Sample code:


     // This snippet has been automatically generated and should be regarded as a code template only.
     // It will require modifications to work:
     // - It may require correct/in-range values for request initialization.
     // - It may require specifying regional endpoints when creating the service client as shown in
     // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
     try (CertificateManagerClient certificateManagerClient = CertificateManagerClient.create()) {
       ListDnsAuthorizationsRequest request =
           ListDnsAuthorizationsRequest.newBuilder()
               .setParent(LocationName.of("[PROJECT]", "[LOCATION]").toString())
               .setPageSize(883849137)
               .setPageToken("pageToken873572522")
               .setFilter("filter-1274492040")
               .setOrderBy("orderBy-1207110587")
               .build();
       ApiFuture<DnsAuthorization> future =
           certificateManagerClient.listDnsAuthorizationsPagedCallable().futureCall(request);
       // Do something.
       for (DnsAuthorization element : future.get().iterateAll()) {
         // doThingsWith(element);
       }
     }
     
| **Returns** ||
|---|---|
| **Type** | **Description** |
| `https://docs.cloud.google.com/java/docs/reference/gax/latest/com.google.api.gax.rpc.UnaryCallable.html<https://docs.cloud.google.com/java/docs/reference/google-cloud-certificate-manager/latest/com.google.cloud.certificatemanager.v1.ListDnsAuthorizationsRequest,https://docs.cloud.google.com/java/docs/reference/google-cloud-certificate-manager/latest/com.google.cloud.certificatemanager.v1.CertificateManagerClient.ListDnsAuthorizationsPagedResponse>` |   |

### listLocations(ListLocationsRequest request)

    public final CertificateManagerClient.ListLocationsPagedResponse listLocations(ListLocationsRequest request)

Lists information about the supported locations for this service.

Sample code:


     // This snippet has been automatically generated and should be regarded as a code template only.
     // It will require modifications to work:
     // - It may require correct/in-range values for request initialization.
     // - It may require specifying regional endpoints when creating the service client as shown in
     // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
     try (CertificateManagerClient certificateManagerClient = CertificateManagerClient.create()) {
       ListLocationsRequest request =
           ListLocationsRequest.newBuilder()
               .setName("name3373707")
               .setFilter("filter-1274492040")
               .setPageSize(883849137)
               .setPageToken("pageToken873572522")
               .build();
       for (Location element : certificateManagerClient.listLocations(request).iterateAll()) {
         // doThingsWith(element);
       }
     }
     
| **Parameter** ||
|---|---|
| **Name** | **Description** |
| `request` | `com.google.cloud.location.ListLocationsRequest` The request object containing all of the parameters for the API call. |

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `https://docs.cloud.google.com/java/docs/reference/google-cloud-certificate-manager/latest/com.google.cloud.certificatemanager.v1.CertificateManagerClient.ListLocationsPagedResponse` |   |

### listLocationsCallable()

    public final UnaryCallable<ListLocationsRequest,ListLocationsResponse> listLocationsCallable()

Lists information about the supported locations for this service.

Sample code:


     // This snippet has been automatically generated and should be regarded as a code template only.
     // It will require modifications to work:
     // - It may require correct/in-range values for request initialization.
     // - It may require specifying regional endpoints when creating the service client as shown in
     // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
     try (CertificateManagerClient certificateManagerClient = CertificateManagerClient.create()) {
       ListLocationsRequest request =
           ListLocationsRequest.newBuilder()
               .setName("name3373707")
               .setFilter("filter-1274492040")
               .setPageSize(883849137)
               .setPageToken("pageToken873572522")
               .build();
       while (true) {
         ListLocationsResponse response =
             certificateManagerClient.listLocationsCallable().call(request);
         for (Location element : response.getLocationsList()) {
           // doThingsWith(element);
         }
         String nextPageToken = response.getNextPageToken();
         if (!Strings.isNullOrEmpty(nextPageToken)) {
           request = request.toBuilder().setPageToken(nextPageToken).build();
         } else {
           break;
         }
       }
     }
     
| **Returns** ||
|---|---|
| **Type** | **Description** |
| `https://docs.cloud.google.com/java/docs/reference/gax/latest/com.google.api.gax.rpc.UnaryCallable.html<com.google.cloud.location.ListLocationsRequest,com.google.cloud.location.ListLocationsResponse>` |   |

### listLocationsPagedCallable()

    public final UnaryCallable<ListLocationsRequest,CertificateManagerClient.ListLocationsPagedResponse> listLocationsPagedCallable()

Lists information about the supported locations for this service.

Sample code:


     // This snippet has been automatically generated and should be regarded as a code template only.
     // It will require modifications to work:
     // - It may require correct/in-range values for request initialization.
     // - It may require specifying regional endpoints when creating the service client as shown in
     // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
     try (CertificateManagerClient certificateManagerClient = CertificateManagerClient.create()) {
       ListLocationsRequest request =
           ListLocationsRequest.newBuilder()
               .setName("name3373707")
               .setFilter("filter-1274492040")
               .setPageSize(883849137)
               .setPageToken("pageToken873572522")
               .build();
       ApiFuture<Location> future =
           certificateManagerClient.listLocationsPagedCallable().futureCall(request);
       // Do something.
       for (Location element : future.get().iterateAll()) {
         // doThingsWith(element);
       }
     }
     
| **Returns** ||
|---|---|
| **Type** | **Description** |
| `https://docs.cloud.google.com/java/docs/reference/gax/latest/com.google.api.gax.rpc.UnaryCallable.html<com.google.cloud.location.ListLocationsRequest,https://docs.cloud.google.com/java/docs/reference/google-cloud-certificate-manager/latest/com.google.cloud.certificatemanager.v1.CertificateManagerClient.ListLocationsPagedResponse>` |   |

### listTrustConfigs(ListTrustConfigsRequest request)

    public final CertificateManagerClient.ListTrustConfigsPagedResponse listTrustConfigs(ListTrustConfigsRequest request)

Lists TrustConfigs in a given project and location.

Sample code:


     // This snippet has been automatically generated and should be regarded as a code template only.
     // It will require modifications to work:
     // - It may require correct/in-range values for request initialization.
     // - It may require specifying regional endpoints when creating the service client as shown in
     // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
     try (CertificateManagerClient certificateManagerClient = CertificateManagerClient.create()) {
       ListTrustConfigsRequest request =
           ListTrustConfigsRequest.newBuilder()
               .setParent(LocationName.of("[PROJECT]", "[LOCATION]").toString())
               .setPageSize(883849137)
               .setPageToken("pageToken873572522")
               .setFilter("filter-1274492040")
               .setOrderBy("orderBy-1207110587")
               .build();
       for (TrustConfig element : certificateManagerClient.listTrustConfigs(request).iterateAll()) {
         // doThingsWith(element);
       }
     }
     
| **Parameter** ||
|---|---|
| **Name** | **Description** |
| `request` | `https://docs.cloud.google.com/java/docs/reference/google-cloud-certificate-manager/latest/com.google.cloud.certificatemanager.v1.ListTrustConfigsRequest` The request object containing all of the parameters for the API call. |

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `https://docs.cloud.google.com/java/docs/reference/google-cloud-certificate-manager/latest/com.google.cloud.certificatemanager.v1.CertificateManagerClient.ListTrustConfigsPagedResponse` |   |

### listTrustConfigs(LocationName parent)

    public final CertificateManagerClient.ListTrustConfigsPagedResponse listTrustConfigs(LocationName parent)

Lists TrustConfigs in a given project and location.

Sample code:


     // This snippet has been automatically generated and should be regarded as a code template only.
     // It will require modifications to work:
     // - It may require correct/in-range values for request initialization.
     // - It may require specifying regional endpoints when creating the service client as shown in
     // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
     try (CertificateManagerClient certificateManagerClient = CertificateManagerClient.create()) {
       LocationName parent = LocationName.of("[PROJECT]", "[LOCATION]");
       for (TrustConfig element : certificateManagerClient.listTrustConfigs(parent).iterateAll()) {
         // doThingsWith(element);
       }
     }
     
| **Parameter** ||
|---|---|
| **Name** | **Description** |
| `parent` | `https://docs.cloud.google.com/java/docs/reference/google-cloud-certificate-manager/latest/com.google.cloud.certificatemanager.v1.LocationName` Required. The project and location from which the TrustConfigs should be listed, specified in the format `projects/*/locations/*`. |

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `https://docs.cloud.google.com/java/docs/reference/google-cloud-certificate-manager/latest/com.google.cloud.certificatemanager.v1.CertificateManagerClient.ListTrustConfigsPagedResponse` |   |

### listTrustConfigs(String parent)

    public final CertificateManagerClient.ListTrustConfigsPagedResponse listTrustConfigs(String parent)

Lists TrustConfigs in a given project and location.

Sample code:


     // This snippet has been automatically generated and should be regarded as a code template only.
     // It will require modifications to work:
     // - It may require correct/in-range values for request initialization.
     // - It may require specifying regional endpoints when creating the service client as shown in
     // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
     try (CertificateManagerClient certificateManagerClient = CertificateManagerClient.create()) {
       String parent = LocationName.of("[PROJECT]", "[LOCATION]").toString();
       for (TrustConfig element : certificateManagerClient.listTrustConfigs(parent).iterateAll()) {
         // doThingsWith(element);
       }
     }
     
| **Parameter** ||
|---|---|
| **Name** | **Description** |
| `parent` | `https://docs.oracle.com/javase/8/docs/api/java/lang/String.html` Required. The project and location from which the TrustConfigs should be listed, specified in the format `projects/*/locations/*`. |

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `https://docs.cloud.google.com/java/docs/reference/google-cloud-certificate-manager/latest/com.google.cloud.certificatemanager.v1.CertificateManagerClient.ListTrustConfigsPagedResponse` |   |

### listTrustConfigsCallable()

    public final UnaryCallable<ListTrustConfigsRequest,ListTrustConfigsResponse> listTrustConfigsCallable()

Lists TrustConfigs in a given project and location.

Sample code:


     // This snippet has been automatically generated and should be regarded as a code template only.
     // It will require modifications to work:
     // - It may require correct/in-range values for request initialization.
     // - It may require specifying regional endpoints when creating the service client as shown in
     // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
     try (CertificateManagerClient certificateManagerClient = CertificateManagerClient.create()) {
       ListTrustConfigsRequest request =
           ListTrustConfigsRequest.newBuilder()
               .setParent(LocationName.of("[PROJECT]", "[LOCATION]").toString())
               .setPageSize(883849137)
               .setPageToken("pageToken873572522")
               .setFilter("filter-1274492040")
               .setOrderBy("orderBy-1207110587")
               .build();
       while (true) {
         ListTrustConfigsResponse response =
             certificateManagerClient.listTrustConfigsCallable().call(request);
         for (TrustConfig element : response.getTrustConfigsList()) {
           // doThingsWith(element);
         }
         String nextPageToken = response.getNextPageToken();
         if (!Strings.isNullOrEmpty(nextPageToken)) {
           request = request.toBuilder().setPageToken(nextPageToken).build();
         } else {
           break;
         }
       }
     }
     
| **Returns** ||
|---|---|
| **Type** | **Description** |
| `https://docs.cloud.google.com/java/docs/reference/gax/latest/com.google.api.gax.rpc.UnaryCallable.html<https://docs.cloud.google.com/java/docs/reference/google-cloud-certificate-manager/latest/com.google.cloud.certificatemanager.v1.ListTrustConfigsRequest,https://docs.cloud.google.com/java/docs/reference/google-cloud-certificate-manager/latest/com.google.cloud.certificatemanager.v1.ListTrustConfigsResponse>` |   |

### listTrustConfigsPagedCallable()

    public final UnaryCallable<ListTrustConfigsRequest,CertificateManagerClient.ListTrustConfigsPagedResponse> listTrustConfigsPagedCallable()

Lists TrustConfigs in a given project and location.

Sample code:


     // This snippet has been automatically generated and should be regarded as a code template only.
     // It will require modifications to work:
     // - It may require correct/in-range values for request initialization.
     // - It may require specifying regional endpoints when creating the service client as shown in
     // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
     try (CertificateManagerClient certificateManagerClient = CertificateManagerClient.create()) {
       ListTrustConfigsRequest request =
           ListTrustConfigsRequest.newBuilder()
               .setParent(LocationName.of("[PROJECT]", "[LOCATION]").toString())
               .setPageSize(883849137)
               .setPageToken("pageToken873572522")
               .setFilter("filter-1274492040")
               .setOrderBy("orderBy-1207110587")
               .build();
       ApiFuture<TrustConfig> future =
           certificateManagerClient.listTrustConfigsPagedCallable().futureCall(request);
       // Do something.
       for (TrustConfig element : future.get().iterateAll()) {
         // doThingsWith(element);
       }
     }
     
| **Returns** ||
|---|---|
| **Type** | **Description** |
| `https://docs.cloud.google.com/java/docs/reference/gax/latest/com.google.api.gax.rpc.UnaryCallable.html<https://docs.cloud.google.com/java/docs/reference/google-cloud-certificate-manager/latest/com.google.cloud.certificatemanager.v1.ListTrustConfigsRequest,https://docs.cloud.google.com/java/docs/reference/google-cloud-certificate-manager/latest/com.google.cloud.certificatemanager.v1.CertificateManagerClient.ListTrustConfigsPagedResponse>` |   |

### shutdown()

    public void shutdown()

### shutdownNow()

    public void shutdownNow()

### updateCertificateAsync(Certificate certificate, FieldMask updateMask)

    public final OperationFuture<Certificate,OperationMetadata> updateCertificateAsync(Certificate certificate, FieldMask updateMask)

Updates a Certificate.

Sample code:


     // This snippet has been automatically generated and should be regarded as a code template only.
     // It will require modifications to work:
     // - It may require correct/in-range values for request initialization.
     // - It may require specifying regional endpoints when creating the service client as shown in
     // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
     try (CertificateManagerClient certificateManagerClient = CertificateManagerClient.create()) {
       Certificate certificate = Certificate.newBuilder().build();
       FieldMask updateMask = FieldMask.newBuilder().build();
       Certificate response =
           certificateManagerClient.updateCertificateAsync(certificate, updateMask).get();
     }
     
| **Parameters** ||
|---|---|
| **Name** | **Description** |
| `certificate` | `https://docs.cloud.google.com/java/docs/reference/google-cloud-certificate-manager/latest/com.google.cloud.certificatemanager.v1.Certificate` Required. A definition of the certificate to update. |
| `updateMask` | `https://cloud.google.com/java/docs/reference/protobuf/latest/com.google.protobuf.FieldMask.html` Required. The update mask applies to the resource. For the `FieldMask` definition, see <https://developers.google.com/protocol-buffers/docs/reference/google.protobuf#fieldmask>. |

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `https://docs.cloud.google.com/java/docs/reference/gax/latest/com.google.api.gax.longrunning.OperationFuture.html<https://docs.cloud.google.com/java/docs/reference/google-cloud-certificate-manager/latest/com.google.cloud.certificatemanager.v1.Certificate,https://docs.cloud.google.com/java/docs/reference/google-cloud-certificate-manager/latest/com.google.cloud.certificatemanager.v1.OperationMetadata>` |   |

### updateCertificateAsync(UpdateCertificateRequest request)

    public final OperationFuture<Certificate,OperationMetadata> updateCertificateAsync(UpdateCertificateRequest request)

Updates a Certificate.

Sample code:


     // This snippet has been automatically generated and should be regarded as a code template only.
     // It will require modifications to work:
     // - It may require correct/in-range values for request initialization.
     // - It may require specifying regional endpoints when creating the service client as shown in
     // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
     try (CertificateManagerClient certificateManagerClient = CertificateManagerClient.create()) {
       UpdateCertificateRequest request =
           UpdateCertificateRequest.newBuilder()
               .setCertificate(Certificate.newBuilder().build())
               .setUpdateMask(FieldMask.newBuilder().build())
               .build();
       Certificate response = certificateManagerClient.updateCertificateAsync(request).get();
     }
     
| **Parameter** ||
|---|---|
| **Name** | **Description** |
| `request` | `https://docs.cloud.google.com/java/docs/reference/google-cloud-certificate-manager/latest/com.google.cloud.certificatemanager.v1.UpdateCertificateRequest` The request object containing all of the parameters for the API call. |

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `https://docs.cloud.google.com/java/docs/reference/gax/latest/com.google.api.gax.longrunning.OperationFuture.html<https://docs.cloud.google.com/java/docs/reference/google-cloud-certificate-manager/latest/com.google.cloud.certificatemanager.v1.Certificate,https://docs.cloud.google.com/java/docs/reference/google-cloud-certificate-manager/latest/com.google.cloud.certificatemanager.v1.OperationMetadata>` |   |

### updateCertificateCallable()

    public final UnaryCallable<UpdateCertificateRequest,Operation> updateCertificateCallable()

Updates a Certificate.

Sample code:


     // This snippet has been automatically generated and should be regarded as a code template only.
     // It will require modifications to work:
     // - It may require correct/in-range values for request initialization.
     // - It may require specifying regional endpoints when creating the service client as shown in
     // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
     try (CertificateManagerClient certificateManagerClient = CertificateManagerClient.create()) {
       UpdateCertificateRequest request =
           UpdateCertificateRequest.newBuilder()
               .setCertificate(Certificate.newBuilder().build())
               .setUpdateMask(FieldMask.newBuilder().build())
               .build();
       ApiFuture<Operation> future =
           certificateManagerClient.updateCertificateCallable().futureCall(request);
       // Do something.
       Operation response = future.get();
     }
     
| **Returns** ||
|---|---|
| **Type** | **Description** |
| `https://docs.cloud.google.com/java/docs/reference/gax/latest/com.google.api.gax.rpc.UnaryCallable.html<https://docs.cloud.google.com/java/docs/reference/google-cloud-certificate-manager/latest/com.google.cloud.certificatemanager.v1.UpdateCertificateRequest,https://docs.cloud.google.com/java/docs/reference/gax/latest/com.google.longrunning.Operation.html>` |   |

### updateCertificateMapAsync(CertificateMap certificateMap, FieldMask updateMask)

    public final OperationFuture<CertificateMap,OperationMetadata> updateCertificateMapAsync(CertificateMap certificateMap, FieldMask updateMask)

Updates a CertificateMap.

Sample code:


     // This snippet has been automatically generated and should be regarded as a code template only.
     // It will require modifications to work:
     // - It may require correct/in-range values for request initialization.
     // - It may require specifying regional endpoints when creating the service client as shown in
     // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
     try (CertificateManagerClient certificateManagerClient = CertificateManagerClient.create()) {
       CertificateMap certificateMap = CertificateMap.newBuilder().build();
       FieldMask updateMask = FieldMask.newBuilder().build();
       CertificateMap response =
           certificateManagerClient.updateCertificateMapAsync(certificateMap, updateMask).get();
     }
     
| **Parameters** ||
|---|---|
| **Name** | **Description** |
| `certificateMap` | `https://docs.cloud.google.com/java/docs/reference/google-cloud-certificate-manager/latest/com.google.cloud.certificatemanager.v1.CertificateMap` Required. A definition of the certificate map to update. |
| `updateMask` | `https://cloud.google.com/java/docs/reference/protobuf/latest/com.google.protobuf.FieldMask.html` Required. The update mask applies to the resource. For the `FieldMask` definition, see <https://developers.google.com/protocol-buffers/docs/reference/google.protobuf#fieldmask>. |

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `https://docs.cloud.google.com/java/docs/reference/gax/latest/com.google.api.gax.longrunning.OperationFuture.html<https://docs.cloud.google.com/java/docs/reference/google-cloud-certificate-manager/latest/com.google.cloud.certificatemanager.v1.CertificateMap,https://docs.cloud.google.com/java/docs/reference/google-cloud-certificate-manager/latest/com.google.cloud.certificatemanager.v1.OperationMetadata>` |   |

### updateCertificateMapAsync(UpdateCertificateMapRequest request)

    public final OperationFuture<CertificateMap,OperationMetadata> updateCertificateMapAsync(UpdateCertificateMapRequest request)

Updates a CertificateMap.

Sample code:


     // This snippet has been automatically generated and should be regarded as a code template only.
     // It will require modifications to work:
     // - It may require correct/in-range values for request initialization.
     // - It may require specifying regional endpoints when creating the service client as shown in
     // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
     try (CertificateManagerClient certificateManagerClient = CertificateManagerClient.create()) {
       UpdateCertificateMapRequest request =
           UpdateCertificateMapRequest.newBuilder()
               .setCertificateMap(CertificateMap.newBuilder().build())
               .setUpdateMask(FieldMask.newBuilder().build())
               .build();
       CertificateMap response = certificateManagerClient.updateCertificateMapAsync(request).get();
     }
     
| **Parameter** ||
|---|---|
| **Name** | **Description** |
| `request` | `https://docs.cloud.google.com/java/docs/reference/google-cloud-certificate-manager/latest/com.google.cloud.certificatemanager.v1.UpdateCertificateMapRequest` The request object containing all of the parameters for the API call. |

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `https://docs.cloud.google.com/java/docs/reference/gax/latest/com.google.api.gax.longrunning.OperationFuture.html<https://docs.cloud.google.com/java/docs/reference/google-cloud-certificate-manager/latest/com.google.cloud.certificatemanager.v1.CertificateMap,https://docs.cloud.google.com/java/docs/reference/google-cloud-certificate-manager/latest/com.google.cloud.certificatemanager.v1.OperationMetadata>` |   |

### updateCertificateMapCallable()

    public final UnaryCallable<UpdateCertificateMapRequest,Operation> updateCertificateMapCallable()

Updates a CertificateMap.

Sample code:


     // This snippet has been automatically generated and should be regarded as a code template only.
     // It will require modifications to work:
     // - It may require correct/in-range values for request initialization.
     // - It may require specifying regional endpoints when creating the service client as shown in
     // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
     try (CertificateManagerClient certificateManagerClient = CertificateManagerClient.create()) {
       UpdateCertificateMapRequest request =
           UpdateCertificateMapRequest.newBuilder()
               .setCertificateMap(CertificateMap.newBuilder().build())
               .setUpdateMask(FieldMask.newBuilder().build())
               .build();
       ApiFuture<Operation> future =
           certificateManagerClient.updateCertificateMapCallable().futureCall(request);
       // Do something.
       Operation response = future.get();
     }
     
| **Returns** ||
|---|---|
| **Type** | **Description** |
| `https://docs.cloud.google.com/java/docs/reference/gax/latest/com.google.api.gax.rpc.UnaryCallable.html<https://docs.cloud.google.com/java/docs/reference/google-cloud-certificate-manager/latest/com.google.cloud.certificatemanager.v1.UpdateCertificateMapRequest,https://docs.cloud.google.com/java/docs/reference/gax/latest/com.google.longrunning.Operation.html>` |   |

### updateCertificateMapEntryAsync(CertificateMapEntry certificateMapEntry, FieldMask updateMask)

    public final OperationFuture<CertificateMapEntry,OperationMetadata> updateCertificateMapEntryAsync(CertificateMapEntry certificateMapEntry, FieldMask updateMask)

Updates a CertificateMapEntry.

Sample code:


     // This snippet has been automatically generated and should be regarded as a code template only.
     // It will require modifications to work:
     // - It may require correct/in-range values for request initialization.
     // - It may require specifying regional endpoints when creating the service client as shown in
     // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
     try (CertificateManagerClient certificateManagerClient = CertificateManagerClient.create()) {
       CertificateMapEntry certificateMapEntry = CertificateMapEntry.newBuilder().build();
       FieldMask updateMask = FieldMask.newBuilder().build();
       CertificateMapEntry response =
           certificateManagerClient
               .updateCertificateMapEntryAsync(certificateMapEntry, updateMask)
               .get();
     }
     
| **Parameters** ||
|---|---|
| **Name** | **Description** |
| `certificateMapEntry` | `https://docs.cloud.google.com/java/docs/reference/google-cloud-certificate-manager/latest/com.google.cloud.certificatemanager.v1.CertificateMapEntry` Required. A definition of the certificate map entry to create map entry. |
| `updateMask` | `https://cloud.google.com/java/docs/reference/protobuf/latest/com.google.protobuf.FieldMask.html` Required. The update mask applies to the resource. For the `FieldMask` definition, see <https://developers.google.com/protocol-buffers/docs/reference/google.protobuf#fieldmask>. |

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `https://docs.cloud.google.com/java/docs/reference/gax/latest/com.google.api.gax.longrunning.OperationFuture.html<https://docs.cloud.google.com/java/docs/reference/google-cloud-certificate-manager/latest/com.google.cloud.certificatemanager.v1.CertificateMapEntry,https://docs.cloud.google.com/java/docs/reference/google-cloud-certificate-manager/latest/com.google.cloud.certificatemanager.v1.OperationMetadata>` |   |

### updateCertificateMapEntryAsync(UpdateCertificateMapEntryRequest request)

    public final OperationFuture<CertificateMapEntry,OperationMetadata> updateCertificateMapEntryAsync(UpdateCertificateMapEntryRequest request)

Updates a CertificateMapEntry.

Sample code:


     // This snippet has been automatically generated and should be regarded as a code template only.
     // It will require modifications to work:
     // - It may require correct/in-range values for request initialization.
     // - It may require specifying regional endpoints when creating the service client as shown in
     // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
     try (CertificateManagerClient certificateManagerClient = CertificateManagerClient.create()) {
       UpdateCertificateMapEntryRequest request =
           UpdateCertificateMapEntryRequest.newBuilder()
               .setCertificateMapEntry(CertificateMapEntry.newBuilder().build())
               .setUpdateMask(FieldMask.newBuilder().build())
               .build();
       CertificateMapEntry response =
           certificateManagerClient.updateCertificateMapEntryAsync(request).get();
     }
     
| **Parameter** ||
|---|---|
| **Name** | **Description** |
| `request` | `https://docs.cloud.google.com/java/docs/reference/google-cloud-certificate-manager/latest/com.google.cloud.certificatemanager.v1.UpdateCertificateMapEntryRequest` The request object containing all of the parameters for the API call. |

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `https://docs.cloud.google.com/java/docs/reference/gax/latest/com.google.api.gax.longrunning.OperationFuture.html<https://docs.cloud.google.com/java/docs/reference/google-cloud-certificate-manager/latest/com.google.cloud.certificatemanager.v1.CertificateMapEntry,https://docs.cloud.google.com/java/docs/reference/google-cloud-certificate-manager/latest/com.google.cloud.certificatemanager.v1.OperationMetadata>` |   |

### updateCertificateMapEntryCallable()

    public final UnaryCallable<UpdateCertificateMapEntryRequest,Operation> updateCertificateMapEntryCallable()

Updates a CertificateMapEntry.

Sample code:


     // This snippet has been automatically generated and should be regarded as a code template only.
     // It will require modifications to work:
     // - It may require correct/in-range values for request initialization.
     // - It may require specifying regional endpoints when creating the service client as shown in
     // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
     try (CertificateManagerClient certificateManagerClient = CertificateManagerClient.create()) {
       UpdateCertificateMapEntryRequest request =
           UpdateCertificateMapEntryRequest.newBuilder()
               .setCertificateMapEntry(CertificateMapEntry.newBuilder().build())
               .setUpdateMask(FieldMask.newBuilder().build())
               .build();
       ApiFuture<Operation> future =
           certificateManagerClient.updateCertificateMapEntryCallable().futureCall(request);
       // Do something.
       Operation response = future.get();
     }
     
| **Returns** ||
|---|---|
| **Type** | **Description** |
| `https://docs.cloud.google.com/java/docs/reference/gax/latest/com.google.api.gax.rpc.UnaryCallable.html<https://docs.cloud.google.com/java/docs/reference/google-cloud-certificate-manager/latest/com.google.cloud.certificatemanager.v1.UpdateCertificateMapEntryRequest,https://docs.cloud.google.com/java/docs/reference/gax/latest/com.google.longrunning.Operation.html>` |   |

### updateCertificateMapEntryOperationCallable()

    public final OperationCallable<UpdateCertificateMapEntryRequest,CertificateMapEntry,OperationMetadata> updateCertificateMapEntryOperationCallable()

Updates a CertificateMapEntry.

Sample code:


     // This snippet has been automatically generated and should be regarded as a code template only.
     // It will require modifications to work:
     // - It may require correct/in-range values for request initialization.
     // - It may require specifying regional endpoints when creating the service client as shown in
     // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
     try (CertificateManagerClient certificateManagerClient = CertificateManagerClient.create()) {
       UpdateCertificateMapEntryRequest request =
           UpdateCertificateMapEntryRequest.newBuilder()
               .setCertificateMapEntry(CertificateMapEntry.newBuilder().build())
               .setUpdateMask(FieldMask.newBuilder().build())
               .build();
       OperationFuture<CertificateMapEntry, OperationMetadata> future =
           certificateManagerClient.updateCertificateMapEntryOperationCallable().futureCall(request);
       // Do something.
       CertificateMapEntry response = future.get();
     }
     
| **Returns** ||
|---|---|
| **Type** | **Description** |
| `https://docs.cloud.google.com/java/docs/reference/gax/latest/com.google.api.gax.rpc.OperationCallable.html<https://docs.cloud.google.com/java/docs/reference/google-cloud-certificate-manager/latest/com.google.cloud.certificatemanager.v1.UpdateCertificateMapEntryRequest,https://docs.cloud.google.com/java/docs/reference/google-cloud-certificate-manager/latest/com.google.cloud.certificatemanager.v1.CertificateMapEntry,https://docs.cloud.google.com/java/docs/reference/google-cloud-certificate-manager/latest/com.google.cloud.certificatemanager.v1.OperationMetadata>` |   |

### updateCertificateMapOperationCallable()

    public final OperationCallable<UpdateCertificateMapRequest,CertificateMap,OperationMetadata> updateCertificateMapOperationCallable()

Updates a CertificateMap.

Sample code:


     // This snippet has been automatically generated and should be regarded as a code template only.
     // It will require modifications to work:
     // - It may require correct/in-range values for request initialization.
     // - It may require specifying regional endpoints when creating the service client as shown in
     // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
     try (CertificateManagerClient certificateManagerClient = CertificateManagerClient.create()) {
       UpdateCertificateMapRequest request =
           UpdateCertificateMapRequest.newBuilder()
               .setCertificateMap(CertificateMap.newBuilder().build())
               .setUpdateMask(FieldMask.newBuilder().build())
               .build();
       OperationFuture<CertificateMap, OperationMetadata> future =
           certificateManagerClient.updateCertificateMapOperationCallable().futureCall(request);
       // Do something.
       CertificateMap response = future.get();
     }
     
| **Returns** ||
|---|---|
| **Type** | **Description** |
| `https://docs.cloud.google.com/java/docs/reference/gax/latest/com.google.api.gax.rpc.OperationCallable.html<https://docs.cloud.google.com/java/docs/reference/google-cloud-certificate-manager/latest/com.google.cloud.certificatemanager.v1.UpdateCertificateMapRequest,https://docs.cloud.google.com/java/docs/reference/google-cloud-certificate-manager/latest/com.google.cloud.certificatemanager.v1.CertificateMap,https://docs.cloud.google.com/java/docs/reference/google-cloud-certificate-manager/latest/com.google.cloud.certificatemanager.v1.OperationMetadata>` |   |

### updateCertificateOperationCallable()

    public final OperationCallable<UpdateCertificateRequest,Certificate,OperationMetadata> updateCertificateOperationCallable()

Updates a Certificate.

Sample code:


     // This snippet has been automatically generated and should be regarded as a code template only.
     // It will require modifications to work:
     // - It may require correct/in-range values for request initialization.
     // - It may require specifying regional endpoints when creating the service client as shown in
     // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
     try (CertificateManagerClient certificateManagerClient = CertificateManagerClient.create()) {
       UpdateCertificateRequest request =
           UpdateCertificateRequest.newBuilder()
               .setCertificate(Certificate.newBuilder().build())
               .setUpdateMask(FieldMask.newBuilder().build())
               .build();
       OperationFuture<Certificate, OperationMetadata> future =
           certificateManagerClient.updateCertificateOperationCallable().futureCall(request);
       // Do something.
       Certificate response = future.get();
     }
     
| **Returns** ||
|---|---|
| **Type** | **Description** |
| `https://docs.cloud.google.com/java/docs/reference/gax/latest/com.google.api.gax.rpc.OperationCallable.html<https://docs.cloud.google.com/java/docs/reference/google-cloud-certificate-manager/latest/com.google.cloud.certificatemanager.v1.UpdateCertificateRequest,https://docs.cloud.google.com/java/docs/reference/google-cloud-certificate-manager/latest/com.google.cloud.certificatemanager.v1.Certificate,https://docs.cloud.google.com/java/docs/reference/google-cloud-certificate-manager/latest/com.google.cloud.certificatemanager.v1.OperationMetadata>` |   |

### updateDnsAuthorizationAsync(DnsAuthorization dnsAuthorization, FieldMask updateMask)

    public final OperationFuture<DnsAuthorization,OperationMetadata> updateDnsAuthorizationAsync(DnsAuthorization dnsAuthorization, FieldMask updateMask)

Updates a DnsAuthorization.

Sample code:


     // This snippet has been automatically generated and should be regarded as a code template only.
     // It will require modifications to work:
     // - It may require correct/in-range values for request initialization.
     // - It may require specifying regional endpoints when creating the service client as shown in
     // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
     try (CertificateManagerClient certificateManagerClient = CertificateManagerClient.create()) {
       DnsAuthorization dnsAuthorization = DnsAuthorization.newBuilder().build();
       FieldMask updateMask = FieldMask.newBuilder().build();
       DnsAuthorization response =
           certificateManagerClient.updateDnsAuthorizationAsync(dnsAuthorization, updateMask).get();
     }
     
| **Parameters** ||
|---|---|
| **Name** | **Description** |
| `dnsAuthorization` | `https://docs.cloud.google.com/java/docs/reference/google-cloud-certificate-manager/latest/com.google.cloud.certificatemanager.v1.DnsAuthorization` Required. A definition of the dns authorization to update. |
| `updateMask` | `https://cloud.google.com/java/docs/reference/protobuf/latest/com.google.protobuf.FieldMask.html` Required. The update mask applies to the resource. For the `FieldMask` definition, see <https://developers.google.com/protocol-buffers/docs/reference/google.protobuf#fieldmask>. |

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `https://docs.cloud.google.com/java/docs/reference/gax/latest/com.google.api.gax.longrunning.OperationFuture.html<https://docs.cloud.google.com/java/docs/reference/google-cloud-certificate-manager/latest/com.google.cloud.certificatemanager.v1.DnsAuthorization,https://docs.cloud.google.com/java/docs/reference/google-cloud-certificate-manager/latest/com.google.cloud.certificatemanager.v1.OperationMetadata>` |   |

### updateDnsAuthorizationAsync(UpdateDnsAuthorizationRequest request)

    public final OperationFuture<DnsAuthorization,OperationMetadata> updateDnsAuthorizationAsync(UpdateDnsAuthorizationRequest request)

Updates a DnsAuthorization.

Sample code:


     // This snippet has been automatically generated and should be regarded as a code template only.
     // It will require modifications to work:
     // - It may require correct/in-range values for request initialization.
     // - It may require specifying regional endpoints when creating the service client as shown in
     // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
     try (CertificateManagerClient certificateManagerClient = CertificateManagerClient.create()) {
       UpdateDnsAuthorizationRequest request =
           UpdateDnsAuthorizationRequest.newBuilder()
               .setDnsAuthorization(DnsAuthorization.newBuilder().build())
               .setUpdateMask(FieldMask.newBuilder().build())
               .build();
       DnsAuthorization response =
           certificateManagerClient.updateDnsAuthorizationAsync(request).get();
     }
     
| **Parameter** ||
|---|---|
| **Name** | **Description** |
| `request` | `https://docs.cloud.google.com/java/docs/reference/google-cloud-certificate-manager/latest/com.google.cloud.certificatemanager.v1.UpdateDnsAuthorizationRequest` The request object containing all of the parameters for the API call. |

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `https://docs.cloud.google.com/java/docs/reference/gax/latest/com.google.api.gax.longrunning.OperationFuture.html<https://docs.cloud.google.com/java/docs/reference/google-cloud-certificate-manager/latest/com.google.cloud.certificatemanager.v1.DnsAuthorization,https://docs.cloud.google.com/java/docs/reference/google-cloud-certificate-manager/latest/com.google.cloud.certificatemanager.v1.OperationMetadata>` |   |

### updateDnsAuthorizationCallable()

    public final UnaryCallable<UpdateDnsAuthorizationRequest,Operation> updateDnsAuthorizationCallable()

Updates a DnsAuthorization.

Sample code:


     // This snippet has been automatically generated and should be regarded as a code template only.
     // It will require modifications to work:
     // - It may require correct/in-range values for request initialization.
     // - It may require specifying regional endpoints when creating the service client as shown in
     // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
     try (CertificateManagerClient certificateManagerClient = CertificateManagerClient.create()) {
       UpdateDnsAuthorizationRequest request =
           UpdateDnsAuthorizationRequest.newBuilder()
               .setDnsAuthorization(DnsAuthorization.newBuilder().build())
               .setUpdateMask(FieldMask.newBuilder().build())
               .build();
       ApiFuture<Operation> future =
           certificateManagerClient.updateDnsAuthorizationCallable().futureCall(request);
       // Do something.
       Operation response = future.get();
     }
     
| **Returns** ||
|---|---|
| **Type** | **Description** |
| `https://docs.cloud.google.com/java/docs/reference/gax/latest/com.google.api.gax.rpc.UnaryCallable.html<https://docs.cloud.google.com/java/docs/reference/google-cloud-certificate-manager/latest/com.google.cloud.certificatemanager.v1.UpdateDnsAuthorizationRequest,https://docs.cloud.google.com/java/docs/reference/gax/latest/com.google.longrunning.Operation.html>` |   |

### updateDnsAuthorizationOperationCallable()

    public final OperationCallable<UpdateDnsAuthorizationRequest,DnsAuthorization,OperationMetadata> updateDnsAuthorizationOperationCallable()

Updates a DnsAuthorization.

Sample code:


     // This snippet has been automatically generated and should be regarded as a code template only.
     // It will require modifications to work:
     // - It may require correct/in-range values for request initialization.
     // - It may require specifying regional endpoints when creating the service client as shown in
     // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
     try (CertificateManagerClient certificateManagerClient = CertificateManagerClient.create()) {
       UpdateDnsAuthorizationRequest request =
           UpdateDnsAuthorizationRequest.newBuilder()
               .setDnsAuthorization(DnsAuthorization.newBuilder().build())
               .setUpdateMask(FieldMask.newBuilder().build())
               .build();
       OperationFuture<DnsAuthorization, OperationMetadata> future =
           certificateManagerClient.updateDnsAuthorizationOperationCallable().futureCall(request);
       // Do something.
       DnsAuthorization response = future.get();
     }
     
| **Returns** ||
|---|---|
| **Type** | **Description** |
| `https://docs.cloud.google.com/java/docs/reference/gax/latest/com.google.api.gax.rpc.OperationCallable.html<https://docs.cloud.google.com/java/docs/reference/google-cloud-certificate-manager/latest/com.google.cloud.certificatemanager.v1.UpdateDnsAuthorizationRequest,https://docs.cloud.google.com/java/docs/reference/google-cloud-certificate-manager/latest/com.google.cloud.certificatemanager.v1.DnsAuthorization,https://docs.cloud.google.com/java/docs/reference/google-cloud-certificate-manager/latest/com.google.cloud.certificatemanager.v1.OperationMetadata>` |   |

### updateTrustConfigAsync(TrustConfig trustConfig, FieldMask updateMask)

    public final OperationFuture<TrustConfig,OperationMetadata> updateTrustConfigAsync(TrustConfig trustConfig, FieldMask updateMask)

Updates a TrustConfig.

Sample code:


     // This snippet has been automatically generated and should be regarded as a code template only.
     // It will require modifications to work:
     // - It may require correct/in-range values for request initialization.
     // - It may require specifying regional endpoints when creating the service client as shown in
     // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
     try (CertificateManagerClient certificateManagerClient = CertificateManagerClient.create()) {
       TrustConfig trustConfig = TrustConfig.newBuilder().build();
       FieldMask updateMask = FieldMask.newBuilder().build();
       TrustConfig response =
           certificateManagerClient.updateTrustConfigAsync(trustConfig, updateMask).get();
     }
     
| **Parameters** ||
|---|---|
| **Name** | **Description** |
| `trustConfig` | `https://docs.cloud.google.com/java/docs/reference/google-cloud-certificate-manager/latest/com.google.cloud.certificatemanager.v1.TrustConfig` Required. A definition of the TrustConfig to update. |
| `updateMask` | `https://cloud.google.com/java/docs/reference/protobuf/latest/com.google.protobuf.FieldMask.html` Required. The update mask applies to the resource. For the `FieldMask` definition, see <https://developers.google.com/protocol-buffers/docs/reference/google.protobuf#fieldmask>. |

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `https://docs.cloud.google.com/java/docs/reference/gax/latest/com.google.api.gax.longrunning.OperationFuture.html<https://docs.cloud.google.com/java/docs/reference/google-cloud-certificate-manager/latest/com.google.cloud.certificatemanager.v1.TrustConfig,https://docs.cloud.google.com/java/docs/reference/google-cloud-certificate-manager/latest/com.google.cloud.certificatemanager.v1.OperationMetadata>` |   |

### updateTrustConfigAsync(UpdateTrustConfigRequest request)

    public final OperationFuture<TrustConfig,OperationMetadata> updateTrustConfigAsync(UpdateTrustConfigRequest request)

Updates a TrustConfig.

Sample code:


     // This snippet has been automatically generated and should be regarded as a code template only.
     // It will require modifications to work:
     // - It may require correct/in-range values for request initialization.
     // - It may require specifying regional endpoints when creating the service client as shown in
     // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
     try (CertificateManagerClient certificateManagerClient = CertificateManagerClient.create()) {
       UpdateTrustConfigRequest request =
           UpdateTrustConfigRequest.newBuilder()
               .setTrustConfig(TrustConfig.newBuilder().build())
               .setUpdateMask(FieldMask.newBuilder().build())
               .build();
       TrustConfig response = certificateManagerClient.updateTrustConfigAsync(request).get();
     }
     
| **Parameter** ||
|---|---|
| **Name** | **Description** |
| `request` | `https://docs.cloud.google.com/java/docs/reference/google-cloud-certificate-manager/latest/com.google.cloud.certificatemanager.v1.UpdateTrustConfigRequest` The request object containing all of the parameters for the API call. |

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `https://docs.cloud.google.com/java/docs/reference/gax/latest/com.google.api.gax.longrunning.OperationFuture.html<https://docs.cloud.google.com/java/docs/reference/google-cloud-certificate-manager/latest/com.google.cloud.certificatemanager.v1.TrustConfig,https://docs.cloud.google.com/java/docs/reference/google-cloud-certificate-manager/latest/com.google.cloud.certificatemanager.v1.OperationMetadata>` |   |

### updateTrustConfigCallable()

    public final UnaryCallable<UpdateTrustConfigRequest,Operation> updateTrustConfigCallable()

Updates a TrustConfig.

Sample code:


     // This snippet has been automatically generated and should be regarded as a code template only.
     // It will require modifications to work:
     // - It may require correct/in-range values for request initialization.
     // - It may require specifying regional endpoints when creating the service client as shown in
     // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
     try (CertificateManagerClient certificateManagerClient = CertificateManagerClient.create()) {
       UpdateTrustConfigRequest request =
           UpdateTrustConfigRequest.newBuilder()
               .setTrustConfig(TrustConfig.newBuilder().build())
               .setUpdateMask(FieldMask.newBuilder().build())
               .build();
       ApiFuture<Operation> future =
           certificateManagerClient.updateTrustConfigCallable().futureCall(request);
       // Do something.
       Operation response = future.get();
     }
     
| **Returns** ||
|---|---|
| **Type** | **Description** |
| `https://docs.cloud.google.com/java/docs/reference/gax/latest/com.google.api.gax.rpc.UnaryCallable.html<https://docs.cloud.google.com/java/docs/reference/google-cloud-certificate-manager/latest/com.google.cloud.certificatemanager.v1.UpdateTrustConfigRequest,https://docs.cloud.google.com/java/docs/reference/gax/latest/com.google.longrunning.Operation.html>` |   |

### updateTrustConfigOperationCallable()

    public final OperationCallable<UpdateTrustConfigRequest,TrustConfig,OperationMetadata> updateTrustConfigOperationCallable()

Updates a TrustConfig.

Sample code:


     // This snippet has been automatically generated and should be regarded as a code template only.
     // It will require modifications to work:
     // - It may require correct/in-range values for request initialization.
     // - It may require specifying regional endpoints when creating the service client as shown in
     // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
     try (CertificateManagerClient certificateManagerClient = CertificateManagerClient.create()) {
       UpdateTrustConfigRequest request =
           UpdateTrustConfigRequest.newBuilder()
               .setTrustConfig(TrustConfig.newBuilder().build())
               .setUpdateMask(FieldMask.newBuilder().build())
               .build();
       OperationFuture<TrustConfig, OperationMetadata> future =
           certificateManagerClient.updateTrustConfigOperationCallable().futureCall(request);
       // Do something.
       TrustConfig response = future.get();
     }
     
| **Returns** ||
|---|---|
| **Type** | **Description** |
| `https://docs.cloud.google.com/java/docs/reference/gax/latest/com.google.api.gax.rpc.OperationCallable.html<https://docs.cloud.google.com/java/docs/reference/google-cloud-certificate-manager/latest/com.google.cloud.certificatemanager.v1.UpdateTrustConfigRequest,https://docs.cloud.google.com/java/docs/reference/google-cloud-certificate-manager/latest/com.google.cloud.certificatemanager.v1.TrustConfig,https://docs.cloud.google.com/java/docs/reference/google-cloud-certificate-manager/latest/com.google.cloud.certificatemanager.v1.OperationMetadata>` |   |