Skip to content

Commit

Permalink
feat: added support for Private Trust to Certificate Manager API (#110)
Browse files Browse the repository at this point in the history
- [ ] Regenerate this pull request now.

docs: See https://cloud.google.com/certificate-manager/docs/deploy-google-managed-cas

PiperOrigin-RevId: 478406005

Source-Link: https://togithub.com/googleapis/googleapis/commit/fe486dded299ab28f647f22add01474b906fc5c4

Source-Link: https://togithub.com/googleapis/googleapis-gen/commit/528c0bec65c435e700831e22065bd01229a21382
Copy-Tag: eyJwIjoiLmdpdGh1Yi8uT3dsQm90LnlhbWwiLCJoIjoiNTI4YzBiZWM2NWM0MzVlNzAwODMxZTIyMDY1YmQwMTIyOWEyMTM4MiJ9

chore(bazel): update protobuf to v3.21.7

PiperOrigin-RevId: 477955264

Source-Link: https://togithub.com/googleapis/googleapis/commit/a724450af76d0001f23602684c49cd6a4b3a5654

Source-Link: https://togithub.com/googleapis/googleapis-gen/commit/4abcbcaec855e74a0b22a4988cf9e0eb61a83094
Copy-Tag: eyJwIjoiLmdpdGh1Yi8uT3dsQm90LnlhbWwiLCJoIjoiNGFiY2JjYWVjODU1ZTc0YTBiMjJhNDk4OGNmOWUwZWI2MWE4MzA5NCJ9
  • Loading branch information
gcf-owl-bot[bot] authored Oct 3, 2022
1 parent f8c78c6 commit 4e601a7
Show file tree
Hide file tree
Showing 92 changed files with 19,686 additions and 4,750 deletions.
6 changes: 3 additions & 3 deletions java-certificate-manager/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -22,20 +22,20 @@ If you are using Maven, add this to your pom.xml file:
<dependency>
<groupId>com.google.cloud</groupId>
<artifactId>google-cloud-certificate-manager</artifactId>
<version>0.5.2</version>
<version>0.5.3</version>
</dependency>
```

If you are using Gradle without BOM, add this to your dependencies:

```Groovy
implementation 'com.google.cloud:google-cloud-certificate-manager:0.5.2'
implementation 'com.google.cloud:google-cloud-certificate-manager:0.5.3'
```

If you are using SBT, add this to your dependencies:

```Scala
libraryDependencies += "com.google.cloud" % "google-cloud-certificate-manager" % "0.5.2"
libraryDependencies += "com.google.cloud" % "google-cloud-certificate-manager" % "0.5.3"
```

## Authentication
Expand Down

Large diffs are not rendered by default.

Original file line number Diff line number Diff line change
Expand Up @@ -16,6 +16,7 @@

package com.google.cloud.certificatemanager.v1;

import static com.google.cloud.certificatemanager.v1.CertificateManagerClient.ListCertificateIssuanceConfigsPagedResponse;
import static com.google.cloud.certificatemanager.v1.CertificateManagerClient.ListCertificateMapEntriesPagedResponse;
import static com.google.cloud.certificatemanager.v1.CertificateManagerClient.ListCertificateMapsPagedResponse;
import static com.google.cloud.certificatemanager.v1.CertificateManagerClient.ListCertificatesPagedResponse;
Expand Down Expand Up @@ -294,6 +295,52 @@ public UnaryCallSettings<DeleteCertificateMapRequest, Operation> deleteCertifica
.deleteDnsAuthorizationOperationSettings();
}

/** Returns the object with the settings used for calls to listCertificateIssuanceConfigs. */
public PagedCallSettings<
ListCertificateIssuanceConfigsRequest,
ListCertificateIssuanceConfigsResponse,
ListCertificateIssuanceConfigsPagedResponse>
listCertificateIssuanceConfigsSettings() {
return ((CertificateManagerStubSettings) getStubSettings())
.listCertificateIssuanceConfigsSettings();
}

/** Returns the object with the settings used for calls to getCertificateIssuanceConfig. */
public UnaryCallSettings<GetCertificateIssuanceConfigRequest, CertificateIssuanceConfig>
getCertificateIssuanceConfigSettings() {
return ((CertificateManagerStubSettings) getStubSettings())
.getCertificateIssuanceConfigSettings();
}

/** Returns the object with the settings used for calls to createCertificateIssuanceConfig. */
public UnaryCallSettings<CreateCertificateIssuanceConfigRequest, Operation>
createCertificateIssuanceConfigSettings() {
return ((CertificateManagerStubSettings) getStubSettings())
.createCertificateIssuanceConfigSettings();
}

/** Returns the object with the settings used for calls to createCertificateIssuanceConfig. */
public OperationCallSettings<
CreateCertificateIssuanceConfigRequest, CertificateIssuanceConfig, OperationMetadata>
createCertificateIssuanceConfigOperationSettings() {
return ((CertificateManagerStubSettings) getStubSettings())
.createCertificateIssuanceConfigOperationSettings();
}

/** Returns the object with the settings used for calls to deleteCertificateIssuanceConfig. */
public UnaryCallSettings<DeleteCertificateIssuanceConfigRequest, Operation>
deleteCertificateIssuanceConfigSettings() {
return ((CertificateManagerStubSettings) getStubSettings())
.deleteCertificateIssuanceConfigSettings();
}

/** Returns the object with the settings used for calls to deleteCertificateIssuanceConfig. */
public OperationCallSettings<DeleteCertificateIssuanceConfigRequest, Empty, OperationMetadata>
deleteCertificateIssuanceConfigOperationSettings() {
return ((CertificateManagerStubSettings) getStubSettings())
.deleteCertificateIssuanceConfigOperationSettings();
}

/** Returns the object with the settings used for calls to listLocations. */
public PagedCallSettings<ListLocationsRequest, ListLocationsResponse, ListLocationsPagedResponse>
listLocationsSettings() {
Expand Down Expand Up @@ -627,6 +674,47 @@ public UnaryCallSettings.Builder<GetCertificateRequest, Certificate> getCertific
return getStubSettingsBuilder().deleteDnsAuthorizationOperationSettings();
}

/** Returns the builder for the settings used for calls to listCertificateIssuanceConfigs. */
public PagedCallSettings.Builder<
ListCertificateIssuanceConfigsRequest,
ListCertificateIssuanceConfigsResponse,
ListCertificateIssuanceConfigsPagedResponse>
listCertificateIssuanceConfigsSettings() {
return getStubSettingsBuilder().listCertificateIssuanceConfigsSettings();
}

/** Returns the builder for the settings used for calls to getCertificateIssuanceConfig. */
public UnaryCallSettings.Builder<GetCertificateIssuanceConfigRequest, CertificateIssuanceConfig>
getCertificateIssuanceConfigSettings() {
return getStubSettingsBuilder().getCertificateIssuanceConfigSettings();
}

/** Returns the builder for the settings used for calls to createCertificateIssuanceConfig. */
public UnaryCallSettings.Builder<CreateCertificateIssuanceConfigRequest, Operation>
createCertificateIssuanceConfigSettings() {
return getStubSettingsBuilder().createCertificateIssuanceConfigSettings();
}

/** Returns the builder for the settings used for calls to createCertificateIssuanceConfig. */
public OperationCallSettings.Builder<
CreateCertificateIssuanceConfigRequest, CertificateIssuanceConfig, OperationMetadata>
createCertificateIssuanceConfigOperationSettings() {
return getStubSettingsBuilder().createCertificateIssuanceConfigOperationSettings();
}

/** Returns the builder for the settings used for calls to deleteCertificateIssuanceConfig. */
public UnaryCallSettings.Builder<DeleteCertificateIssuanceConfigRequest, Operation>
deleteCertificateIssuanceConfigSettings() {
return getStubSettingsBuilder().deleteCertificateIssuanceConfigSettings();
}

/** Returns the builder for the settings used for calls to deleteCertificateIssuanceConfig. */
public OperationCallSettings.Builder<
DeleteCertificateIssuanceConfigRequest, Empty, OperationMetadata>
deleteCertificateIssuanceConfigOperationSettings() {
return getStubSettingsBuilder().deleteCertificateIssuanceConfigOperationSettings();
}

/** Returns the builder for the settings used for calls to listLocations. */
public PagedCallSettings.Builder<
ListLocationsRequest, ListLocationsResponse, ListLocationsPagedResponse>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,9 @@
"CreateCertificate": {
"methods": ["createCertificateAsync", "createCertificateAsync", "createCertificateAsync", "createCertificateOperationCallable", "createCertificateCallable"]
},
"CreateCertificateIssuanceConfig": {
"methods": ["createCertificateIssuanceConfigAsync", "createCertificateIssuanceConfigAsync", "createCertificateIssuanceConfigAsync", "createCertificateIssuanceConfigOperationCallable", "createCertificateIssuanceConfigCallable"]
},
"CreateCertificateMap": {
"methods": ["createCertificateMapAsync", "createCertificateMapAsync", "createCertificateMapAsync", "createCertificateMapOperationCallable", "createCertificateMapCallable"]
},
Expand All @@ -25,6 +28,9 @@
"DeleteCertificate": {
"methods": ["deleteCertificateAsync", "deleteCertificateAsync", "deleteCertificateAsync", "deleteCertificateOperationCallable", "deleteCertificateCallable"]
},
"DeleteCertificateIssuanceConfig": {
"methods": ["deleteCertificateIssuanceConfigAsync", "deleteCertificateIssuanceConfigAsync", "deleteCertificateIssuanceConfigAsync", "deleteCertificateIssuanceConfigOperationCallable", "deleteCertificateIssuanceConfigCallable"]
},
"DeleteCertificateMap": {
"methods": ["deleteCertificateMapAsync", "deleteCertificateMapAsync", "deleteCertificateMapAsync", "deleteCertificateMapOperationCallable", "deleteCertificateMapCallable"]
},
Expand All @@ -37,6 +43,9 @@
"GetCertificate": {
"methods": ["getCertificate", "getCertificate", "getCertificate", "getCertificateCallable"]
},
"GetCertificateIssuanceConfig": {
"methods": ["getCertificateIssuanceConfig", "getCertificateIssuanceConfig", "getCertificateIssuanceConfig", "getCertificateIssuanceConfigCallable"]
},
"GetCertificateMap": {
"methods": ["getCertificateMap", "getCertificateMap", "getCertificateMap", "getCertificateMapCallable"]
},
Expand All @@ -49,6 +58,9 @@
"GetLocation": {
"methods": ["getLocation", "getLocationCallable"]
},
"ListCertificateIssuanceConfigs": {
"methods": ["listCertificateIssuanceConfigs", "listCertificateIssuanceConfigs", "listCertificateIssuanceConfigs", "listCertificateIssuanceConfigsPagedCallable", "listCertificateIssuanceConfigsCallable"]
},
"ListCertificateMapEntries": {
"methods": ["listCertificateMapEntries", "listCertificateMapEntries", "listCertificateMapEntries", "listCertificateMapEntriesPagedCallable", "listCertificateMapEntriesCallable"]
},
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -16,6 +16,7 @@

package com.google.cloud.certificatemanager.v1.stub;

import static com.google.cloud.certificatemanager.v1.CertificateManagerClient.ListCertificateIssuanceConfigsPagedResponse;
import static com.google.cloud.certificatemanager.v1.CertificateManagerClient.ListCertificateMapEntriesPagedResponse;
import static com.google.cloud.certificatemanager.v1.CertificateManagerClient.ListCertificateMapsPagedResponse;
import static com.google.cloud.certificatemanager.v1.CertificateManagerClient.ListCertificatesPagedResponse;
Expand All @@ -26,21 +27,27 @@
import com.google.api.gax.rpc.OperationCallable;
import com.google.api.gax.rpc.UnaryCallable;
import com.google.cloud.certificatemanager.v1.Certificate;
import com.google.cloud.certificatemanager.v1.CertificateIssuanceConfig;
import com.google.cloud.certificatemanager.v1.CertificateMap;
import com.google.cloud.certificatemanager.v1.CertificateMapEntry;
import com.google.cloud.certificatemanager.v1.CreateCertificateIssuanceConfigRequest;
import com.google.cloud.certificatemanager.v1.CreateCertificateMapEntryRequest;
import com.google.cloud.certificatemanager.v1.CreateCertificateMapRequest;
import com.google.cloud.certificatemanager.v1.CreateCertificateRequest;
import com.google.cloud.certificatemanager.v1.CreateDnsAuthorizationRequest;
import com.google.cloud.certificatemanager.v1.DeleteCertificateIssuanceConfigRequest;
import com.google.cloud.certificatemanager.v1.DeleteCertificateMapEntryRequest;
import com.google.cloud.certificatemanager.v1.DeleteCertificateMapRequest;
import com.google.cloud.certificatemanager.v1.DeleteCertificateRequest;
import com.google.cloud.certificatemanager.v1.DeleteDnsAuthorizationRequest;
import com.google.cloud.certificatemanager.v1.DnsAuthorization;
import com.google.cloud.certificatemanager.v1.GetCertificateIssuanceConfigRequest;
import com.google.cloud.certificatemanager.v1.GetCertificateMapEntryRequest;
import com.google.cloud.certificatemanager.v1.GetCertificateMapRequest;
import com.google.cloud.certificatemanager.v1.GetCertificateRequest;
import com.google.cloud.certificatemanager.v1.GetDnsAuthorizationRequest;
import com.google.cloud.certificatemanager.v1.ListCertificateIssuanceConfigsRequest;
import com.google.cloud.certificatemanager.v1.ListCertificateIssuanceConfigsResponse;
import com.google.cloud.certificatemanager.v1.ListCertificateMapEntriesRequest;
import com.google.cloud.certificatemanager.v1.ListCertificateMapEntriesResponse;
import com.google.cloud.certificatemanager.v1.ListCertificateMapsRequest;
Expand Down Expand Up @@ -262,6 +269,51 @@ public UnaryCallable<DeleteDnsAuthorizationRequest, Operation> deleteDnsAuthoriz
throw new UnsupportedOperationException("Not implemented: deleteDnsAuthorizationCallable()");
}

public UnaryCallable<
ListCertificateIssuanceConfigsRequest, ListCertificateIssuanceConfigsPagedResponse>
listCertificateIssuanceConfigsPagedCallable() {
throw new UnsupportedOperationException(
"Not implemented: listCertificateIssuanceConfigsPagedCallable()");
}

public UnaryCallable<
ListCertificateIssuanceConfigsRequest, ListCertificateIssuanceConfigsResponse>
listCertificateIssuanceConfigsCallable() {
throw new UnsupportedOperationException(
"Not implemented: listCertificateIssuanceConfigsCallable()");
}

public UnaryCallable<GetCertificateIssuanceConfigRequest, CertificateIssuanceConfig>
getCertificateIssuanceConfigCallable() {
throw new UnsupportedOperationException(
"Not implemented: getCertificateIssuanceConfigCallable()");
}

public OperationCallable<
CreateCertificateIssuanceConfigRequest, CertificateIssuanceConfig, OperationMetadata>
createCertificateIssuanceConfigOperationCallable() {
throw new UnsupportedOperationException(
"Not implemented: createCertificateIssuanceConfigOperationCallable()");
}

public UnaryCallable<CreateCertificateIssuanceConfigRequest, Operation>
createCertificateIssuanceConfigCallable() {
throw new UnsupportedOperationException(
"Not implemented: createCertificateIssuanceConfigCallable()");
}

public OperationCallable<DeleteCertificateIssuanceConfigRequest, Empty, OperationMetadata>
deleteCertificateIssuanceConfigOperationCallable() {
throw new UnsupportedOperationException(
"Not implemented: deleteCertificateIssuanceConfigOperationCallable()");
}

public UnaryCallable<DeleteCertificateIssuanceConfigRequest, Operation>
deleteCertificateIssuanceConfigCallable() {
throw new UnsupportedOperationException(
"Not implemented: deleteCertificateIssuanceConfigCallable()");
}

public UnaryCallable<ListLocationsRequest, ListLocationsPagedResponse>
listLocationsPagedCallable() {
throw new UnsupportedOperationException("Not implemented: listLocationsPagedCallable()");
Expand Down
Loading

0 comments on commit 4e601a7

Please sign in to comment.