diff --git a/google-cloud-security-private-ca/src/main/java/com/google/cloud/security/privateca/v1/CertificateAuthorityServiceClient.java b/google-cloud-security-private-ca/src/main/java/com/google/cloud/security/privateca/v1/CertificateAuthorityServiceClient.java index c03eba1f..b4a495e8 100644 --- a/google-cloud-security-private-ca/src/main/java/com/google/cloud/security/privateca/v1/CertificateAuthorityServiceClient.java +++ b/google-cloud-security-private-ca/src/main/java/com/google/cloud/security/privateca/v1/CertificateAuthorityServiceClient.java @@ -18,6 +18,7 @@ import com.google.api.core.ApiFuture; import com.google.api.core.ApiFutures; +import com.google.api.core.BetaApi; import com.google.api.gax.core.BackgroundResource; import com.google.api.gax.httpjson.longrunning.OperationsClient; import com.google.api.gax.longrunning.OperationFuture; @@ -211,6 +212,7 @@ public final com.google.longrunning.OperationsClient getOperationsClient() { * Returns the OperationsClient that can be used to query the status of a long-running operation * returned by another API method call. */ + @BetaApi public final OperationsClient getHttpJsonOperationsClient() { return httpJsonOperationsClient; } diff --git a/google-cloud-security-private-ca/src/main/java/com/google/cloud/security/privateca/v1beta1/CertificateAuthorityServiceClient.java b/google-cloud-security-private-ca/src/main/java/com/google/cloud/security/privateca/v1beta1/CertificateAuthorityServiceClient.java index 59c72359..fd53b3c0 100644 --- a/google-cloud-security-private-ca/src/main/java/com/google/cloud/security/privateca/v1beta1/CertificateAuthorityServiceClient.java +++ b/google-cloud-security-private-ca/src/main/java/com/google/cloud/security/privateca/v1beta1/CertificateAuthorityServiceClient.java @@ -204,6 +204,7 @@ public final com.google.longrunning.OperationsClient getOperationsClient() { * Returns the OperationsClient that can be used to query the status of a long-running operation * returned by another API method call. */ + @BetaApi public final OperationsClient getHttpJsonOperationsClient() { return httpJsonOperationsClient; } diff --git a/google-cloud-security-private-ca/src/test/java/com/google/cloud/security/privateca/v1/CertificateAuthorityServiceClientTest.java b/google-cloud-security-private-ca/src/test/java/com/google/cloud/security/privateca/v1/CertificateAuthorityServiceClientTest.java index 88939bdb..d2202f87 100644 --- a/google-cloud-security-private-ca/src/test/java/com/google/cloud/security/privateca/v1/CertificateAuthorityServiceClientTest.java +++ b/google-cloud-security-private-ca/src/test/java/com/google/cloud/security/privateca/v1/CertificateAuthorityServiceClientTest.java @@ -35,13 +35,11 @@ import com.google.cloud.location.ListLocationsRequest; import com.google.cloud.location.ListLocationsResponse; import com.google.cloud.location.Location; -import com.google.cloud.location.MockLocations; import com.google.common.collect.Lists; import com.google.iam.v1.AuditConfig; import com.google.iam.v1.Binding; import com.google.iam.v1.GetIamPolicyRequest; import com.google.iam.v1.GetPolicyOptions; -import com.google.iam.v1.MockIAMPolicy; import com.google.iam.v1.Policy; import com.google.iam.v1.SetIamPolicyRequest; import com.google.iam.v1.TestIamPermissionsRequest; diff --git a/google-cloud-security-private-ca/src/test/java/com/google/iam/v1/MockIAMPolicy.java b/google-cloud-security-private-ca/src/test/java/com/google/cloud/security/privateca/v1/MockIAMPolicy.java similarity index 97% rename from google-cloud-security-private-ca/src/test/java/com/google/iam/v1/MockIAMPolicy.java rename to google-cloud-security-private-ca/src/test/java/com/google/cloud/security/privateca/v1/MockIAMPolicy.java index 3d785982..3f050945 100644 --- a/google-cloud-security-private-ca/src/test/java/com/google/iam/v1/MockIAMPolicy.java +++ b/google-cloud-security-private-ca/src/test/java/com/google/cloud/security/privateca/v1/MockIAMPolicy.java @@ -14,7 +14,7 @@ * limitations under the License. */ -package com.google.iam.v1; +package com.google.cloud.security.privateca.v1; import com.google.api.core.BetaApi; import com.google.api.gax.grpc.testing.MockGrpcService; diff --git a/google-cloud-security-private-ca/src/test/java/com/google/iam/v1/MockIAMPolicyImpl.java b/google-cloud-security-private-ca/src/test/java/com/google/cloud/security/privateca/v1/MockIAMPolicyImpl.java similarity index 93% rename from google-cloud-security-private-ca/src/test/java/com/google/iam/v1/MockIAMPolicyImpl.java rename to google-cloud-security-private-ca/src/test/java/com/google/cloud/security/privateca/v1/MockIAMPolicyImpl.java index 4c1f9e24..5423d654 100644 --- a/google-cloud-security-private-ca/src/test/java/com/google/iam/v1/MockIAMPolicyImpl.java +++ b/google-cloud-security-private-ca/src/test/java/com/google/cloud/security/privateca/v1/MockIAMPolicyImpl.java @@ -14,10 +14,15 @@ * limitations under the License. */ -package com.google.iam.v1; +package com.google.cloud.security.privateca.v1; import com.google.api.core.BetaApi; +import com.google.iam.v1.GetIamPolicyRequest; import com.google.iam.v1.IAMPolicyGrpc.IAMPolicyImplBase; +import com.google.iam.v1.Policy; +import com.google.iam.v1.SetIamPolicyRequest; +import com.google.iam.v1.TestIamPermissionsRequest; +import com.google.iam.v1.TestIamPermissionsResponse; import com.google.protobuf.AbstractMessage; import io.grpc.stub.StreamObserver; import java.util.ArrayList; diff --git a/google-cloud-security-private-ca/src/test/java/com/google/cloud/location/MockLocations.java b/google-cloud-security-private-ca/src/test/java/com/google/cloud/security/privateca/v1/MockLocations.java similarity index 97% rename from google-cloud-security-private-ca/src/test/java/com/google/cloud/location/MockLocations.java rename to google-cloud-security-private-ca/src/test/java/com/google/cloud/security/privateca/v1/MockLocations.java index 8ce43edf..957d4929 100644 --- a/google-cloud-security-private-ca/src/test/java/com/google/cloud/location/MockLocations.java +++ b/google-cloud-security-private-ca/src/test/java/com/google/cloud/security/privateca/v1/MockLocations.java @@ -14,7 +14,7 @@ * limitations under the License. */ -package com.google.cloud.location; +package com.google.cloud.security.privateca.v1; import com.google.api.core.BetaApi; import com.google.api.gax.grpc.testing.MockGrpcService; diff --git a/google-cloud-security-private-ca/src/test/java/com/google/cloud/location/MockLocationsImpl.java b/google-cloud-security-private-ca/src/test/java/com/google/cloud/security/privateca/v1/MockLocationsImpl.java similarity index 92% rename from google-cloud-security-private-ca/src/test/java/com/google/cloud/location/MockLocationsImpl.java rename to google-cloud-security-private-ca/src/test/java/com/google/cloud/security/privateca/v1/MockLocationsImpl.java index d6b51f13..bed0a9b0 100644 --- a/google-cloud-security-private-ca/src/test/java/com/google/cloud/location/MockLocationsImpl.java +++ b/google-cloud-security-private-ca/src/test/java/com/google/cloud/security/privateca/v1/MockLocationsImpl.java @@ -14,9 +14,13 @@ * limitations under the License. */ -package com.google.cloud.location; +package com.google.cloud.security.privateca.v1; import com.google.api.core.BetaApi; +import com.google.cloud.location.GetLocationRequest; +import com.google.cloud.location.ListLocationsRequest; +import com.google.cloud.location.ListLocationsResponse; +import com.google.cloud.location.Location; import com.google.cloud.location.LocationsGrpc.LocationsImplBase; import com.google.protobuf.AbstractMessage; import io.grpc.stub.StreamObserver; diff --git a/samples/snippets/generated/com/google/cloud/security/privateca/v1/certificateauthorityserviceclient/activatecertificateauthority/AsyncActivateCertificateAuthority.java b/samples/snippets/generated/com/google/cloud/security/privateca/v1/certificateauthorityserviceclient/activatecertificateauthority/AsyncActivateCertificateAuthority.java index c3029ae4..b8736aea 100644 --- a/samples/snippets/generated/com/google/cloud/security/privateca/v1/certificateauthorityserviceclient/activatecertificateauthority/AsyncActivateCertificateAuthority.java +++ b/samples/snippets/generated/com/google/cloud/security/privateca/v1/certificateauthorityserviceclient/activatecertificateauthority/AsyncActivateCertificateAuthority.java @@ -16,8 +16,7 @@ package com.google.cloud.security.privateca.v1.samples; -// [START -// privateca_v1_generated_certificateauthorityserviceclient_activatecertificateauthority_async] +// [START privateca_v1_generated_certificateauthorityserviceclient_activatecertificateauthority_async] import com.google.api.core.ApiFuture; import com.google.cloud.security.privateca.v1.ActivateCertificateAuthorityRequest; import com.google.cloud.security.privateca.v1.CertificateAuthorityName; diff --git a/samples/snippets/generated/com/google/cloud/security/privateca/v1/certificateauthorityserviceclient/activatecertificateauthority/AsyncActivateCertificateAuthorityLRO.java b/samples/snippets/generated/com/google/cloud/security/privateca/v1/certificateauthorityserviceclient/activatecertificateauthority/AsyncActivateCertificateAuthorityLRO.java index 4399dbb2..f14b28c3 100644 --- a/samples/snippets/generated/com/google/cloud/security/privateca/v1/certificateauthorityserviceclient/activatecertificateauthority/AsyncActivateCertificateAuthorityLRO.java +++ b/samples/snippets/generated/com/google/cloud/security/privateca/v1/certificateauthorityserviceclient/activatecertificateauthority/AsyncActivateCertificateAuthorityLRO.java @@ -16,8 +16,7 @@ package com.google.cloud.security.privateca.v1.samples; -// [START -// privateca_v1_generated_certificateauthorityserviceclient_activatecertificateauthority_lro_async] +// [START privateca_v1_generated_certificateauthorityserviceclient_activatecertificateauthority_lro_async] import com.google.api.gax.longrunning.OperationFuture; import com.google.cloud.security.privateca.v1.ActivateCertificateAuthorityRequest; import com.google.cloud.security.privateca.v1.CertificateAuthority; @@ -56,5 +55,4 @@ public static void asyncActivateCertificateAuthorityLRO() throws Exception { } } } -// [END -// privateca_v1_generated_certificateauthorityserviceclient_activatecertificateauthority_lro_async] +// [END privateca_v1_generated_certificateauthorityserviceclient_activatecertificateauthority_lro_async] diff --git a/samples/snippets/generated/com/google/cloud/security/privateca/v1/certificateauthorityserviceclient/activatecertificateauthority/SyncActivateCertificateAuthority.java b/samples/snippets/generated/com/google/cloud/security/privateca/v1/certificateauthorityserviceclient/activatecertificateauthority/SyncActivateCertificateAuthority.java index d379d219..b3c4856b 100644 --- a/samples/snippets/generated/com/google/cloud/security/privateca/v1/certificateauthorityserviceclient/activatecertificateauthority/SyncActivateCertificateAuthority.java +++ b/samples/snippets/generated/com/google/cloud/security/privateca/v1/certificateauthorityserviceclient/activatecertificateauthority/SyncActivateCertificateAuthority.java @@ -16,8 +16,7 @@ package com.google.cloud.security.privateca.v1.samples; -// [START -// privateca_v1_generated_certificateauthorityserviceclient_activatecertificateauthority_sync] +// [START privateca_v1_generated_certificateauthorityserviceclient_activatecertificateauthority_sync] import com.google.cloud.security.privateca.v1.ActivateCertificateAuthorityRequest; import com.google.cloud.security.privateca.v1.CertificateAuthority; import com.google.cloud.security.privateca.v1.CertificateAuthorityName; diff --git a/samples/snippets/generated/com/google/cloud/security/privateca/v1/certificateauthorityserviceclient/activatecertificateauthority/SyncActivateCertificateAuthorityCertificateauthorityname.java b/samples/snippets/generated/com/google/cloud/security/privateca/v1/certificateauthorityserviceclient/activatecertificateauthority/SyncActivateCertificateAuthorityCertificateauthorityname.java index 328acce4..061a1330 100644 --- a/samples/snippets/generated/com/google/cloud/security/privateca/v1/certificateauthorityserviceclient/activatecertificateauthority/SyncActivateCertificateAuthorityCertificateauthorityname.java +++ b/samples/snippets/generated/com/google/cloud/security/privateca/v1/certificateauthorityserviceclient/activatecertificateauthority/SyncActivateCertificateAuthorityCertificateauthorityname.java @@ -16,8 +16,7 @@ package com.google.cloud.security.privateca.v1.samples; -// [START -// privateca_v1_generated_certificateauthorityserviceclient_activatecertificateauthority_certificateauthorityname_sync] +// [START privateca_v1_generated_certificateauthorityserviceclient_activatecertificateauthority_certificateauthorityname_sync] import com.google.cloud.security.privateca.v1.CertificateAuthority; import com.google.cloud.security.privateca.v1.CertificateAuthorityName; import com.google.cloud.security.privateca.v1.CertificateAuthorityServiceClient; @@ -41,5 +40,4 @@ public static void syncActivateCertificateAuthorityCertificateauthorityname() th } } } -// [END -// privateca_v1_generated_certificateauthorityserviceclient_activatecertificateauthority_certificateauthorityname_sync] +// [END privateca_v1_generated_certificateauthorityserviceclient_activatecertificateauthority_certificateauthorityname_sync] diff --git a/samples/snippets/generated/com/google/cloud/security/privateca/v1/certificateauthorityserviceclient/activatecertificateauthority/SyncActivateCertificateAuthorityString.java b/samples/snippets/generated/com/google/cloud/security/privateca/v1/certificateauthorityserviceclient/activatecertificateauthority/SyncActivateCertificateAuthorityString.java index 7536c82b..c1a97943 100644 --- a/samples/snippets/generated/com/google/cloud/security/privateca/v1/certificateauthorityserviceclient/activatecertificateauthority/SyncActivateCertificateAuthorityString.java +++ b/samples/snippets/generated/com/google/cloud/security/privateca/v1/certificateauthorityserviceclient/activatecertificateauthority/SyncActivateCertificateAuthorityString.java @@ -16,8 +16,7 @@ package com.google.cloud.security.privateca.v1.samples; -// [START -// privateca_v1_generated_certificateauthorityserviceclient_activatecertificateauthority_string_sync] +// [START privateca_v1_generated_certificateauthorityserviceclient_activatecertificateauthority_string_sync] import com.google.cloud.security.privateca.v1.CertificateAuthority; import com.google.cloud.security.privateca.v1.CertificateAuthorityName; import com.google.cloud.security.privateca.v1.CertificateAuthorityServiceClient; @@ -42,5 +41,4 @@ public static void syncActivateCertificateAuthorityString() throws Exception { } } } -// [END -// privateca_v1_generated_certificateauthorityserviceclient_activatecertificateauthority_string_sync] +// [END privateca_v1_generated_certificateauthorityserviceclient_activatecertificateauthority_string_sync] diff --git a/samples/snippets/generated/com/google/cloud/security/privateca/v1/certificateauthorityserviceclient/create/SyncCreateSetCredentialsProvider.java b/samples/snippets/generated/com/google/cloud/security/privateca/v1/certificateauthorityserviceclient/create/SyncCreateSetCredentialsProvider.java index a008a5f9..9a2a8eef 100644 --- a/samples/snippets/generated/com/google/cloud/security/privateca/v1/certificateauthorityserviceclient/create/SyncCreateSetCredentialsProvider.java +++ b/samples/snippets/generated/com/google/cloud/security/privateca/v1/certificateauthorityserviceclient/create/SyncCreateSetCredentialsProvider.java @@ -16,8 +16,7 @@ package com.google.cloud.security.privateca.v1.samples; -// [START -// privateca_v1_generated_certificateauthorityserviceclient_create_setcredentialsprovider_sync] +// [START privateca_v1_generated_certificateauthorityserviceclient_create_setcredentialsprovider_sync] import com.google.api.gax.core.FixedCredentialsProvider; import com.google.cloud.security.privateca.v1.CertificateAuthorityServiceClient; import com.google.cloud.security.privateca.v1.CertificateAuthorityServiceSettings; diff --git a/samples/snippets/generated/com/google/cloud/security/privateca/v1/certificateauthorityserviceclient/create/SyncCreateSetCredentialsProvider1.java b/samples/snippets/generated/com/google/cloud/security/privateca/v1/certificateauthorityserviceclient/create/SyncCreateSetCredentialsProvider1.java index f4813f89..7b33cb52 100644 --- a/samples/snippets/generated/com/google/cloud/security/privateca/v1/certificateauthorityserviceclient/create/SyncCreateSetCredentialsProvider1.java +++ b/samples/snippets/generated/com/google/cloud/security/privateca/v1/certificateauthorityserviceclient/create/SyncCreateSetCredentialsProvider1.java @@ -16,8 +16,7 @@ package com.google.cloud.security.privateca.v1.samples; -// [START -// privateca_v1_generated_certificateauthorityserviceclient_create_setcredentialsprovider1_sync] +// [START privateca_v1_generated_certificateauthorityserviceclient_create_setcredentialsprovider1_sync] import com.google.cloud.security.privateca.v1.CertificateAuthorityServiceClient; import com.google.cloud.security.privateca.v1.CertificateAuthorityServiceSettings; @@ -40,5 +39,4 @@ public static void syncCreateSetCredentialsProvider1() throws Exception { CertificateAuthorityServiceClient.create(certificateAuthorityServiceSettings); } } -// [END -// privateca_v1_generated_certificateauthorityserviceclient_create_setcredentialsprovider1_sync] +// [END privateca_v1_generated_certificateauthorityserviceclient_create_setcredentialsprovider1_sync] diff --git a/samples/snippets/generated/com/google/cloud/security/privateca/v1/certificateauthorityserviceclient/createcapool/SyncCreateCaPoolLocationnameCapoolString.java b/samples/snippets/generated/com/google/cloud/security/privateca/v1/certificateauthorityserviceclient/createcapool/SyncCreateCaPoolLocationnameCapoolString.java index 7dce811c..a34bd29c 100644 --- a/samples/snippets/generated/com/google/cloud/security/privateca/v1/certificateauthorityserviceclient/createcapool/SyncCreateCaPoolLocationnameCapoolString.java +++ b/samples/snippets/generated/com/google/cloud/security/privateca/v1/certificateauthorityserviceclient/createcapool/SyncCreateCaPoolLocationnameCapoolString.java @@ -16,8 +16,7 @@ package com.google.cloud.security.privateca.v1.samples; -// [START -// privateca_v1_generated_certificateauthorityserviceclient_createcapool_locationnamecapoolstring_sync] +// [START privateca_v1_generated_certificateauthorityserviceclient_createcapool_locationnamecapoolstring_sync] import com.google.cloud.security.privateca.v1.CaPool; import com.google.cloud.security.privateca.v1.CertificateAuthorityServiceClient; import com.google.cloud.security.privateca.v1.LocationName; @@ -41,5 +40,4 @@ public static void syncCreateCaPoolLocationnameCapoolString() throws Exception { } } } -// [END -// privateca_v1_generated_certificateauthorityserviceclient_createcapool_locationnamecapoolstring_sync] +// [END privateca_v1_generated_certificateauthorityserviceclient_createcapool_locationnamecapoolstring_sync] diff --git a/samples/snippets/generated/com/google/cloud/security/privateca/v1/certificateauthorityserviceclient/createcapool/SyncCreateCaPoolStringCapoolString.java b/samples/snippets/generated/com/google/cloud/security/privateca/v1/certificateauthorityserviceclient/createcapool/SyncCreateCaPoolStringCapoolString.java index ecc4ab39..3df4df4d 100644 --- a/samples/snippets/generated/com/google/cloud/security/privateca/v1/certificateauthorityserviceclient/createcapool/SyncCreateCaPoolStringCapoolString.java +++ b/samples/snippets/generated/com/google/cloud/security/privateca/v1/certificateauthorityserviceclient/createcapool/SyncCreateCaPoolStringCapoolString.java @@ -16,8 +16,7 @@ package com.google.cloud.security.privateca.v1.samples; -// [START -// privateca_v1_generated_certificateauthorityserviceclient_createcapool_stringcapoolstring_sync] +// [START privateca_v1_generated_certificateauthorityserviceclient_createcapool_stringcapoolstring_sync] import com.google.cloud.security.privateca.v1.CaPool; import com.google.cloud.security.privateca.v1.CertificateAuthorityServiceClient; import com.google.cloud.security.privateca.v1.LocationName; @@ -41,5 +40,4 @@ public static void syncCreateCaPoolStringCapoolString() throws Exception { } } } -// [END -// privateca_v1_generated_certificateauthorityserviceclient_createcapool_stringcapoolstring_sync] +// [END privateca_v1_generated_certificateauthorityserviceclient_createcapool_stringcapoolstring_sync] diff --git a/samples/snippets/generated/com/google/cloud/security/privateca/v1/certificateauthorityserviceclient/createcertificate/SyncCreateCertificateCapoolnameCertificateString.java b/samples/snippets/generated/com/google/cloud/security/privateca/v1/certificateauthorityserviceclient/createcertificate/SyncCreateCertificateCapoolnameCertificateString.java index 7f54aefd..7a0cd3a2 100644 --- a/samples/snippets/generated/com/google/cloud/security/privateca/v1/certificateauthorityserviceclient/createcertificate/SyncCreateCertificateCapoolnameCertificateString.java +++ b/samples/snippets/generated/com/google/cloud/security/privateca/v1/certificateauthorityserviceclient/createcertificate/SyncCreateCertificateCapoolnameCertificateString.java @@ -16,8 +16,7 @@ package com.google.cloud.security.privateca.v1.samples; -// [START -// privateca_v1_generated_certificateauthorityserviceclient_createcertificate_capoolnamecertificatestring_sync] +// [START privateca_v1_generated_certificateauthorityserviceclient_createcertificate_capoolnamecertificatestring_sync] import com.google.cloud.security.privateca.v1.CaPoolName; import com.google.cloud.security.privateca.v1.Certificate; import com.google.cloud.security.privateca.v1.CertificateAuthorityServiceClient; @@ -41,5 +40,4 @@ public static void syncCreateCertificateCapoolnameCertificateString() throws Exc } } } -// [END -// privateca_v1_generated_certificateauthorityserviceclient_createcertificate_capoolnamecertificatestring_sync] +// [END privateca_v1_generated_certificateauthorityserviceclient_createcertificate_capoolnamecertificatestring_sync] diff --git a/samples/snippets/generated/com/google/cloud/security/privateca/v1/certificateauthorityserviceclient/createcertificate/SyncCreateCertificateStringCertificateString.java b/samples/snippets/generated/com/google/cloud/security/privateca/v1/certificateauthorityserviceclient/createcertificate/SyncCreateCertificateStringCertificateString.java index ae1d4fd7..b31a5c7c 100644 --- a/samples/snippets/generated/com/google/cloud/security/privateca/v1/certificateauthorityserviceclient/createcertificate/SyncCreateCertificateStringCertificateString.java +++ b/samples/snippets/generated/com/google/cloud/security/privateca/v1/certificateauthorityserviceclient/createcertificate/SyncCreateCertificateStringCertificateString.java @@ -16,8 +16,7 @@ package com.google.cloud.security.privateca.v1.samples; -// [START -// privateca_v1_generated_certificateauthorityserviceclient_createcertificate_stringcertificatestring_sync] +// [START privateca_v1_generated_certificateauthorityserviceclient_createcertificate_stringcertificatestring_sync] import com.google.cloud.security.privateca.v1.CaPoolName; import com.google.cloud.security.privateca.v1.Certificate; import com.google.cloud.security.privateca.v1.CertificateAuthorityServiceClient; @@ -41,5 +40,4 @@ public static void syncCreateCertificateStringCertificateString() throws Excepti } } } -// [END -// privateca_v1_generated_certificateauthorityserviceclient_createcertificate_stringcertificatestring_sync] +// [END privateca_v1_generated_certificateauthorityserviceclient_createcertificate_stringcertificatestring_sync] diff --git a/samples/snippets/generated/com/google/cloud/security/privateca/v1/certificateauthorityserviceclient/createcertificateauthority/AsyncCreateCertificateAuthorityLRO.java b/samples/snippets/generated/com/google/cloud/security/privateca/v1/certificateauthorityserviceclient/createcertificateauthority/AsyncCreateCertificateAuthorityLRO.java index 1cc6b5c5..ec63f520 100644 --- a/samples/snippets/generated/com/google/cloud/security/privateca/v1/certificateauthorityserviceclient/createcertificateauthority/AsyncCreateCertificateAuthorityLRO.java +++ b/samples/snippets/generated/com/google/cloud/security/privateca/v1/certificateauthorityserviceclient/createcertificateauthority/AsyncCreateCertificateAuthorityLRO.java @@ -16,8 +16,7 @@ package com.google.cloud.security.privateca.v1.samples; -// [START -// privateca_v1_generated_certificateauthorityserviceclient_createcertificateauthority_lro_async] +// [START privateca_v1_generated_certificateauthorityserviceclient_createcertificateauthority_lro_async] import com.google.api.gax.longrunning.OperationFuture; import com.google.cloud.security.privateca.v1.CaPoolName; import com.google.cloud.security.privateca.v1.CertificateAuthority; @@ -52,5 +51,4 @@ public static void asyncCreateCertificateAuthorityLRO() throws Exception { } } } -// [END -// privateca_v1_generated_certificateauthorityserviceclient_createcertificateauthority_lro_async] +// [END privateca_v1_generated_certificateauthorityserviceclient_createcertificateauthority_lro_async] diff --git a/samples/snippets/generated/com/google/cloud/security/privateca/v1/certificateauthorityserviceclient/createcertificateauthority/SyncCreateCertificateAuthorityCapoolnameCertificateauthorityString.java b/samples/snippets/generated/com/google/cloud/security/privateca/v1/certificateauthorityserviceclient/createcertificateauthority/SyncCreateCertificateAuthorityCapoolnameCertificateauthorityString.java index 9ceb6039..856a3b99 100644 --- a/samples/snippets/generated/com/google/cloud/security/privateca/v1/certificateauthorityserviceclient/createcertificateauthority/SyncCreateCertificateAuthorityCapoolnameCertificateauthorityString.java +++ b/samples/snippets/generated/com/google/cloud/security/privateca/v1/certificateauthorityserviceclient/createcertificateauthority/SyncCreateCertificateAuthorityCapoolnameCertificateauthorityString.java @@ -16,8 +16,7 @@ package com.google.cloud.security.privateca.v1.samples; -// [START -// privateca_v1_generated_certificateauthorityserviceclient_createcertificateauthority_capoolnamecertificateauthoritystring_sync] +// [START privateca_v1_generated_certificateauthorityserviceclient_createcertificateauthority_capoolnamecertificateauthoritystring_sync] import com.google.cloud.security.privateca.v1.CaPoolName; import com.google.cloud.security.privateca.v1.CertificateAuthority; import com.google.cloud.security.privateca.v1.CertificateAuthorityServiceClient; @@ -44,5 +43,4 @@ public static void syncCreateCertificateAuthorityCapoolnameCertificateauthorityS } } } -// [END -// privateca_v1_generated_certificateauthorityserviceclient_createcertificateauthority_capoolnamecertificateauthoritystring_sync] +// [END privateca_v1_generated_certificateauthorityserviceclient_createcertificateauthority_capoolnamecertificateauthoritystring_sync] diff --git a/samples/snippets/generated/com/google/cloud/security/privateca/v1/certificateauthorityserviceclient/createcertificateauthority/SyncCreateCertificateAuthorityStringCertificateauthorityString.java b/samples/snippets/generated/com/google/cloud/security/privateca/v1/certificateauthorityserviceclient/createcertificateauthority/SyncCreateCertificateAuthorityStringCertificateauthorityString.java index 90dba41b..abfc3a2a 100644 --- a/samples/snippets/generated/com/google/cloud/security/privateca/v1/certificateauthorityserviceclient/createcertificateauthority/SyncCreateCertificateAuthorityStringCertificateauthorityString.java +++ b/samples/snippets/generated/com/google/cloud/security/privateca/v1/certificateauthorityserviceclient/createcertificateauthority/SyncCreateCertificateAuthorityStringCertificateauthorityString.java @@ -16,8 +16,7 @@ package com.google.cloud.security.privateca.v1.samples; -// [START -// privateca_v1_generated_certificateauthorityserviceclient_createcertificateauthority_stringcertificateauthoritystring_sync] +// [START privateca_v1_generated_certificateauthorityserviceclient_createcertificateauthority_stringcertificateauthoritystring_sync] import com.google.cloud.security.privateca.v1.CaPoolName; import com.google.cloud.security.privateca.v1.CertificateAuthority; import com.google.cloud.security.privateca.v1.CertificateAuthorityServiceClient; @@ -44,5 +43,4 @@ public static void syncCreateCertificateAuthorityStringCertificateauthorityStrin } } } -// [END -// privateca_v1_generated_certificateauthorityserviceclient_createcertificateauthority_stringcertificateauthoritystring_sync] +// [END privateca_v1_generated_certificateauthorityserviceclient_createcertificateauthority_stringcertificateauthoritystring_sync] diff --git a/samples/snippets/generated/com/google/cloud/security/privateca/v1/certificateauthorityserviceclient/createcertificatetemplate/AsyncCreateCertificateTemplateLRO.java b/samples/snippets/generated/com/google/cloud/security/privateca/v1/certificateauthorityserviceclient/createcertificatetemplate/AsyncCreateCertificateTemplateLRO.java index a1176e88..31c3c587 100644 --- a/samples/snippets/generated/com/google/cloud/security/privateca/v1/certificateauthorityserviceclient/createcertificatetemplate/AsyncCreateCertificateTemplateLRO.java +++ b/samples/snippets/generated/com/google/cloud/security/privateca/v1/certificateauthorityserviceclient/createcertificatetemplate/AsyncCreateCertificateTemplateLRO.java @@ -16,8 +16,7 @@ package com.google.cloud.security.privateca.v1.samples; -// [START -// privateca_v1_generated_certificateauthorityserviceclient_createcertificatetemplate_lro_async] +// [START privateca_v1_generated_certificateauthorityserviceclient_createcertificatetemplate_lro_async] import com.google.api.gax.longrunning.OperationFuture; import com.google.cloud.security.privateca.v1.CertificateAuthorityServiceClient; import com.google.cloud.security.privateca.v1.CertificateTemplate; @@ -52,5 +51,4 @@ public static void asyncCreateCertificateTemplateLRO() throws Exception { } } } -// [END -// privateca_v1_generated_certificateauthorityserviceclient_createcertificatetemplate_lro_async] +// [END privateca_v1_generated_certificateauthorityserviceclient_createcertificatetemplate_lro_async] diff --git a/samples/snippets/generated/com/google/cloud/security/privateca/v1/certificateauthorityserviceclient/createcertificatetemplate/SyncCreateCertificateTemplateLocationnameCertificatetemplateString.java b/samples/snippets/generated/com/google/cloud/security/privateca/v1/certificateauthorityserviceclient/createcertificatetemplate/SyncCreateCertificateTemplateLocationnameCertificatetemplateString.java index d1c77050..077bb168 100644 --- a/samples/snippets/generated/com/google/cloud/security/privateca/v1/certificateauthorityserviceclient/createcertificatetemplate/SyncCreateCertificateTemplateLocationnameCertificatetemplateString.java +++ b/samples/snippets/generated/com/google/cloud/security/privateca/v1/certificateauthorityserviceclient/createcertificatetemplate/SyncCreateCertificateTemplateLocationnameCertificatetemplateString.java @@ -16,8 +16,7 @@ package com.google.cloud.security.privateca.v1.samples; -// [START -// privateca_v1_generated_certificateauthorityserviceclient_createcertificatetemplate_locationnamecertificatetemplatestring_sync] +// [START privateca_v1_generated_certificateauthorityserviceclient_createcertificatetemplate_locationnamecertificatetemplatestring_sync] import com.google.cloud.security.privateca.v1.CertificateAuthorityServiceClient; import com.google.cloud.security.privateca.v1.CertificateTemplate; import com.google.cloud.security.privateca.v1.LocationName; @@ -44,5 +43,4 @@ public static void syncCreateCertificateTemplateLocationnameCertificatetemplateS } } } -// [END -// privateca_v1_generated_certificateauthorityserviceclient_createcertificatetemplate_locationnamecertificatetemplatestring_sync] +// [END privateca_v1_generated_certificateauthorityserviceclient_createcertificatetemplate_locationnamecertificatetemplatestring_sync] diff --git a/samples/snippets/generated/com/google/cloud/security/privateca/v1/certificateauthorityserviceclient/createcertificatetemplate/SyncCreateCertificateTemplateStringCertificatetemplateString.java b/samples/snippets/generated/com/google/cloud/security/privateca/v1/certificateauthorityserviceclient/createcertificatetemplate/SyncCreateCertificateTemplateStringCertificatetemplateString.java index 3265436f..eaab47ed 100644 --- a/samples/snippets/generated/com/google/cloud/security/privateca/v1/certificateauthorityserviceclient/createcertificatetemplate/SyncCreateCertificateTemplateStringCertificatetemplateString.java +++ b/samples/snippets/generated/com/google/cloud/security/privateca/v1/certificateauthorityserviceclient/createcertificatetemplate/SyncCreateCertificateTemplateStringCertificatetemplateString.java @@ -16,8 +16,7 @@ package com.google.cloud.security.privateca.v1.samples; -// [START -// privateca_v1_generated_certificateauthorityserviceclient_createcertificatetemplate_stringcertificatetemplatestring_sync] +// [START privateca_v1_generated_certificateauthorityserviceclient_createcertificatetemplate_stringcertificatetemplatestring_sync] import com.google.cloud.security.privateca.v1.CertificateAuthorityServiceClient; import com.google.cloud.security.privateca.v1.CertificateTemplate; import com.google.cloud.security.privateca.v1.LocationName; @@ -44,5 +43,4 @@ public static void syncCreateCertificateTemplateStringCertificatetemplateString( } } } -// [END -// privateca_v1_generated_certificateauthorityserviceclient_createcertificatetemplate_stringcertificatetemplatestring_sync] +// [END privateca_v1_generated_certificateauthorityserviceclient_createcertificatetemplate_stringcertificatetemplatestring_sync] diff --git a/samples/snippets/generated/com/google/cloud/security/privateca/v1/certificateauthorityserviceclient/deletecapool/SyncDeleteCaPool.java b/samples/snippets/generated/com/google/cloud/security/privateca/v1/certificateauthorityserviceclient/deletecapool/SyncDeleteCaPool.java index ff167c4a..b9dfde2b 100644 --- a/samples/snippets/generated/com/google/cloud/security/privateca/v1/certificateauthorityserviceclient/deletecapool/SyncDeleteCaPool.java +++ b/samples/snippets/generated/com/google/cloud/security/privateca/v1/certificateauthorityserviceclient/deletecapool/SyncDeleteCaPool.java @@ -20,6 +20,7 @@ import com.google.cloud.security.privateca.v1.CaPoolName; import com.google.cloud.security.privateca.v1.CertificateAuthorityServiceClient; import com.google.cloud.security.privateca.v1.DeleteCaPoolRequest; +import com.google.protobuf.Empty; public class SyncDeleteCaPool { diff --git a/samples/snippets/generated/com/google/cloud/security/privateca/v1/certificateauthorityserviceclient/deletecapool/SyncDeleteCaPoolCapoolname.java b/samples/snippets/generated/com/google/cloud/security/privateca/v1/certificateauthorityserviceclient/deletecapool/SyncDeleteCaPoolCapoolname.java index e3b04c31..69894e3e 100644 --- a/samples/snippets/generated/com/google/cloud/security/privateca/v1/certificateauthorityserviceclient/deletecapool/SyncDeleteCaPoolCapoolname.java +++ b/samples/snippets/generated/com/google/cloud/security/privateca/v1/certificateauthorityserviceclient/deletecapool/SyncDeleteCaPoolCapoolname.java @@ -19,6 +19,7 @@ // [START privateca_v1_generated_certificateauthorityserviceclient_deletecapool_capoolname_sync] import com.google.cloud.security.privateca.v1.CaPoolName; import com.google.cloud.security.privateca.v1.CertificateAuthorityServiceClient; +import com.google.protobuf.Empty; public class SyncDeleteCaPoolCapoolname { diff --git a/samples/snippets/generated/com/google/cloud/security/privateca/v1/certificateauthorityserviceclient/deletecapool/SyncDeleteCaPoolString.java b/samples/snippets/generated/com/google/cloud/security/privateca/v1/certificateauthorityserviceclient/deletecapool/SyncDeleteCaPoolString.java index e17c0cef..cdc2afff 100644 --- a/samples/snippets/generated/com/google/cloud/security/privateca/v1/certificateauthorityserviceclient/deletecapool/SyncDeleteCaPoolString.java +++ b/samples/snippets/generated/com/google/cloud/security/privateca/v1/certificateauthorityserviceclient/deletecapool/SyncDeleteCaPoolString.java @@ -19,6 +19,7 @@ // [START privateca_v1_generated_certificateauthorityserviceclient_deletecapool_string_sync] import com.google.cloud.security.privateca.v1.CaPoolName; import com.google.cloud.security.privateca.v1.CertificateAuthorityServiceClient; +import com.google.protobuf.Empty; public class SyncDeleteCaPoolString { diff --git a/samples/snippets/generated/com/google/cloud/security/privateca/v1/certificateauthorityserviceclient/deletecertificateauthority/AsyncDeleteCertificateAuthorityLRO.java b/samples/snippets/generated/com/google/cloud/security/privateca/v1/certificateauthorityserviceclient/deletecertificateauthority/AsyncDeleteCertificateAuthorityLRO.java index e1c40fb0..d55caa70 100644 --- a/samples/snippets/generated/com/google/cloud/security/privateca/v1/certificateauthorityserviceclient/deletecertificateauthority/AsyncDeleteCertificateAuthorityLRO.java +++ b/samples/snippets/generated/com/google/cloud/security/privateca/v1/certificateauthorityserviceclient/deletecertificateauthority/AsyncDeleteCertificateAuthorityLRO.java @@ -16,8 +16,7 @@ package com.google.cloud.security.privateca.v1.samples; -// [START -// privateca_v1_generated_certificateauthorityserviceclient_deletecertificateauthority_lro_async] +// [START privateca_v1_generated_certificateauthorityserviceclient_deletecertificateauthority_lro_async] import com.google.api.gax.longrunning.OperationFuture; import com.google.cloud.security.privateca.v1.CertificateAuthority; import com.google.cloud.security.privateca.v1.CertificateAuthorityName; @@ -55,5 +54,4 @@ public static void asyncDeleteCertificateAuthorityLRO() throws Exception { } } } -// [END -// privateca_v1_generated_certificateauthorityserviceclient_deletecertificateauthority_lro_async] +// [END privateca_v1_generated_certificateauthorityserviceclient_deletecertificateauthority_lro_async] diff --git a/samples/snippets/generated/com/google/cloud/security/privateca/v1/certificateauthorityserviceclient/deletecertificateauthority/SyncDeleteCertificateAuthorityCertificateauthorityname.java b/samples/snippets/generated/com/google/cloud/security/privateca/v1/certificateauthorityserviceclient/deletecertificateauthority/SyncDeleteCertificateAuthorityCertificateauthorityname.java index 78e4e706..17e72944 100644 --- a/samples/snippets/generated/com/google/cloud/security/privateca/v1/certificateauthorityserviceclient/deletecertificateauthority/SyncDeleteCertificateAuthorityCertificateauthorityname.java +++ b/samples/snippets/generated/com/google/cloud/security/privateca/v1/certificateauthorityserviceclient/deletecertificateauthority/SyncDeleteCertificateAuthorityCertificateauthorityname.java @@ -16,8 +16,7 @@ package com.google.cloud.security.privateca.v1.samples; -// [START -// privateca_v1_generated_certificateauthorityserviceclient_deletecertificateauthority_certificateauthorityname_sync] +// [START privateca_v1_generated_certificateauthorityserviceclient_deletecertificateauthority_certificateauthorityname_sync] import com.google.cloud.security.privateca.v1.CertificateAuthority; import com.google.cloud.security.privateca.v1.CertificateAuthorityName; import com.google.cloud.security.privateca.v1.CertificateAuthorityServiceClient; @@ -41,5 +40,4 @@ public static void syncDeleteCertificateAuthorityCertificateauthorityname() thro } } } -// [END -// privateca_v1_generated_certificateauthorityserviceclient_deletecertificateauthority_certificateauthorityname_sync] +// [END privateca_v1_generated_certificateauthorityserviceclient_deletecertificateauthority_certificateauthorityname_sync] diff --git a/samples/snippets/generated/com/google/cloud/security/privateca/v1/certificateauthorityserviceclient/deletecertificateauthority/SyncDeleteCertificateAuthorityString.java b/samples/snippets/generated/com/google/cloud/security/privateca/v1/certificateauthorityserviceclient/deletecertificateauthority/SyncDeleteCertificateAuthorityString.java index b87c3785..b81841bf 100644 --- a/samples/snippets/generated/com/google/cloud/security/privateca/v1/certificateauthorityserviceclient/deletecertificateauthority/SyncDeleteCertificateAuthorityString.java +++ b/samples/snippets/generated/com/google/cloud/security/privateca/v1/certificateauthorityserviceclient/deletecertificateauthority/SyncDeleteCertificateAuthorityString.java @@ -16,8 +16,7 @@ package com.google.cloud.security.privateca.v1.samples; -// [START -// privateca_v1_generated_certificateauthorityserviceclient_deletecertificateauthority_string_sync] +// [START privateca_v1_generated_certificateauthorityserviceclient_deletecertificateauthority_string_sync] import com.google.cloud.security.privateca.v1.CertificateAuthority; import com.google.cloud.security.privateca.v1.CertificateAuthorityName; import com.google.cloud.security.privateca.v1.CertificateAuthorityServiceClient; @@ -42,5 +41,4 @@ public static void syncDeleteCertificateAuthorityString() throws Exception { } } } -// [END -// privateca_v1_generated_certificateauthorityserviceclient_deletecertificateauthority_string_sync] +// [END privateca_v1_generated_certificateauthorityserviceclient_deletecertificateauthority_string_sync] diff --git a/samples/snippets/generated/com/google/cloud/security/privateca/v1/certificateauthorityserviceclient/deletecertificatetemplate/AsyncDeleteCertificateTemplateLRO.java b/samples/snippets/generated/com/google/cloud/security/privateca/v1/certificateauthorityserviceclient/deletecertificatetemplate/AsyncDeleteCertificateTemplateLRO.java index 3a4f46f1..283ee04c 100644 --- a/samples/snippets/generated/com/google/cloud/security/privateca/v1/certificateauthorityserviceclient/deletecertificatetemplate/AsyncDeleteCertificateTemplateLRO.java +++ b/samples/snippets/generated/com/google/cloud/security/privateca/v1/certificateauthorityserviceclient/deletecertificatetemplate/AsyncDeleteCertificateTemplateLRO.java @@ -16,8 +16,7 @@ package com.google.cloud.security.privateca.v1.samples; -// [START -// privateca_v1_generated_certificateauthorityserviceclient_deletecertificatetemplate_lro_async] +// [START privateca_v1_generated_certificateauthorityserviceclient_deletecertificatetemplate_lro_async] import com.google.api.gax.longrunning.OperationFuture; import com.google.cloud.security.privateca.v1.CertificateAuthorityServiceClient; import com.google.cloud.security.privateca.v1.CertificateTemplateName; @@ -52,5 +51,4 @@ public static void asyncDeleteCertificateTemplateLRO() throws Exception { } } } -// [END -// privateca_v1_generated_certificateauthorityserviceclient_deletecertificatetemplate_lro_async] +// [END privateca_v1_generated_certificateauthorityserviceclient_deletecertificatetemplate_lro_async] diff --git a/samples/snippets/generated/com/google/cloud/security/privateca/v1/certificateauthorityserviceclient/deletecertificatetemplate/SyncDeleteCertificateTemplate.java b/samples/snippets/generated/com/google/cloud/security/privateca/v1/certificateauthorityserviceclient/deletecertificatetemplate/SyncDeleteCertificateTemplate.java index 8847f70d..1d7a7652 100644 --- a/samples/snippets/generated/com/google/cloud/security/privateca/v1/certificateauthorityserviceclient/deletecertificatetemplate/SyncDeleteCertificateTemplate.java +++ b/samples/snippets/generated/com/google/cloud/security/privateca/v1/certificateauthorityserviceclient/deletecertificatetemplate/SyncDeleteCertificateTemplate.java @@ -20,6 +20,7 @@ import com.google.cloud.security.privateca.v1.CertificateAuthorityServiceClient; import com.google.cloud.security.privateca.v1.CertificateTemplateName; import com.google.cloud.security.privateca.v1.DeleteCertificateTemplateRequest; +import com.google.protobuf.Empty; public class SyncDeleteCertificateTemplate { diff --git a/samples/snippets/generated/com/google/cloud/security/privateca/v1/certificateauthorityserviceclient/deletecertificatetemplate/SyncDeleteCertificateTemplateCertificatetemplatename.java b/samples/snippets/generated/com/google/cloud/security/privateca/v1/certificateauthorityserviceclient/deletecertificatetemplate/SyncDeleteCertificateTemplateCertificatetemplatename.java index b901bf37..984d7649 100644 --- a/samples/snippets/generated/com/google/cloud/security/privateca/v1/certificateauthorityserviceclient/deletecertificatetemplate/SyncDeleteCertificateTemplateCertificatetemplatename.java +++ b/samples/snippets/generated/com/google/cloud/security/privateca/v1/certificateauthorityserviceclient/deletecertificatetemplate/SyncDeleteCertificateTemplateCertificatetemplatename.java @@ -16,10 +16,10 @@ package com.google.cloud.security.privateca.v1.samples; -// [START -// privateca_v1_generated_certificateauthorityserviceclient_deletecertificatetemplate_certificatetemplatename_sync] +// [START privateca_v1_generated_certificateauthorityserviceclient_deletecertificatetemplate_certificatetemplatename_sync] import com.google.cloud.security.privateca.v1.CertificateAuthorityServiceClient; import com.google.cloud.security.privateca.v1.CertificateTemplateName; +import com.google.protobuf.Empty; public class SyncDeleteCertificateTemplateCertificatetemplatename { @@ -38,5 +38,4 @@ public static void syncDeleteCertificateTemplateCertificatetemplatename() throws } } } -// [END -// privateca_v1_generated_certificateauthorityserviceclient_deletecertificatetemplate_certificatetemplatename_sync] +// [END privateca_v1_generated_certificateauthorityserviceclient_deletecertificatetemplate_certificatetemplatename_sync] diff --git a/samples/snippets/generated/com/google/cloud/security/privateca/v1/certificateauthorityserviceclient/deletecertificatetemplate/SyncDeleteCertificateTemplateString.java b/samples/snippets/generated/com/google/cloud/security/privateca/v1/certificateauthorityserviceclient/deletecertificatetemplate/SyncDeleteCertificateTemplateString.java index 01e903b1..7a166229 100644 --- a/samples/snippets/generated/com/google/cloud/security/privateca/v1/certificateauthorityserviceclient/deletecertificatetemplate/SyncDeleteCertificateTemplateString.java +++ b/samples/snippets/generated/com/google/cloud/security/privateca/v1/certificateauthorityserviceclient/deletecertificatetemplate/SyncDeleteCertificateTemplateString.java @@ -16,10 +16,10 @@ package com.google.cloud.security.privateca.v1.samples; -// [START -// privateca_v1_generated_certificateauthorityserviceclient_deletecertificatetemplate_string_sync] +// [START privateca_v1_generated_certificateauthorityserviceclient_deletecertificatetemplate_string_sync] import com.google.cloud.security.privateca.v1.CertificateAuthorityServiceClient; import com.google.cloud.security.privateca.v1.CertificateTemplateName; +import com.google.protobuf.Empty; public class SyncDeleteCertificateTemplateString { @@ -39,5 +39,4 @@ public static void syncDeleteCertificateTemplateString() throws Exception { } } } -// [END -// privateca_v1_generated_certificateauthorityserviceclient_deletecertificatetemplate_string_sync] +// [END privateca_v1_generated_certificateauthorityserviceclient_deletecertificatetemplate_string_sync] diff --git a/samples/snippets/generated/com/google/cloud/security/privateca/v1/certificateauthorityserviceclient/disablecertificateauthority/AsyncDisableCertificateAuthority.java b/samples/snippets/generated/com/google/cloud/security/privateca/v1/certificateauthorityserviceclient/disablecertificateauthority/AsyncDisableCertificateAuthority.java index 1a2c3672..cac22abe 100644 --- a/samples/snippets/generated/com/google/cloud/security/privateca/v1/certificateauthorityserviceclient/disablecertificateauthority/AsyncDisableCertificateAuthority.java +++ b/samples/snippets/generated/com/google/cloud/security/privateca/v1/certificateauthorityserviceclient/disablecertificateauthority/AsyncDisableCertificateAuthority.java @@ -16,8 +16,7 @@ package com.google.cloud.security.privateca.v1.samples; -// [START -// privateca_v1_generated_certificateauthorityserviceclient_disablecertificateauthority_async] +// [START privateca_v1_generated_certificateauthorityserviceclient_disablecertificateauthority_async] import com.google.api.core.ApiFuture; import com.google.cloud.security.privateca.v1.CertificateAuthorityName; import com.google.cloud.security.privateca.v1.CertificateAuthorityServiceClient; diff --git a/samples/snippets/generated/com/google/cloud/security/privateca/v1/certificateauthorityserviceclient/disablecertificateauthority/AsyncDisableCertificateAuthorityLRO.java b/samples/snippets/generated/com/google/cloud/security/privateca/v1/certificateauthorityserviceclient/disablecertificateauthority/AsyncDisableCertificateAuthorityLRO.java index c8367abd..e27ba3ad 100644 --- a/samples/snippets/generated/com/google/cloud/security/privateca/v1/certificateauthorityserviceclient/disablecertificateauthority/AsyncDisableCertificateAuthorityLRO.java +++ b/samples/snippets/generated/com/google/cloud/security/privateca/v1/certificateauthorityserviceclient/disablecertificateauthority/AsyncDisableCertificateAuthorityLRO.java @@ -16,8 +16,7 @@ package com.google.cloud.security.privateca.v1.samples; -// [START -// privateca_v1_generated_certificateauthorityserviceclient_disablecertificateauthority_lro_async] +// [START privateca_v1_generated_certificateauthorityserviceclient_disablecertificateauthority_lro_async] import com.google.api.gax.longrunning.OperationFuture; import com.google.cloud.security.privateca.v1.CertificateAuthority; import com.google.cloud.security.privateca.v1.CertificateAuthorityName; @@ -53,5 +52,4 @@ public static void asyncDisableCertificateAuthorityLRO() throws Exception { } } } -// [END -// privateca_v1_generated_certificateauthorityserviceclient_disablecertificateauthority_lro_async] +// [END privateca_v1_generated_certificateauthorityserviceclient_disablecertificateauthority_lro_async] diff --git a/samples/snippets/generated/com/google/cloud/security/privateca/v1/certificateauthorityserviceclient/disablecertificateauthority/SyncDisableCertificateAuthorityCertificateauthorityname.java b/samples/snippets/generated/com/google/cloud/security/privateca/v1/certificateauthorityserviceclient/disablecertificateauthority/SyncDisableCertificateAuthorityCertificateauthorityname.java index c8742803..f4cabf39 100644 --- a/samples/snippets/generated/com/google/cloud/security/privateca/v1/certificateauthorityserviceclient/disablecertificateauthority/SyncDisableCertificateAuthorityCertificateauthorityname.java +++ b/samples/snippets/generated/com/google/cloud/security/privateca/v1/certificateauthorityserviceclient/disablecertificateauthority/SyncDisableCertificateAuthorityCertificateauthorityname.java @@ -16,8 +16,7 @@ package com.google.cloud.security.privateca.v1.samples; -// [START -// privateca_v1_generated_certificateauthorityserviceclient_disablecertificateauthority_certificateauthorityname_sync] +// [START privateca_v1_generated_certificateauthorityserviceclient_disablecertificateauthority_certificateauthorityname_sync] import com.google.cloud.security.privateca.v1.CertificateAuthority; import com.google.cloud.security.privateca.v1.CertificateAuthorityName; import com.google.cloud.security.privateca.v1.CertificateAuthorityServiceClient; @@ -41,5 +40,4 @@ public static void syncDisableCertificateAuthorityCertificateauthorityname() thr } } } -// [END -// privateca_v1_generated_certificateauthorityserviceclient_disablecertificateauthority_certificateauthorityname_sync] +// [END privateca_v1_generated_certificateauthorityserviceclient_disablecertificateauthority_certificateauthorityname_sync] diff --git a/samples/snippets/generated/com/google/cloud/security/privateca/v1/certificateauthorityserviceclient/disablecertificateauthority/SyncDisableCertificateAuthorityString.java b/samples/snippets/generated/com/google/cloud/security/privateca/v1/certificateauthorityserviceclient/disablecertificateauthority/SyncDisableCertificateAuthorityString.java index ed6cf559..b5d6e93d 100644 --- a/samples/snippets/generated/com/google/cloud/security/privateca/v1/certificateauthorityserviceclient/disablecertificateauthority/SyncDisableCertificateAuthorityString.java +++ b/samples/snippets/generated/com/google/cloud/security/privateca/v1/certificateauthorityserviceclient/disablecertificateauthority/SyncDisableCertificateAuthorityString.java @@ -16,8 +16,7 @@ package com.google.cloud.security.privateca.v1.samples; -// [START -// privateca_v1_generated_certificateauthorityserviceclient_disablecertificateauthority_string_sync] +// [START privateca_v1_generated_certificateauthorityserviceclient_disablecertificateauthority_string_sync] import com.google.cloud.security.privateca.v1.CertificateAuthority; import com.google.cloud.security.privateca.v1.CertificateAuthorityName; import com.google.cloud.security.privateca.v1.CertificateAuthorityServiceClient; @@ -42,5 +41,4 @@ public static void syncDisableCertificateAuthorityString() throws Exception { } } } -// [END -// privateca_v1_generated_certificateauthorityserviceclient_disablecertificateauthority_string_sync] +// [END privateca_v1_generated_certificateauthorityserviceclient_disablecertificateauthority_string_sync] diff --git a/samples/snippets/generated/com/google/cloud/security/privateca/v1/certificateauthorityserviceclient/enablecertificateauthority/AsyncEnableCertificateAuthorityLRO.java b/samples/snippets/generated/com/google/cloud/security/privateca/v1/certificateauthorityserviceclient/enablecertificateauthority/AsyncEnableCertificateAuthorityLRO.java index 8cde51ed..10f10801 100644 --- a/samples/snippets/generated/com/google/cloud/security/privateca/v1/certificateauthorityserviceclient/enablecertificateauthority/AsyncEnableCertificateAuthorityLRO.java +++ b/samples/snippets/generated/com/google/cloud/security/privateca/v1/certificateauthorityserviceclient/enablecertificateauthority/AsyncEnableCertificateAuthorityLRO.java @@ -16,8 +16,7 @@ package com.google.cloud.security.privateca.v1.samples; -// [START -// privateca_v1_generated_certificateauthorityserviceclient_enablecertificateauthority_lro_async] +// [START privateca_v1_generated_certificateauthorityserviceclient_enablecertificateauthority_lro_async] import com.google.api.gax.longrunning.OperationFuture; import com.google.cloud.security.privateca.v1.CertificateAuthority; import com.google.cloud.security.privateca.v1.CertificateAuthorityName; @@ -53,5 +52,4 @@ public static void asyncEnableCertificateAuthorityLRO() throws Exception { } } } -// [END -// privateca_v1_generated_certificateauthorityserviceclient_enablecertificateauthority_lro_async] +// [END privateca_v1_generated_certificateauthorityserviceclient_enablecertificateauthority_lro_async] diff --git a/samples/snippets/generated/com/google/cloud/security/privateca/v1/certificateauthorityserviceclient/enablecertificateauthority/SyncEnableCertificateAuthorityCertificateauthorityname.java b/samples/snippets/generated/com/google/cloud/security/privateca/v1/certificateauthorityserviceclient/enablecertificateauthority/SyncEnableCertificateAuthorityCertificateauthorityname.java index 6ee25eda..d532ba67 100644 --- a/samples/snippets/generated/com/google/cloud/security/privateca/v1/certificateauthorityserviceclient/enablecertificateauthority/SyncEnableCertificateAuthorityCertificateauthorityname.java +++ b/samples/snippets/generated/com/google/cloud/security/privateca/v1/certificateauthorityserviceclient/enablecertificateauthority/SyncEnableCertificateAuthorityCertificateauthorityname.java @@ -16,8 +16,7 @@ package com.google.cloud.security.privateca.v1.samples; -// [START -// privateca_v1_generated_certificateauthorityserviceclient_enablecertificateauthority_certificateauthorityname_sync] +// [START privateca_v1_generated_certificateauthorityserviceclient_enablecertificateauthority_certificateauthorityname_sync] import com.google.cloud.security.privateca.v1.CertificateAuthority; import com.google.cloud.security.privateca.v1.CertificateAuthorityName; import com.google.cloud.security.privateca.v1.CertificateAuthorityServiceClient; @@ -41,5 +40,4 @@ public static void syncEnableCertificateAuthorityCertificateauthorityname() thro } } } -// [END -// privateca_v1_generated_certificateauthorityserviceclient_enablecertificateauthority_certificateauthorityname_sync] +// [END privateca_v1_generated_certificateauthorityserviceclient_enablecertificateauthority_certificateauthorityname_sync] diff --git a/samples/snippets/generated/com/google/cloud/security/privateca/v1/certificateauthorityserviceclient/enablecertificateauthority/SyncEnableCertificateAuthorityString.java b/samples/snippets/generated/com/google/cloud/security/privateca/v1/certificateauthorityserviceclient/enablecertificateauthority/SyncEnableCertificateAuthorityString.java index 57d613bd..2a85d15a 100644 --- a/samples/snippets/generated/com/google/cloud/security/privateca/v1/certificateauthorityserviceclient/enablecertificateauthority/SyncEnableCertificateAuthorityString.java +++ b/samples/snippets/generated/com/google/cloud/security/privateca/v1/certificateauthorityserviceclient/enablecertificateauthority/SyncEnableCertificateAuthorityString.java @@ -16,8 +16,7 @@ package com.google.cloud.security.privateca.v1.samples; -// [START -// privateca_v1_generated_certificateauthorityserviceclient_enablecertificateauthority_string_sync] +// [START privateca_v1_generated_certificateauthorityserviceclient_enablecertificateauthority_string_sync] import com.google.cloud.security.privateca.v1.CertificateAuthority; import com.google.cloud.security.privateca.v1.CertificateAuthorityName; import com.google.cloud.security.privateca.v1.CertificateAuthorityServiceClient; @@ -42,5 +41,4 @@ public static void syncEnableCertificateAuthorityString() throws Exception { } } } -// [END -// privateca_v1_generated_certificateauthorityserviceclient_enablecertificateauthority_string_sync] +// [END privateca_v1_generated_certificateauthorityserviceclient_enablecertificateauthority_string_sync] diff --git a/samples/snippets/generated/com/google/cloud/security/privateca/v1/certificateauthorityserviceclient/fetchcertificateauthoritycsr/AsyncFetchCertificateAuthorityCsr.java b/samples/snippets/generated/com/google/cloud/security/privateca/v1/certificateauthorityserviceclient/fetchcertificateauthoritycsr/AsyncFetchCertificateAuthorityCsr.java index d3403937..19498500 100644 --- a/samples/snippets/generated/com/google/cloud/security/privateca/v1/certificateauthorityserviceclient/fetchcertificateauthoritycsr/AsyncFetchCertificateAuthorityCsr.java +++ b/samples/snippets/generated/com/google/cloud/security/privateca/v1/certificateauthorityserviceclient/fetchcertificateauthoritycsr/AsyncFetchCertificateAuthorityCsr.java @@ -16,8 +16,7 @@ package com.google.cloud.security.privateca.v1.samples; -// [START -// privateca_v1_generated_certificateauthorityserviceclient_fetchcertificateauthoritycsr_async] +// [START privateca_v1_generated_certificateauthorityserviceclient_fetchcertificateauthoritycsr_async] import com.google.api.core.ApiFuture; import com.google.cloud.security.privateca.v1.CertificateAuthorityName; import com.google.cloud.security.privateca.v1.CertificateAuthorityServiceClient; diff --git a/samples/snippets/generated/com/google/cloud/security/privateca/v1/certificateauthorityserviceclient/fetchcertificateauthoritycsr/SyncFetchCertificateAuthorityCsr.java b/samples/snippets/generated/com/google/cloud/security/privateca/v1/certificateauthorityserviceclient/fetchcertificateauthoritycsr/SyncFetchCertificateAuthorityCsr.java index 1fece087..a0d81e54 100644 --- a/samples/snippets/generated/com/google/cloud/security/privateca/v1/certificateauthorityserviceclient/fetchcertificateauthoritycsr/SyncFetchCertificateAuthorityCsr.java +++ b/samples/snippets/generated/com/google/cloud/security/privateca/v1/certificateauthorityserviceclient/fetchcertificateauthoritycsr/SyncFetchCertificateAuthorityCsr.java @@ -16,8 +16,7 @@ package com.google.cloud.security.privateca.v1.samples; -// [START -// privateca_v1_generated_certificateauthorityserviceclient_fetchcertificateauthoritycsr_sync] +// [START privateca_v1_generated_certificateauthorityserviceclient_fetchcertificateauthoritycsr_sync] import com.google.cloud.security.privateca.v1.CertificateAuthorityName; import com.google.cloud.security.privateca.v1.CertificateAuthorityServiceClient; import com.google.cloud.security.privateca.v1.FetchCertificateAuthorityCsrRequest; diff --git a/samples/snippets/generated/com/google/cloud/security/privateca/v1/certificateauthorityserviceclient/fetchcertificateauthoritycsr/SyncFetchCertificateAuthorityCsrCertificateauthorityname.java b/samples/snippets/generated/com/google/cloud/security/privateca/v1/certificateauthorityserviceclient/fetchcertificateauthoritycsr/SyncFetchCertificateAuthorityCsrCertificateauthorityname.java index f828f7e5..7faaa527 100644 --- a/samples/snippets/generated/com/google/cloud/security/privateca/v1/certificateauthorityserviceclient/fetchcertificateauthoritycsr/SyncFetchCertificateAuthorityCsrCertificateauthorityname.java +++ b/samples/snippets/generated/com/google/cloud/security/privateca/v1/certificateauthorityserviceclient/fetchcertificateauthoritycsr/SyncFetchCertificateAuthorityCsrCertificateauthorityname.java @@ -16,8 +16,7 @@ package com.google.cloud.security.privateca.v1.samples; -// [START -// privateca_v1_generated_certificateauthorityserviceclient_fetchcertificateauthoritycsr_certificateauthorityname_sync] +// [START privateca_v1_generated_certificateauthorityserviceclient_fetchcertificateauthoritycsr_certificateauthorityname_sync] import com.google.cloud.security.privateca.v1.CertificateAuthorityName; import com.google.cloud.security.privateca.v1.CertificateAuthorityServiceClient; import com.google.cloud.security.privateca.v1.FetchCertificateAuthorityCsrResponse; @@ -41,5 +40,4 @@ public static void syncFetchCertificateAuthorityCsrCertificateauthorityname() th } } } -// [END -// privateca_v1_generated_certificateauthorityserviceclient_fetchcertificateauthoritycsr_certificateauthorityname_sync] +// [END privateca_v1_generated_certificateauthorityserviceclient_fetchcertificateauthoritycsr_certificateauthorityname_sync] diff --git a/samples/snippets/generated/com/google/cloud/security/privateca/v1/certificateauthorityserviceclient/fetchcertificateauthoritycsr/SyncFetchCertificateAuthorityCsrString.java b/samples/snippets/generated/com/google/cloud/security/privateca/v1/certificateauthorityserviceclient/fetchcertificateauthoritycsr/SyncFetchCertificateAuthorityCsrString.java index 90c1de67..c350ca78 100644 --- a/samples/snippets/generated/com/google/cloud/security/privateca/v1/certificateauthorityserviceclient/fetchcertificateauthoritycsr/SyncFetchCertificateAuthorityCsrString.java +++ b/samples/snippets/generated/com/google/cloud/security/privateca/v1/certificateauthorityserviceclient/fetchcertificateauthoritycsr/SyncFetchCertificateAuthorityCsrString.java @@ -16,8 +16,7 @@ package com.google.cloud.security.privateca.v1.samples; -// [START -// privateca_v1_generated_certificateauthorityserviceclient_fetchcertificateauthoritycsr_string_sync] +// [START privateca_v1_generated_certificateauthorityserviceclient_fetchcertificateauthoritycsr_string_sync] import com.google.cloud.security.privateca.v1.CertificateAuthorityName; import com.google.cloud.security.privateca.v1.CertificateAuthorityServiceClient; import com.google.cloud.security.privateca.v1.FetchCertificateAuthorityCsrResponse; @@ -42,5 +41,4 @@ public static void syncFetchCertificateAuthorityCsrString() throws Exception { } } } -// [END -// privateca_v1_generated_certificateauthorityserviceclient_fetchcertificateauthoritycsr_string_sync] +// [END privateca_v1_generated_certificateauthorityserviceclient_fetchcertificateauthoritycsr_string_sync] diff --git a/samples/snippets/generated/com/google/cloud/security/privateca/v1/certificateauthorityserviceclient/getcertificate/SyncGetCertificateCertificatename.java b/samples/snippets/generated/com/google/cloud/security/privateca/v1/certificateauthorityserviceclient/getcertificate/SyncGetCertificateCertificatename.java index 311f7bdb..37edadcc 100644 --- a/samples/snippets/generated/com/google/cloud/security/privateca/v1/certificateauthorityserviceclient/getcertificate/SyncGetCertificateCertificatename.java +++ b/samples/snippets/generated/com/google/cloud/security/privateca/v1/certificateauthorityserviceclient/getcertificate/SyncGetCertificateCertificatename.java @@ -16,8 +16,7 @@ package com.google.cloud.security.privateca.v1.samples; -// [START -// privateca_v1_generated_certificateauthorityserviceclient_getcertificate_certificatename_sync] +// [START privateca_v1_generated_certificateauthorityserviceclient_getcertificate_certificatename_sync] import com.google.cloud.security.privateca.v1.Certificate; import com.google.cloud.security.privateca.v1.CertificateAuthorityServiceClient; import com.google.cloud.security.privateca.v1.CertificateName; @@ -39,5 +38,4 @@ public static void syncGetCertificateCertificatename() throws Exception { } } } -// [END -// privateca_v1_generated_certificateauthorityserviceclient_getcertificate_certificatename_sync] +// [END privateca_v1_generated_certificateauthorityserviceclient_getcertificate_certificatename_sync] diff --git a/samples/snippets/generated/com/google/cloud/security/privateca/v1/certificateauthorityserviceclient/getcertificateauthority/SyncGetCertificateAuthorityCertificateauthorityname.java b/samples/snippets/generated/com/google/cloud/security/privateca/v1/certificateauthorityserviceclient/getcertificateauthority/SyncGetCertificateAuthorityCertificateauthorityname.java index fbe012e4..a3fca5b2 100644 --- a/samples/snippets/generated/com/google/cloud/security/privateca/v1/certificateauthorityserviceclient/getcertificateauthority/SyncGetCertificateAuthorityCertificateauthorityname.java +++ b/samples/snippets/generated/com/google/cloud/security/privateca/v1/certificateauthorityserviceclient/getcertificateauthority/SyncGetCertificateAuthorityCertificateauthorityname.java @@ -16,8 +16,7 @@ package com.google.cloud.security.privateca.v1.samples; -// [START -// privateca_v1_generated_certificateauthorityserviceclient_getcertificateauthority_certificateauthorityname_sync] +// [START privateca_v1_generated_certificateauthorityserviceclient_getcertificateauthority_certificateauthorityname_sync] import com.google.cloud.security.privateca.v1.CertificateAuthority; import com.google.cloud.security.privateca.v1.CertificateAuthorityName; import com.google.cloud.security.privateca.v1.CertificateAuthorityServiceClient; @@ -41,5 +40,4 @@ public static void syncGetCertificateAuthorityCertificateauthorityname() throws } } } -// [END -// privateca_v1_generated_certificateauthorityserviceclient_getcertificateauthority_certificateauthorityname_sync] +// [END privateca_v1_generated_certificateauthorityserviceclient_getcertificateauthority_certificateauthorityname_sync] diff --git a/samples/snippets/generated/com/google/cloud/security/privateca/v1/certificateauthorityserviceclient/getcertificateauthority/SyncGetCertificateAuthorityString.java b/samples/snippets/generated/com/google/cloud/security/privateca/v1/certificateauthorityserviceclient/getcertificateauthority/SyncGetCertificateAuthorityString.java index 6603d9bf..aaacffbf 100644 --- a/samples/snippets/generated/com/google/cloud/security/privateca/v1/certificateauthorityserviceclient/getcertificateauthority/SyncGetCertificateAuthorityString.java +++ b/samples/snippets/generated/com/google/cloud/security/privateca/v1/certificateauthorityserviceclient/getcertificateauthority/SyncGetCertificateAuthorityString.java @@ -16,8 +16,7 @@ package com.google.cloud.security.privateca.v1.samples; -// [START -// privateca_v1_generated_certificateauthorityserviceclient_getcertificateauthority_string_sync] +// [START privateca_v1_generated_certificateauthorityserviceclient_getcertificateauthority_string_sync] import com.google.cloud.security.privateca.v1.CertificateAuthority; import com.google.cloud.security.privateca.v1.CertificateAuthorityName; import com.google.cloud.security.privateca.v1.CertificateAuthorityServiceClient; @@ -42,5 +41,4 @@ public static void syncGetCertificateAuthorityString() throws Exception { } } } -// [END -// privateca_v1_generated_certificateauthorityserviceclient_getcertificateauthority_string_sync] +// [END privateca_v1_generated_certificateauthorityserviceclient_getcertificateauthority_string_sync] diff --git a/samples/snippets/generated/com/google/cloud/security/privateca/v1/certificateauthorityserviceclient/getcertificaterevocationlist/AsyncGetCertificateRevocationList.java b/samples/snippets/generated/com/google/cloud/security/privateca/v1/certificateauthorityserviceclient/getcertificaterevocationlist/AsyncGetCertificateRevocationList.java index 148dd40c..554cfc83 100644 --- a/samples/snippets/generated/com/google/cloud/security/privateca/v1/certificateauthorityserviceclient/getcertificaterevocationlist/AsyncGetCertificateRevocationList.java +++ b/samples/snippets/generated/com/google/cloud/security/privateca/v1/certificateauthorityserviceclient/getcertificaterevocationlist/AsyncGetCertificateRevocationList.java @@ -16,8 +16,7 @@ package com.google.cloud.security.privateca.v1.samples; -// [START -// privateca_v1_generated_certificateauthorityserviceclient_getcertificaterevocationlist_async] +// [START privateca_v1_generated_certificateauthorityserviceclient_getcertificaterevocationlist_async] import com.google.api.core.ApiFuture; import com.google.cloud.security.privateca.v1.CertificateAuthorityServiceClient; import com.google.cloud.security.privateca.v1.CertificateRevocationList; diff --git a/samples/snippets/generated/com/google/cloud/security/privateca/v1/certificateauthorityserviceclient/getcertificaterevocationlist/SyncGetCertificateRevocationList.java b/samples/snippets/generated/com/google/cloud/security/privateca/v1/certificateauthorityserviceclient/getcertificaterevocationlist/SyncGetCertificateRevocationList.java index 6f6dcb9e..0148b870 100644 --- a/samples/snippets/generated/com/google/cloud/security/privateca/v1/certificateauthorityserviceclient/getcertificaterevocationlist/SyncGetCertificateRevocationList.java +++ b/samples/snippets/generated/com/google/cloud/security/privateca/v1/certificateauthorityserviceclient/getcertificaterevocationlist/SyncGetCertificateRevocationList.java @@ -16,8 +16,7 @@ package com.google.cloud.security.privateca.v1.samples; -// [START -// privateca_v1_generated_certificateauthorityserviceclient_getcertificaterevocationlist_sync] +// [START privateca_v1_generated_certificateauthorityserviceclient_getcertificaterevocationlist_sync] import com.google.cloud.security.privateca.v1.CertificateAuthorityServiceClient; import com.google.cloud.security.privateca.v1.CertificateRevocationList; import com.google.cloud.security.privateca.v1.CertificateRevocationListName; diff --git a/samples/snippets/generated/com/google/cloud/security/privateca/v1/certificateauthorityserviceclient/getcertificaterevocationlist/SyncGetCertificateRevocationListCertificaterevocationlistname.java b/samples/snippets/generated/com/google/cloud/security/privateca/v1/certificateauthorityserviceclient/getcertificaterevocationlist/SyncGetCertificateRevocationListCertificaterevocationlistname.java index 5f7dcd27..3799d156 100644 --- a/samples/snippets/generated/com/google/cloud/security/privateca/v1/certificateauthorityserviceclient/getcertificaterevocationlist/SyncGetCertificateRevocationListCertificaterevocationlistname.java +++ b/samples/snippets/generated/com/google/cloud/security/privateca/v1/certificateauthorityserviceclient/getcertificaterevocationlist/SyncGetCertificateRevocationListCertificaterevocationlistname.java @@ -16,8 +16,7 @@ package com.google.cloud.security.privateca.v1.samples; -// [START -// privateca_v1_generated_certificateauthorityserviceclient_getcertificaterevocationlist_certificaterevocationlistname_sync] +// [START privateca_v1_generated_certificateauthorityserviceclient_getcertificaterevocationlist_certificaterevocationlistname_sync] import com.google.cloud.security.privateca.v1.CertificateAuthorityServiceClient; import com.google.cloud.security.privateca.v1.CertificateRevocationList; import com.google.cloud.security.privateca.v1.CertificateRevocationListName; @@ -46,5 +45,4 @@ public static void syncGetCertificateRevocationListCertificaterevocationlistname } } } -// [END -// privateca_v1_generated_certificateauthorityserviceclient_getcertificaterevocationlist_certificaterevocationlistname_sync] +// [END privateca_v1_generated_certificateauthorityserviceclient_getcertificaterevocationlist_certificaterevocationlistname_sync] diff --git a/samples/snippets/generated/com/google/cloud/security/privateca/v1/certificateauthorityserviceclient/getcertificaterevocationlist/SyncGetCertificateRevocationListString.java b/samples/snippets/generated/com/google/cloud/security/privateca/v1/certificateauthorityserviceclient/getcertificaterevocationlist/SyncGetCertificateRevocationListString.java index d0bc0aae..e9581c24 100644 --- a/samples/snippets/generated/com/google/cloud/security/privateca/v1/certificateauthorityserviceclient/getcertificaterevocationlist/SyncGetCertificateRevocationListString.java +++ b/samples/snippets/generated/com/google/cloud/security/privateca/v1/certificateauthorityserviceclient/getcertificaterevocationlist/SyncGetCertificateRevocationListString.java @@ -16,8 +16,7 @@ package com.google.cloud.security.privateca.v1.samples; -// [START -// privateca_v1_generated_certificateauthorityserviceclient_getcertificaterevocationlist_string_sync] +// [START privateca_v1_generated_certificateauthorityserviceclient_getcertificaterevocationlist_string_sync] import com.google.cloud.security.privateca.v1.CertificateAuthorityServiceClient; import com.google.cloud.security.privateca.v1.CertificateRevocationList; import com.google.cloud.security.privateca.v1.CertificateRevocationListName; @@ -46,5 +45,4 @@ public static void syncGetCertificateRevocationListString() throws Exception { } } } -// [END -// privateca_v1_generated_certificateauthorityserviceclient_getcertificaterevocationlist_string_sync] +// [END privateca_v1_generated_certificateauthorityserviceclient_getcertificaterevocationlist_string_sync] diff --git a/samples/snippets/generated/com/google/cloud/security/privateca/v1/certificateauthorityserviceclient/getcertificatetemplate/SyncGetCertificateTemplateCertificatetemplatename.java b/samples/snippets/generated/com/google/cloud/security/privateca/v1/certificateauthorityserviceclient/getcertificatetemplate/SyncGetCertificateTemplateCertificatetemplatename.java index 54c81202..ca66ba35 100644 --- a/samples/snippets/generated/com/google/cloud/security/privateca/v1/certificateauthorityserviceclient/getcertificatetemplate/SyncGetCertificateTemplateCertificatetemplatename.java +++ b/samples/snippets/generated/com/google/cloud/security/privateca/v1/certificateauthorityserviceclient/getcertificatetemplate/SyncGetCertificateTemplateCertificatetemplatename.java @@ -16,8 +16,7 @@ package com.google.cloud.security.privateca.v1.samples; -// [START -// privateca_v1_generated_certificateauthorityserviceclient_getcertificatetemplate_certificatetemplatename_sync] +// [START privateca_v1_generated_certificateauthorityserviceclient_getcertificatetemplate_certificatetemplatename_sync] import com.google.cloud.security.privateca.v1.CertificateAuthorityServiceClient; import com.google.cloud.security.privateca.v1.CertificateTemplate; import com.google.cloud.security.privateca.v1.CertificateTemplateName; @@ -39,5 +38,4 @@ public static void syncGetCertificateTemplateCertificatetemplatename() throws Ex } } } -// [END -// privateca_v1_generated_certificateauthorityserviceclient_getcertificatetemplate_certificatetemplatename_sync] +// [END privateca_v1_generated_certificateauthorityserviceclient_getcertificatetemplate_certificatetemplatename_sync] diff --git a/samples/snippets/generated/com/google/cloud/security/privateca/v1/certificateauthorityserviceclient/getcertificatetemplate/SyncGetCertificateTemplateString.java b/samples/snippets/generated/com/google/cloud/security/privateca/v1/certificateauthorityserviceclient/getcertificatetemplate/SyncGetCertificateTemplateString.java index 6567e79a..89c87acb 100644 --- a/samples/snippets/generated/com/google/cloud/security/privateca/v1/certificateauthorityserviceclient/getcertificatetemplate/SyncGetCertificateTemplateString.java +++ b/samples/snippets/generated/com/google/cloud/security/privateca/v1/certificateauthorityserviceclient/getcertificatetemplate/SyncGetCertificateTemplateString.java @@ -16,8 +16,7 @@ package com.google.cloud.security.privateca.v1.samples; -// [START -// privateca_v1_generated_certificateauthorityserviceclient_getcertificatetemplate_string_sync] +// [START privateca_v1_generated_certificateauthorityserviceclient_getcertificatetemplate_string_sync] import com.google.cloud.security.privateca.v1.CertificateAuthorityServiceClient; import com.google.cloud.security.privateca.v1.CertificateTemplate; import com.google.cloud.security.privateca.v1.CertificateTemplateName; diff --git a/samples/snippets/generated/com/google/cloud/security/privateca/v1/certificateauthorityserviceclient/listcertificateauthorities/AsyncListCertificateAuthoritiesPaged.java b/samples/snippets/generated/com/google/cloud/security/privateca/v1/certificateauthorityserviceclient/listcertificateauthorities/AsyncListCertificateAuthoritiesPaged.java index 1cc08edd..f990c670 100644 --- a/samples/snippets/generated/com/google/cloud/security/privateca/v1/certificateauthorityserviceclient/listcertificateauthorities/AsyncListCertificateAuthoritiesPaged.java +++ b/samples/snippets/generated/com/google/cloud/security/privateca/v1/certificateauthorityserviceclient/listcertificateauthorities/AsyncListCertificateAuthoritiesPaged.java @@ -16,8 +16,7 @@ package com.google.cloud.security.privateca.v1.samples; -// [START -// privateca_v1_generated_certificateauthorityserviceclient_listcertificateauthorities_paged_async] +// [START privateca_v1_generated_certificateauthorityserviceclient_listcertificateauthorities_paged_async] import com.google.cloud.security.privateca.v1.CaPoolName; import com.google.cloud.security.privateca.v1.CertificateAuthority; import com.google.cloud.security.privateca.v1.CertificateAuthorityServiceClient; @@ -60,5 +59,4 @@ public static void asyncListCertificateAuthoritiesPaged() throws Exception { } } } -// [END -// privateca_v1_generated_certificateauthorityserviceclient_listcertificateauthorities_paged_async] +// [END privateca_v1_generated_certificateauthorityserviceclient_listcertificateauthorities_paged_async] diff --git a/samples/snippets/generated/com/google/cloud/security/privateca/v1/certificateauthorityserviceclient/listcertificateauthorities/SyncListCertificateAuthoritiesCapoolname.java b/samples/snippets/generated/com/google/cloud/security/privateca/v1/certificateauthorityserviceclient/listcertificateauthorities/SyncListCertificateAuthoritiesCapoolname.java index 73228f11..86bcbd62 100644 --- a/samples/snippets/generated/com/google/cloud/security/privateca/v1/certificateauthorityserviceclient/listcertificateauthorities/SyncListCertificateAuthoritiesCapoolname.java +++ b/samples/snippets/generated/com/google/cloud/security/privateca/v1/certificateauthorityserviceclient/listcertificateauthorities/SyncListCertificateAuthoritiesCapoolname.java @@ -16,8 +16,7 @@ package com.google.cloud.security.privateca.v1.samples; -// [START -// privateca_v1_generated_certificateauthorityserviceclient_listcertificateauthorities_capoolname_sync] +// [START privateca_v1_generated_certificateauthorityserviceclient_listcertificateauthorities_capoolname_sync] import com.google.cloud.security.privateca.v1.CaPoolName; import com.google.cloud.security.privateca.v1.CertificateAuthority; import com.google.cloud.security.privateca.v1.CertificateAuthorityServiceClient; @@ -41,5 +40,4 @@ public static void syncListCertificateAuthoritiesCapoolname() throws Exception { } } } -// [END -// privateca_v1_generated_certificateauthorityserviceclient_listcertificateauthorities_capoolname_sync] +// [END privateca_v1_generated_certificateauthorityserviceclient_listcertificateauthorities_capoolname_sync] diff --git a/samples/snippets/generated/com/google/cloud/security/privateca/v1/certificateauthorityserviceclient/listcertificateauthorities/SyncListCertificateAuthoritiesString.java b/samples/snippets/generated/com/google/cloud/security/privateca/v1/certificateauthorityserviceclient/listcertificateauthorities/SyncListCertificateAuthoritiesString.java index 3c148d66..2d3874a1 100644 --- a/samples/snippets/generated/com/google/cloud/security/privateca/v1/certificateauthorityserviceclient/listcertificateauthorities/SyncListCertificateAuthoritiesString.java +++ b/samples/snippets/generated/com/google/cloud/security/privateca/v1/certificateauthorityserviceclient/listcertificateauthorities/SyncListCertificateAuthoritiesString.java @@ -16,8 +16,7 @@ package com.google.cloud.security.privateca.v1.samples; -// [START -// privateca_v1_generated_certificateauthorityserviceclient_listcertificateauthorities_string_sync] +// [START privateca_v1_generated_certificateauthorityserviceclient_listcertificateauthorities_string_sync] import com.google.cloud.security.privateca.v1.CaPoolName; import com.google.cloud.security.privateca.v1.CertificateAuthority; import com.google.cloud.security.privateca.v1.CertificateAuthorityServiceClient; @@ -41,5 +40,4 @@ public static void syncListCertificateAuthoritiesString() throws Exception { } } } -// [END -// privateca_v1_generated_certificateauthorityserviceclient_listcertificateauthorities_string_sync] +// [END privateca_v1_generated_certificateauthorityserviceclient_listcertificateauthorities_string_sync] diff --git a/samples/snippets/generated/com/google/cloud/security/privateca/v1/certificateauthorityserviceclient/listcertificaterevocationlists/AsyncListCertificateRevocationLists.java b/samples/snippets/generated/com/google/cloud/security/privateca/v1/certificateauthorityserviceclient/listcertificaterevocationlists/AsyncListCertificateRevocationLists.java index c57a5938..87b97af8 100644 --- a/samples/snippets/generated/com/google/cloud/security/privateca/v1/certificateauthorityserviceclient/listcertificaterevocationlists/AsyncListCertificateRevocationLists.java +++ b/samples/snippets/generated/com/google/cloud/security/privateca/v1/certificateauthorityserviceclient/listcertificaterevocationlists/AsyncListCertificateRevocationLists.java @@ -16,8 +16,7 @@ package com.google.cloud.security.privateca.v1.samples; -// [START -// privateca_v1_generated_certificateauthorityserviceclient_listcertificaterevocationlists_async] +// [START privateca_v1_generated_certificateauthorityserviceclient_listcertificaterevocationlists_async] import com.google.api.core.ApiFuture; import com.google.cloud.security.privateca.v1.CertificateAuthorityName; import com.google.cloud.security.privateca.v1.CertificateAuthorityServiceClient; @@ -57,5 +56,4 @@ public static void asyncListCertificateRevocationLists() throws Exception { } } } -// [END -// privateca_v1_generated_certificateauthorityserviceclient_listcertificaterevocationlists_async] +// [END privateca_v1_generated_certificateauthorityserviceclient_listcertificaterevocationlists_async] diff --git a/samples/snippets/generated/com/google/cloud/security/privateca/v1/certificateauthorityserviceclient/listcertificaterevocationlists/AsyncListCertificateRevocationListsPaged.java b/samples/snippets/generated/com/google/cloud/security/privateca/v1/certificateauthorityserviceclient/listcertificaterevocationlists/AsyncListCertificateRevocationListsPaged.java index 9281a3d4..3ef39b14 100644 --- a/samples/snippets/generated/com/google/cloud/security/privateca/v1/certificateauthorityserviceclient/listcertificaterevocationlists/AsyncListCertificateRevocationListsPaged.java +++ b/samples/snippets/generated/com/google/cloud/security/privateca/v1/certificateauthorityserviceclient/listcertificaterevocationlists/AsyncListCertificateRevocationListsPaged.java @@ -16,8 +16,7 @@ package com.google.cloud.security.privateca.v1.samples; -// [START -// privateca_v1_generated_certificateauthorityserviceclient_listcertificaterevocationlists_paged_async] +// [START privateca_v1_generated_certificateauthorityserviceclient_listcertificaterevocationlists_paged_async] import com.google.cloud.security.privateca.v1.CertificateAuthorityName; import com.google.cloud.security.privateca.v1.CertificateAuthorityServiceClient; import com.google.cloud.security.privateca.v1.CertificateRevocationList; @@ -65,5 +64,4 @@ public static void asyncListCertificateRevocationListsPaged() throws Exception { } } } -// [END -// privateca_v1_generated_certificateauthorityserviceclient_listcertificaterevocationlists_paged_async] +// [END privateca_v1_generated_certificateauthorityserviceclient_listcertificaterevocationlists_paged_async] diff --git a/samples/snippets/generated/com/google/cloud/security/privateca/v1/certificateauthorityserviceclient/listcertificaterevocationlists/SyncListCertificateRevocationLists.java b/samples/snippets/generated/com/google/cloud/security/privateca/v1/certificateauthorityserviceclient/listcertificaterevocationlists/SyncListCertificateRevocationLists.java index 40473b4e..4dbbbb32 100644 --- a/samples/snippets/generated/com/google/cloud/security/privateca/v1/certificateauthorityserviceclient/listcertificaterevocationlists/SyncListCertificateRevocationLists.java +++ b/samples/snippets/generated/com/google/cloud/security/privateca/v1/certificateauthorityserviceclient/listcertificaterevocationlists/SyncListCertificateRevocationLists.java @@ -16,8 +16,7 @@ package com.google.cloud.security.privateca.v1.samples; -// [START -// privateca_v1_generated_certificateauthorityserviceclient_listcertificaterevocationlists_sync] +// [START privateca_v1_generated_certificateauthorityserviceclient_listcertificaterevocationlists_sync] import com.google.cloud.security.privateca.v1.CertificateAuthorityName; import com.google.cloud.security.privateca.v1.CertificateAuthorityServiceClient; import com.google.cloud.security.privateca.v1.CertificateRevocationList; @@ -52,5 +51,4 @@ public static void syncListCertificateRevocationLists() throws Exception { } } } -// [END -// privateca_v1_generated_certificateauthorityserviceclient_listcertificaterevocationlists_sync] +// [END privateca_v1_generated_certificateauthorityserviceclient_listcertificaterevocationlists_sync] diff --git a/samples/snippets/generated/com/google/cloud/security/privateca/v1/certificateauthorityserviceclient/listcertificaterevocationlists/SyncListCertificateRevocationListsCertificateauthorityname.java b/samples/snippets/generated/com/google/cloud/security/privateca/v1/certificateauthorityserviceclient/listcertificaterevocationlists/SyncListCertificateRevocationListsCertificateauthorityname.java index 0597ac11..4addaad6 100644 --- a/samples/snippets/generated/com/google/cloud/security/privateca/v1/certificateauthorityserviceclient/listcertificaterevocationlists/SyncListCertificateRevocationListsCertificateauthorityname.java +++ b/samples/snippets/generated/com/google/cloud/security/privateca/v1/certificateauthorityserviceclient/listcertificaterevocationlists/SyncListCertificateRevocationListsCertificateauthorityname.java @@ -16,8 +16,7 @@ package com.google.cloud.security.privateca.v1.samples; -// [START -// privateca_v1_generated_certificateauthorityserviceclient_listcertificaterevocationlists_certificateauthorityname_sync] +// [START privateca_v1_generated_certificateauthorityserviceclient_listcertificaterevocationlists_certificateauthorityname_sync] import com.google.cloud.security.privateca.v1.CertificateAuthorityName; import com.google.cloud.security.privateca.v1.CertificateAuthorityServiceClient; import com.google.cloud.security.privateca.v1.CertificateRevocationList; @@ -43,5 +42,4 @@ public static void syncListCertificateRevocationListsCertificateauthorityname() } } } -// [END -// privateca_v1_generated_certificateauthorityserviceclient_listcertificaterevocationlists_certificateauthorityname_sync] +// [END privateca_v1_generated_certificateauthorityserviceclient_listcertificaterevocationlists_certificateauthorityname_sync] diff --git a/samples/snippets/generated/com/google/cloud/security/privateca/v1/certificateauthorityserviceclient/listcertificaterevocationlists/SyncListCertificateRevocationListsString.java b/samples/snippets/generated/com/google/cloud/security/privateca/v1/certificateauthorityserviceclient/listcertificaterevocationlists/SyncListCertificateRevocationListsString.java index 405b7e98..b62de363 100644 --- a/samples/snippets/generated/com/google/cloud/security/privateca/v1/certificateauthorityserviceclient/listcertificaterevocationlists/SyncListCertificateRevocationListsString.java +++ b/samples/snippets/generated/com/google/cloud/security/privateca/v1/certificateauthorityserviceclient/listcertificaterevocationlists/SyncListCertificateRevocationListsString.java @@ -16,8 +16,7 @@ package com.google.cloud.security.privateca.v1.samples; -// [START -// privateca_v1_generated_certificateauthorityserviceclient_listcertificaterevocationlists_string_sync] +// [START privateca_v1_generated_certificateauthorityserviceclient_listcertificaterevocationlists_string_sync] import com.google.cloud.security.privateca.v1.CertificateAuthorityName; import com.google.cloud.security.privateca.v1.CertificateAuthorityServiceClient; import com.google.cloud.security.privateca.v1.CertificateRevocationList; @@ -44,5 +43,4 @@ public static void syncListCertificateRevocationListsString() throws Exception { } } } -// [END -// privateca_v1_generated_certificateauthorityserviceclient_listcertificaterevocationlists_string_sync] +// [END privateca_v1_generated_certificateauthorityserviceclient_listcertificaterevocationlists_string_sync] diff --git a/samples/snippets/generated/com/google/cloud/security/privateca/v1/certificateauthorityserviceclient/listcertificatetemplates/AsyncListCertificateTemplatesPaged.java b/samples/snippets/generated/com/google/cloud/security/privateca/v1/certificateauthorityserviceclient/listcertificatetemplates/AsyncListCertificateTemplatesPaged.java index 7ab65371..5f317524 100644 --- a/samples/snippets/generated/com/google/cloud/security/privateca/v1/certificateauthorityserviceclient/listcertificatetemplates/AsyncListCertificateTemplatesPaged.java +++ b/samples/snippets/generated/com/google/cloud/security/privateca/v1/certificateauthorityserviceclient/listcertificatetemplates/AsyncListCertificateTemplatesPaged.java @@ -16,8 +16,7 @@ package com.google.cloud.security.privateca.v1.samples; -// [START -// privateca_v1_generated_certificateauthorityserviceclient_listcertificatetemplates_paged_async] +// [START privateca_v1_generated_certificateauthorityserviceclient_listcertificatetemplates_paged_async] import com.google.cloud.security.privateca.v1.CertificateAuthorityServiceClient; import com.google.cloud.security.privateca.v1.CertificateTemplate; import com.google.cloud.security.privateca.v1.ListCertificateTemplatesRequest; @@ -60,5 +59,4 @@ public static void asyncListCertificateTemplatesPaged() throws Exception { } } } -// [END -// privateca_v1_generated_certificateauthorityserviceclient_listcertificatetemplates_paged_async] +// [END privateca_v1_generated_certificateauthorityserviceclient_listcertificatetemplates_paged_async] diff --git a/samples/snippets/generated/com/google/cloud/security/privateca/v1/certificateauthorityserviceclient/listcertificatetemplates/SyncListCertificateTemplatesLocationname.java b/samples/snippets/generated/com/google/cloud/security/privateca/v1/certificateauthorityserviceclient/listcertificatetemplates/SyncListCertificateTemplatesLocationname.java index 1ad99a4c..7cc886a9 100644 --- a/samples/snippets/generated/com/google/cloud/security/privateca/v1/certificateauthorityserviceclient/listcertificatetemplates/SyncListCertificateTemplatesLocationname.java +++ b/samples/snippets/generated/com/google/cloud/security/privateca/v1/certificateauthorityserviceclient/listcertificatetemplates/SyncListCertificateTemplatesLocationname.java @@ -16,8 +16,7 @@ package com.google.cloud.security.privateca.v1.samples; -// [START -// privateca_v1_generated_certificateauthorityserviceclient_listcertificatetemplates_locationname_sync] +// [START privateca_v1_generated_certificateauthorityserviceclient_listcertificatetemplates_locationname_sync] import com.google.cloud.security.privateca.v1.CertificateAuthorityServiceClient; import com.google.cloud.security.privateca.v1.CertificateTemplate; import com.google.cloud.security.privateca.v1.LocationName; @@ -41,5 +40,4 @@ public static void syncListCertificateTemplatesLocationname() throws Exception { } } } -// [END -// privateca_v1_generated_certificateauthorityserviceclient_listcertificatetemplates_locationname_sync] +// [END privateca_v1_generated_certificateauthorityserviceclient_listcertificatetemplates_locationname_sync] diff --git a/samples/snippets/generated/com/google/cloud/security/privateca/v1/certificateauthorityserviceclient/listcertificatetemplates/SyncListCertificateTemplatesString.java b/samples/snippets/generated/com/google/cloud/security/privateca/v1/certificateauthorityserviceclient/listcertificatetemplates/SyncListCertificateTemplatesString.java index 0cb124a2..373ed421 100644 --- a/samples/snippets/generated/com/google/cloud/security/privateca/v1/certificateauthorityserviceclient/listcertificatetemplates/SyncListCertificateTemplatesString.java +++ b/samples/snippets/generated/com/google/cloud/security/privateca/v1/certificateauthorityserviceclient/listcertificatetemplates/SyncListCertificateTemplatesString.java @@ -16,8 +16,7 @@ package com.google.cloud.security.privateca.v1.samples; -// [START -// privateca_v1_generated_certificateauthorityserviceclient_listcertificatetemplates_string_sync] +// [START privateca_v1_generated_certificateauthorityserviceclient_listcertificatetemplates_string_sync] import com.google.cloud.security.privateca.v1.CertificateAuthorityServiceClient; import com.google.cloud.security.privateca.v1.CertificateTemplate; import com.google.cloud.security.privateca.v1.LocationName; @@ -41,5 +40,4 @@ public static void syncListCertificateTemplatesString() throws Exception { } } } -// [END -// privateca_v1_generated_certificateauthorityserviceclient_listcertificatetemplates_string_sync] +// [END privateca_v1_generated_certificateauthorityserviceclient_listcertificatetemplates_string_sync] diff --git a/samples/snippets/generated/com/google/cloud/security/privateca/v1/certificateauthorityserviceclient/revokecertificate/SyncRevokeCertificateCertificatename.java b/samples/snippets/generated/com/google/cloud/security/privateca/v1/certificateauthorityserviceclient/revokecertificate/SyncRevokeCertificateCertificatename.java index 1e061da2..4aa40ef0 100644 --- a/samples/snippets/generated/com/google/cloud/security/privateca/v1/certificateauthorityserviceclient/revokecertificate/SyncRevokeCertificateCertificatename.java +++ b/samples/snippets/generated/com/google/cloud/security/privateca/v1/certificateauthorityserviceclient/revokecertificate/SyncRevokeCertificateCertificatename.java @@ -16,8 +16,7 @@ package com.google.cloud.security.privateca.v1.samples; -// [START -// privateca_v1_generated_certificateauthorityserviceclient_revokecertificate_certificatename_sync] +// [START privateca_v1_generated_certificateauthorityserviceclient_revokecertificate_certificatename_sync] import com.google.cloud.security.privateca.v1.Certificate; import com.google.cloud.security.privateca.v1.CertificateAuthorityServiceClient; import com.google.cloud.security.privateca.v1.CertificateName; @@ -39,5 +38,4 @@ public static void syncRevokeCertificateCertificatename() throws Exception { } } } -// [END -// privateca_v1_generated_certificateauthorityserviceclient_revokecertificate_certificatename_sync] +// [END privateca_v1_generated_certificateauthorityserviceclient_revokecertificate_certificatename_sync] diff --git a/samples/snippets/generated/com/google/cloud/security/privateca/v1/certificateauthorityserviceclient/undeletecertificateauthority/AsyncUndeleteCertificateAuthority.java b/samples/snippets/generated/com/google/cloud/security/privateca/v1/certificateauthorityserviceclient/undeletecertificateauthority/AsyncUndeleteCertificateAuthority.java index 74d7fc4c..08ebaca7 100644 --- a/samples/snippets/generated/com/google/cloud/security/privateca/v1/certificateauthorityserviceclient/undeletecertificateauthority/AsyncUndeleteCertificateAuthority.java +++ b/samples/snippets/generated/com/google/cloud/security/privateca/v1/certificateauthorityserviceclient/undeletecertificateauthority/AsyncUndeleteCertificateAuthority.java @@ -16,8 +16,7 @@ package com.google.cloud.security.privateca.v1.samples; -// [START -// privateca_v1_generated_certificateauthorityserviceclient_undeletecertificateauthority_async] +// [START privateca_v1_generated_certificateauthorityserviceclient_undeletecertificateauthority_async] import com.google.api.core.ApiFuture; import com.google.cloud.security.privateca.v1.CertificateAuthorityName; import com.google.cloud.security.privateca.v1.CertificateAuthorityServiceClient; diff --git a/samples/snippets/generated/com/google/cloud/security/privateca/v1/certificateauthorityserviceclient/undeletecertificateauthority/AsyncUndeleteCertificateAuthorityLRO.java b/samples/snippets/generated/com/google/cloud/security/privateca/v1/certificateauthorityserviceclient/undeletecertificateauthority/AsyncUndeleteCertificateAuthorityLRO.java index 36790da6..d204393c 100644 --- a/samples/snippets/generated/com/google/cloud/security/privateca/v1/certificateauthorityserviceclient/undeletecertificateauthority/AsyncUndeleteCertificateAuthorityLRO.java +++ b/samples/snippets/generated/com/google/cloud/security/privateca/v1/certificateauthorityserviceclient/undeletecertificateauthority/AsyncUndeleteCertificateAuthorityLRO.java @@ -16,8 +16,7 @@ package com.google.cloud.security.privateca.v1.samples; -// [START -// privateca_v1_generated_certificateauthorityserviceclient_undeletecertificateauthority_lro_async] +// [START privateca_v1_generated_certificateauthorityserviceclient_undeletecertificateauthority_lro_async] import com.google.api.gax.longrunning.OperationFuture; import com.google.cloud.security.privateca.v1.CertificateAuthority; import com.google.cloud.security.privateca.v1.CertificateAuthorityName; @@ -53,5 +52,4 @@ public static void asyncUndeleteCertificateAuthorityLRO() throws Exception { } } } -// [END -// privateca_v1_generated_certificateauthorityserviceclient_undeletecertificateauthority_lro_async] +// [END privateca_v1_generated_certificateauthorityserviceclient_undeletecertificateauthority_lro_async] diff --git a/samples/snippets/generated/com/google/cloud/security/privateca/v1/certificateauthorityserviceclient/undeletecertificateauthority/SyncUndeleteCertificateAuthority.java b/samples/snippets/generated/com/google/cloud/security/privateca/v1/certificateauthorityserviceclient/undeletecertificateauthority/SyncUndeleteCertificateAuthority.java index 098ab5ce..b291a19b 100644 --- a/samples/snippets/generated/com/google/cloud/security/privateca/v1/certificateauthorityserviceclient/undeletecertificateauthority/SyncUndeleteCertificateAuthority.java +++ b/samples/snippets/generated/com/google/cloud/security/privateca/v1/certificateauthorityserviceclient/undeletecertificateauthority/SyncUndeleteCertificateAuthority.java @@ -16,8 +16,7 @@ package com.google.cloud.security.privateca.v1.samples; -// [START -// privateca_v1_generated_certificateauthorityserviceclient_undeletecertificateauthority_sync] +// [START privateca_v1_generated_certificateauthorityserviceclient_undeletecertificateauthority_sync] import com.google.cloud.security.privateca.v1.CertificateAuthority; import com.google.cloud.security.privateca.v1.CertificateAuthorityName; import com.google.cloud.security.privateca.v1.CertificateAuthorityServiceClient; diff --git a/samples/snippets/generated/com/google/cloud/security/privateca/v1/certificateauthorityserviceclient/undeletecertificateauthority/SyncUndeleteCertificateAuthorityCertificateauthorityname.java b/samples/snippets/generated/com/google/cloud/security/privateca/v1/certificateauthorityserviceclient/undeletecertificateauthority/SyncUndeleteCertificateAuthorityCertificateauthorityname.java index ab2fd9f8..a7509f56 100644 --- a/samples/snippets/generated/com/google/cloud/security/privateca/v1/certificateauthorityserviceclient/undeletecertificateauthority/SyncUndeleteCertificateAuthorityCertificateauthorityname.java +++ b/samples/snippets/generated/com/google/cloud/security/privateca/v1/certificateauthorityserviceclient/undeletecertificateauthority/SyncUndeleteCertificateAuthorityCertificateauthorityname.java @@ -16,8 +16,7 @@ package com.google.cloud.security.privateca.v1.samples; -// [START -// privateca_v1_generated_certificateauthorityserviceclient_undeletecertificateauthority_certificateauthorityname_sync] +// [START privateca_v1_generated_certificateauthorityserviceclient_undeletecertificateauthority_certificateauthorityname_sync] import com.google.cloud.security.privateca.v1.CertificateAuthority; import com.google.cloud.security.privateca.v1.CertificateAuthorityName; import com.google.cloud.security.privateca.v1.CertificateAuthorityServiceClient; @@ -41,5 +40,4 @@ public static void syncUndeleteCertificateAuthorityCertificateauthorityname() th } } } -// [END -// privateca_v1_generated_certificateauthorityserviceclient_undeletecertificateauthority_certificateauthorityname_sync] +// [END privateca_v1_generated_certificateauthorityserviceclient_undeletecertificateauthority_certificateauthorityname_sync] diff --git a/samples/snippets/generated/com/google/cloud/security/privateca/v1/certificateauthorityserviceclient/undeletecertificateauthority/SyncUndeleteCertificateAuthorityString.java b/samples/snippets/generated/com/google/cloud/security/privateca/v1/certificateauthorityserviceclient/undeletecertificateauthority/SyncUndeleteCertificateAuthorityString.java index 7ab50e2f..c912a936 100644 --- a/samples/snippets/generated/com/google/cloud/security/privateca/v1/certificateauthorityserviceclient/undeletecertificateauthority/SyncUndeleteCertificateAuthorityString.java +++ b/samples/snippets/generated/com/google/cloud/security/privateca/v1/certificateauthorityserviceclient/undeletecertificateauthority/SyncUndeleteCertificateAuthorityString.java @@ -16,8 +16,7 @@ package com.google.cloud.security.privateca.v1.samples; -// [START -// privateca_v1_generated_certificateauthorityserviceclient_undeletecertificateauthority_string_sync] +// [START privateca_v1_generated_certificateauthorityserviceclient_undeletecertificateauthority_string_sync] import com.google.cloud.security.privateca.v1.CertificateAuthority; import com.google.cloud.security.privateca.v1.CertificateAuthorityName; import com.google.cloud.security.privateca.v1.CertificateAuthorityServiceClient; @@ -42,5 +41,4 @@ public static void syncUndeleteCertificateAuthorityString() throws Exception { } } } -// [END -// privateca_v1_generated_certificateauthorityserviceclient_undeletecertificateauthority_string_sync] +// [END privateca_v1_generated_certificateauthorityserviceclient_undeletecertificateauthority_string_sync] diff --git a/samples/snippets/generated/com/google/cloud/security/privateca/v1/certificateauthorityserviceclient/updatecapool/SyncUpdateCaPoolCapoolFieldmask.java b/samples/snippets/generated/com/google/cloud/security/privateca/v1/certificateauthorityserviceclient/updatecapool/SyncUpdateCaPoolCapoolFieldmask.java index 3ce6a441..80b63400 100644 --- a/samples/snippets/generated/com/google/cloud/security/privateca/v1/certificateauthorityserviceclient/updatecapool/SyncUpdateCaPoolCapoolFieldmask.java +++ b/samples/snippets/generated/com/google/cloud/security/privateca/v1/certificateauthorityserviceclient/updatecapool/SyncUpdateCaPoolCapoolFieldmask.java @@ -16,8 +16,7 @@ package com.google.cloud.security.privateca.v1.samples; -// [START -// privateca_v1_generated_certificateauthorityserviceclient_updatecapool_capoolfieldmask_sync] +// [START privateca_v1_generated_certificateauthorityserviceclient_updatecapool_capoolfieldmask_sync] import com.google.cloud.security.privateca.v1.CaPool; import com.google.cloud.security.privateca.v1.CertificateAuthorityServiceClient; import com.google.protobuf.FieldMask; diff --git a/samples/snippets/generated/com/google/cloud/security/privateca/v1/certificateauthorityserviceclient/updatecertificate/SyncUpdateCertificateCertificateFieldmask.java b/samples/snippets/generated/com/google/cloud/security/privateca/v1/certificateauthorityserviceclient/updatecertificate/SyncUpdateCertificateCertificateFieldmask.java index 8edbfe11..00b376bd 100644 --- a/samples/snippets/generated/com/google/cloud/security/privateca/v1/certificateauthorityserviceclient/updatecertificate/SyncUpdateCertificateCertificateFieldmask.java +++ b/samples/snippets/generated/com/google/cloud/security/privateca/v1/certificateauthorityserviceclient/updatecertificate/SyncUpdateCertificateCertificateFieldmask.java @@ -16,8 +16,7 @@ package com.google.cloud.security.privateca.v1.samples; -// [START -// privateca_v1_generated_certificateauthorityserviceclient_updatecertificate_certificatefieldmask_sync] +// [START privateca_v1_generated_certificateauthorityserviceclient_updatecertificate_certificatefieldmask_sync] import com.google.cloud.security.privateca.v1.Certificate; import com.google.cloud.security.privateca.v1.CertificateAuthorityServiceClient; import com.google.protobuf.FieldMask; @@ -40,5 +39,4 @@ public static void syncUpdateCertificateCertificateFieldmask() throws Exception } } } -// [END -// privateca_v1_generated_certificateauthorityserviceclient_updatecertificate_certificatefieldmask_sync] +// [END privateca_v1_generated_certificateauthorityserviceclient_updatecertificate_certificatefieldmask_sync] diff --git a/samples/snippets/generated/com/google/cloud/security/privateca/v1/certificateauthorityserviceclient/updatecertificateauthority/AsyncUpdateCertificateAuthorityLRO.java b/samples/snippets/generated/com/google/cloud/security/privateca/v1/certificateauthorityserviceclient/updatecertificateauthority/AsyncUpdateCertificateAuthorityLRO.java index 40dc20f5..4037a350 100644 --- a/samples/snippets/generated/com/google/cloud/security/privateca/v1/certificateauthorityserviceclient/updatecertificateauthority/AsyncUpdateCertificateAuthorityLRO.java +++ b/samples/snippets/generated/com/google/cloud/security/privateca/v1/certificateauthorityserviceclient/updatecertificateauthority/AsyncUpdateCertificateAuthorityLRO.java @@ -16,8 +16,7 @@ package com.google.cloud.security.privateca.v1.samples; -// [START -// privateca_v1_generated_certificateauthorityserviceclient_updatecertificateauthority_lro_async] +// [START privateca_v1_generated_certificateauthorityserviceclient_updatecertificateauthority_lro_async] import com.google.api.gax.longrunning.OperationFuture; import com.google.cloud.security.privateca.v1.CertificateAuthority; import com.google.cloud.security.privateca.v1.CertificateAuthorityServiceClient; @@ -51,5 +50,4 @@ public static void asyncUpdateCertificateAuthorityLRO() throws Exception { } } } -// [END -// privateca_v1_generated_certificateauthorityserviceclient_updatecertificateauthority_lro_async] +// [END privateca_v1_generated_certificateauthorityserviceclient_updatecertificateauthority_lro_async] diff --git a/samples/snippets/generated/com/google/cloud/security/privateca/v1/certificateauthorityserviceclient/updatecertificateauthority/SyncUpdateCertificateAuthorityCertificateauthorityFieldmask.java b/samples/snippets/generated/com/google/cloud/security/privateca/v1/certificateauthorityserviceclient/updatecertificateauthority/SyncUpdateCertificateAuthorityCertificateauthorityFieldmask.java index 9302e2ad..e3ccceae 100644 --- a/samples/snippets/generated/com/google/cloud/security/privateca/v1/certificateauthorityserviceclient/updatecertificateauthority/SyncUpdateCertificateAuthorityCertificateauthorityFieldmask.java +++ b/samples/snippets/generated/com/google/cloud/security/privateca/v1/certificateauthorityserviceclient/updatecertificateauthority/SyncUpdateCertificateAuthorityCertificateauthorityFieldmask.java @@ -16,8 +16,7 @@ package com.google.cloud.security.privateca.v1.samples; -// [START -// privateca_v1_generated_certificateauthorityserviceclient_updatecertificateauthority_certificateauthorityfieldmask_sync] +// [START privateca_v1_generated_certificateauthorityserviceclient_updatecertificateauthority_certificateauthorityfieldmask_sync] import com.google.cloud.security.privateca.v1.CertificateAuthority; import com.google.cloud.security.privateca.v1.CertificateAuthorityServiceClient; import com.google.protobuf.FieldMask; @@ -43,5 +42,4 @@ public static void syncUpdateCertificateAuthorityCertificateauthorityFieldmask() } } } -// [END -// privateca_v1_generated_certificateauthorityserviceclient_updatecertificateauthority_certificateauthorityfieldmask_sync] +// [END privateca_v1_generated_certificateauthorityserviceclient_updatecertificateauthority_certificateauthorityfieldmask_sync] diff --git a/samples/snippets/generated/com/google/cloud/security/privateca/v1/certificateauthorityserviceclient/updatecertificaterevocationlist/AsyncUpdateCertificateRevocationList.java b/samples/snippets/generated/com/google/cloud/security/privateca/v1/certificateauthorityserviceclient/updatecertificaterevocationlist/AsyncUpdateCertificateRevocationList.java index e7157f15..1bd9584c 100644 --- a/samples/snippets/generated/com/google/cloud/security/privateca/v1/certificateauthorityserviceclient/updatecertificaterevocationlist/AsyncUpdateCertificateRevocationList.java +++ b/samples/snippets/generated/com/google/cloud/security/privateca/v1/certificateauthorityserviceclient/updatecertificaterevocationlist/AsyncUpdateCertificateRevocationList.java @@ -16,8 +16,7 @@ package com.google.cloud.security.privateca.v1.samples; -// [START -// privateca_v1_generated_certificateauthorityserviceclient_updatecertificaterevocationlist_async] +// [START privateca_v1_generated_certificateauthorityserviceclient_updatecertificaterevocationlist_async] import com.google.api.core.ApiFuture; import com.google.cloud.security.privateca.v1.CertificateAuthorityServiceClient; import com.google.cloud.security.privateca.v1.CertificateRevocationList; @@ -51,5 +50,4 @@ public static void asyncUpdateCertificateRevocationList() throws Exception { } } } -// [END -// privateca_v1_generated_certificateauthorityserviceclient_updatecertificaterevocationlist_async] +// [END privateca_v1_generated_certificateauthorityserviceclient_updatecertificaterevocationlist_async] diff --git a/samples/snippets/generated/com/google/cloud/security/privateca/v1/certificateauthorityserviceclient/updatecertificaterevocationlist/AsyncUpdateCertificateRevocationListLRO.java b/samples/snippets/generated/com/google/cloud/security/privateca/v1/certificateauthorityserviceclient/updatecertificaterevocationlist/AsyncUpdateCertificateRevocationListLRO.java index 26938466..37c624c2 100644 --- a/samples/snippets/generated/com/google/cloud/security/privateca/v1/certificateauthorityserviceclient/updatecertificaterevocationlist/AsyncUpdateCertificateRevocationListLRO.java +++ b/samples/snippets/generated/com/google/cloud/security/privateca/v1/certificateauthorityserviceclient/updatecertificaterevocationlist/AsyncUpdateCertificateRevocationListLRO.java @@ -16,8 +16,7 @@ package com.google.cloud.security.privateca.v1.samples; -// [START -// privateca_v1_generated_certificateauthorityserviceclient_updatecertificaterevocationlist_lro_async] +// [START privateca_v1_generated_certificateauthorityserviceclient_updatecertificaterevocationlist_lro_async] import com.google.api.gax.longrunning.OperationFuture; import com.google.cloud.security.privateca.v1.CertificateAuthorityServiceClient; import com.google.cloud.security.privateca.v1.CertificateRevocationList; @@ -51,5 +50,4 @@ public static void asyncUpdateCertificateRevocationListLRO() throws Exception { } } } -// [END -// privateca_v1_generated_certificateauthorityserviceclient_updatecertificaterevocationlist_lro_async] +// [END privateca_v1_generated_certificateauthorityserviceclient_updatecertificaterevocationlist_lro_async] diff --git a/samples/snippets/generated/com/google/cloud/security/privateca/v1/certificateauthorityserviceclient/updatecertificaterevocationlist/SyncUpdateCertificateRevocationList.java b/samples/snippets/generated/com/google/cloud/security/privateca/v1/certificateauthorityserviceclient/updatecertificaterevocationlist/SyncUpdateCertificateRevocationList.java index ebadcc6f..4a947e57 100644 --- a/samples/snippets/generated/com/google/cloud/security/privateca/v1/certificateauthorityserviceclient/updatecertificaterevocationlist/SyncUpdateCertificateRevocationList.java +++ b/samples/snippets/generated/com/google/cloud/security/privateca/v1/certificateauthorityserviceclient/updatecertificaterevocationlist/SyncUpdateCertificateRevocationList.java @@ -16,8 +16,7 @@ package com.google.cloud.security.privateca.v1.samples; -// [START -// privateca_v1_generated_certificateauthorityserviceclient_updatecertificaterevocationlist_sync] +// [START privateca_v1_generated_certificateauthorityserviceclient_updatecertificaterevocationlist_sync] import com.google.cloud.security.privateca.v1.CertificateAuthorityServiceClient; import com.google.cloud.security.privateca.v1.CertificateRevocationList; import com.google.cloud.security.privateca.v1.UpdateCertificateRevocationListRequest; @@ -45,5 +44,4 @@ public static void syncUpdateCertificateRevocationList() throws Exception { } } } -// [END -// privateca_v1_generated_certificateauthorityserviceclient_updatecertificaterevocationlist_sync] +// [END privateca_v1_generated_certificateauthorityserviceclient_updatecertificaterevocationlist_sync] diff --git a/samples/snippets/generated/com/google/cloud/security/privateca/v1/certificateauthorityserviceclient/updatecertificaterevocationlist/SyncUpdateCertificateRevocationListCertificaterevocationlistFieldmask.java b/samples/snippets/generated/com/google/cloud/security/privateca/v1/certificateauthorityserviceclient/updatecertificaterevocationlist/SyncUpdateCertificateRevocationListCertificaterevocationlistFieldmask.java index 16174a37..1b170cd2 100644 --- a/samples/snippets/generated/com/google/cloud/security/privateca/v1/certificateauthorityserviceclient/updatecertificaterevocationlist/SyncUpdateCertificateRevocationListCertificaterevocationlistFieldmask.java +++ b/samples/snippets/generated/com/google/cloud/security/privateca/v1/certificateauthorityserviceclient/updatecertificaterevocationlist/SyncUpdateCertificateRevocationListCertificaterevocationlistFieldmask.java @@ -16,8 +16,7 @@ package com.google.cloud.security.privateca.v1.samples; -// [START -// privateca_v1_generated_certificateauthorityserviceclient_updatecertificaterevocationlist_certificaterevocationlistfieldmask_sync] +// [START privateca_v1_generated_certificateauthorityserviceclient_updatecertificaterevocationlist_certificaterevocationlistfieldmask_sync] import com.google.cloud.security.privateca.v1.CertificateAuthorityServiceClient; import com.google.cloud.security.privateca.v1.CertificateRevocationList; import com.google.protobuf.FieldMask; @@ -44,5 +43,4 @@ public static void syncUpdateCertificateRevocationListCertificaterevocationlistF } } } -// [END -// privateca_v1_generated_certificateauthorityserviceclient_updatecertificaterevocationlist_certificaterevocationlistfieldmask_sync] +// [END privateca_v1_generated_certificateauthorityserviceclient_updatecertificaterevocationlist_certificaterevocationlistfieldmask_sync] diff --git a/samples/snippets/generated/com/google/cloud/security/privateca/v1/certificateauthorityserviceclient/updatecertificatetemplate/AsyncUpdateCertificateTemplateLRO.java b/samples/snippets/generated/com/google/cloud/security/privateca/v1/certificateauthorityserviceclient/updatecertificatetemplate/AsyncUpdateCertificateTemplateLRO.java index e5575766..0d1e3663 100644 --- a/samples/snippets/generated/com/google/cloud/security/privateca/v1/certificateauthorityserviceclient/updatecertificatetemplate/AsyncUpdateCertificateTemplateLRO.java +++ b/samples/snippets/generated/com/google/cloud/security/privateca/v1/certificateauthorityserviceclient/updatecertificatetemplate/AsyncUpdateCertificateTemplateLRO.java @@ -16,8 +16,7 @@ package com.google.cloud.security.privateca.v1.samples; -// [START -// privateca_v1_generated_certificateauthorityserviceclient_updatecertificatetemplate_lro_async] +// [START privateca_v1_generated_certificateauthorityserviceclient_updatecertificatetemplate_lro_async] import com.google.api.gax.longrunning.OperationFuture; import com.google.cloud.security.privateca.v1.CertificateAuthorityServiceClient; import com.google.cloud.security.privateca.v1.CertificateTemplate; @@ -51,5 +50,4 @@ public static void asyncUpdateCertificateTemplateLRO() throws Exception { } } } -// [END -// privateca_v1_generated_certificateauthorityserviceclient_updatecertificatetemplate_lro_async] +// [END privateca_v1_generated_certificateauthorityserviceclient_updatecertificatetemplate_lro_async] diff --git a/samples/snippets/generated/com/google/cloud/security/privateca/v1/certificateauthorityserviceclient/updatecertificatetemplate/SyncUpdateCertificateTemplateCertificatetemplateFieldmask.java b/samples/snippets/generated/com/google/cloud/security/privateca/v1/certificateauthorityserviceclient/updatecertificatetemplate/SyncUpdateCertificateTemplateCertificatetemplateFieldmask.java index 17fe3f9b..645dd623 100644 --- a/samples/snippets/generated/com/google/cloud/security/privateca/v1/certificateauthorityserviceclient/updatecertificatetemplate/SyncUpdateCertificateTemplateCertificatetemplateFieldmask.java +++ b/samples/snippets/generated/com/google/cloud/security/privateca/v1/certificateauthorityserviceclient/updatecertificatetemplate/SyncUpdateCertificateTemplateCertificatetemplateFieldmask.java @@ -16,8 +16,7 @@ package com.google.cloud.security.privateca.v1.samples; -// [START -// privateca_v1_generated_certificateauthorityserviceclient_updatecertificatetemplate_certificatetemplatefieldmask_sync] +// [START privateca_v1_generated_certificateauthorityserviceclient_updatecertificatetemplate_certificatetemplatefieldmask_sync] import com.google.cloud.security.privateca.v1.CertificateAuthorityServiceClient; import com.google.cloud.security.privateca.v1.CertificateTemplate; import com.google.protobuf.FieldMask; @@ -42,5 +41,4 @@ public static void syncUpdateCertificateTemplateCertificatetemplateFieldmask() t } } } -// [END -// privateca_v1_generated_certificateauthorityserviceclient_updatecertificatetemplate_certificatetemplatefieldmask_sync] +// [END privateca_v1_generated_certificateauthorityserviceclient_updatecertificatetemplate_certificatetemplatefieldmask_sync] diff --git a/samples/snippets/generated/com/google/cloud/security/privateca/v1beta1/certificateauthorityserviceclient/activatecertificateauthority/AsyncActivateCertificateAuthority.java b/samples/snippets/generated/com/google/cloud/security/privateca/v1beta1/certificateauthorityserviceclient/activatecertificateauthority/AsyncActivateCertificateAuthority.java index 8cb8e902..d413eb3d 100644 --- a/samples/snippets/generated/com/google/cloud/security/privateca/v1beta1/certificateauthorityserviceclient/activatecertificateauthority/AsyncActivateCertificateAuthority.java +++ b/samples/snippets/generated/com/google/cloud/security/privateca/v1beta1/certificateauthorityserviceclient/activatecertificateauthority/AsyncActivateCertificateAuthority.java @@ -16,8 +16,7 @@ package com.google.cloud.security.privateca.v1beta1.samples; -// [START -// privateca_v1beta1_generated_certificateauthorityserviceclient_activatecertificateauthority_async] +// [START privateca_v1beta1_generated_certificateauthorityserviceclient_activatecertificateauthority_async] import com.google.api.core.ApiFuture; import com.google.cloud.security.privateca.v1beta1.ActivateCertificateAuthorityRequest; import com.google.cloud.security.privateca.v1beta1.CertificateAuthorityName; @@ -54,5 +53,4 @@ public static void asyncActivateCertificateAuthority() throws Exception { } } } -// [END -// privateca_v1beta1_generated_certificateauthorityserviceclient_activatecertificateauthority_async] +// [END privateca_v1beta1_generated_certificateauthorityserviceclient_activatecertificateauthority_async] diff --git a/samples/snippets/generated/com/google/cloud/security/privateca/v1beta1/certificateauthorityserviceclient/activatecertificateauthority/AsyncActivateCertificateAuthorityLRO.java b/samples/snippets/generated/com/google/cloud/security/privateca/v1beta1/certificateauthorityserviceclient/activatecertificateauthority/AsyncActivateCertificateAuthorityLRO.java index 8cd87ea4..fcaf0c08 100644 --- a/samples/snippets/generated/com/google/cloud/security/privateca/v1beta1/certificateauthorityserviceclient/activatecertificateauthority/AsyncActivateCertificateAuthorityLRO.java +++ b/samples/snippets/generated/com/google/cloud/security/privateca/v1beta1/certificateauthorityserviceclient/activatecertificateauthority/AsyncActivateCertificateAuthorityLRO.java @@ -16,8 +16,7 @@ package com.google.cloud.security.privateca.v1beta1.samples; -// [START -// privateca_v1beta1_generated_certificateauthorityserviceclient_activatecertificateauthority_lro_async] +// [START privateca_v1beta1_generated_certificateauthorityserviceclient_activatecertificateauthority_lro_async] import com.google.api.gax.longrunning.OperationFuture; import com.google.cloud.security.privateca.v1beta1.ActivateCertificateAuthorityRequest; import com.google.cloud.security.privateca.v1beta1.CertificateAuthority; @@ -55,5 +54,4 @@ public static void asyncActivateCertificateAuthorityLRO() throws Exception { } } } -// [END -// privateca_v1beta1_generated_certificateauthorityserviceclient_activatecertificateauthority_lro_async] +// [END privateca_v1beta1_generated_certificateauthorityserviceclient_activatecertificateauthority_lro_async] diff --git a/samples/snippets/generated/com/google/cloud/security/privateca/v1beta1/certificateauthorityserviceclient/activatecertificateauthority/SyncActivateCertificateAuthority.java b/samples/snippets/generated/com/google/cloud/security/privateca/v1beta1/certificateauthorityserviceclient/activatecertificateauthority/SyncActivateCertificateAuthority.java index a01fc3ad..ad27130c 100644 --- a/samples/snippets/generated/com/google/cloud/security/privateca/v1beta1/certificateauthorityserviceclient/activatecertificateauthority/SyncActivateCertificateAuthority.java +++ b/samples/snippets/generated/com/google/cloud/security/privateca/v1beta1/certificateauthorityserviceclient/activatecertificateauthority/SyncActivateCertificateAuthority.java @@ -16,8 +16,7 @@ package com.google.cloud.security.privateca.v1beta1.samples; -// [START -// privateca_v1beta1_generated_certificateauthorityserviceclient_activatecertificateauthority_sync] +// [START privateca_v1beta1_generated_certificateauthorityserviceclient_activatecertificateauthority_sync] import com.google.cloud.security.privateca.v1beta1.ActivateCertificateAuthorityRequest; import com.google.cloud.security.privateca.v1beta1.CertificateAuthority; import com.google.cloud.security.privateca.v1beta1.CertificateAuthorityName; @@ -49,5 +48,4 @@ public static void syncActivateCertificateAuthority() throws Exception { } } } -// [END -// privateca_v1beta1_generated_certificateauthorityserviceclient_activatecertificateauthority_sync] +// [END privateca_v1beta1_generated_certificateauthorityserviceclient_activatecertificateauthority_sync] diff --git a/samples/snippets/generated/com/google/cloud/security/privateca/v1beta1/certificateauthorityserviceclient/activatecertificateauthority/SyncActivateCertificateAuthorityCertificateauthorityname.java b/samples/snippets/generated/com/google/cloud/security/privateca/v1beta1/certificateauthorityserviceclient/activatecertificateauthority/SyncActivateCertificateAuthorityCertificateauthorityname.java index 5b5d5b4f..800cff8c 100644 --- a/samples/snippets/generated/com/google/cloud/security/privateca/v1beta1/certificateauthorityserviceclient/activatecertificateauthority/SyncActivateCertificateAuthorityCertificateauthorityname.java +++ b/samples/snippets/generated/com/google/cloud/security/privateca/v1beta1/certificateauthorityserviceclient/activatecertificateauthority/SyncActivateCertificateAuthorityCertificateauthorityname.java @@ -16,8 +16,7 @@ package com.google.cloud.security.privateca.v1beta1.samples; -// [START -// privateca_v1beta1_generated_certificateauthorityserviceclient_activatecertificateauthority_certificateauthorityname_sync] +// [START privateca_v1beta1_generated_certificateauthorityserviceclient_activatecertificateauthority_certificateauthorityname_sync] import com.google.cloud.security.privateca.v1beta1.CertificateAuthority; import com.google.cloud.security.privateca.v1beta1.CertificateAuthorityName; import com.google.cloud.security.privateca.v1beta1.CertificateAuthorityServiceClient; @@ -40,5 +39,4 @@ public static void syncActivateCertificateAuthorityCertificateauthorityname() th } } } -// [END -// privateca_v1beta1_generated_certificateauthorityserviceclient_activatecertificateauthority_certificateauthorityname_sync] +// [END privateca_v1beta1_generated_certificateauthorityserviceclient_activatecertificateauthority_certificateauthorityname_sync] diff --git a/samples/snippets/generated/com/google/cloud/security/privateca/v1beta1/certificateauthorityserviceclient/activatecertificateauthority/SyncActivateCertificateAuthorityString.java b/samples/snippets/generated/com/google/cloud/security/privateca/v1beta1/certificateauthorityserviceclient/activatecertificateauthority/SyncActivateCertificateAuthorityString.java index 702dd8d8..a11cbf9b 100644 --- a/samples/snippets/generated/com/google/cloud/security/privateca/v1beta1/certificateauthorityserviceclient/activatecertificateauthority/SyncActivateCertificateAuthorityString.java +++ b/samples/snippets/generated/com/google/cloud/security/privateca/v1beta1/certificateauthorityserviceclient/activatecertificateauthority/SyncActivateCertificateAuthorityString.java @@ -16,8 +16,7 @@ package com.google.cloud.security.privateca.v1beta1.samples; -// [START -// privateca_v1beta1_generated_certificateauthorityserviceclient_activatecertificateauthority_string_sync] +// [START privateca_v1beta1_generated_certificateauthorityserviceclient_activatecertificateauthority_string_sync] import com.google.cloud.security.privateca.v1beta1.CertificateAuthority; import com.google.cloud.security.privateca.v1beta1.CertificateAuthorityName; import com.google.cloud.security.privateca.v1beta1.CertificateAuthorityServiceClient; @@ -41,5 +40,4 @@ public static void syncActivateCertificateAuthorityString() throws Exception { } } } -// [END -// privateca_v1beta1_generated_certificateauthorityserviceclient_activatecertificateauthority_string_sync] +// [END privateca_v1beta1_generated_certificateauthorityserviceclient_activatecertificateauthority_string_sync] diff --git a/samples/snippets/generated/com/google/cloud/security/privateca/v1beta1/certificateauthorityserviceclient/create/SyncCreateSetCredentialsProvider.java b/samples/snippets/generated/com/google/cloud/security/privateca/v1beta1/certificateauthorityserviceclient/create/SyncCreateSetCredentialsProvider.java index 6b2cf30c..affddf89 100644 --- a/samples/snippets/generated/com/google/cloud/security/privateca/v1beta1/certificateauthorityserviceclient/create/SyncCreateSetCredentialsProvider.java +++ b/samples/snippets/generated/com/google/cloud/security/privateca/v1beta1/certificateauthorityserviceclient/create/SyncCreateSetCredentialsProvider.java @@ -16,8 +16,7 @@ package com.google.cloud.security.privateca.v1beta1.samples; -// [START -// privateca_v1beta1_generated_certificateauthorityserviceclient_create_setcredentialsprovider_sync] +// [START privateca_v1beta1_generated_certificateauthorityserviceclient_create_setcredentialsprovider_sync] import com.google.api.gax.core.FixedCredentialsProvider; import com.google.cloud.security.privateca.v1beta1.CertificateAuthorityServiceClient; import com.google.cloud.security.privateca.v1beta1.CertificateAuthorityServiceSettings; @@ -40,5 +39,4 @@ public static void syncCreateSetCredentialsProvider() throws Exception { CertificateAuthorityServiceClient.create(certificateAuthorityServiceSettings); } } -// [END -// privateca_v1beta1_generated_certificateauthorityserviceclient_create_setcredentialsprovider_sync] +// [END privateca_v1beta1_generated_certificateauthorityserviceclient_create_setcredentialsprovider_sync] diff --git a/samples/snippets/generated/com/google/cloud/security/privateca/v1beta1/certificateauthorityserviceclient/create/SyncCreateSetCredentialsProvider1.java b/samples/snippets/generated/com/google/cloud/security/privateca/v1beta1/certificateauthorityserviceclient/create/SyncCreateSetCredentialsProvider1.java index 615e5535..61727bf3 100644 --- a/samples/snippets/generated/com/google/cloud/security/privateca/v1beta1/certificateauthorityserviceclient/create/SyncCreateSetCredentialsProvider1.java +++ b/samples/snippets/generated/com/google/cloud/security/privateca/v1beta1/certificateauthorityserviceclient/create/SyncCreateSetCredentialsProvider1.java @@ -16,8 +16,7 @@ package com.google.cloud.security.privateca.v1beta1.samples; -// [START -// privateca_v1beta1_generated_certificateauthorityserviceclient_create_setcredentialsprovider1_sync] +// [START privateca_v1beta1_generated_certificateauthorityserviceclient_create_setcredentialsprovider1_sync] import com.google.cloud.security.privateca.v1beta1.CertificateAuthorityServiceClient; import com.google.cloud.security.privateca.v1beta1.CertificateAuthorityServiceSettings; @@ -40,5 +39,4 @@ public static void syncCreateSetCredentialsProvider1() throws Exception { CertificateAuthorityServiceClient.create(certificateAuthorityServiceSettings); } } -// [END -// privateca_v1beta1_generated_certificateauthorityserviceclient_create_setcredentialsprovider1_sync] +// [END privateca_v1beta1_generated_certificateauthorityserviceclient_create_setcredentialsprovider1_sync] diff --git a/samples/snippets/generated/com/google/cloud/security/privateca/v1beta1/certificateauthorityserviceclient/createcertificate/SyncCreateCertificateCertificateauthoritynameCertificateString.java b/samples/snippets/generated/com/google/cloud/security/privateca/v1beta1/certificateauthorityserviceclient/createcertificate/SyncCreateCertificateCertificateauthoritynameCertificateString.java index 0b0c43e3..3653c95c 100644 --- a/samples/snippets/generated/com/google/cloud/security/privateca/v1beta1/certificateauthorityserviceclient/createcertificate/SyncCreateCertificateCertificateauthoritynameCertificateString.java +++ b/samples/snippets/generated/com/google/cloud/security/privateca/v1beta1/certificateauthorityserviceclient/createcertificate/SyncCreateCertificateCertificateauthoritynameCertificateString.java @@ -16,8 +16,7 @@ package com.google.cloud.security.privateca.v1beta1.samples; -// [START -// privateca_v1beta1_generated_certificateauthorityserviceclient_createcertificate_certificateauthoritynamecertificatestring_sync] +// [START privateca_v1beta1_generated_certificateauthorityserviceclient_createcertificate_certificateauthoritynamecertificatestring_sync] import com.google.cloud.security.privateca.v1beta1.Certificate; import com.google.cloud.security.privateca.v1beta1.CertificateAuthorityName; import com.google.cloud.security.privateca.v1beta1.CertificateAuthorityServiceClient; @@ -43,5 +42,4 @@ public static void syncCreateCertificateCertificateauthoritynameCertificateStrin } } } -// [END -// privateca_v1beta1_generated_certificateauthorityserviceclient_createcertificate_certificateauthoritynamecertificatestring_sync] +// [END privateca_v1beta1_generated_certificateauthorityserviceclient_createcertificate_certificateauthoritynamecertificatestring_sync] diff --git a/samples/snippets/generated/com/google/cloud/security/privateca/v1beta1/certificateauthorityserviceclient/createcertificate/SyncCreateCertificateStringCertificateString.java b/samples/snippets/generated/com/google/cloud/security/privateca/v1beta1/certificateauthorityserviceclient/createcertificate/SyncCreateCertificateStringCertificateString.java index 9b1d0bf7..e385b1b2 100644 --- a/samples/snippets/generated/com/google/cloud/security/privateca/v1beta1/certificateauthorityserviceclient/createcertificate/SyncCreateCertificateStringCertificateString.java +++ b/samples/snippets/generated/com/google/cloud/security/privateca/v1beta1/certificateauthorityserviceclient/createcertificate/SyncCreateCertificateStringCertificateString.java @@ -16,8 +16,7 @@ package com.google.cloud.security.privateca.v1beta1.samples; -// [START -// privateca_v1beta1_generated_certificateauthorityserviceclient_createcertificate_stringcertificatestring_sync] +// [START privateca_v1beta1_generated_certificateauthorityserviceclient_createcertificate_stringcertificatestring_sync] import com.google.cloud.security.privateca.v1beta1.Certificate; import com.google.cloud.security.privateca.v1beta1.CertificateAuthorityName; import com.google.cloud.security.privateca.v1beta1.CertificateAuthorityServiceClient; @@ -43,5 +42,4 @@ public static void syncCreateCertificateStringCertificateString() throws Excepti } } } -// [END -// privateca_v1beta1_generated_certificateauthorityserviceclient_createcertificate_stringcertificatestring_sync] +// [END privateca_v1beta1_generated_certificateauthorityserviceclient_createcertificate_stringcertificatestring_sync] diff --git a/samples/snippets/generated/com/google/cloud/security/privateca/v1beta1/certificateauthorityserviceclient/createcertificateauthority/AsyncCreateCertificateAuthority.java b/samples/snippets/generated/com/google/cloud/security/privateca/v1beta1/certificateauthorityserviceclient/createcertificateauthority/AsyncCreateCertificateAuthority.java index 0dbcd149..b9c9c8c9 100644 --- a/samples/snippets/generated/com/google/cloud/security/privateca/v1beta1/certificateauthorityserviceclient/createcertificateauthority/AsyncCreateCertificateAuthority.java +++ b/samples/snippets/generated/com/google/cloud/security/privateca/v1beta1/certificateauthorityserviceclient/createcertificateauthority/AsyncCreateCertificateAuthority.java @@ -16,8 +16,7 @@ package com.google.cloud.security.privateca.v1beta1.samples; -// [START -// privateca_v1beta1_generated_certificateauthorityserviceclient_createcertificateauthority_async] +// [START privateca_v1beta1_generated_certificateauthorityserviceclient_createcertificateauthority_async] import com.google.api.core.ApiFuture; import com.google.cloud.security.privateca.v1beta1.CertificateAuthority; import com.google.cloud.security.privateca.v1beta1.CertificateAuthorityServiceClient; @@ -52,5 +51,4 @@ public static void asyncCreateCertificateAuthority() throws Exception { } } } -// [END -// privateca_v1beta1_generated_certificateauthorityserviceclient_createcertificateauthority_async] +// [END privateca_v1beta1_generated_certificateauthorityserviceclient_createcertificateauthority_async] diff --git a/samples/snippets/generated/com/google/cloud/security/privateca/v1beta1/certificateauthorityserviceclient/createcertificateauthority/AsyncCreateCertificateAuthorityLRO.java b/samples/snippets/generated/com/google/cloud/security/privateca/v1beta1/certificateauthorityserviceclient/createcertificateauthority/AsyncCreateCertificateAuthorityLRO.java index c8aa81c6..19f97bdd 100644 --- a/samples/snippets/generated/com/google/cloud/security/privateca/v1beta1/certificateauthorityserviceclient/createcertificateauthority/AsyncCreateCertificateAuthorityLRO.java +++ b/samples/snippets/generated/com/google/cloud/security/privateca/v1beta1/certificateauthorityserviceclient/createcertificateauthority/AsyncCreateCertificateAuthorityLRO.java @@ -16,8 +16,7 @@ package com.google.cloud.security.privateca.v1beta1.samples; -// [START -// privateca_v1beta1_generated_certificateauthorityserviceclient_createcertificateauthority_lro_async] +// [START privateca_v1beta1_generated_certificateauthorityserviceclient_createcertificateauthority_lro_async] import com.google.api.gax.longrunning.OperationFuture; import com.google.cloud.security.privateca.v1beta1.CertificateAuthority; import com.google.cloud.security.privateca.v1beta1.CertificateAuthorityServiceClient; @@ -52,5 +51,4 @@ public static void asyncCreateCertificateAuthorityLRO() throws Exception { } } } -// [END -// privateca_v1beta1_generated_certificateauthorityserviceclient_createcertificateauthority_lro_async] +// [END privateca_v1beta1_generated_certificateauthorityserviceclient_createcertificateauthority_lro_async] diff --git a/samples/snippets/generated/com/google/cloud/security/privateca/v1beta1/certificateauthorityserviceclient/createcertificateauthority/SyncCreateCertificateAuthority.java b/samples/snippets/generated/com/google/cloud/security/privateca/v1beta1/certificateauthorityserviceclient/createcertificateauthority/SyncCreateCertificateAuthority.java index 918590f1..8c795df7 100644 --- a/samples/snippets/generated/com/google/cloud/security/privateca/v1beta1/certificateauthorityserviceclient/createcertificateauthority/SyncCreateCertificateAuthority.java +++ b/samples/snippets/generated/com/google/cloud/security/privateca/v1beta1/certificateauthorityserviceclient/createcertificateauthority/SyncCreateCertificateAuthority.java @@ -16,8 +16,7 @@ package com.google.cloud.security.privateca.v1beta1.samples; -// [START -// privateca_v1beta1_generated_certificateauthorityserviceclient_createcertificateauthority_sync] +// [START privateca_v1beta1_generated_certificateauthorityserviceclient_createcertificateauthority_sync] import com.google.cloud.security.privateca.v1beta1.CertificateAuthority; import com.google.cloud.security.privateca.v1beta1.CertificateAuthorityServiceClient; import com.google.cloud.security.privateca.v1beta1.CreateCertificateAuthorityRequest; @@ -46,5 +45,4 @@ public static void syncCreateCertificateAuthority() throws Exception { } } } -// [END -// privateca_v1beta1_generated_certificateauthorityserviceclient_createcertificateauthority_sync] +// [END privateca_v1beta1_generated_certificateauthorityserviceclient_createcertificateauthority_sync] diff --git a/samples/snippets/generated/com/google/cloud/security/privateca/v1beta1/certificateauthorityserviceclient/createcertificateauthority/SyncCreateCertificateAuthorityLocationnameCertificateauthorityString.java b/samples/snippets/generated/com/google/cloud/security/privateca/v1beta1/certificateauthorityserviceclient/createcertificateauthority/SyncCreateCertificateAuthorityLocationnameCertificateauthorityString.java index b4aaf559..9c0965d6 100644 --- a/samples/snippets/generated/com/google/cloud/security/privateca/v1beta1/certificateauthorityserviceclient/createcertificateauthority/SyncCreateCertificateAuthorityLocationnameCertificateauthorityString.java +++ b/samples/snippets/generated/com/google/cloud/security/privateca/v1beta1/certificateauthorityserviceclient/createcertificateauthority/SyncCreateCertificateAuthorityLocationnameCertificateauthorityString.java @@ -16,8 +16,7 @@ package com.google.cloud.security.privateca.v1beta1.samples; -// [START -// privateca_v1beta1_generated_certificateauthorityserviceclient_createcertificateauthority_locationnamecertificateauthoritystring_sync] +// [START privateca_v1beta1_generated_certificateauthorityserviceclient_createcertificateauthority_locationnamecertificateauthoritystring_sync] import com.google.cloud.security.privateca.v1beta1.CertificateAuthority; import com.google.cloud.security.privateca.v1beta1.CertificateAuthorityServiceClient; import com.google.cloud.security.privateca.v1beta1.LocationName; @@ -44,5 +43,4 @@ public static void syncCreateCertificateAuthorityLocationnameCertificateauthorit } } } -// [END -// privateca_v1beta1_generated_certificateauthorityserviceclient_createcertificateauthority_locationnamecertificateauthoritystring_sync] +// [END privateca_v1beta1_generated_certificateauthorityserviceclient_createcertificateauthority_locationnamecertificateauthoritystring_sync] diff --git a/samples/snippets/generated/com/google/cloud/security/privateca/v1beta1/certificateauthorityserviceclient/createcertificateauthority/SyncCreateCertificateAuthorityStringCertificateauthorityString.java b/samples/snippets/generated/com/google/cloud/security/privateca/v1beta1/certificateauthorityserviceclient/createcertificateauthority/SyncCreateCertificateAuthorityStringCertificateauthorityString.java index 8cb9b1b5..d84198af 100644 --- a/samples/snippets/generated/com/google/cloud/security/privateca/v1beta1/certificateauthorityserviceclient/createcertificateauthority/SyncCreateCertificateAuthorityStringCertificateauthorityString.java +++ b/samples/snippets/generated/com/google/cloud/security/privateca/v1beta1/certificateauthorityserviceclient/createcertificateauthority/SyncCreateCertificateAuthorityStringCertificateauthorityString.java @@ -16,8 +16,7 @@ package com.google.cloud.security.privateca.v1beta1.samples; -// [START -// privateca_v1beta1_generated_certificateauthorityserviceclient_createcertificateauthority_stringcertificateauthoritystring_sync] +// [START privateca_v1beta1_generated_certificateauthorityserviceclient_createcertificateauthority_stringcertificateauthoritystring_sync] import com.google.cloud.security.privateca.v1beta1.CertificateAuthority; import com.google.cloud.security.privateca.v1beta1.CertificateAuthorityServiceClient; import com.google.cloud.security.privateca.v1beta1.LocationName; @@ -44,5 +43,4 @@ public static void syncCreateCertificateAuthorityStringCertificateauthorityStrin } } } -// [END -// privateca_v1beta1_generated_certificateauthorityserviceclient_createcertificateauthority_stringcertificateauthoritystring_sync] +// [END privateca_v1beta1_generated_certificateauthorityserviceclient_createcertificateauthority_stringcertificateauthoritystring_sync] diff --git a/samples/snippets/generated/com/google/cloud/security/privateca/v1beta1/certificateauthorityserviceclient/disablecertificateauthority/AsyncDisableCertificateAuthority.java b/samples/snippets/generated/com/google/cloud/security/privateca/v1beta1/certificateauthorityserviceclient/disablecertificateauthority/AsyncDisableCertificateAuthority.java index 58bb2953..e34372bf 100644 --- a/samples/snippets/generated/com/google/cloud/security/privateca/v1beta1/certificateauthorityserviceclient/disablecertificateauthority/AsyncDisableCertificateAuthority.java +++ b/samples/snippets/generated/com/google/cloud/security/privateca/v1beta1/certificateauthorityserviceclient/disablecertificateauthority/AsyncDisableCertificateAuthority.java @@ -16,8 +16,7 @@ package com.google.cloud.security.privateca.v1beta1.samples; -// [START -// privateca_v1beta1_generated_certificateauthorityserviceclient_disablecertificateauthority_async] +// [START privateca_v1beta1_generated_certificateauthorityserviceclient_disablecertificateauthority_async] import com.google.api.core.ApiFuture; import com.google.cloud.security.privateca.v1beta1.CertificateAuthorityName; import com.google.cloud.security.privateca.v1beta1.CertificateAuthorityServiceClient; @@ -51,5 +50,4 @@ public static void asyncDisableCertificateAuthority() throws Exception { } } } -// [END -// privateca_v1beta1_generated_certificateauthorityserviceclient_disablecertificateauthority_async] +// [END privateca_v1beta1_generated_certificateauthorityserviceclient_disablecertificateauthority_async] diff --git a/samples/snippets/generated/com/google/cloud/security/privateca/v1beta1/certificateauthorityserviceclient/disablecertificateauthority/AsyncDisableCertificateAuthorityLRO.java b/samples/snippets/generated/com/google/cloud/security/privateca/v1beta1/certificateauthorityserviceclient/disablecertificateauthority/AsyncDisableCertificateAuthorityLRO.java index 7e7eeaf2..02415b24 100644 --- a/samples/snippets/generated/com/google/cloud/security/privateca/v1beta1/certificateauthorityserviceclient/disablecertificateauthority/AsyncDisableCertificateAuthorityLRO.java +++ b/samples/snippets/generated/com/google/cloud/security/privateca/v1beta1/certificateauthorityserviceclient/disablecertificateauthority/AsyncDisableCertificateAuthorityLRO.java @@ -16,8 +16,7 @@ package com.google.cloud.security.privateca.v1beta1.samples; -// [START -// privateca_v1beta1_generated_certificateauthorityserviceclient_disablecertificateauthority_lro_async] +// [START privateca_v1beta1_generated_certificateauthorityserviceclient_disablecertificateauthority_lro_async] import com.google.api.gax.longrunning.OperationFuture; import com.google.cloud.security.privateca.v1beta1.CertificateAuthority; import com.google.cloud.security.privateca.v1beta1.CertificateAuthorityName; @@ -52,5 +51,4 @@ public static void asyncDisableCertificateAuthorityLRO() throws Exception { } } } -// [END -// privateca_v1beta1_generated_certificateauthorityserviceclient_disablecertificateauthority_lro_async] +// [END privateca_v1beta1_generated_certificateauthorityserviceclient_disablecertificateauthority_lro_async] diff --git a/samples/snippets/generated/com/google/cloud/security/privateca/v1beta1/certificateauthorityserviceclient/disablecertificateauthority/SyncDisableCertificateAuthority.java b/samples/snippets/generated/com/google/cloud/security/privateca/v1beta1/certificateauthorityserviceclient/disablecertificateauthority/SyncDisableCertificateAuthority.java index 46553fa7..b84c2a8a 100644 --- a/samples/snippets/generated/com/google/cloud/security/privateca/v1beta1/certificateauthorityserviceclient/disablecertificateauthority/SyncDisableCertificateAuthority.java +++ b/samples/snippets/generated/com/google/cloud/security/privateca/v1beta1/certificateauthorityserviceclient/disablecertificateauthority/SyncDisableCertificateAuthority.java @@ -16,8 +16,7 @@ package com.google.cloud.security.privateca.v1beta1.samples; -// [START -// privateca_v1beta1_generated_certificateauthorityserviceclient_disablecertificateauthority_sync] +// [START privateca_v1beta1_generated_certificateauthorityserviceclient_disablecertificateauthority_sync] import com.google.cloud.security.privateca.v1beta1.CertificateAuthority; import com.google.cloud.security.privateca.v1beta1.CertificateAuthorityName; import com.google.cloud.security.privateca.v1beta1.CertificateAuthorityServiceClient; @@ -46,5 +45,4 @@ public static void syncDisableCertificateAuthority() throws Exception { } } } -// [END -// privateca_v1beta1_generated_certificateauthorityserviceclient_disablecertificateauthority_sync] +// [END privateca_v1beta1_generated_certificateauthorityserviceclient_disablecertificateauthority_sync] diff --git a/samples/snippets/generated/com/google/cloud/security/privateca/v1beta1/certificateauthorityserviceclient/disablecertificateauthority/SyncDisableCertificateAuthorityCertificateauthorityname.java b/samples/snippets/generated/com/google/cloud/security/privateca/v1beta1/certificateauthorityserviceclient/disablecertificateauthority/SyncDisableCertificateAuthorityCertificateauthorityname.java index 5b05caf5..4607b41c 100644 --- a/samples/snippets/generated/com/google/cloud/security/privateca/v1beta1/certificateauthorityserviceclient/disablecertificateauthority/SyncDisableCertificateAuthorityCertificateauthorityname.java +++ b/samples/snippets/generated/com/google/cloud/security/privateca/v1beta1/certificateauthorityserviceclient/disablecertificateauthority/SyncDisableCertificateAuthorityCertificateauthorityname.java @@ -16,8 +16,7 @@ package com.google.cloud.security.privateca.v1beta1.samples; -// [START -// privateca_v1beta1_generated_certificateauthorityserviceclient_disablecertificateauthority_certificateauthorityname_sync] +// [START privateca_v1beta1_generated_certificateauthorityserviceclient_disablecertificateauthority_certificateauthorityname_sync] import com.google.cloud.security.privateca.v1beta1.CertificateAuthority; import com.google.cloud.security.privateca.v1beta1.CertificateAuthorityName; import com.google.cloud.security.privateca.v1beta1.CertificateAuthorityServiceClient; @@ -40,5 +39,4 @@ public static void syncDisableCertificateAuthorityCertificateauthorityname() thr } } } -// [END -// privateca_v1beta1_generated_certificateauthorityserviceclient_disablecertificateauthority_certificateauthorityname_sync] +// [END privateca_v1beta1_generated_certificateauthorityserviceclient_disablecertificateauthority_certificateauthorityname_sync] diff --git a/samples/snippets/generated/com/google/cloud/security/privateca/v1beta1/certificateauthorityserviceclient/disablecertificateauthority/SyncDisableCertificateAuthorityString.java b/samples/snippets/generated/com/google/cloud/security/privateca/v1beta1/certificateauthorityserviceclient/disablecertificateauthority/SyncDisableCertificateAuthorityString.java index 100595fa..6b29c850 100644 --- a/samples/snippets/generated/com/google/cloud/security/privateca/v1beta1/certificateauthorityserviceclient/disablecertificateauthority/SyncDisableCertificateAuthorityString.java +++ b/samples/snippets/generated/com/google/cloud/security/privateca/v1beta1/certificateauthorityserviceclient/disablecertificateauthority/SyncDisableCertificateAuthorityString.java @@ -16,8 +16,7 @@ package com.google.cloud.security.privateca.v1beta1.samples; -// [START -// privateca_v1beta1_generated_certificateauthorityserviceclient_disablecertificateauthority_string_sync] +// [START privateca_v1beta1_generated_certificateauthorityserviceclient_disablecertificateauthority_string_sync] import com.google.cloud.security.privateca.v1beta1.CertificateAuthority; import com.google.cloud.security.privateca.v1beta1.CertificateAuthorityName; import com.google.cloud.security.privateca.v1beta1.CertificateAuthorityServiceClient; @@ -41,5 +40,4 @@ public static void syncDisableCertificateAuthorityString() throws Exception { } } } -// [END -// privateca_v1beta1_generated_certificateauthorityserviceclient_disablecertificateauthority_string_sync] +// [END privateca_v1beta1_generated_certificateauthorityserviceclient_disablecertificateauthority_string_sync] diff --git a/samples/snippets/generated/com/google/cloud/security/privateca/v1beta1/certificateauthorityserviceclient/enablecertificateauthority/AsyncEnableCertificateAuthority.java b/samples/snippets/generated/com/google/cloud/security/privateca/v1beta1/certificateauthorityserviceclient/enablecertificateauthority/AsyncEnableCertificateAuthority.java index c2db684c..c0cd717b 100644 --- a/samples/snippets/generated/com/google/cloud/security/privateca/v1beta1/certificateauthorityserviceclient/enablecertificateauthority/AsyncEnableCertificateAuthority.java +++ b/samples/snippets/generated/com/google/cloud/security/privateca/v1beta1/certificateauthorityserviceclient/enablecertificateauthority/AsyncEnableCertificateAuthority.java @@ -16,8 +16,7 @@ package com.google.cloud.security.privateca.v1beta1.samples; -// [START -// privateca_v1beta1_generated_certificateauthorityserviceclient_enablecertificateauthority_async] +// [START privateca_v1beta1_generated_certificateauthorityserviceclient_enablecertificateauthority_async] import com.google.api.core.ApiFuture; import com.google.cloud.security.privateca.v1beta1.CertificateAuthorityName; import com.google.cloud.security.privateca.v1beta1.CertificateAuthorityServiceClient; @@ -51,5 +50,4 @@ public static void asyncEnableCertificateAuthority() throws Exception { } } } -// [END -// privateca_v1beta1_generated_certificateauthorityserviceclient_enablecertificateauthority_async] +// [END privateca_v1beta1_generated_certificateauthorityserviceclient_enablecertificateauthority_async] diff --git a/samples/snippets/generated/com/google/cloud/security/privateca/v1beta1/certificateauthorityserviceclient/enablecertificateauthority/AsyncEnableCertificateAuthorityLRO.java b/samples/snippets/generated/com/google/cloud/security/privateca/v1beta1/certificateauthorityserviceclient/enablecertificateauthority/AsyncEnableCertificateAuthorityLRO.java index 3ddf630c..eb63a740 100644 --- a/samples/snippets/generated/com/google/cloud/security/privateca/v1beta1/certificateauthorityserviceclient/enablecertificateauthority/AsyncEnableCertificateAuthorityLRO.java +++ b/samples/snippets/generated/com/google/cloud/security/privateca/v1beta1/certificateauthorityserviceclient/enablecertificateauthority/AsyncEnableCertificateAuthorityLRO.java @@ -16,8 +16,7 @@ package com.google.cloud.security.privateca.v1beta1.samples; -// [START -// privateca_v1beta1_generated_certificateauthorityserviceclient_enablecertificateauthority_lro_async] +// [START privateca_v1beta1_generated_certificateauthorityserviceclient_enablecertificateauthority_lro_async] import com.google.api.gax.longrunning.OperationFuture; import com.google.cloud.security.privateca.v1beta1.CertificateAuthority; import com.google.cloud.security.privateca.v1beta1.CertificateAuthorityName; @@ -52,5 +51,4 @@ public static void asyncEnableCertificateAuthorityLRO() throws Exception { } } } -// [END -// privateca_v1beta1_generated_certificateauthorityserviceclient_enablecertificateauthority_lro_async] +// [END privateca_v1beta1_generated_certificateauthorityserviceclient_enablecertificateauthority_lro_async] diff --git a/samples/snippets/generated/com/google/cloud/security/privateca/v1beta1/certificateauthorityserviceclient/enablecertificateauthority/SyncEnableCertificateAuthority.java b/samples/snippets/generated/com/google/cloud/security/privateca/v1beta1/certificateauthorityserviceclient/enablecertificateauthority/SyncEnableCertificateAuthority.java index 6600ba56..8a9d3418 100644 --- a/samples/snippets/generated/com/google/cloud/security/privateca/v1beta1/certificateauthorityserviceclient/enablecertificateauthority/SyncEnableCertificateAuthority.java +++ b/samples/snippets/generated/com/google/cloud/security/privateca/v1beta1/certificateauthorityserviceclient/enablecertificateauthority/SyncEnableCertificateAuthority.java @@ -16,8 +16,7 @@ package com.google.cloud.security.privateca.v1beta1.samples; -// [START -// privateca_v1beta1_generated_certificateauthorityserviceclient_enablecertificateauthority_sync] +// [START privateca_v1beta1_generated_certificateauthorityserviceclient_enablecertificateauthority_sync] import com.google.cloud.security.privateca.v1beta1.CertificateAuthority; import com.google.cloud.security.privateca.v1beta1.CertificateAuthorityName; import com.google.cloud.security.privateca.v1beta1.CertificateAuthorityServiceClient; @@ -46,5 +45,4 @@ public static void syncEnableCertificateAuthority() throws Exception { } } } -// [END -// privateca_v1beta1_generated_certificateauthorityserviceclient_enablecertificateauthority_sync] +// [END privateca_v1beta1_generated_certificateauthorityserviceclient_enablecertificateauthority_sync] diff --git a/samples/snippets/generated/com/google/cloud/security/privateca/v1beta1/certificateauthorityserviceclient/enablecertificateauthority/SyncEnableCertificateAuthorityCertificateauthorityname.java b/samples/snippets/generated/com/google/cloud/security/privateca/v1beta1/certificateauthorityserviceclient/enablecertificateauthority/SyncEnableCertificateAuthorityCertificateauthorityname.java index 04148109..a183faf1 100644 --- a/samples/snippets/generated/com/google/cloud/security/privateca/v1beta1/certificateauthorityserviceclient/enablecertificateauthority/SyncEnableCertificateAuthorityCertificateauthorityname.java +++ b/samples/snippets/generated/com/google/cloud/security/privateca/v1beta1/certificateauthorityserviceclient/enablecertificateauthority/SyncEnableCertificateAuthorityCertificateauthorityname.java @@ -16,8 +16,7 @@ package com.google.cloud.security.privateca.v1beta1.samples; -// [START -// privateca_v1beta1_generated_certificateauthorityserviceclient_enablecertificateauthority_certificateauthorityname_sync] +// [START privateca_v1beta1_generated_certificateauthorityserviceclient_enablecertificateauthority_certificateauthorityname_sync] import com.google.cloud.security.privateca.v1beta1.CertificateAuthority; import com.google.cloud.security.privateca.v1beta1.CertificateAuthorityName; import com.google.cloud.security.privateca.v1beta1.CertificateAuthorityServiceClient; @@ -40,5 +39,4 @@ public static void syncEnableCertificateAuthorityCertificateauthorityname() thro } } } -// [END -// privateca_v1beta1_generated_certificateauthorityserviceclient_enablecertificateauthority_certificateauthorityname_sync] +// [END privateca_v1beta1_generated_certificateauthorityserviceclient_enablecertificateauthority_certificateauthorityname_sync] diff --git a/samples/snippets/generated/com/google/cloud/security/privateca/v1beta1/certificateauthorityserviceclient/enablecertificateauthority/SyncEnableCertificateAuthorityString.java b/samples/snippets/generated/com/google/cloud/security/privateca/v1beta1/certificateauthorityserviceclient/enablecertificateauthority/SyncEnableCertificateAuthorityString.java index 8a1c449a..476db15a 100644 --- a/samples/snippets/generated/com/google/cloud/security/privateca/v1beta1/certificateauthorityserviceclient/enablecertificateauthority/SyncEnableCertificateAuthorityString.java +++ b/samples/snippets/generated/com/google/cloud/security/privateca/v1beta1/certificateauthorityserviceclient/enablecertificateauthority/SyncEnableCertificateAuthorityString.java @@ -16,8 +16,7 @@ package com.google.cloud.security.privateca.v1beta1.samples; -// [START -// privateca_v1beta1_generated_certificateauthorityserviceclient_enablecertificateauthority_string_sync] +// [START privateca_v1beta1_generated_certificateauthorityserviceclient_enablecertificateauthority_string_sync] import com.google.cloud.security.privateca.v1beta1.CertificateAuthority; import com.google.cloud.security.privateca.v1beta1.CertificateAuthorityName; import com.google.cloud.security.privateca.v1beta1.CertificateAuthorityServiceClient; @@ -41,5 +40,4 @@ public static void syncEnableCertificateAuthorityString() throws Exception { } } } -// [END -// privateca_v1beta1_generated_certificateauthorityserviceclient_enablecertificateauthority_string_sync] +// [END privateca_v1beta1_generated_certificateauthorityserviceclient_enablecertificateauthority_string_sync] diff --git a/samples/snippets/generated/com/google/cloud/security/privateca/v1beta1/certificateauthorityserviceclient/fetchcertificateauthoritycsr/AsyncFetchCertificateAuthorityCsr.java b/samples/snippets/generated/com/google/cloud/security/privateca/v1beta1/certificateauthorityserviceclient/fetchcertificateauthoritycsr/AsyncFetchCertificateAuthorityCsr.java index 4736bfad..8ac459ee 100644 --- a/samples/snippets/generated/com/google/cloud/security/privateca/v1beta1/certificateauthorityserviceclient/fetchcertificateauthoritycsr/AsyncFetchCertificateAuthorityCsr.java +++ b/samples/snippets/generated/com/google/cloud/security/privateca/v1beta1/certificateauthorityserviceclient/fetchcertificateauthoritycsr/AsyncFetchCertificateAuthorityCsr.java @@ -16,8 +16,7 @@ package com.google.cloud.security.privateca.v1beta1.samples; -// [START -// privateca_v1beta1_generated_certificateauthorityserviceclient_fetchcertificateauthoritycsr_async] +// [START privateca_v1beta1_generated_certificateauthorityserviceclient_fetchcertificateauthoritycsr_async] import com.google.api.core.ApiFuture; import com.google.cloud.security.privateca.v1beta1.CertificateAuthorityName; import com.google.cloud.security.privateca.v1beta1.CertificateAuthorityServiceClient; @@ -50,5 +49,4 @@ public static void asyncFetchCertificateAuthorityCsr() throws Exception { } } } -// [END -// privateca_v1beta1_generated_certificateauthorityserviceclient_fetchcertificateauthoritycsr_async] +// [END privateca_v1beta1_generated_certificateauthorityserviceclient_fetchcertificateauthoritycsr_async] diff --git a/samples/snippets/generated/com/google/cloud/security/privateca/v1beta1/certificateauthorityserviceclient/fetchcertificateauthoritycsr/SyncFetchCertificateAuthorityCsr.java b/samples/snippets/generated/com/google/cloud/security/privateca/v1beta1/certificateauthorityserviceclient/fetchcertificateauthoritycsr/SyncFetchCertificateAuthorityCsr.java index 36a4662e..f387da51 100644 --- a/samples/snippets/generated/com/google/cloud/security/privateca/v1beta1/certificateauthorityserviceclient/fetchcertificateauthoritycsr/SyncFetchCertificateAuthorityCsr.java +++ b/samples/snippets/generated/com/google/cloud/security/privateca/v1beta1/certificateauthorityserviceclient/fetchcertificateauthoritycsr/SyncFetchCertificateAuthorityCsr.java @@ -16,8 +16,7 @@ package com.google.cloud.security.privateca.v1beta1.samples; -// [START -// privateca_v1beta1_generated_certificateauthorityserviceclient_fetchcertificateauthoritycsr_sync] +// [START privateca_v1beta1_generated_certificateauthorityserviceclient_fetchcertificateauthoritycsr_sync] import com.google.cloud.security.privateca.v1beta1.CertificateAuthorityName; import com.google.cloud.security.privateca.v1beta1.CertificateAuthorityServiceClient; import com.google.cloud.security.privateca.v1beta1.FetchCertificateAuthorityCsrRequest; @@ -45,5 +44,4 @@ public static void syncFetchCertificateAuthorityCsr() throws Exception { } } } -// [END -// privateca_v1beta1_generated_certificateauthorityserviceclient_fetchcertificateauthoritycsr_sync] +// [END privateca_v1beta1_generated_certificateauthorityserviceclient_fetchcertificateauthoritycsr_sync] diff --git a/samples/snippets/generated/com/google/cloud/security/privateca/v1beta1/certificateauthorityserviceclient/fetchcertificateauthoritycsr/SyncFetchCertificateAuthorityCsrCertificateauthorityname.java b/samples/snippets/generated/com/google/cloud/security/privateca/v1beta1/certificateauthorityserviceclient/fetchcertificateauthoritycsr/SyncFetchCertificateAuthorityCsrCertificateauthorityname.java index e6fa7283..a8efa696 100644 --- a/samples/snippets/generated/com/google/cloud/security/privateca/v1beta1/certificateauthorityserviceclient/fetchcertificateauthoritycsr/SyncFetchCertificateAuthorityCsrCertificateauthorityname.java +++ b/samples/snippets/generated/com/google/cloud/security/privateca/v1beta1/certificateauthorityserviceclient/fetchcertificateauthoritycsr/SyncFetchCertificateAuthorityCsrCertificateauthorityname.java @@ -16,8 +16,7 @@ package com.google.cloud.security.privateca.v1beta1.samples; -// [START -// privateca_v1beta1_generated_certificateauthorityserviceclient_fetchcertificateauthoritycsr_certificateauthorityname_sync] +// [START privateca_v1beta1_generated_certificateauthorityserviceclient_fetchcertificateauthoritycsr_certificateauthorityname_sync] import com.google.cloud.security.privateca.v1beta1.CertificateAuthorityName; import com.google.cloud.security.privateca.v1beta1.CertificateAuthorityServiceClient; import com.google.cloud.security.privateca.v1beta1.FetchCertificateAuthorityCsrResponse; @@ -40,5 +39,4 @@ public static void syncFetchCertificateAuthorityCsrCertificateauthorityname() th } } } -// [END -// privateca_v1beta1_generated_certificateauthorityserviceclient_fetchcertificateauthoritycsr_certificateauthorityname_sync] +// [END privateca_v1beta1_generated_certificateauthorityserviceclient_fetchcertificateauthoritycsr_certificateauthorityname_sync] diff --git a/samples/snippets/generated/com/google/cloud/security/privateca/v1beta1/certificateauthorityserviceclient/fetchcertificateauthoritycsr/SyncFetchCertificateAuthorityCsrString.java b/samples/snippets/generated/com/google/cloud/security/privateca/v1beta1/certificateauthorityserviceclient/fetchcertificateauthoritycsr/SyncFetchCertificateAuthorityCsrString.java index 253b4f60..17c59eef 100644 --- a/samples/snippets/generated/com/google/cloud/security/privateca/v1beta1/certificateauthorityserviceclient/fetchcertificateauthoritycsr/SyncFetchCertificateAuthorityCsrString.java +++ b/samples/snippets/generated/com/google/cloud/security/privateca/v1beta1/certificateauthorityserviceclient/fetchcertificateauthoritycsr/SyncFetchCertificateAuthorityCsrString.java @@ -16,8 +16,7 @@ package com.google.cloud.security.privateca.v1beta1.samples; -// [START -// privateca_v1beta1_generated_certificateauthorityserviceclient_fetchcertificateauthoritycsr_string_sync] +// [START privateca_v1beta1_generated_certificateauthorityserviceclient_fetchcertificateauthoritycsr_string_sync] import com.google.cloud.security.privateca.v1beta1.CertificateAuthorityName; import com.google.cloud.security.privateca.v1beta1.CertificateAuthorityServiceClient; import com.google.cloud.security.privateca.v1beta1.FetchCertificateAuthorityCsrResponse; @@ -41,5 +40,4 @@ public static void syncFetchCertificateAuthorityCsrString() throws Exception { } } } -// [END -// privateca_v1beta1_generated_certificateauthorityserviceclient_fetchcertificateauthoritycsr_string_sync] +// [END privateca_v1beta1_generated_certificateauthorityserviceclient_fetchcertificateauthoritycsr_string_sync] diff --git a/samples/snippets/generated/com/google/cloud/security/privateca/v1beta1/certificateauthorityserviceclient/getcertificate/SyncGetCertificateCertificatename.java b/samples/snippets/generated/com/google/cloud/security/privateca/v1beta1/certificateauthorityserviceclient/getcertificate/SyncGetCertificateCertificatename.java index 52b6da92..1635f4b2 100644 --- a/samples/snippets/generated/com/google/cloud/security/privateca/v1beta1/certificateauthorityserviceclient/getcertificate/SyncGetCertificateCertificatename.java +++ b/samples/snippets/generated/com/google/cloud/security/privateca/v1beta1/certificateauthorityserviceclient/getcertificate/SyncGetCertificateCertificatename.java @@ -16,8 +16,7 @@ package com.google.cloud.security.privateca.v1beta1.samples; -// [START -// privateca_v1beta1_generated_certificateauthorityserviceclient_getcertificate_certificatename_sync] +// [START privateca_v1beta1_generated_certificateauthorityserviceclient_getcertificate_certificatename_sync] import com.google.cloud.security.privateca.v1beta1.Certificate; import com.google.cloud.security.privateca.v1beta1.CertificateAuthorityServiceClient; import com.google.cloud.security.privateca.v1beta1.CertificateName; @@ -39,5 +38,4 @@ public static void syncGetCertificateCertificatename() throws Exception { } } } -// [END -// privateca_v1beta1_generated_certificateauthorityserviceclient_getcertificate_certificatename_sync] +// [END privateca_v1beta1_generated_certificateauthorityserviceclient_getcertificate_certificatename_sync] diff --git a/samples/snippets/generated/com/google/cloud/security/privateca/v1beta1/certificateauthorityserviceclient/getcertificateauthority/AsyncGetCertificateAuthority.java b/samples/snippets/generated/com/google/cloud/security/privateca/v1beta1/certificateauthorityserviceclient/getcertificateauthority/AsyncGetCertificateAuthority.java index 1cca2bef..62bfe44d 100644 --- a/samples/snippets/generated/com/google/cloud/security/privateca/v1beta1/certificateauthorityserviceclient/getcertificateauthority/AsyncGetCertificateAuthority.java +++ b/samples/snippets/generated/com/google/cloud/security/privateca/v1beta1/certificateauthorityserviceclient/getcertificateauthority/AsyncGetCertificateAuthority.java @@ -16,8 +16,7 @@ package com.google.cloud.security.privateca.v1beta1.samples; -// [START -// privateca_v1beta1_generated_certificateauthorityserviceclient_getcertificateauthority_async] +// [START privateca_v1beta1_generated_certificateauthorityserviceclient_getcertificateauthority_async] import com.google.api.core.ApiFuture; import com.google.cloud.security.privateca.v1beta1.CertificateAuthority; import com.google.cloud.security.privateca.v1beta1.CertificateAuthorityName; diff --git a/samples/snippets/generated/com/google/cloud/security/privateca/v1beta1/certificateauthorityserviceclient/getcertificateauthority/SyncGetCertificateAuthority.java b/samples/snippets/generated/com/google/cloud/security/privateca/v1beta1/certificateauthorityserviceclient/getcertificateauthority/SyncGetCertificateAuthority.java index 87cd05f6..a7b40b43 100644 --- a/samples/snippets/generated/com/google/cloud/security/privateca/v1beta1/certificateauthorityserviceclient/getcertificateauthority/SyncGetCertificateAuthority.java +++ b/samples/snippets/generated/com/google/cloud/security/privateca/v1beta1/certificateauthorityserviceclient/getcertificateauthority/SyncGetCertificateAuthority.java @@ -16,8 +16,7 @@ package com.google.cloud.security.privateca.v1beta1.samples; -// [START -// privateca_v1beta1_generated_certificateauthorityserviceclient_getcertificateauthority_sync] +// [START privateca_v1beta1_generated_certificateauthorityserviceclient_getcertificateauthority_sync] import com.google.cloud.security.privateca.v1beta1.CertificateAuthority; import com.google.cloud.security.privateca.v1beta1.CertificateAuthorityName; import com.google.cloud.security.privateca.v1beta1.CertificateAuthorityServiceClient; diff --git a/samples/snippets/generated/com/google/cloud/security/privateca/v1beta1/certificateauthorityserviceclient/getcertificateauthority/SyncGetCertificateAuthorityCertificateauthorityname.java b/samples/snippets/generated/com/google/cloud/security/privateca/v1beta1/certificateauthorityserviceclient/getcertificateauthority/SyncGetCertificateAuthorityCertificateauthorityname.java index bf0fd7b3..ea2eb48c 100644 --- a/samples/snippets/generated/com/google/cloud/security/privateca/v1beta1/certificateauthorityserviceclient/getcertificateauthority/SyncGetCertificateAuthorityCertificateauthorityname.java +++ b/samples/snippets/generated/com/google/cloud/security/privateca/v1beta1/certificateauthorityserviceclient/getcertificateauthority/SyncGetCertificateAuthorityCertificateauthorityname.java @@ -16,8 +16,7 @@ package com.google.cloud.security.privateca.v1beta1.samples; -// [START -// privateca_v1beta1_generated_certificateauthorityserviceclient_getcertificateauthority_certificateauthorityname_sync] +// [START privateca_v1beta1_generated_certificateauthorityserviceclient_getcertificateauthority_certificateauthorityname_sync] import com.google.cloud.security.privateca.v1beta1.CertificateAuthority; import com.google.cloud.security.privateca.v1beta1.CertificateAuthorityName; import com.google.cloud.security.privateca.v1beta1.CertificateAuthorityServiceClient; @@ -40,5 +39,4 @@ public static void syncGetCertificateAuthorityCertificateauthorityname() throws } } } -// [END -// privateca_v1beta1_generated_certificateauthorityserviceclient_getcertificateauthority_certificateauthorityname_sync] +// [END privateca_v1beta1_generated_certificateauthorityserviceclient_getcertificateauthority_certificateauthorityname_sync] diff --git a/samples/snippets/generated/com/google/cloud/security/privateca/v1beta1/certificateauthorityserviceclient/getcertificateauthority/SyncGetCertificateAuthorityString.java b/samples/snippets/generated/com/google/cloud/security/privateca/v1beta1/certificateauthorityserviceclient/getcertificateauthority/SyncGetCertificateAuthorityString.java index e2d7e111..3af97e9b 100644 --- a/samples/snippets/generated/com/google/cloud/security/privateca/v1beta1/certificateauthorityserviceclient/getcertificateauthority/SyncGetCertificateAuthorityString.java +++ b/samples/snippets/generated/com/google/cloud/security/privateca/v1beta1/certificateauthorityserviceclient/getcertificateauthority/SyncGetCertificateAuthorityString.java @@ -16,8 +16,7 @@ package com.google.cloud.security.privateca.v1beta1.samples; -// [START -// privateca_v1beta1_generated_certificateauthorityserviceclient_getcertificateauthority_string_sync] +// [START privateca_v1beta1_generated_certificateauthorityserviceclient_getcertificateauthority_string_sync] import com.google.cloud.security.privateca.v1beta1.CertificateAuthority; import com.google.cloud.security.privateca.v1beta1.CertificateAuthorityName; import com.google.cloud.security.privateca.v1beta1.CertificateAuthorityServiceClient; @@ -41,5 +40,4 @@ public static void syncGetCertificateAuthorityString() throws Exception { } } } -// [END -// privateca_v1beta1_generated_certificateauthorityserviceclient_getcertificateauthority_string_sync] +// [END privateca_v1beta1_generated_certificateauthorityserviceclient_getcertificateauthority_string_sync] diff --git a/samples/snippets/generated/com/google/cloud/security/privateca/v1beta1/certificateauthorityserviceclient/getcertificaterevocationlist/AsyncGetCertificateRevocationList.java b/samples/snippets/generated/com/google/cloud/security/privateca/v1beta1/certificateauthorityserviceclient/getcertificaterevocationlist/AsyncGetCertificateRevocationList.java index 6a589c3d..4d112612 100644 --- a/samples/snippets/generated/com/google/cloud/security/privateca/v1beta1/certificateauthorityserviceclient/getcertificaterevocationlist/AsyncGetCertificateRevocationList.java +++ b/samples/snippets/generated/com/google/cloud/security/privateca/v1beta1/certificateauthorityserviceclient/getcertificaterevocationlist/AsyncGetCertificateRevocationList.java @@ -16,8 +16,7 @@ package com.google.cloud.security.privateca.v1beta1.samples; -// [START -// privateca_v1beta1_generated_certificateauthorityserviceclient_getcertificaterevocationlist_async] +// [START privateca_v1beta1_generated_certificateauthorityserviceclient_getcertificaterevocationlist_async] import com.google.api.core.ApiFuture; import com.google.cloud.security.privateca.v1beta1.CertificateAuthorityServiceClient; import com.google.cloud.security.privateca.v1beta1.CertificateRevocationList; @@ -54,5 +53,4 @@ public static void asyncGetCertificateRevocationList() throws Exception { } } } -// [END -// privateca_v1beta1_generated_certificateauthorityserviceclient_getcertificaterevocationlist_async] +// [END privateca_v1beta1_generated_certificateauthorityserviceclient_getcertificaterevocationlist_async] diff --git a/samples/snippets/generated/com/google/cloud/security/privateca/v1beta1/certificateauthorityserviceclient/getcertificaterevocationlist/SyncGetCertificateRevocationList.java b/samples/snippets/generated/com/google/cloud/security/privateca/v1beta1/certificateauthorityserviceclient/getcertificaterevocationlist/SyncGetCertificateRevocationList.java index 3008b317..76185c35 100644 --- a/samples/snippets/generated/com/google/cloud/security/privateca/v1beta1/certificateauthorityserviceclient/getcertificaterevocationlist/SyncGetCertificateRevocationList.java +++ b/samples/snippets/generated/com/google/cloud/security/privateca/v1beta1/certificateauthorityserviceclient/getcertificaterevocationlist/SyncGetCertificateRevocationList.java @@ -16,8 +16,7 @@ package com.google.cloud.security.privateca.v1beta1.samples; -// [START -// privateca_v1beta1_generated_certificateauthorityserviceclient_getcertificaterevocationlist_sync] +// [START privateca_v1beta1_generated_certificateauthorityserviceclient_getcertificaterevocationlist_sync] import com.google.cloud.security.privateca.v1beta1.CertificateAuthorityServiceClient; import com.google.cloud.security.privateca.v1beta1.CertificateRevocationList; import com.google.cloud.security.privateca.v1beta1.CertificateRevocationListName; @@ -49,5 +48,4 @@ public static void syncGetCertificateRevocationList() throws Exception { } } } -// [END -// privateca_v1beta1_generated_certificateauthorityserviceclient_getcertificaterevocationlist_sync] +// [END privateca_v1beta1_generated_certificateauthorityserviceclient_getcertificaterevocationlist_sync] diff --git a/samples/snippets/generated/com/google/cloud/security/privateca/v1beta1/certificateauthorityserviceclient/getcertificaterevocationlist/SyncGetCertificateRevocationListCertificaterevocationlistname.java b/samples/snippets/generated/com/google/cloud/security/privateca/v1beta1/certificateauthorityserviceclient/getcertificaterevocationlist/SyncGetCertificateRevocationListCertificaterevocationlistname.java index 9ee58555..c254816f 100644 --- a/samples/snippets/generated/com/google/cloud/security/privateca/v1beta1/certificateauthorityserviceclient/getcertificaterevocationlist/SyncGetCertificateRevocationListCertificaterevocationlistname.java +++ b/samples/snippets/generated/com/google/cloud/security/privateca/v1beta1/certificateauthorityserviceclient/getcertificaterevocationlist/SyncGetCertificateRevocationListCertificaterevocationlistname.java @@ -16,8 +16,7 @@ package com.google.cloud.security.privateca.v1beta1.samples; -// [START -// privateca_v1beta1_generated_certificateauthorityserviceclient_getcertificaterevocationlist_certificaterevocationlistname_sync] +// [START privateca_v1beta1_generated_certificateauthorityserviceclient_getcertificaterevocationlist_certificaterevocationlistname_sync] import com.google.cloud.security.privateca.v1beta1.CertificateAuthorityServiceClient; import com.google.cloud.security.privateca.v1beta1.CertificateRevocationList; import com.google.cloud.security.privateca.v1beta1.CertificateRevocationListName; @@ -45,5 +44,4 @@ public static void syncGetCertificateRevocationListCertificaterevocationlistname } } } -// [END -// privateca_v1beta1_generated_certificateauthorityserviceclient_getcertificaterevocationlist_certificaterevocationlistname_sync] +// [END privateca_v1beta1_generated_certificateauthorityserviceclient_getcertificaterevocationlist_certificaterevocationlistname_sync] diff --git a/samples/snippets/generated/com/google/cloud/security/privateca/v1beta1/certificateauthorityserviceclient/getcertificaterevocationlist/SyncGetCertificateRevocationListString.java b/samples/snippets/generated/com/google/cloud/security/privateca/v1beta1/certificateauthorityserviceclient/getcertificaterevocationlist/SyncGetCertificateRevocationListString.java index 36b52d39..607560c7 100644 --- a/samples/snippets/generated/com/google/cloud/security/privateca/v1beta1/certificateauthorityserviceclient/getcertificaterevocationlist/SyncGetCertificateRevocationListString.java +++ b/samples/snippets/generated/com/google/cloud/security/privateca/v1beta1/certificateauthorityserviceclient/getcertificaterevocationlist/SyncGetCertificateRevocationListString.java @@ -16,8 +16,7 @@ package com.google.cloud.security.privateca.v1beta1.samples; -// [START -// privateca_v1beta1_generated_certificateauthorityserviceclient_getcertificaterevocationlist_string_sync] +// [START privateca_v1beta1_generated_certificateauthorityserviceclient_getcertificaterevocationlist_string_sync] import com.google.cloud.security.privateca.v1beta1.CertificateAuthorityServiceClient; import com.google.cloud.security.privateca.v1beta1.CertificateRevocationList; import com.google.cloud.security.privateca.v1beta1.CertificateRevocationListName; @@ -45,5 +44,4 @@ public static void syncGetCertificateRevocationListString() throws Exception { } } } -// [END -// privateca_v1beta1_generated_certificateauthorityserviceclient_getcertificaterevocationlist_string_sync] +// [END privateca_v1beta1_generated_certificateauthorityserviceclient_getcertificaterevocationlist_string_sync] diff --git a/samples/snippets/generated/com/google/cloud/security/privateca/v1beta1/certificateauthorityserviceclient/getreusableconfig/SyncGetReusableConfigReusableconfigname.java b/samples/snippets/generated/com/google/cloud/security/privateca/v1beta1/certificateauthorityserviceclient/getreusableconfig/SyncGetReusableConfigReusableconfigname.java index 4e97c3cf..bfd4726e 100644 --- a/samples/snippets/generated/com/google/cloud/security/privateca/v1beta1/certificateauthorityserviceclient/getreusableconfig/SyncGetReusableConfigReusableconfigname.java +++ b/samples/snippets/generated/com/google/cloud/security/privateca/v1beta1/certificateauthorityserviceclient/getreusableconfig/SyncGetReusableConfigReusableconfigname.java @@ -16,8 +16,7 @@ package com.google.cloud.security.privateca.v1beta1.samples; -// [START -// privateca_v1beta1_generated_certificateauthorityserviceclient_getreusableconfig_reusableconfigname_sync] +// [START privateca_v1beta1_generated_certificateauthorityserviceclient_getreusableconfig_reusableconfigname_sync] import com.google.cloud.security.privateca.v1beta1.CertificateAuthorityServiceClient; import com.google.cloud.security.privateca.v1beta1.ReusableConfig; import com.google.cloud.security.privateca.v1beta1.ReusableConfigName; @@ -39,5 +38,4 @@ public static void syncGetReusableConfigReusableconfigname() throws Exception { } } } -// [END -// privateca_v1beta1_generated_certificateauthorityserviceclient_getreusableconfig_reusableconfigname_sync] +// [END privateca_v1beta1_generated_certificateauthorityserviceclient_getreusableconfig_reusableconfigname_sync] diff --git a/samples/snippets/generated/com/google/cloud/security/privateca/v1beta1/certificateauthorityserviceclient/getreusableconfig/SyncGetReusableConfigString.java b/samples/snippets/generated/com/google/cloud/security/privateca/v1beta1/certificateauthorityserviceclient/getreusableconfig/SyncGetReusableConfigString.java index bfc42ee2..bc19c5d5 100644 --- a/samples/snippets/generated/com/google/cloud/security/privateca/v1beta1/certificateauthorityserviceclient/getreusableconfig/SyncGetReusableConfigString.java +++ b/samples/snippets/generated/com/google/cloud/security/privateca/v1beta1/certificateauthorityserviceclient/getreusableconfig/SyncGetReusableConfigString.java @@ -16,8 +16,7 @@ package com.google.cloud.security.privateca.v1beta1.samples; -// [START -// privateca_v1beta1_generated_certificateauthorityserviceclient_getreusableconfig_string_sync] +// [START privateca_v1beta1_generated_certificateauthorityserviceclient_getreusableconfig_string_sync] import com.google.cloud.security.privateca.v1beta1.CertificateAuthorityServiceClient; import com.google.cloud.security.privateca.v1beta1.ReusableConfig; import com.google.cloud.security.privateca.v1beta1.ReusableConfigName; diff --git a/samples/snippets/generated/com/google/cloud/security/privateca/v1beta1/certificateauthorityserviceclient/listcertificateauthorities/AsyncListCertificateAuthorities.java b/samples/snippets/generated/com/google/cloud/security/privateca/v1beta1/certificateauthorityserviceclient/listcertificateauthorities/AsyncListCertificateAuthorities.java index 432d0a3d..4e18f5d5 100644 --- a/samples/snippets/generated/com/google/cloud/security/privateca/v1beta1/certificateauthorityserviceclient/listcertificateauthorities/AsyncListCertificateAuthorities.java +++ b/samples/snippets/generated/com/google/cloud/security/privateca/v1beta1/certificateauthorityserviceclient/listcertificateauthorities/AsyncListCertificateAuthorities.java @@ -16,8 +16,7 @@ package com.google.cloud.security.privateca.v1beta1.samples; -// [START -// privateca_v1beta1_generated_certificateauthorityserviceclient_listcertificateauthorities_async] +// [START privateca_v1beta1_generated_certificateauthorityserviceclient_listcertificateauthorities_async] import com.google.api.core.ApiFuture; import com.google.cloud.security.privateca.v1beta1.CertificateAuthority; import com.google.cloud.security.privateca.v1beta1.CertificateAuthorityServiceClient; @@ -54,5 +53,4 @@ public static void asyncListCertificateAuthorities() throws Exception { } } } -// [END -// privateca_v1beta1_generated_certificateauthorityserviceclient_listcertificateauthorities_async] +// [END privateca_v1beta1_generated_certificateauthorityserviceclient_listcertificateauthorities_async] diff --git a/samples/snippets/generated/com/google/cloud/security/privateca/v1beta1/certificateauthorityserviceclient/listcertificateauthorities/AsyncListCertificateAuthoritiesPaged.java b/samples/snippets/generated/com/google/cloud/security/privateca/v1beta1/certificateauthorityserviceclient/listcertificateauthorities/AsyncListCertificateAuthoritiesPaged.java index 0b511366..ddef0837 100644 --- a/samples/snippets/generated/com/google/cloud/security/privateca/v1beta1/certificateauthorityserviceclient/listcertificateauthorities/AsyncListCertificateAuthoritiesPaged.java +++ b/samples/snippets/generated/com/google/cloud/security/privateca/v1beta1/certificateauthorityserviceclient/listcertificateauthorities/AsyncListCertificateAuthoritiesPaged.java @@ -16,8 +16,7 @@ package com.google.cloud.security.privateca.v1beta1.samples; -// [START -// privateca_v1beta1_generated_certificateauthorityserviceclient_listcertificateauthorities_paged_async] +// [START privateca_v1beta1_generated_certificateauthorityserviceclient_listcertificateauthorities_paged_async] import com.google.cloud.security.privateca.v1beta1.CertificateAuthority; import com.google.cloud.security.privateca.v1beta1.CertificateAuthorityServiceClient; import com.google.cloud.security.privateca.v1beta1.ListCertificateAuthoritiesRequest; @@ -60,5 +59,4 @@ public static void asyncListCertificateAuthoritiesPaged() throws Exception { } } } -// [END -// privateca_v1beta1_generated_certificateauthorityserviceclient_listcertificateauthorities_paged_async] +// [END privateca_v1beta1_generated_certificateauthorityserviceclient_listcertificateauthorities_paged_async] diff --git a/samples/snippets/generated/com/google/cloud/security/privateca/v1beta1/certificateauthorityserviceclient/listcertificateauthorities/SyncListCertificateAuthorities.java b/samples/snippets/generated/com/google/cloud/security/privateca/v1beta1/certificateauthorityserviceclient/listcertificateauthorities/SyncListCertificateAuthorities.java index 5dbc8560..673bec9e 100644 --- a/samples/snippets/generated/com/google/cloud/security/privateca/v1beta1/certificateauthorityserviceclient/listcertificateauthorities/SyncListCertificateAuthorities.java +++ b/samples/snippets/generated/com/google/cloud/security/privateca/v1beta1/certificateauthorityserviceclient/listcertificateauthorities/SyncListCertificateAuthorities.java @@ -16,8 +16,7 @@ package com.google.cloud.security.privateca.v1beta1.samples; -// [START -// privateca_v1beta1_generated_certificateauthorityserviceclient_listcertificateauthorities_sync] +// [START privateca_v1beta1_generated_certificateauthorityserviceclient_listcertificateauthorities_sync] import com.google.cloud.security.privateca.v1beta1.CertificateAuthority; import com.google.cloud.security.privateca.v1beta1.CertificateAuthorityServiceClient; import com.google.cloud.security.privateca.v1beta1.ListCertificateAuthoritiesRequest; @@ -49,5 +48,4 @@ public static void syncListCertificateAuthorities() throws Exception { } } } -// [END -// privateca_v1beta1_generated_certificateauthorityserviceclient_listcertificateauthorities_sync] +// [END privateca_v1beta1_generated_certificateauthorityserviceclient_listcertificateauthorities_sync] diff --git a/samples/snippets/generated/com/google/cloud/security/privateca/v1beta1/certificateauthorityserviceclient/listcertificateauthorities/SyncListCertificateAuthoritiesLocationname.java b/samples/snippets/generated/com/google/cloud/security/privateca/v1beta1/certificateauthorityserviceclient/listcertificateauthorities/SyncListCertificateAuthoritiesLocationname.java index f5b658df..58ec7522 100644 --- a/samples/snippets/generated/com/google/cloud/security/privateca/v1beta1/certificateauthorityserviceclient/listcertificateauthorities/SyncListCertificateAuthoritiesLocationname.java +++ b/samples/snippets/generated/com/google/cloud/security/privateca/v1beta1/certificateauthorityserviceclient/listcertificateauthorities/SyncListCertificateAuthoritiesLocationname.java @@ -16,8 +16,7 @@ package com.google.cloud.security.privateca.v1beta1.samples; -// [START -// privateca_v1beta1_generated_certificateauthorityserviceclient_listcertificateauthorities_locationname_sync] +// [START privateca_v1beta1_generated_certificateauthorityserviceclient_listcertificateauthorities_locationname_sync] import com.google.cloud.security.privateca.v1beta1.CertificateAuthority; import com.google.cloud.security.privateca.v1beta1.CertificateAuthorityServiceClient; import com.google.cloud.security.privateca.v1beta1.LocationName; @@ -41,5 +40,4 @@ public static void syncListCertificateAuthoritiesLocationname() throws Exception } } } -// [END -// privateca_v1beta1_generated_certificateauthorityserviceclient_listcertificateauthorities_locationname_sync] +// [END privateca_v1beta1_generated_certificateauthorityserviceclient_listcertificateauthorities_locationname_sync] diff --git a/samples/snippets/generated/com/google/cloud/security/privateca/v1beta1/certificateauthorityserviceclient/listcertificateauthorities/SyncListCertificateAuthoritiesString.java b/samples/snippets/generated/com/google/cloud/security/privateca/v1beta1/certificateauthorityserviceclient/listcertificateauthorities/SyncListCertificateAuthoritiesString.java index 33386f35..7863aac9 100644 --- a/samples/snippets/generated/com/google/cloud/security/privateca/v1beta1/certificateauthorityserviceclient/listcertificateauthorities/SyncListCertificateAuthoritiesString.java +++ b/samples/snippets/generated/com/google/cloud/security/privateca/v1beta1/certificateauthorityserviceclient/listcertificateauthorities/SyncListCertificateAuthoritiesString.java @@ -16,8 +16,7 @@ package com.google.cloud.security.privateca.v1beta1.samples; -// [START -// privateca_v1beta1_generated_certificateauthorityserviceclient_listcertificateauthorities_string_sync] +// [START privateca_v1beta1_generated_certificateauthorityserviceclient_listcertificateauthorities_string_sync] import com.google.cloud.security.privateca.v1beta1.CertificateAuthority; import com.google.cloud.security.privateca.v1beta1.CertificateAuthorityServiceClient; import com.google.cloud.security.privateca.v1beta1.LocationName; @@ -41,5 +40,4 @@ public static void syncListCertificateAuthoritiesString() throws Exception { } } } -// [END -// privateca_v1beta1_generated_certificateauthorityserviceclient_listcertificateauthorities_string_sync] +// [END privateca_v1beta1_generated_certificateauthorityserviceclient_listcertificateauthorities_string_sync] diff --git a/samples/snippets/generated/com/google/cloud/security/privateca/v1beta1/certificateauthorityserviceclient/listcertificaterevocationlists/AsyncListCertificateRevocationLists.java b/samples/snippets/generated/com/google/cloud/security/privateca/v1beta1/certificateauthorityserviceclient/listcertificaterevocationlists/AsyncListCertificateRevocationLists.java index 9ea40437..2fce12a0 100644 --- a/samples/snippets/generated/com/google/cloud/security/privateca/v1beta1/certificateauthorityserviceclient/listcertificaterevocationlists/AsyncListCertificateRevocationLists.java +++ b/samples/snippets/generated/com/google/cloud/security/privateca/v1beta1/certificateauthorityserviceclient/listcertificaterevocationlists/AsyncListCertificateRevocationLists.java @@ -16,8 +16,7 @@ package com.google.cloud.security.privateca.v1beta1.samples; -// [START -// privateca_v1beta1_generated_certificateauthorityserviceclient_listcertificaterevocationlists_async] +// [START privateca_v1beta1_generated_certificateauthorityserviceclient_listcertificaterevocationlists_async] import com.google.api.core.ApiFuture; import com.google.cloud.security.privateca.v1beta1.CertificateAuthorityName; import com.google.cloud.security.privateca.v1beta1.CertificateAuthorityServiceClient; @@ -56,5 +55,4 @@ public static void asyncListCertificateRevocationLists() throws Exception { } } } -// [END -// privateca_v1beta1_generated_certificateauthorityserviceclient_listcertificaterevocationlists_async] +// [END privateca_v1beta1_generated_certificateauthorityserviceclient_listcertificaterevocationlists_async] diff --git a/samples/snippets/generated/com/google/cloud/security/privateca/v1beta1/certificateauthorityserviceclient/listcertificaterevocationlists/AsyncListCertificateRevocationListsPaged.java b/samples/snippets/generated/com/google/cloud/security/privateca/v1beta1/certificateauthorityserviceclient/listcertificaterevocationlists/AsyncListCertificateRevocationListsPaged.java index 3db0e47a..ae72e57b 100644 --- a/samples/snippets/generated/com/google/cloud/security/privateca/v1beta1/certificateauthorityserviceclient/listcertificaterevocationlists/AsyncListCertificateRevocationListsPaged.java +++ b/samples/snippets/generated/com/google/cloud/security/privateca/v1beta1/certificateauthorityserviceclient/listcertificaterevocationlists/AsyncListCertificateRevocationListsPaged.java @@ -16,8 +16,7 @@ package com.google.cloud.security.privateca.v1beta1.samples; -// [START -// privateca_v1beta1_generated_certificateauthorityserviceclient_listcertificaterevocationlists_paged_async] +// [START privateca_v1beta1_generated_certificateauthorityserviceclient_listcertificaterevocationlists_paged_async] import com.google.cloud.security.privateca.v1beta1.CertificateAuthorityName; import com.google.cloud.security.privateca.v1beta1.CertificateAuthorityServiceClient; import com.google.cloud.security.privateca.v1beta1.CertificateRevocationList; @@ -64,5 +63,4 @@ public static void asyncListCertificateRevocationListsPaged() throws Exception { } } } -// [END -// privateca_v1beta1_generated_certificateauthorityserviceclient_listcertificaterevocationlists_paged_async] +// [END privateca_v1beta1_generated_certificateauthorityserviceclient_listcertificaterevocationlists_paged_async] diff --git a/samples/snippets/generated/com/google/cloud/security/privateca/v1beta1/certificateauthorityserviceclient/listcertificaterevocationlists/SyncListCertificateRevocationLists.java b/samples/snippets/generated/com/google/cloud/security/privateca/v1beta1/certificateauthorityserviceclient/listcertificaterevocationlists/SyncListCertificateRevocationLists.java index b8103098..07534e19 100644 --- a/samples/snippets/generated/com/google/cloud/security/privateca/v1beta1/certificateauthorityserviceclient/listcertificaterevocationlists/SyncListCertificateRevocationLists.java +++ b/samples/snippets/generated/com/google/cloud/security/privateca/v1beta1/certificateauthorityserviceclient/listcertificaterevocationlists/SyncListCertificateRevocationLists.java @@ -16,8 +16,7 @@ package com.google.cloud.security.privateca.v1beta1.samples; -// [START -// privateca_v1beta1_generated_certificateauthorityserviceclient_listcertificaterevocationlists_sync] +// [START privateca_v1beta1_generated_certificateauthorityserviceclient_listcertificaterevocationlists_sync] import com.google.cloud.security.privateca.v1beta1.CertificateAuthorityName; import com.google.cloud.security.privateca.v1beta1.CertificateAuthorityServiceClient; import com.google.cloud.security.privateca.v1beta1.CertificateRevocationList; @@ -51,5 +50,4 @@ public static void syncListCertificateRevocationLists() throws Exception { } } } -// [END -// privateca_v1beta1_generated_certificateauthorityserviceclient_listcertificaterevocationlists_sync] +// [END privateca_v1beta1_generated_certificateauthorityserviceclient_listcertificaterevocationlists_sync] diff --git a/samples/snippets/generated/com/google/cloud/security/privateca/v1beta1/certificateauthorityserviceclient/listcertificaterevocationlists/SyncListCertificateRevocationListsCertificateauthorityname.java b/samples/snippets/generated/com/google/cloud/security/privateca/v1beta1/certificateauthorityserviceclient/listcertificaterevocationlists/SyncListCertificateRevocationListsCertificateauthorityname.java index fdfd9397..52a59481 100644 --- a/samples/snippets/generated/com/google/cloud/security/privateca/v1beta1/certificateauthorityserviceclient/listcertificaterevocationlists/SyncListCertificateRevocationListsCertificateauthorityname.java +++ b/samples/snippets/generated/com/google/cloud/security/privateca/v1beta1/certificateauthorityserviceclient/listcertificaterevocationlists/SyncListCertificateRevocationListsCertificateauthorityname.java @@ -16,8 +16,7 @@ package com.google.cloud.security.privateca.v1beta1.samples; -// [START -// privateca_v1beta1_generated_certificateauthorityserviceclient_listcertificaterevocationlists_certificateauthorityname_sync] +// [START privateca_v1beta1_generated_certificateauthorityserviceclient_listcertificaterevocationlists_certificateauthorityname_sync] import com.google.cloud.security.privateca.v1beta1.CertificateAuthorityName; import com.google.cloud.security.privateca.v1beta1.CertificateAuthorityServiceClient; import com.google.cloud.security.privateca.v1beta1.CertificateRevocationList; @@ -42,5 +41,4 @@ public static void syncListCertificateRevocationListsCertificateauthorityname() } } } -// [END -// privateca_v1beta1_generated_certificateauthorityserviceclient_listcertificaterevocationlists_certificateauthorityname_sync] +// [END privateca_v1beta1_generated_certificateauthorityserviceclient_listcertificaterevocationlists_certificateauthorityname_sync] diff --git a/samples/snippets/generated/com/google/cloud/security/privateca/v1beta1/certificateauthorityserviceclient/listcertificaterevocationlists/SyncListCertificateRevocationListsString.java b/samples/snippets/generated/com/google/cloud/security/privateca/v1beta1/certificateauthorityserviceclient/listcertificaterevocationlists/SyncListCertificateRevocationListsString.java index ea74e479..303844e6 100644 --- a/samples/snippets/generated/com/google/cloud/security/privateca/v1beta1/certificateauthorityserviceclient/listcertificaterevocationlists/SyncListCertificateRevocationListsString.java +++ b/samples/snippets/generated/com/google/cloud/security/privateca/v1beta1/certificateauthorityserviceclient/listcertificaterevocationlists/SyncListCertificateRevocationListsString.java @@ -16,8 +16,7 @@ package com.google.cloud.security.privateca.v1beta1.samples; -// [START -// privateca_v1beta1_generated_certificateauthorityserviceclient_listcertificaterevocationlists_string_sync] +// [START privateca_v1beta1_generated_certificateauthorityserviceclient_listcertificaterevocationlists_string_sync] import com.google.cloud.security.privateca.v1beta1.CertificateAuthorityName; import com.google.cloud.security.privateca.v1beta1.CertificateAuthorityServiceClient; import com.google.cloud.security.privateca.v1beta1.CertificateRevocationList; @@ -43,5 +42,4 @@ public static void syncListCertificateRevocationListsString() throws Exception { } } } -// [END -// privateca_v1beta1_generated_certificateauthorityserviceclient_listcertificaterevocationlists_string_sync] +// [END privateca_v1beta1_generated_certificateauthorityserviceclient_listcertificaterevocationlists_string_sync] diff --git a/samples/snippets/generated/com/google/cloud/security/privateca/v1beta1/certificateauthorityserviceclient/listcertificates/AsyncListCertificatesPaged.java b/samples/snippets/generated/com/google/cloud/security/privateca/v1beta1/certificateauthorityserviceclient/listcertificates/AsyncListCertificatesPaged.java index ef4b2cde..db98a843 100644 --- a/samples/snippets/generated/com/google/cloud/security/privateca/v1beta1/certificateauthorityserviceclient/listcertificates/AsyncListCertificatesPaged.java +++ b/samples/snippets/generated/com/google/cloud/security/privateca/v1beta1/certificateauthorityserviceclient/listcertificates/AsyncListCertificatesPaged.java @@ -16,8 +16,7 @@ package com.google.cloud.security.privateca.v1beta1.samples; -// [START -// privateca_v1beta1_generated_certificateauthorityserviceclient_listcertificates_paged_async] +// [START privateca_v1beta1_generated_certificateauthorityserviceclient_listcertificates_paged_async] import com.google.cloud.security.privateca.v1beta1.Certificate; import com.google.cloud.security.privateca.v1beta1.CertificateAuthorityName; import com.google.cloud.security.privateca.v1beta1.CertificateAuthorityServiceClient; diff --git a/samples/snippets/generated/com/google/cloud/security/privateca/v1beta1/certificateauthorityserviceclient/listcertificates/SyncListCertificatesCertificateauthorityname.java b/samples/snippets/generated/com/google/cloud/security/privateca/v1beta1/certificateauthorityserviceclient/listcertificates/SyncListCertificatesCertificateauthorityname.java index 05f30dc2..c7633f14 100644 --- a/samples/snippets/generated/com/google/cloud/security/privateca/v1beta1/certificateauthorityserviceclient/listcertificates/SyncListCertificatesCertificateauthorityname.java +++ b/samples/snippets/generated/com/google/cloud/security/privateca/v1beta1/certificateauthorityserviceclient/listcertificates/SyncListCertificatesCertificateauthorityname.java @@ -16,8 +16,7 @@ package com.google.cloud.security.privateca.v1beta1.samples; -// [START -// privateca_v1beta1_generated_certificateauthorityserviceclient_listcertificates_certificateauthorityname_sync] +// [START privateca_v1beta1_generated_certificateauthorityserviceclient_listcertificates_certificateauthorityname_sync] import com.google.cloud.security.privateca.v1beta1.Certificate; import com.google.cloud.security.privateca.v1beta1.CertificateAuthorityName; import com.google.cloud.security.privateca.v1beta1.CertificateAuthorityServiceClient; @@ -42,5 +41,4 @@ public static void syncListCertificatesCertificateauthorityname() throws Excepti } } } -// [END -// privateca_v1beta1_generated_certificateauthorityserviceclient_listcertificates_certificateauthorityname_sync] +// [END privateca_v1beta1_generated_certificateauthorityserviceclient_listcertificates_certificateauthorityname_sync] diff --git a/samples/snippets/generated/com/google/cloud/security/privateca/v1beta1/certificateauthorityserviceclient/listcertificates/SyncListCertificatesString.java b/samples/snippets/generated/com/google/cloud/security/privateca/v1beta1/certificateauthorityserviceclient/listcertificates/SyncListCertificatesString.java index 98b42102..c60c473f 100644 --- a/samples/snippets/generated/com/google/cloud/security/privateca/v1beta1/certificateauthorityserviceclient/listcertificates/SyncListCertificatesString.java +++ b/samples/snippets/generated/com/google/cloud/security/privateca/v1beta1/certificateauthorityserviceclient/listcertificates/SyncListCertificatesString.java @@ -16,8 +16,7 @@ package com.google.cloud.security.privateca.v1beta1.samples; -// [START -// privateca_v1beta1_generated_certificateauthorityserviceclient_listcertificates_string_sync] +// [START privateca_v1beta1_generated_certificateauthorityserviceclient_listcertificates_string_sync] import com.google.cloud.security.privateca.v1beta1.Certificate; import com.google.cloud.security.privateca.v1beta1.CertificateAuthorityName; import com.google.cloud.security.privateca.v1beta1.CertificateAuthorityServiceClient; diff --git a/samples/snippets/generated/com/google/cloud/security/privateca/v1beta1/certificateauthorityserviceclient/listreusableconfigs/AsyncListReusableConfigsPaged.java b/samples/snippets/generated/com/google/cloud/security/privateca/v1beta1/certificateauthorityserviceclient/listreusableconfigs/AsyncListReusableConfigsPaged.java index 200677eb..ea888cab 100644 --- a/samples/snippets/generated/com/google/cloud/security/privateca/v1beta1/certificateauthorityserviceclient/listreusableconfigs/AsyncListReusableConfigsPaged.java +++ b/samples/snippets/generated/com/google/cloud/security/privateca/v1beta1/certificateauthorityserviceclient/listreusableconfigs/AsyncListReusableConfigsPaged.java @@ -16,8 +16,7 @@ package com.google.cloud.security.privateca.v1beta1.samples; -// [START -// privateca_v1beta1_generated_certificateauthorityserviceclient_listreusableconfigs_paged_async] +// [START privateca_v1beta1_generated_certificateauthorityserviceclient_listreusableconfigs_paged_async] import com.google.cloud.security.privateca.v1beta1.CertificateAuthorityServiceClient; import com.google.cloud.security.privateca.v1beta1.ListReusableConfigsRequest; import com.google.cloud.security.privateca.v1beta1.ListReusableConfigsResponse; @@ -60,5 +59,4 @@ public static void asyncListReusableConfigsPaged() throws Exception { } } } -// [END -// privateca_v1beta1_generated_certificateauthorityserviceclient_listreusableconfigs_paged_async] +// [END privateca_v1beta1_generated_certificateauthorityserviceclient_listreusableconfigs_paged_async] diff --git a/samples/snippets/generated/com/google/cloud/security/privateca/v1beta1/certificateauthorityserviceclient/listreusableconfigs/SyncListReusableConfigsLocationname.java b/samples/snippets/generated/com/google/cloud/security/privateca/v1beta1/certificateauthorityserviceclient/listreusableconfigs/SyncListReusableConfigsLocationname.java index 8b087919..b75a62c2 100644 --- a/samples/snippets/generated/com/google/cloud/security/privateca/v1beta1/certificateauthorityserviceclient/listreusableconfigs/SyncListReusableConfigsLocationname.java +++ b/samples/snippets/generated/com/google/cloud/security/privateca/v1beta1/certificateauthorityserviceclient/listreusableconfigs/SyncListReusableConfigsLocationname.java @@ -16,8 +16,7 @@ package com.google.cloud.security.privateca.v1beta1.samples; -// [START -// privateca_v1beta1_generated_certificateauthorityserviceclient_listreusableconfigs_locationname_sync] +// [START privateca_v1beta1_generated_certificateauthorityserviceclient_listreusableconfigs_locationname_sync] import com.google.cloud.security.privateca.v1beta1.CertificateAuthorityServiceClient; import com.google.cloud.security.privateca.v1beta1.LocationName; import com.google.cloud.security.privateca.v1beta1.ReusableConfig; @@ -41,5 +40,4 @@ public static void syncListReusableConfigsLocationname() throws Exception { } } } -// [END -// privateca_v1beta1_generated_certificateauthorityserviceclient_listreusableconfigs_locationname_sync] +// [END privateca_v1beta1_generated_certificateauthorityserviceclient_listreusableconfigs_locationname_sync] diff --git a/samples/snippets/generated/com/google/cloud/security/privateca/v1beta1/certificateauthorityserviceclient/listreusableconfigs/SyncListReusableConfigsString.java b/samples/snippets/generated/com/google/cloud/security/privateca/v1beta1/certificateauthorityserviceclient/listreusableconfigs/SyncListReusableConfigsString.java index 7f131856..139d9a90 100644 --- a/samples/snippets/generated/com/google/cloud/security/privateca/v1beta1/certificateauthorityserviceclient/listreusableconfigs/SyncListReusableConfigsString.java +++ b/samples/snippets/generated/com/google/cloud/security/privateca/v1beta1/certificateauthorityserviceclient/listreusableconfigs/SyncListReusableConfigsString.java @@ -16,8 +16,7 @@ package com.google.cloud.security.privateca.v1beta1.samples; -// [START -// privateca_v1beta1_generated_certificateauthorityserviceclient_listreusableconfigs_string_sync] +// [START privateca_v1beta1_generated_certificateauthorityserviceclient_listreusableconfigs_string_sync] import com.google.cloud.security.privateca.v1beta1.CertificateAuthorityServiceClient; import com.google.cloud.security.privateca.v1beta1.LocationName; import com.google.cloud.security.privateca.v1beta1.ReusableConfig; @@ -41,5 +40,4 @@ public static void syncListReusableConfigsString() throws Exception { } } } -// [END -// privateca_v1beta1_generated_certificateauthorityserviceclient_listreusableconfigs_string_sync] +// [END privateca_v1beta1_generated_certificateauthorityserviceclient_listreusableconfigs_string_sync] diff --git a/samples/snippets/generated/com/google/cloud/security/privateca/v1beta1/certificateauthorityserviceclient/restorecertificateauthority/AsyncRestoreCertificateAuthority.java b/samples/snippets/generated/com/google/cloud/security/privateca/v1beta1/certificateauthorityserviceclient/restorecertificateauthority/AsyncRestoreCertificateAuthority.java index 7ac72d38..798a9b6b 100644 --- a/samples/snippets/generated/com/google/cloud/security/privateca/v1beta1/certificateauthorityserviceclient/restorecertificateauthority/AsyncRestoreCertificateAuthority.java +++ b/samples/snippets/generated/com/google/cloud/security/privateca/v1beta1/certificateauthorityserviceclient/restorecertificateauthority/AsyncRestoreCertificateAuthority.java @@ -16,8 +16,7 @@ package com.google.cloud.security.privateca.v1beta1.samples; -// [START -// privateca_v1beta1_generated_certificateauthorityserviceclient_restorecertificateauthority_async] +// [START privateca_v1beta1_generated_certificateauthorityserviceclient_restorecertificateauthority_async] import com.google.api.core.ApiFuture; import com.google.cloud.security.privateca.v1beta1.CertificateAuthorityName; import com.google.cloud.security.privateca.v1beta1.CertificateAuthorityServiceClient; @@ -51,5 +50,4 @@ public static void asyncRestoreCertificateAuthority() throws Exception { } } } -// [END -// privateca_v1beta1_generated_certificateauthorityserviceclient_restorecertificateauthority_async] +// [END privateca_v1beta1_generated_certificateauthorityserviceclient_restorecertificateauthority_async] diff --git a/samples/snippets/generated/com/google/cloud/security/privateca/v1beta1/certificateauthorityserviceclient/restorecertificateauthority/AsyncRestoreCertificateAuthorityLRO.java b/samples/snippets/generated/com/google/cloud/security/privateca/v1beta1/certificateauthorityserviceclient/restorecertificateauthority/AsyncRestoreCertificateAuthorityLRO.java index 52ff5553..38abfce2 100644 --- a/samples/snippets/generated/com/google/cloud/security/privateca/v1beta1/certificateauthorityserviceclient/restorecertificateauthority/AsyncRestoreCertificateAuthorityLRO.java +++ b/samples/snippets/generated/com/google/cloud/security/privateca/v1beta1/certificateauthorityserviceclient/restorecertificateauthority/AsyncRestoreCertificateAuthorityLRO.java @@ -16,8 +16,7 @@ package com.google.cloud.security.privateca.v1beta1.samples; -// [START -// privateca_v1beta1_generated_certificateauthorityserviceclient_restorecertificateauthority_lro_async] +// [START privateca_v1beta1_generated_certificateauthorityserviceclient_restorecertificateauthority_lro_async] import com.google.api.gax.longrunning.OperationFuture; import com.google.cloud.security.privateca.v1beta1.CertificateAuthority; import com.google.cloud.security.privateca.v1beta1.CertificateAuthorityName; @@ -52,5 +51,4 @@ public static void asyncRestoreCertificateAuthorityLRO() throws Exception { } } } -// [END -// privateca_v1beta1_generated_certificateauthorityserviceclient_restorecertificateauthority_lro_async] +// [END privateca_v1beta1_generated_certificateauthorityserviceclient_restorecertificateauthority_lro_async] diff --git a/samples/snippets/generated/com/google/cloud/security/privateca/v1beta1/certificateauthorityserviceclient/restorecertificateauthority/SyncRestoreCertificateAuthority.java b/samples/snippets/generated/com/google/cloud/security/privateca/v1beta1/certificateauthorityserviceclient/restorecertificateauthority/SyncRestoreCertificateAuthority.java index 17a1f4e8..dde0ac62 100644 --- a/samples/snippets/generated/com/google/cloud/security/privateca/v1beta1/certificateauthorityserviceclient/restorecertificateauthority/SyncRestoreCertificateAuthority.java +++ b/samples/snippets/generated/com/google/cloud/security/privateca/v1beta1/certificateauthorityserviceclient/restorecertificateauthority/SyncRestoreCertificateAuthority.java @@ -16,8 +16,7 @@ package com.google.cloud.security.privateca.v1beta1.samples; -// [START -// privateca_v1beta1_generated_certificateauthorityserviceclient_restorecertificateauthority_sync] +// [START privateca_v1beta1_generated_certificateauthorityserviceclient_restorecertificateauthority_sync] import com.google.cloud.security.privateca.v1beta1.CertificateAuthority; import com.google.cloud.security.privateca.v1beta1.CertificateAuthorityName; import com.google.cloud.security.privateca.v1beta1.CertificateAuthorityServiceClient; @@ -46,5 +45,4 @@ public static void syncRestoreCertificateAuthority() throws Exception { } } } -// [END -// privateca_v1beta1_generated_certificateauthorityserviceclient_restorecertificateauthority_sync] +// [END privateca_v1beta1_generated_certificateauthorityserviceclient_restorecertificateauthority_sync] diff --git a/samples/snippets/generated/com/google/cloud/security/privateca/v1beta1/certificateauthorityserviceclient/restorecertificateauthority/SyncRestoreCertificateAuthorityCertificateauthorityname.java b/samples/snippets/generated/com/google/cloud/security/privateca/v1beta1/certificateauthorityserviceclient/restorecertificateauthority/SyncRestoreCertificateAuthorityCertificateauthorityname.java index 72138019..3fd35dab 100644 --- a/samples/snippets/generated/com/google/cloud/security/privateca/v1beta1/certificateauthorityserviceclient/restorecertificateauthority/SyncRestoreCertificateAuthorityCertificateauthorityname.java +++ b/samples/snippets/generated/com/google/cloud/security/privateca/v1beta1/certificateauthorityserviceclient/restorecertificateauthority/SyncRestoreCertificateAuthorityCertificateauthorityname.java @@ -16,8 +16,7 @@ package com.google.cloud.security.privateca.v1beta1.samples; -// [START -// privateca_v1beta1_generated_certificateauthorityserviceclient_restorecertificateauthority_certificateauthorityname_sync] +// [START privateca_v1beta1_generated_certificateauthorityserviceclient_restorecertificateauthority_certificateauthorityname_sync] import com.google.cloud.security.privateca.v1beta1.CertificateAuthority; import com.google.cloud.security.privateca.v1beta1.CertificateAuthorityName; import com.google.cloud.security.privateca.v1beta1.CertificateAuthorityServiceClient; @@ -40,5 +39,4 @@ public static void syncRestoreCertificateAuthorityCertificateauthorityname() thr } } } -// [END -// privateca_v1beta1_generated_certificateauthorityserviceclient_restorecertificateauthority_certificateauthorityname_sync] +// [END privateca_v1beta1_generated_certificateauthorityserviceclient_restorecertificateauthority_certificateauthorityname_sync] diff --git a/samples/snippets/generated/com/google/cloud/security/privateca/v1beta1/certificateauthorityserviceclient/restorecertificateauthority/SyncRestoreCertificateAuthorityString.java b/samples/snippets/generated/com/google/cloud/security/privateca/v1beta1/certificateauthorityserviceclient/restorecertificateauthority/SyncRestoreCertificateAuthorityString.java index 157efdad..127f7625 100644 --- a/samples/snippets/generated/com/google/cloud/security/privateca/v1beta1/certificateauthorityserviceclient/restorecertificateauthority/SyncRestoreCertificateAuthorityString.java +++ b/samples/snippets/generated/com/google/cloud/security/privateca/v1beta1/certificateauthorityserviceclient/restorecertificateauthority/SyncRestoreCertificateAuthorityString.java @@ -16,8 +16,7 @@ package com.google.cloud.security.privateca.v1beta1.samples; -// [START -// privateca_v1beta1_generated_certificateauthorityserviceclient_restorecertificateauthority_string_sync] +// [START privateca_v1beta1_generated_certificateauthorityserviceclient_restorecertificateauthority_string_sync] import com.google.cloud.security.privateca.v1beta1.CertificateAuthority; import com.google.cloud.security.privateca.v1beta1.CertificateAuthorityName; import com.google.cloud.security.privateca.v1beta1.CertificateAuthorityServiceClient; @@ -41,5 +40,4 @@ public static void syncRestoreCertificateAuthorityString() throws Exception { } } } -// [END -// privateca_v1beta1_generated_certificateauthorityserviceclient_restorecertificateauthority_string_sync] +// [END privateca_v1beta1_generated_certificateauthorityserviceclient_restorecertificateauthority_string_sync] diff --git a/samples/snippets/generated/com/google/cloud/security/privateca/v1beta1/certificateauthorityserviceclient/revokecertificate/SyncRevokeCertificateCertificatename.java b/samples/snippets/generated/com/google/cloud/security/privateca/v1beta1/certificateauthorityserviceclient/revokecertificate/SyncRevokeCertificateCertificatename.java index 05f82ff2..036b4699 100644 --- a/samples/snippets/generated/com/google/cloud/security/privateca/v1beta1/certificateauthorityserviceclient/revokecertificate/SyncRevokeCertificateCertificatename.java +++ b/samples/snippets/generated/com/google/cloud/security/privateca/v1beta1/certificateauthorityserviceclient/revokecertificate/SyncRevokeCertificateCertificatename.java @@ -16,8 +16,7 @@ package com.google.cloud.security.privateca.v1beta1.samples; -// [START -// privateca_v1beta1_generated_certificateauthorityserviceclient_revokecertificate_certificatename_sync] +// [START privateca_v1beta1_generated_certificateauthorityserviceclient_revokecertificate_certificatename_sync] import com.google.cloud.security.privateca.v1beta1.Certificate; import com.google.cloud.security.privateca.v1beta1.CertificateAuthorityServiceClient; import com.google.cloud.security.privateca.v1beta1.CertificateName; @@ -39,5 +38,4 @@ public static void syncRevokeCertificateCertificatename() throws Exception { } } } -// [END -// privateca_v1beta1_generated_certificateauthorityserviceclient_revokecertificate_certificatename_sync] +// [END privateca_v1beta1_generated_certificateauthorityserviceclient_revokecertificate_certificatename_sync] diff --git a/samples/snippets/generated/com/google/cloud/security/privateca/v1beta1/certificateauthorityserviceclient/revokecertificate/SyncRevokeCertificateString.java b/samples/snippets/generated/com/google/cloud/security/privateca/v1beta1/certificateauthorityserviceclient/revokecertificate/SyncRevokeCertificateString.java index 3103a1c0..38499865 100644 --- a/samples/snippets/generated/com/google/cloud/security/privateca/v1beta1/certificateauthorityserviceclient/revokecertificate/SyncRevokeCertificateString.java +++ b/samples/snippets/generated/com/google/cloud/security/privateca/v1beta1/certificateauthorityserviceclient/revokecertificate/SyncRevokeCertificateString.java @@ -16,8 +16,7 @@ package com.google.cloud.security.privateca.v1beta1.samples; -// [START -// privateca_v1beta1_generated_certificateauthorityserviceclient_revokecertificate_string_sync] +// [START privateca_v1beta1_generated_certificateauthorityserviceclient_revokecertificate_string_sync] import com.google.cloud.security.privateca.v1beta1.Certificate; import com.google.cloud.security.privateca.v1beta1.CertificateAuthorityServiceClient; import com.google.cloud.security.privateca.v1beta1.CertificateName; diff --git a/samples/snippets/generated/com/google/cloud/security/privateca/v1beta1/certificateauthorityserviceclient/scheduledeletecertificateauthority/AsyncScheduleDeleteCertificateAuthority.java b/samples/snippets/generated/com/google/cloud/security/privateca/v1beta1/certificateauthorityserviceclient/scheduledeletecertificateauthority/AsyncScheduleDeleteCertificateAuthority.java index 628609f7..029f678b 100644 --- a/samples/snippets/generated/com/google/cloud/security/privateca/v1beta1/certificateauthorityserviceclient/scheduledeletecertificateauthority/AsyncScheduleDeleteCertificateAuthority.java +++ b/samples/snippets/generated/com/google/cloud/security/privateca/v1beta1/certificateauthorityserviceclient/scheduledeletecertificateauthority/AsyncScheduleDeleteCertificateAuthority.java @@ -16,8 +16,7 @@ package com.google.cloud.security.privateca.v1beta1.samples; -// [START -// privateca_v1beta1_generated_certificateauthorityserviceclient_scheduledeletecertificateauthority_async] +// [START privateca_v1beta1_generated_certificateauthorityserviceclient_scheduledeletecertificateauthority_async] import com.google.api.core.ApiFuture; import com.google.cloud.security.privateca.v1beta1.CertificateAuthorityName; import com.google.cloud.security.privateca.v1beta1.CertificateAuthorityServiceClient; @@ -51,5 +50,4 @@ public static void asyncScheduleDeleteCertificateAuthority() throws Exception { } } } -// [END -// privateca_v1beta1_generated_certificateauthorityserviceclient_scheduledeletecertificateauthority_async] +// [END privateca_v1beta1_generated_certificateauthorityserviceclient_scheduledeletecertificateauthority_async] diff --git a/samples/snippets/generated/com/google/cloud/security/privateca/v1beta1/certificateauthorityserviceclient/scheduledeletecertificateauthority/AsyncScheduleDeleteCertificateAuthorityLRO.java b/samples/snippets/generated/com/google/cloud/security/privateca/v1beta1/certificateauthorityserviceclient/scheduledeletecertificateauthority/AsyncScheduleDeleteCertificateAuthorityLRO.java index 76fac327..85a1800b 100644 --- a/samples/snippets/generated/com/google/cloud/security/privateca/v1beta1/certificateauthorityserviceclient/scheduledeletecertificateauthority/AsyncScheduleDeleteCertificateAuthorityLRO.java +++ b/samples/snippets/generated/com/google/cloud/security/privateca/v1beta1/certificateauthorityserviceclient/scheduledeletecertificateauthority/AsyncScheduleDeleteCertificateAuthorityLRO.java @@ -16,8 +16,7 @@ package com.google.cloud.security.privateca.v1beta1.samples; -// [START -// privateca_v1beta1_generated_certificateauthorityserviceclient_scheduledeletecertificateauthority_lro_async] +// [START privateca_v1beta1_generated_certificateauthorityserviceclient_scheduledeletecertificateauthority_lro_async] import com.google.api.gax.longrunning.OperationFuture; import com.google.cloud.security.privateca.v1beta1.CertificateAuthority; import com.google.cloud.security.privateca.v1beta1.CertificateAuthorityName; @@ -52,5 +51,4 @@ public static void asyncScheduleDeleteCertificateAuthorityLRO() throws Exception } } } -// [END -// privateca_v1beta1_generated_certificateauthorityserviceclient_scheduledeletecertificateauthority_lro_async] +// [END privateca_v1beta1_generated_certificateauthorityserviceclient_scheduledeletecertificateauthority_lro_async] diff --git a/samples/snippets/generated/com/google/cloud/security/privateca/v1beta1/certificateauthorityserviceclient/scheduledeletecertificateauthority/SyncScheduleDeleteCertificateAuthority.java b/samples/snippets/generated/com/google/cloud/security/privateca/v1beta1/certificateauthorityserviceclient/scheduledeletecertificateauthority/SyncScheduleDeleteCertificateAuthority.java index f0beb36e..9c67fb48 100644 --- a/samples/snippets/generated/com/google/cloud/security/privateca/v1beta1/certificateauthorityserviceclient/scheduledeletecertificateauthority/SyncScheduleDeleteCertificateAuthority.java +++ b/samples/snippets/generated/com/google/cloud/security/privateca/v1beta1/certificateauthorityserviceclient/scheduledeletecertificateauthority/SyncScheduleDeleteCertificateAuthority.java @@ -16,8 +16,7 @@ package com.google.cloud.security.privateca.v1beta1.samples; -// [START -// privateca_v1beta1_generated_certificateauthorityserviceclient_scheduledeletecertificateauthority_sync] +// [START privateca_v1beta1_generated_certificateauthorityserviceclient_scheduledeletecertificateauthority_sync] import com.google.cloud.security.privateca.v1beta1.CertificateAuthority; import com.google.cloud.security.privateca.v1beta1.CertificateAuthorityName; import com.google.cloud.security.privateca.v1beta1.CertificateAuthorityServiceClient; @@ -46,5 +45,4 @@ public static void syncScheduleDeleteCertificateAuthority() throws Exception { } } } -// [END -// privateca_v1beta1_generated_certificateauthorityserviceclient_scheduledeletecertificateauthority_sync] +// [END privateca_v1beta1_generated_certificateauthorityserviceclient_scheduledeletecertificateauthority_sync] diff --git a/samples/snippets/generated/com/google/cloud/security/privateca/v1beta1/certificateauthorityserviceclient/scheduledeletecertificateauthority/SyncScheduleDeleteCertificateAuthorityCertificateauthorityname.java b/samples/snippets/generated/com/google/cloud/security/privateca/v1beta1/certificateauthorityserviceclient/scheduledeletecertificateauthority/SyncScheduleDeleteCertificateAuthorityCertificateauthorityname.java index 5c8d933d..c6aabf7c 100644 --- a/samples/snippets/generated/com/google/cloud/security/privateca/v1beta1/certificateauthorityserviceclient/scheduledeletecertificateauthority/SyncScheduleDeleteCertificateAuthorityCertificateauthorityname.java +++ b/samples/snippets/generated/com/google/cloud/security/privateca/v1beta1/certificateauthorityserviceclient/scheduledeletecertificateauthority/SyncScheduleDeleteCertificateAuthorityCertificateauthorityname.java @@ -16,8 +16,7 @@ package com.google.cloud.security.privateca.v1beta1.samples; -// [START -// privateca_v1beta1_generated_certificateauthorityserviceclient_scheduledeletecertificateauthority_certificateauthorityname_sync] +// [START privateca_v1beta1_generated_certificateauthorityserviceclient_scheduledeletecertificateauthority_certificateauthorityname_sync] import com.google.cloud.security.privateca.v1beta1.CertificateAuthority; import com.google.cloud.security.privateca.v1beta1.CertificateAuthorityName; import com.google.cloud.security.privateca.v1beta1.CertificateAuthorityServiceClient; @@ -41,5 +40,4 @@ public static void syncScheduleDeleteCertificateAuthorityCertificateauthoritynam } } } -// [END -// privateca_v1beta1_generated_certificateauthorityserviceclient_scheduledeletecertificateauthority_certificateauthorityname_sync] +// [END privateca_v1beta1_generated_certificateauthorityserviceclient_scheduledeletecertificateauthority_certificateauthorityname_sync] diff --git a/samples/snippets/generated/com/google/cloud/security/privateca/v1beta1/certificateauthorityserviceclient/scheduledeletecertificateauthority/SyncScheduleDeleteCertificateAuthorityString.java b/samples/snippets/generated/com/google/cloud/security/privateca/v1beta1/certificateauthorityserviceclient/scheduledeletecertificateauthority/SyncScheduleDeleteCertificateAuthorityString.java index ee8f4313..c88ea83d 100644 --- a/samples/snippets/generated/com/google/cloud/security/privateca/v1beta1/certificateauthorityserviceclient/scheduledeletecertificateauthority/SyncScheduleDeleteCertificateAuthorityString.java +++ b/samples/snippets/generated/com/google/cloud/security/privateca/v1beta1/certificateauthorityserviceclient/scheduledeletecertificateauthority/SyncScheduleDeleteCertificateAuthorityString.java @@ -16,8 +16,7 @@ package com.google.cloud.security.privateca.v1beta1.samples; -// [START -// privateca_v1beta1_generated_certificateauthorityserviceclient_scheduledeletecertificateauthority_string_sync] +// [START privateca_v1beta1_generated_certificateauthorityserviceclient_scheduledeletecertificateauthority_string_sync] import com.google.cloud.security.privateca.v1beta1.CertificateAuthority; import com.google.cloud.security.privateca.v1beta1.CertificateAuthorityName; import com.google.cloud.security.privateca.v1beta1.CertificateAuthorityServiceClient; @@ -41,5 +40,4 @@ public static void syncScheduleDeleteCertificateAuthorityString() throws Excepti } } } -// [END -// privateca_v1beta1_generated_certificateauthorityserviceclient_scheduledeletecertificateauthority_string_sync] +// [END privateca_v1beta1_generated_certificateauthorityserviceclient_scheduledeletecertificateauthority_string_sync] diff --git a/samples/snippets/generated/com/google/cloud/security/privateca/v1beta1/certificateauthorityserviceclient/updatecertificate/SyncUpdateCertificateCertificateFieldmask.java b/samples/snippets/generated/com/google/cloud/security/privateca/v1beta1/certificateauthorityserviceclient/updatecertificate/SyncUpdateCertificateCertificateFieldmask.java index 3bbb6694..151887ca 100644 --- a/samples/snippets/generated/com/google/cloud/security/privateca/v1beta1/certificateauthorityserviceclient/updatecertificate/SyncUpdateCertificateCertificateFieldmask.java +++ b/samples/snippets/generated/com/google/cloud/security/privateca/v1beta1/certificateauthorityserviceclient/updatecertificate/SyncUpdateCertificateCertificateFieldmask.java @@ -16,8 +16,7 @@ package com.google.cloud.security.privateca.v1beta1.samples; -// [START -// privateca_v1beta1_generated_certificateauthorityserviceclient_updatecertificate_certificatefieldmask_sync] +// [START privateca_v1beta1_generated_certificateauthorityserviceclient_updatecertificate_certificatefieldmask_sync] import com.google.cloud.security.privateca.v1beta1.Certificate; import com.google.cloud.security.privateca.v1beta1.CertificateAuthorityServiceClient; import com.google.protobuf.FieldMask; @@ -40,5 +39,4 @@ public static void syncUpdateCertificateCertificateFieldmask() throws Exception } } } -// [END -// privateca_v1beta1_generated_certificateauthorityserviceclient_updatecertificate_certificatefieldmask_sync] +// [END privateca_v1beta1_generated_certificateauthorityserviceclient_updatecertificate_certificatefieldmask_sync] diff --git a/samples/snippets/generated/com/google/cloud/security/privateca/v1beta1/certificateauthorityserviceclient/updatecertificateauthority/AsyncUpdateCertificateAuthority.java b/samples/snippets/generated/com/google/cloud/security/privateca/v1beta1/certificateauthorityserviceclient/updatecertificateauthority/AsyncUpdateCertificateAuthority.java index dcac67c4..e5f20e66 100644 --- a/samples/snippets/generated/com/google/cloud/security/privateca/v1beta1/certificateauthorityserviceclient/updatecertificateauthority/AsyncUpdateCertificateAuthority.java +++ b/samples/snippets/generated/com/google/cloud/security/privateca/v1beta1/certificateauthorityserviceclient/updatecertificateauthority/AsyncUpdateCertificateAuthority.java @@ -16,8 +16,7 @@ package com.google.cloud.security.privateca.v1beta1.samples; -// [START -// privateca_v1beta1_generated_certificateauthorityserviceclient_updatecertificateauthority_async] +// [START privateca_v1beta1_generated_certificateauthorityserviceclient_updatecertificateauthority_async] import com.google.api.core.ApiFuture; import com.google.cloud.security.privateca.v1beta1.CertificateAuthority; import com.google.cloud.security.privateca.v1beta1.CertificateAuthorityServiceClient; @@ -51,5 +50,4 @@ public static void asyncUpdateCertificateAuthority() throws Exception { } } } -// [END -// privateca_v1beta1_generated_certificateauthorityserviceclient_updatecertificateauthority_async] +// [END privateca_v1beta1_generated_certificateauthorityserviceclient_updatecertificateauthority_async] diff --git a/samples/snippets/generated/com/google/cloud/security/privateca/v1beta1/certificateauthorityserviceclient/updatecertificateauthority/AsyncUpdateCertificateAuthorityLRO.java b/samples/snippets/generated/com/google/cloud/security/privateca/v1beta1/certificateauthorityserviceclient/updatecertificateauthority/AsyncUpdateCertificateAuthorityLRO.java index 59ab70c4..69d690c9 100644 --- a/samples/snippets/generated/com/google/cloud/security/privateca/v1beta1/certificateauthorityserviceclient/updatecertificateauthority/AsyncUpdateCertificateAuthorityLRO.java +++ b/samples/snippets/generated/com/google/cloud/security/privateca/v1beta1/certificateauthorityserviceclient/updatecertificateauthority/AsyncUpdateCertificateAuthorityLRO.java @@ -16,8 +16,7 @@ package com.google.cloud.security.privateca.v1beta1.samples; -// [START -// privateca_v1beta1_generated_certificateauthorityserviceclient_updatecertificateauthority_lro_async] +// [START privateca_v1beta1_generated_certificateauthorityserviceclient_updatecertificateauthority_lro_async] import com.google.api.gax.longrunning.OperationFuture; import com.google.cloud.security.privateca.v1beta1.CertificateAuthority; import com.google.cloud.security.privateca.v1beta1.CertificateAuthorityServiceClient; @@ -51,5 +50,4 @@ public static void asyncUpdateCertificateAuthorityLRO() throws Exception { } } } -// [END -// privateca_v1beta1_generated_certificateauthorityserviceclient_updatecertificateauthority_lro_async] +// [END privateca_v1beta1_generated_certificateauthorityserviceclient_updatecertificateauthority_lro_async] diff --git a/samples/snippets/generated/com/google/cloud/security/privateca/v1beta1/certificateauthorityserviceclient/updatecertificateauthority/SyncUpdateCertificateAuthority.java b/samples/snippets/generated/com/google/cloud/security/privateca/v1beta1/certificateauthorityserviceclient/updatecertificateauthority/SyncUpdateCertificateAuthority.java index b2b66405..3a1a46dc 100644 --- a/samples/snippets/generated/com/google/cloud/security/privateca/v1beta1/certificateauthorityserviceclient/updatecertificateauthority/SyncUpdateCertificateAuthority.java +++ b/samples/snippets/generated/com/google/cloud/security/privateca/v1beta1/certificateauthorityserviceclient/updatecertificateauthority/SyncUpdateCertificateAuthority.java @@ -16,8 +16,7 @@ package com.google.cloud.security.privateca.v1beta1.samples; -// [START -// privateca_v1beta1_generated_certificateauthorityserviceclient_updatecertificateauthority_sync] +// [START privateca_v1beta1_generated_certificateauthorityserviceclient_updatecertificateauthority_sync] import com.google.cloud.security.privateca.v1beta1.CertificateAuthority; import com.google.cloud.security.privateca.v1beta1.CertificateAuthorityServiceClient; import com.google.cloud.security.privateca.v1beta1.UpdateCertificateAuthorityRequest; @@ -45,5 +44,4 @@ public static void syncUpdateCertificateAuthority() throws Exception { } } } -// [END -// privateca_v1beta1_generated_certificateauthorityserviceclient_updatecertificateauthority_sync] +// [END privateca_v1beta1_generated_certificateauthorityserviceclient_updatecertificateauthority_sync] diff --git a/samples/snippets/generated/com/google/cloud/security/privateca/v1beta1/certificateauthorityserviceclient/updatecertificateauthority/SyncUpdateCertificateAuthorityCertificateauthorityFieldmask.java b/samples/snippets/generated/com/google/cloud/security/privateca/v1beta1/certificateauthorityserviceclient/updatecertificateauthority/SyncUpdateCertificateAuthorityCertificateauthorityFieldmask.java index 70b72757..60535fc3 100644 --- a/samples/snippets/generated/com/google/cloud/security/privateca/v1beta1/certificateauthorityserviceclient/updatecertificateauthority/SyncUpdateCertificateAuthorityCertificateauthorityFieldmask.java +++ b/samples/snippets/generated/com/google/cloud/security/privateca/v1beta1/certificateauthorityserviceclient/updatecertificateauthority/SyncUpdateCertificateAuthorityCertificateauthorityFieldmask.java @@ -16,8 +16,7 @@ package com.google.cloud.security.privateca.v1beta1.samples; -// [START -// privateca_v1beta1_generated_certificateauthorityserviceclient_updatecertificateauthority_certificateauthorityfieldmask_sync] +// [START privateca_v1beta1_generated_certificateauthorityserviceclient_updatecertificateauthority_certificateauthorityfieldmask_sync] import com.google.cloud.security.privateca.v1beta1.CertificateAuthority; import com.google.cloud.security.privateca.v1beta1.CertificateAuthorityServiceClient; import com.google.protobuf.FieldMask; @@ -43,5 +42,4 @@ public static void syncUpdateCertificateAuthorityCertificateauthorityFieldmask() } } } -// [END -// privateca_v1beta1_generated_certificateauthorityserviceclient_updatecertificateauthority_certificateauthorityfieldmask_sync] +// [END privateca_v1beta1_generated_certificateauthorityserviceclient_updatecertificateauthority_certificateauthorityfieldmask_sync] diff --git a/samples/snippets/generated/com/google/cloud/security/privateca/v1beta1/certificateauthorityserviceclient/updatecertificaterevocationlist/AsyncUpdateCertificateRevocationList.java b/samples/snippets/generated/com/google/cloud/security/privateca/v1beta1/certificateauthorityserviceclient/updatecertificaterevocationlist/AsyncUpdateCertificateRevocationList.java index 3f82b3d8..1658bbd4 100644 --- a/samples/snippets/generated/com/google/cloud/security/privateca/v1beta1/certificateauthorityserviceclient/updatecertificaterevocationlist/AsyncUpdateCertificateRevocationList.java +++ b/samples/snippets/generated/com/google/cloud/security/privateca/v1beta1/certificateauthorityserviceclient/updatecertificaterevocationlist/AsyncUpdateCertificateRevocationList.java @@ -16,8 +16,7 @@ package com.google.cloud.security.privateca.v1beta1.samples; -// [START -// privateca_v1beta1_generated_certificateauthorityserviceclient_updatecertificaterevocationlist_async] +// [START privateca_v1beta1_generated_certificateauthorityserviceclient_updatecertificaterevocationlist_async] import com.google.api.core.ApiFuture; import com.google.cloud.security.privateca.v1beta1.CertificateAuthorityServiceClient; import com.google.cloud.security.privateca.v1beta1.CertificateRevocationList; @@ -51,5 +50,4 @@ public static void asyncUpdateCertificateRevocationList() throws Exception { } } } -// [END -// privateca_v1beta1_generated_certificateauthorityserviceclient_updatecertificaterevocationlist_async] +// [END privateca_v1beta1_generated_certificateauthorityserviceclient_updatecertificaterevocationlist_async] diff --git a/samples/snippets/generated/com/google/cloud/security/privateca/v1beta1/certificateauthorityserviceclient/updatecertificaterevocationlist/AsyncUpdateCertificateRevocationListLRO.java b/samples/snippets/generated/com/google/cloud/security/privateca/v1beta1/certificateauthorityserviceclient/updatecertificaterevocationlist/AsyncUpdateCertificateRevocationListLRO.java index e334c2ea..7434744d 100644 --- a/samples/snippets/generated/com/google/cloud/security/privateca/v1beta1/certificateauthorityserviceclient/updatecertificaterevocationlist/AsyncUpdateCertificateRevocationListLRO.java +++ b/samples/snippets/generated/com/google/cloud/security/privateca/v1beta1/certificateauthorityserviceclient/updatecertificaterevocationlist/AsyncUpdateCertificateRevocationListLRO.java @@ -16,8 +16,7 @@ package com.google.cloud.security.privateca.v1beta1.samples; -// [START -// privateca_v1beta1_generated_certificateauthorityserviceclient_updatecertificaterevocationlist_lro_async] +// [START privateca_v1beta1_generated_certificateauthorityserviceclient_updatecertificaterevocationlist_lro_async] import com.google.api.gax.longrunning.OperationFuture; import com.google.cloud.security.privateca.v1beta1.CertificateAuthorityServiceClient; import com.google.cloud.security.privateca.v1beta1.CertificateRevocationList; @@ -51,5 +50,4 @@ public static void asyncUpdateCertificateRevocationListLRO() throws Exception { } } } -// [END -// privateca_v1beta1_generated_certificateauthorityserviceclient_updatecertificaterevocationlist_lro_async] +// [END privateca_v1beta1_generated_certificateauthorityserviceclient_updatecertificaterevocationlist_lro_async] diff --git a/samples/snippets/generated/com/google/cloud/security/privateca/v1beta1/certificateauthorityserviceclient/updatecertificaterevocationlist/SyncUpdateCertificateRevocationList.java b/samples/snippets/generated/com/google/cloud/security/privateca/v1beta1/certificateauthorityserviceclient/updatecertificaterevocationlist/SyncUpdateCertificateRevocationList.java index 6ae8a1a3..aa034e51 100644 --- a/samples/snippets/generated/com/google/cloud/security/privateca/v1beta1/certificateauthorityserviceclient/updatecertificaterevocationlist/SyncUpdateCertificateRevocationList.java +++ b/samples/snippets/generated/com/google/cloud/security/privateca/v1beta1/certificateauthorityserviceclient/updatecertificaterevocationlist/SyncUpdateCertificateRevocationList.java @@ -16,8 +16,7 @@ package com.google.cloud.security.privateca.v1beta1.samples; -// [START -// privateca_v1beta1_generated_certificateauthorityserviceclient_updatecertificaterevocationlist_sync] +// [START privateca_v1beta1_generated_certificateauthorityserviceclient_updatecertificaterevocationlist_sync] import com.google.cloud.security.privateca.v1beta1.CertificateAuthorityServiceClient; import com.google.cloud.security.privateca.v1beta1.CertificateRevocationList; import com.google.cloud.security.privateca.v1beta1.UpdateCertificateRevocationListRequest; @@ -45,5 +44,4 @@ public static void syncUpdateCertificateRevocationList() throws Exception { } } } -// [END -// privateca_v1beta1_generated_certificateauthorityserviceclient_updatecertificaterevocationlist_sync] +// [END privateca_v1beta1_generated_certificateauthorityserviceclient_updatecertificaterevocationlist_sync] diff --git a/samples/snippets/generated/com/google/cloud/security/privateca/v1beta1/certificateauthorityserviceclient/updatecertificaterevocationlist/SyncUpdateCertificateRevocationListCertificaterevocationlistFieldmask.java b/samples/snippets/generated/com/google/cloud/security/privateca/v1beta1/certificateauthorityserviceclient/updatecertificaterevocationlist/SyncUpdateCertificateRevocationListCertificaterevocationlistFieldmask.java index ade30ded..e920ec01 100644 --- a/samples/snippets/generated/com/google/cloud/security/privateca/v1beta1/certificateauthorityserviceclient/updatecertificaterevocationlist/SyncUpdateCertificateRevocationListCertificaterevocationlistFieldmask.java +++ b/samples/snippets/generated/com/google/cloud/security/privateca/v1beta1/certificateauthorityserviceclient/updatecertificaterevocationlist/SyncUpdateCertificateRevocationListCertificaterevocationlistFieldmask.java @@ -16,8 +16,7 @@ package com.google.cloud.security.privateca.v1beta1.samples; -// [START -// privateca_v1beta1_generated_certificateauthorityserviceclient_updatecertificaterevocationlist_certificaterevocationlistfieldmask_sync] +// [START privateca_v1beta1_generated_certificateauthorityserviceclient_updatecertificaterevocationlist_certificaterevocationlistfieldmask_sync] import com.google.cloud.security.privateca.v1beta1.CertificateAuthorityServiceClient; import com.google.cloud.security.privateca.v1beta1.CertificateRevocationList; import com.google.protobuf.FieldMask; @@ -44,5 +43,4 @@ public static void syncUpdateCertificateRevocationListCertificaterevocationlistF } } } -// [END -// privateca_v1beta1_generated_certificateauthorityserviceclient_updatecertificaterevocationlist_certificaterevocationlistfieldmask_sync] +// [END privateca_v1beta1_generated_certificateauthorityserviceclient_updatecertificaterevocationlist_certificaterevocationlistfieldmask_sync] diff --git a/samples/snippets/generated/com/google/cloud/security/privateca/v1beta1/stub/certificateauthorityservicestubsettings/createcertificate/SyncCreateCertificate.java b/samples/snippets/generated/com/google/cloud/security/privateca/v1beta1/stub/certificateauthorityservicestubsettings/createcertificate/SyncCreateCertificate.java index 2f5208af..9875fdd5 100644 --- a/samples/snippets/generated/com/google/cloud/security/privateca/v1beta1/stub/certificateauthorityservicestubsettings/createcertificate/SyncCreateCertificate.java +++ b/samples/snippets/generated/com/google/cloud/security/privateca/v1beta1/stub/certificateauthorityservicestubsettings/createcertificate/SyncCreateCertificate.java @@ -16,8 +16,7 @@ package com.google.cloud.security.privateca.v1beta1.stub.samples; -// [START -// privateca_v1beta1_generated_certificateauthorityservicestubsettings_createcertificate_sync] +// [START privateca_v1beta1_generated_certificateauthorityservicestubsettings_createcertificate_sync] import com.google.cloud.security.privateca.v1beta1.stub.CertificateAuthorityServiceStubSettings; import java.time.Duration;