From 7fba1d69790fcc6794821b0873712da52ac80609 Mon Sep 17 00:00:00 2001 From: "gcf-owl-bot[bot]" <78513119+gcf-owl-bot[bot]@users.noreply.github.com> Date: Tue, 8 Nov 2022 17:16:27 +0000 Subject: [PATCH] chore: Set `rest_numeric_enums = False` for all gapic rules explicitly (#322) - [ ] Regenerate this pull request now. PiperOrigin-RevId: 485623855 Source-Link: https://togithub.com/googleapis/googleapis/commit/807125e7953e32535710924fe4bf0362ac93754d Source-Link: https://togithub.com/googleapis/googleapis-gen/commit/c4ddd6d651da69658a4762c5eafff5cd8f0e25c5 Copy-Tag: eyJwIjoiLmdpdGh1Yi8uT3dsQm90LnlhbWwiLCJoIjoiYzRkZGQ2ZDY1MWRhNjk2NThhNDc2MmM1ZWFmZmY1Y2Q4ZjBlMjVjNSJ9 --- .../BinauthzManagementServiceV1Beta1Client.java | 6 +----- .../v1beta1/SystemPolicyV1Beta1Client.java | 5 +---- .../v1/BinauthzManagementServiceV1Client.java | 6 +----- .../binaryauthorization/v1/SystemPolicyV1Client.java | 5 +---- .../v1/ValidationHelperV1Client.java | 5 +---- .../create/SyncCreateSetCredentialsProvider.java | 4 ++-- .../create/SyncCreateSetCredentialsProvider1.java | 10 +++------- .../create/SyncCreateSetEndpoint.java | 4 ++-- .../createattestor/AsyncCreateAttestor.java | 4 ++-- .../createattestor/SyncCreateAttestor.java | 4 ++-- .../SyncCreateAttestorProjectnameStringAttestor.java | 4 ++-- .../SyncCreateAttestorStringStringAttestor.java | 4 ++-- .../deleteattestor/AsyncDeleteAttestor.java | 4 ++-- .../deleteattestor/SyncDeleteAttestor.java | 4 ++-- .../deleteattestor/SyncDeleteAttestorAttestorname.java | 4 ++-- .../deleteattestor/SyncDeleteAttestorString.java | 4 ++-- .../getattestor/AsyncGetAttestor.java | 4 ++-- .../getattestor/SyncGetAttestor.java | 4 ++-- .../getattestor/SyncGetAttestorAttestorname.java | 4 ++-- .../getattestor/SyncGetAttestorString.java | 4 ++-- .../getpolicy/AsyncGetPolicy.java | 4 ++-- .../getpolicy/SyncGetPolicy.java | 4 ++-- .../getpolicy/SyncGetPolicyPolicyname.java | 4 ++-- .../getpolicy/SyncGetPolicyString.java | 4 ++-- .../listattestors/AsyncListAttestors.java | 4 ++-- .../listattestors/AsyncListAttestorsPaged.java | 4 ++-- .../listattestors/SyncListAttestors.java | 4 ++-- .../listattestors/SyncListAttestorsProjectname.java | 4 ++-- .../listattestors/SyncListAttestorsString.java | 4 ++-- .../updateattestor/AsyncUpdateAttestor.java | 4 ++-- .../updateattestor/SyncUpdateAttestor.java | 4 ++-- .../updateattestor/SyncUpdateAttestorAttestor.java | 4 ++-- .../updatepolicy/AsyncUpdatePolicy.java | 4 ++-- .../updatepolicy/SyncUpdatePolicy.java | 4 ++-- .../updatepolicy/SyncUpdatePolicyPolicy.java | 4 ++-- .../getpolicy/SyncGetPolicy.java | 4 ++-- .../getpolicy/SyncGetPolicy.java | 4 ++-- .../getsystempolicy/SyncGetSystemPolicy.java | 4 ++-- .../create/SyncCreateSetCredentialsProvider.java | 4 ++-- .../create/SyncCreateSetCredentialsProvider1.java | 9 +++------ .../create/SyncCreateSetEndpoint.java | 4 ++-- .../getsystempolicy/AsyncGetSystemPolicy.java | 4 ++-- .../getsystempolicy/SyncGetSystemPolicy.java | 4 ++-- .../getsystempolicy/SyncGetSystemPolicyPolicyname.java | 4 ++-- .../getsystempolicy/SyncGetSystemPolicyString.java | 4 ++-- .../getsystempolicy/SyncGetSystemPolicy.java | 4 ++-- .../create/SyncCreateSetCredentialsProvider.java | 4 ++-- .../create/SyncCreateSetCredentialsProvider1.java | 10 +++------- .../create/SyncCreateSetEndpoint.java | 4 ++-- .../createattestor/AsyncCreateAttestor.java | 4 ++-- .../createattestor/SyncCreateAttestor.java | 4 ++-- ...eateAttestorProjectnameStringResourcesattestor.java | 4 ++-- ...yncCreateAttestorStringStringResourcesattestor.java | 4 ++-- .../deleteattestor/AsyncDeleteAttestor.java | 4 ++-- .../deleteattestor/SyncDeleteAttestor.java | 4 ++-- .../deleteattestor/SyncDeleteAttestorAttestorname.java | 4 ++-- .../deleteattestor/SyncDeleteAttestorString.java | 4 ++-- .../getattestor/AsyncGetAttestor.java | 4 ++-- .../getattestor/SyncGetAttestor.java | 4 ++-- .../getattestor/SyncGetAttestorAttestorname.java | 4 ++-- .../getattestor/SyncGetAttestorString.java | 4 ++-- .../getpolicy/AsyncGetPolicy.java | 4 ++-- .../getpolicy/SyncGetPolicy.java | 4 ++-- .../getpolicy/SyncGetPolicyPolicyname.java | 4 ++-- .../getpolicy/SyncGetPolicyString.java | 4 ++-- .../listattestors/AsyncListAttestors.java | 4 ++-- .../listattestors/AsyncListAttestorsPaged.java | 4 ++-- .../listattestors/SyncListAttestors.java | 4 ++-- .../listattestors/SyncListAttestorsProjectname.java | 4 ++-- .../listattestors/SyncListAttestorsString.java | 4 ++-- .../updateattestor/AsyncUpdateAttestor.java | 4 ++-- .../updateattestor/SyncUpdateAttestor.java | 4 ++-- .../SyncUpdateAttestorResourcesattestor.java | 4 ++-- .../updatepolicy/AsyncUpdatePolicy.java | 4 ++-- .../updatepolicy/SyncUpdatePolicy.java | 4 ++-- .../updatepolicy/SyncUpdatePolicyResourcespolicy.java | 4 ++-- .../getpolicy/SyncGetPolicy.java | 4 ++-- .../getpolicy/SyncGetPolicy.java | 4 ++-- .../getsystempolicy/SyncGetSystemPolicy.java | 4 ++-- .../SyncValidateAttestationOccurrence.java | 4 ++-- .../create/SyncCreateSetCredentialsProvider.java | 4 ++-- .../create/SyncCreateSetCredentialsProvider1.java | 9 +++------ .../create/SyncCreateSetEndpoint.java | 4 ++-- .../getsystempolicy/AsyncGetSystemPolicy.java | 4 ++-- .../getsystempolicy/SyncGetSystemPolicy.java | 4 ++-- .../getsystempolicy/SyncGetSystemPolicyPolicyname.java | 4 ++-- .../getsystempolicy/SyncGetSystemPolicyString.java | 4 ++-- .../getsystempolicy/SyncGetSystemPolicy.java | 4 ++-- .../create/SyncCreateSetCredentialsProvider.java | 4 ++-- .../create/SyncCreateSetCredentialsProvider1.java | 9 +++------ .../create/SyncCreateSetEndpoint.java | 4 ++-- .../AsyncValidateAttestationOccurrence.java | 4 ++-- .../SyncValidateAttestationOccurrence.java | 4 ++-- .../SyncValidateAttestationOccurrence.java | 4 ++-- 94 files changed, 188 insertions(+), 222 deletions(-) rename java-binary-authorization/samples/snippets/generated/com/google/cloud/binaryauthorization/v1beta1/{binauthzmanagementservicev1beta1client => binauthzmanagementservicev1beta1}/create/SyncCreateSetCredentialsProvider.java (89%) rename java-binary-authorization/samples/snippets/generated/com/google/cloud/binaryauthorization/v1beta1/{binauthzmanagementservicev1beta1client => binauthzmanagementservicev1beta1}/create/SyncCreateSetCredentialsProvider1.java (77%) rename java-binary-authorization/samples/snippets/generated/com/google/cloud/binaryauthorization/v1beta1/{binauthzmanagementservicev1beta1client => binauthzmanagementservicev1beta1}/create/SyncCreateSetEndpoint.java (89%) rename java-binary-authorization/samples/snippets/generated/com/google/cloud/binaryauthorization/v1beta1/{binauthzmanagementservicev1beta1client => binauthzmanagementservicev1beta1}/createattestor/AsyncCreateAttestor.java (91%) rename java-binary-authorization/samples/snippets/generated/com/google/cloud/binaryauthorization/v1beta1/{binauthzmanagementservicev1beta1client => binauthzmanagementservicev1beta1}/createattestor/SyncCreateAttestor.java (90%) rename java-binary-authorization/samples/snippets/generated/com/google/cloud/binaryauthorization/v1beta1/{binauthzmanagementservicev1beta1client => binauthzmanagementservicev1beta1}/createattestor/SyncCreateAttestorProjectnameStringAttestor.java (88%) rename java-binary-authorization/samples/snippets/generated/com/google/cloud/binaryauthorization/v1beta1/{binauthzmanagementservicev1beta1client => binauthzmanagementservicev1beta1}/createattestor/SyncCreateAttestorStringStringAttestor.java (88%) rename java-binary-authorization/samples/snippets/generated/com/google/cloud/binaryauthorization/v1beta1/{binauthzmanagementservicev1beta1client => binauthzmanagementservicev1beta1}/deleteattestor/AsyncDeleteAttestor.java (90%) rename java-binary-authorization/samples/snippets/generated/com/google/cloud/binaryauthorization/v1beta1/{binauthzmanagementservicev1beta1client => binauthzmanagementservicev1beta1}/deleteattestor/SyncDeleteAttestor.java (90%) rename java-binary-authorization/samples/snippets/generated/com/google/cloud/binaryauthorization/v1beta1/{binauthzmanagementservicev1beta1client => binauthzmanagementservicev1beta1}/deleteattestor/SyncDeleteAttestorAttestorname.java (88%) rename java-binary-authorization/samples/snippets/generated/com/google/cloud/binaryauthorization/v1beta1/{binauthzmanagementservicev1beta1client => binauthzmanagementservicev1beta1}/deleteattestor/SyncDeleteAttestorString.java (88%) rename java-binary-authorization/samples/snippets/generated/com/google/cloud/binaryauthorization/v1beta1/{binauthzmanagementservicev1beta1client => binauthzmanagementservicev1beta1}/getattestor/AsyncGetAttestor.java (90%) rename java-binary-authorization/samples/snippets/generated/com/google/cloud/binaryauthorization/v1beta1/{binauthzmanagementservicev1beta1client => binauthzmanagementservicev1beta1}/getattestor/SyncGetAttestor.java (90%) rename java-binary-authorization/samples/snippets/generated/com/google/cloud/binaryauthorization/v1beta1/{binauthzmanagementservicev1beta1client => binauthzmanagementservicev1beta1}/getattestor/SyncGetAttestorAttestorname.java (88%) rename java-binary-authorization/samples/snippets/generated/com/google/cloud/binaryauthorization/v1beta1/{binauthzmanagementservicev1beta1client => binauthzmanagementservicev1beta1}/getattestor/SyncGetAttestorString.java (89%) rename java-binary-authorization/samples/snippets/generated/com/google/cloud/binaryauthorization/v1beta1/{binauthzmanagementservicev1beta1client => binauthzmanagementservicev1beta1}/getpolicy/AsyncGetPolicy.java (91%) rename java-binary-authorization/samples/snippets/generated/com/google/cloud/binaryauthorization/v1beta1/{binauthzmanagementservicev1beta1client => binauthzmanagementservicev1beta1}/getpolicy/SyncGetPolicy.java (90%) rename java-binary-authorization/samples/snippets/generated/com/google/cloud/binaryauthorization/v1beta1/{binauthzmanagementservicev1beta1client => binauthzmanagementservicev1beta1}/getpolicy/SyncGetPolicyPolicyname.java (88%) rename java-binary-authorization/samples/snippets/generated/com/google/cloud/binaryauthorization/v1beta1/{binauthzmanagementservicev1beta1client => binauthzmanagementservicev1beta1}/getpolicy/SyncGetPolicyString.java (89%) rename java-binary-authorization/samples/snippets/generated/com/google/cloud/binaryauthorization/v1beta1/{binauthzmanagementservicev1beta1client => binauthzmanagementservicev1beta1}/listattestors/AsyncListAttestors.java (91%) rename java-binary-authorization/samples/snippets/generated/com/google/cloud/binaryauthorization/v1beta1/{binauthzmanagementservicev1beta1client => binauthzmanagementservicev1beta1}/listattestors/AsyncListAttestorsPaged.java (92%) rename java-binary-authorization/samples/snippets/generated/com/google/cloud/binaryauthorization/v1beta1/{binauthzmanagementservicev1beta1client => binauthzmanagementservicev1beta1}/listattestors/SyncListAttestors.java (90%) rename java-binary-authorization/samples/snippets/generated/com/google/cloud/binaryauthorization/v1beta1/{binauthzmanagementservicev1beta1client => binauthzmanagementservicev1beta1}/listattestors/SyncListAttestorsProjectname.java (88%) rename java-binary-authorization/samples/snippets/generated/com/google/cloud/binaryauthorization/v1beta1/{binauthzmanagementservicev1beta1client => binauthzmanagementservicev1beta1}/listattestors/SyncListAttestorsString.java (89%) rename java-binary-authorization/samples/snippets/generated/com/google/cloud/binaryauthorization/v1beta1/{binauthzmanagementservicev1beta1client => binauthzmanagementservicev1beta1}/updateattestor/AsyncUpdateAttestor.java (90%) rename java-binary-authorization/samples/snippets/generated/com/google/cloud/binaryauthorization/v1beta1/{binauthzmanagementservicev1beta1client => binauthzmanagementservicev1beta1}/updateattestor/SyncUpdateAttestor.java (89%) rename java-binary-authorization/samples/snippets/generated/com/google/cloud/binaryauthorization/v1beta1/{binauthzmanagementservicev1beta1client => binauthzmanagementservicev1beta1}/updateattestor/SyncUpdateAttestorAttestor.java (88%) rename java-binary-authorization/samples/snippets/generated/com/google/cloud/binaryauthorization/v1beta1/{binauthzmanagementservicev1beta1client => binauthzmanagementservicev1beta1}/updatepolicy/AsyncUpdatePolicy.java (90%) rename java-binary-authorization/samples/snippets/generated/com/google/cloud/binaryauthorization/v1beta1/{binauthzmanagementservicev1beta1client => binauthzmanagementservicev1beta1}/updatepolicy/SyncUpdatePolicy.java (89%) rename java-binary-authorization/samples/snippets/generated/com/google/cloud/binaryauthorization/v1beta1/{binauthzmanagementservicev1beta1client => binauthzmanagementservicev1beta1}/updatepolicy/SyncUpdatePolicyPolicy.java (88%) rename java-binary-authorization/samples/snippets/generated/com/google/cloud/binaryauthorization/v1beta1/{systempolicyv1beta1client => systempolicyv1beta1}/create/SyncCreateSetCredentialsProvider.java (89%) rename java-binary-authorization/samples/snippets/generated/com/google/cloud/binaryauthorization/v1beta1/{systempolicyv1beta1client => systempolicyv1beta1}/create/SyncCreateSetCredentialsProvider1.java (79%) rename java-binary-authorization/samples/snippets/generated/com/google/cloud/binaryauthorization/v1beta1/{systempolicyv1beta1client => systempolicyv1beta1}/create/SyncCreateSetEndpoint.java (90%) rename java-binary-authorization/samples/snippets/generated/com/google/cloud/binaryauthorization/v1beta1/{systempolicyv1beta1client => systempolicyv1beta1}/getsystempolicy/AsyncGetSystemPolicy.java (91%) rename java-binary-authorization/samples/snippets/generated/com/google/cloud/binaryauthorization/v1beta1/{systempolicyv1beta1client => systempolicyv1beta1}/getsystempolicy/SyncGetSystemPolicy.java (90%) rename java-binary-authorization/samples/snippets/generated/com/google/cloud/binaryauthorization/v1beta1/{systempolicyv1beta1client => systempolicyv1beta1}/getsystempolicy/SyncGetSystemPolicyPolicyname.java (89%) rename java-binary-authorization/samples/snippets/generated/com/google/cloud/binaryauthorization/v1beta1/{systempolicyv1beta1client => systempolicyv1beta1}/getsystempolicy/SyncGetSystemPolicyString.java (89%) rename java-binary-authorization/samples/snippets/generated/com/google/protos/google/cloud/binaryauthorization/v1/{binauthzmanagementservicev1client => binauthzmanagementservicev1}/create/SyncCreateSetCredentialsProvider.java (90%) rename java-binary-authorization/samples/snippets/generated/com/google/protos/google/cloud/binaryauthorization/v1/{binauthzmanagementservicev1client => binauthzmanagementservicev1}/create/SyncCreateSetCredentialsProvider1.java (78%) rename java-binary-authorization/samples/snippets/generated/com/google/protos/google/cloud/binaryauthorization/v1/{binauthzmanagementservicev1client => binauthzmanagementservicev1}/create/SyncCreateSetEndpoint.java (90%) rename java-binary-authorization/samples/snippets/generated/com/google/protos/google/cloud/binaryauthorization/v1/{binauthzmanagementservicev1client => binauthzmanagementservicev1}/createattestor/AsyncCreateAttestor.java (92%) rename java-binary-authorization/samples/snippets/generated/com/google/protos/google/cloud/binaryauthorization/v1/{binauthzmanagementservicev1client => binauthzmanagementservicev1}/createattestor/SyncCreateAttestor.java (91%) rename java-binary-authorization/samples/snippets/generated/com/google/protos/google/cloud/binaryauthorization/v1/{binauthzmanagementservicev1client => binauthzmanagementservicev1}/createattestor/SyncCreateAttestorProjectnameStringResourcesattestor.java (88%) rename java-binary-authorization/samples/snippets/generated/com/google/protos/google/cloud/binaryauthorization/v1/{binauthzmanagementservicev1client => binauthzmanagementservicev1}/createattestor/SyncCreateAttestorStringStringResourcesattestor.java (89%) rename java-binary-authorization/samples/snippets/generated/com/google/protos/google/cloud/binaryauthorization/v1/{binauthzmanagementservicev1client => binauthzmanagementservicev1}/deleteattestor/AsyncDeleteAttestor.java (91%) rename java-binary-authorization/samples/snippets/generated/com/google/protos/google/cloud/binaryauthorization/v1/{binauthzmanagementservicev1client => binauthzmanagementservicev1}/deleteattestor/SyncDeleteAttestor.java (90%) rename java-binary-authorization/samples/snippets/generated/com/google/protos/google/cloud/binaryauthorization/v1/{binauthzmanagementservicev1client => binauthzmanagementservicev1}/deleteattestor/SyncDeleteAttestorAttestorname.java (89%) rename java-binary-authorization/samples/snippets/generated/com/google/protos/google/cloud/binaryauthorization/v1/{binauthzmanagementservicev1client => binauthzmanagementservicev1}/deleteattestor/SyncDeleteAttestorString.java (89%) rename java-binary-authorization/samples/snippets/generated/com/google/protos/google/cloud/binaryauthorization/v1/{binauthzmanagementservicev1client => binauthzmanagementservicev1}/getattestor/AsyncGetAttestor.java (91%) rename java-binary-authorization/samples/snippets/generated/com/google/protos/google/cloud/binaryauthorization/v1/{binauthzmanagementservicev1client => binauthzmanagementservicev1}/getattestor/SyncGetAttestor.java (91%) rename java-binary-authorization/samples/snippets/generated/com/google/protos/google/cloud/binaryauthorization/v1/{binauthzmanagementservicev1client => binauthzmanagementservicev1}/getattestor/SyncGetAttestorAttestorname.java (89%) rename java-binary-authorization/samples/snippets/generated/com/google/protos/google/cloud/binaryauthorization/v1/{binauthzmanagementservicev1client => binauthzmanagementservicev1}/getattestor/SyncGetAttestorString.java (90%) rename java-binary-authorization/samples/snippets/generated/com/google/protos/google/cloud/binaryauthorization/v1/{binauthzmanagementservicev1client => binauthzmanagementservicev1}/getpolicy/AsyncGetPolicy.java (91%) rename java-binary-authorization/samples/snippets/generated/com/google/protos/google/cloud/binaryauthorization/v1/{binauthzmanagementservicev1client => binauthzmanagementservicev1}/getpolicy/SyncGetPolicy.java (91%) rename java-binary-authorization/samples/snippets/generated/com/google/protos/google/cloud/binaryauthorization/v1/{binauthzmanagementservicev1client => binauthzmanagementservicev1}/getpolicy/SyncGetPolicyPolicyname.java (89%) rename java-binary-authorization/samples/snippets/generated/com/google/protos/google/cloud/binaryauthorization/v1/{binauthzmanagementservicev1client => binauthzmanagementservicev1}/getpolicy/SyncGetPolicyString.java (90%) rename java-binary-authorization/samples/snippets/generated/com/google/protos/google/cloud/binaryauthorization/v1/{binauthzmanagementservicev1client => binauthzmanagementservicev1}/listattestors/AsyncListAttestors.java (92%) rename java-binary-authorization/samples/snippets/generated/com/google/protos/google/cloud/binaryauthorization/v1/{binauthzmanagementservicev1client => binauthzmanagementservicev1}/listattestors/AsyncListAttestorsPaged.java (92%) rename java-binary-authorization/samples/snippets/generated/com/google/protos/google/cloud/binaryauthorization/v1/{binauthzmanagementservicev1client => binauthzmanagementservicev1}/listattestors/SyncListAttestors.java (91%) rename java-binary-authorization/samples/snippets/generated/com/google/protos/google/cloud/binaryauthorization/v1/{binauthzmanagementservicev1client => binauthzmanagementservicev1}/listattestors/SyncListAttestorsProjectname.java (89%) rename java-binary-authorization/samples/snippets/generated/com/google/protos/google/cloud/binaryauthorization/v1/{binauthzmanagementservicev1client => binauthzmanagementservicev1}/listattestors/SyncListAttestorsString.java (90%) rename java-binary-authorization/samples/snippets/generated/com/google/protos/google/cloud/binaryauthorization/v1/{binauthzmanagementservicev1client => binauthzmanagementservicev1}/updateattestor/AsyncUpdateAttestor.java (91%) rename java-binary-authorization/samples/snippets/generated/com/google/protos/google/cloud/binaryauthorization/v1/{binauthzmanagementservicev1client => binauthzmanagementservicev1}/updateattestor/SyncUpdateAttestor.java (90%) rename java-binary-authorization/samples/snippets/generated/com/google/protos/google/cloud/binaryauthorization/v1/{binauthzmanagementservicev1client => binauthzmanagementservicev1}/updateattestor/SyncUpdateAttestorResourcesattestor.java (88%) rename java-binary-authorization/samples/snippets/generated/com/google/protos/google/cloud/binaryauthorization/v1/{binauthzmanagementservicev1client => binauthzmanagementservicev1}/updatepolicy/AsyncUpdatePolicy.java (91%) rename java-binary-authorization/samples/snippets/generated/com/google/protos/google/cloud/binaryauthorization/v1/{binauthzmanagementservicev1client => binauthzmanagementservicev1}/updatepolicy/SyncUpdatePolicy.java (90%) rename java-binary-authorization/samples/snippets/generated/com/google/protos/google/cloud/binaryauthorization/v1/{binauthzmanagementservicev1client => binauthzmanagementservicev1}/updatepolicy/SyncUpdatePolicyResourcespolicy.java (88%) rename java-binary-authorization/samples/snippets/generated/com/google/protos/google/cloud/binaryauthorization/v1/{systempolicyv1client => systempolicyv1}/create/SyncCreateSetCredentialsProvider.java (90%) rename java-binary-authorization/samples/snippets/generated/com/google/protos/google/cloud/binaryauthorization/v1/{systempolicyv1client => systempolicyv1}/create/SyncCreateSetCredentialsProvider1.java (80%) rename java-binary-authorization/samples/snippets/generated/com/google/protos/google/cloud/binaryauthorization/v1/{systempolicyv1client => systempolicyv1}/create/SyncCreateSetEndpoint.java (90%) rename java-binary-authorization/samples/snippets/generated/com/google/protos/google/cloud/binaryauthorization/v1/{systempolicyv1client => systempolicyv1}/getsystempolicy/AsyncGetSystemPolicy.java (92%) rename java-binary-authorization/samples/snippets/generated/com/google/protos/google/cloud/binaryauthorization/v1/{systempolicyv1client => systempolicyv1}/getsystempolicy/SyncGetSystemPolicy.java (91%) rename java-binary-authorization/samples/snippets/generated/com/google/protos/google/cloud/binaryauthorization/v1/{systempolicyv1client => systempolicyv1}/getsystempolicy/SyncGetSystemPolicyPolicyname.java (90%) rename java-binary-authorization/samples/snippets/generated/com/google/protos/google/cloud/binaryauthorization/v1/{systempolicyv1client => systempolicyv1}/getsystempolicy/SyncGetSystemPolicyString.java (90%) rename java-binary-authorization/samples/snippets/generated/com/google/protos/google/cloud/binaryauthorization/v1/{validationhelperv1client => validationhelperv1}/create/SyncCreateSetCredentialsProvider.java (90%) rename java-binary-authorization/samples/snippets/generated/com/google/protos/google/cloud/binaryauthorization/v1/{validationhelperv1client => validationhelperv1}/create/SyncCreateSetCredentialsProvider1.java (80%) rename java-binary-authorization/samples/snippets/generated/com/google/protos/google/cloud/binaryauthorization/v1/{validationhelperv1client => validationhelperv1}/create/SyncCreateSetEndpoint.java (90%) rename java-binary-authorization/samples/snippets/generated/com/google/protos/google/cloud/binaryauthorization/v1/{validationhelperv1client => validationhelperv1}/validateattestationoccurrence/AsyncValidateAttestationOccurrence.java (91%) rename java-binary-authorization/samples/snippets/generated/com/google/protos/google/cloud/binaryauthorization/v1/{validationhelperv1client => validationhelperv1}/validateattestationoccurrence/SyncValidateAttestationOccurrence.java (91%) diff --git a/java-binary-authorization/google-cloud-binary-authorization/src/main/java/com/google/cloud/binaryauthorization/v1beta1/BinauthzManagementServiceV1Beta1Client.java b/java-binary-authorization/google-cloud-binary-authorization/src/main/java/com/google/cloud/binaryauthorization/v1beta1/BinauthzManagementServiceV1Beta1Client.java index ac731ce003ae..11c203f625e2 100644 --- a/java-binary-authorization/google-cloud-binary-authorization/src/main/java/com/google/cloud/binaryauthorization/v1beta1/BinauthzManagementServiceV1Beta1Client.java +++ b/java-binary-authorization/google-cloud-binary-authorization/src/main/java/com/google/cloud/binaryauthorization/v1beta1/BinauthzManagementServiceV1Beta1Client.java @@ -129,11 +129,7 @@ * // - It may require specifying regional endpoints when creating the service client as shown in * // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library * BinauthzManagementServiceV1Beta1Settings binauthzManagementServiceV1Beta1Settings = - * BinauthzManagementServiceV1Beta1Settings.newBuilder() - * .setTransportChannelProvider( - * BinauthzManagementServiceV1Beta1Settings.defaultHttpJsonTransportProviderBuilder() - * .build()) - * .build(); + * BinauthzManagementServiceV1Beta1Settings.newHttpJsonBuilder().build(); * BinauthzManagementServiceV1Beta1Client binauthzManagementServiceV1Beta1Client = * BinauthzManagementServiceV1Beta1Client.create(binauthzManagementServiceV1Beta1Settings); * } diff --git a/java-binary-authorization/google-cloud-binary-authorization/src/main/java/com/google/cloud/binaryauthorization/v1beta1/SystemPolicyV1Beta1Client.java b/java-binary-authorization/google-cloud-binary-authorization/src/main/java/com/google/cloud/binaryauthorization/v1beta1/SystemPolicyV1Beta1Client.java index 2ee56b43d8aa..3455dfc569de 100644 --- a/java-binary-authorization/google-cloud-binary-authorization/src/main/java/com/google/cloud/binaryauthorization/v1beta1/SystemPolicyV1Beta1Client.java +++ b/java-binary-authorization/google-cloud-binary-authorization/src/main/java/com/google/cloud/binaryauthorization/v1beta1/SystemPolicyV1Beta1Client.java @@ -111,10 +111,7 @@ * // - It may require specifying regional endpoints when creating the service client as shown in * // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library * SystemPolicyV1Beta1Settings systemPolicyV1Beta1Settings = - * SystemPolicyV1Beta1Settings.newBuilder() - * .setTransportChannelProvider( - * SystemPolicyV1Beta1Settings.defaultHttpJsonTransportProviderBuilder().build()) - * .build(); + * SystemPolicyV1Beta1Settings.newHttpJsonBuilder().build(); * SystemPolicyV1Beta1Client systemPolicyV1Beta1Client = * SystemPolicyV1Beta1Client.create(systemPolicyV1Beta1Settings); * } diff --git a/java-binary-authorization/google-cloud-binary-authorization/src/main/java/com/google/protos/google/cloud/binaryauthorization/v1/BinauthzManagementServiceV1Client.java b/java-binary-authorization/google-cloud-binary-authorization/src/main/java/com/google/protos/google/cloud/binaryauthorization/v1/BinauthzManagementServiceV1Client.java index f1e5de92d932..34a46d9c7b6d 100644 --- a/java-binary-authorization/google-cloud-binary-authorization/src/main/java/com/google/protos/google/cloud/binaryauthorization/v1/BinauthzManagementServiceV1Client.java +++ b/java-binary-authorization/google-cloud-binary-authorization/src/main/java/com/google/protos/google/cloud/binaryauthorization/v1/BinauthzManagementServiceV1Client.java @@ -128,11 +128,7 @@ * // - It may require specifying regional endpoints when creating the service client as shown in * // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library * BinauthzManagementServiceV1Settings binauthzManagementServiceV1Settings = - * BinauthzManagementServiceV1Settings.newBuilder() - * .setTransportChannelProvider( - * BinauthzManagementServiceV1Settings.defaultHttpJsonTransportProviderBuilder() - * .build()) - * .build(); + * BinauthzManagementServiceV1Settings.newHttpJsonBuilder().build(); * BinauthzManagementServiceV1Client binauthzManagementServiceV1Client = * BinauthzManagementServiceV1Client.create(binauthzManagementServiceV1Settings); * } diff --git a/java-binary-authorization/google-cloud-binary-authorization/src/main/java/com/google/protos/google/cloud/binaryauthorization/v1/SystemPolicyV1Client.java b/java-binary-authorization/google-cloud-binary-authorization/src/main/java/com/google/protos/google/cloud/binaryauthorization/v1/SystemPolicyV1Client.java index 68fd8cec6081..a5f90d41492e 100644 --- a/java-binary-authorization/google-cloud-binary-authorization/src/main/java/com/google/protos/google/cloud/binaryauthorization/v1/SystemPolicyV1Client.java +++ b/java-binary-authorization/google-cloud-binary-authorization/src/main/java/com/google/protos/google/cloud/binaryauthorization/v1/SystemPolicyV1Client.java @@ -107,10 +107,7 @@ * // - It may require specifying regional endpoints when creating the service client as shown in * // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library * SystemPolicyV1Settings systemPolicyV1Settings = - * SystemPolicyV1Settings.newBuilder() - * .setTransportChannelProvider( - * SystemPolicyV1Settings.defaultHttpJsonTransportProviderBuilder().build()) - * .build(); + * SystemPolicyV1Settings.newHttpJsonBuilder().build(); * SystemPolicyV1Client systemPolicyV1Client = SystemPolicyV1Client.create(systemPolicyV1Settings); * } * diff --git a/java-binary-authorization/google-cloud-binary-authorization/src/main/java/com/google/protos/google/cloud/binaryauthorization/v1/ValidationHelperV1Client.java b/java-binary-authorization/google-cloud-binary-authorization/src/main/java/com/google/protos/google/cloud/binaryauthorization/v1/ValidationHelperV1Client.java index a1d35f21e213..dd48a8ae1661 100644 --- a/java-binary-authorization/google-cloud-binary-authorization/src/main/java/com/google/protos/google/cloud/binaryauthorization/v1/ValidationHelperV1Client.java +++ b/java-binary-authorization/google-cloud-binary-authorization/src/main/java/com/google/protos/google/cloud/binaryauthorization/v1/ValidationHelperV1Client.java @@ -117,10 +117,7 @@ * // - It may require specifying regional endpoints when creating the service client as shown in * // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library * ValidationHelperV1Settings validationHelperV1Settings = - * ValidationHelperV1Settings.newBuilder() - * .setTransportChannelProvider( - * ValidationHelperV1Settings.defaultHttpJsonTransportProviderBuilder().build()) - * .build(); + * ValidationHelperV1Settings.newHttpJsonBuilder().build(); * ValidationHelperV1Client validationHelperV1Client = * ValidationHelperV1Client.create(validationHelperV1Settings); * } diff --git a/java-binary-authorization/samples/snippets/generated/com/google/cloud/binaryauthorization/v1beta1/binauthzmanagementservicev1beta1client/create/SyncCreateSetCredentialsProvider.java b/java-binary-authorization/samples/snippets/generated/com/google/cloud/binaryauthorization/v1beta1/binauthzmanagementservicev1beta1/create/SyncCreateSetCredentialsProvider.java similarity index 89% rename from java-binary-authorization/samples/snippets/generated/com/google/cloud/binaryauthorization/v1beta1/binauthzmanagementservicev1beta1client/create/SyncCreateSetCredentialsProvider.java rename to java-binary-authorization/samples/snippets/generated/com/google/cloud/binaryauthorization/v1beta1/binauthzmanagementservicev1beta1/create/SyncCreateSetCredentialsProvider.java index 3bcd49996a02..38181a5537a7 100644 --- a/java-binary-authorization/samples/snippets/generated/com/google/cloud/binaryauthorization/v1beta1/binauthzmanagementservicev1beta1client/create/SyncCreateSetCredentialsProvider.java +++ b/java-binary-authorization/samples/snippets/generated/com/google/cloud/binaryauthorization/v1beta1/binauthzmanagementservicev1beta1/create/SyncCreateSetCredentialsProvider.java @@ -16,7 +16,7 @@ package com.google.cloud.binaryauthorization.v1beta1.samples; -// [START binaryauthorization_v1beta1_generated_binauthzmanagementservicev1beta1client_create_setcredentialsprovider_sync] +// [START binaryauthorization_v1beta1_generated_BinauthzManagementServiceV1Beta1_Create_SetCredentialsProvider_sync] import com.google.api.gax.core.FixedCredentialsProvider; import com.google.cloud.binaryauthorization.v1beta1.BinauthzManagementServiceV1Beta1Client; import com.google.cloud.binaryauthorization.v1beta1.BinauthzManagementServiceV1Beta1Settings; @@ -42,4 +42,4 @@ public static void syncCreateSetCredentialsProvider() throws Exception { BinauthzManagementServiceV1Beta1Client.create(binauthzManagementServiceV1Beta1Settings); } } -// [END binaryauthorization_v1beta1_generated_binauthzmanagementservicev1beta1client_create_setcredentialsprovider_sync] +// [END binaryauthorization_v1beta1_generated_BinauthzManagementServiceV1Beta1_Create_SetCredentialsProvider_sync] diff --git a/java-binary-authorization/samples/snippets/generated/com/google/cloud/binaryauthorization/v1beta1/binauthzmanagementservicev1beta1client/create/SyncCreateSetCredentialsProvider1.java b/java-binary-authorization/samples/snippets/generated/com/google/cloud/binaryauthorization/v1beta1/binauthzmanagementservicev1beta1/create/SyncCreateSetCredentialsProvider1.java similarity index 77% rename from java-binary-authorization/samples/snippets/generated/com/google/cloud/binaryauthorization/v1beta1/binauthzmanagementservicev1beta1client/create/SyncCreateSetCredentialsProvider1.java rename to java-binary-authorization/samples/snippets/generated/com/google/cloud/binaryauthorization/v1beta1/binauthzmanagementservicev1beta1/create/SyncCreateSetCredentialsProvider1.java index 26bcfb6a3a24..5f9d66a3fd17 100644 --- a/java-binary-authorization/samples/snippets/generated/com/google/cloud/binaryauthorization/v1beta1/binauthzmanagementservicev1beta1client/create/SyncCreateSetCredentialsProvider1.java +++ b/java-binary-authorization/samples/snippets/generated/com/google/cloud/binaryauthorization/v1beta1/binauthzmanagementservicev1beta1/create/SyncCreateSetCredentialsProvider1.java @@ -16,7 +16,7 @@ package com.google.cloud.binaryauthorization.v1beta1.samples; -// [START binaryauthorization_v1beta1_generated_binauthzmanagementservicev1beta1client_create_setcredentialsprovider1_sync] +// [START binaryauthorization_v1beta1_generated_BinauthzManagementServiceV1Beta1_Create_SetCredentialsProvider1_sync] import com.google.cloud.binaryauthorization.v1beta1.BinauthzManagementServiceV1Beta1Client; import com.google.cloud.binaryauthorization.v1beta1.BinauthzManagementServiceV1Beta1Settings; @@ -33,13 +33,9 @@ public static void syncCreateSetCredentialsProvider1() throws Exception { // - It may require specifying regional endpoints when creating the service client as shown in // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library BinauthzManagementServiceV1Beta1Settings binauthzManagementServiceV1Beta1Settings = - BinauthzManagementServiceV1Beta1Settings.newBuilder() - .setTransportChannelProvider( - BinauthzManagementServiceV1Beta1Settings.defaultHttpJsonTransportProviderBuilder() - .build()) - .build(); + BinauthzManagementServiceV1Beta1Settings.newHttpJsonBuilder().build(); BinauthzManagementServiceV1Beta1Client binauthzManagementServiceV1Beta1Client = BinauthzManagementServiceV1Beta1Client.create(binauthzManagementServiceV1Beta1Settings); } } -// [END binaryauthorization_v1beta1_generated_binauthzmanagementservicev1beta1client_create_setcredentialsprovider1_sync] +// [END binaryauthorization_v1beta1_generated_BinauthzManagementServiceV1Beta1_Create_SetCredentialsProvider1_sync] diff --git a/java-binary-authorization/samples/snippets/generated/com/google/cloud/binaryauthorization/v1beta1/binauthzmanagementservicev1beta1client/create/SyncCreateSetEndpoint.java b/java-binary-authorization/samples/snippets/generated/com/google/cloud/binaryauthorization/v1beta1/binauthzmanagementservicev1beta1/create/SyncCreateSetEndpoint.java similarity index 89% rename from java-binary-authorization/samples/snippets/generated/com/google/cloud/binaryauthorization/v1beta1/binauthzmanagementservicev1beta1client/create/SyncCreateSetEndpoint.java rename to java-binary-authorization/samples/snippets/generated/com/google/cloud/binaryauthorization/v1beta1/binauthzmanagementservicev1beta1/create/SyncCreateSetEndpoint.java index 295c4ebc3a73..e46077c6ea1a 100644 --- a/java-binary-authorization/samples/snippets/generated/com/google/cloud/binaryauthorization/v1beta1/binauthzmanagementservicev1beta1client/create/SyncCreateSetEndpoint.java +++ b/java-binary-authorization/samples/snippets/generated/com/google/cloud/binaryauthorization/v1beta1/binauthzmanagementservicev1beta1/create/SyncCreateSetEndpoint.java @@ -16,7 +16,7 @@ package com.google.cloud.binaryauthorization.v1beta1.samples; -// [START binaryauthorization_v1beta1_generated_binauthzmanagementservicev1beta1client_create_setendpoint_sync] +// [START binaryauthorization_v1beta1_generated_BinauthzManagementServiceV1Beta1_Create_SetEndpoint_sync] import com.google.cloud.binaryauthorization.v1beta1.BinauthzManagementServiceV1Beta1Client; import com.google.cloud.binaryauthorization.v1beta1.BinauthzManagementServiceV1Beta1Settings; import com.google.cloud.binaryauthorization.v1beta1.myEndpoint; @@ -39,4 +39,4 @@ public static void syncCreateSetEndpoint() throws Exception { BinauthzManagementServiceV1Beta1Client.create(binauthzManagementServiceV1Beta1Settings); } } -// [END binaryauthorization_v1beta1_generated_binauthzmanagementservicev1beta1client_create_setendpoint_sync] +// [END binaryauthorization_v1beta1_generated_BinauthzManagementServiceV1Beta1_Create_SetEndpoint_sync] diff --git a/java-binary-authorization/samples/snippets/generated/com/google/cloud/binaryauthorization/v1beta1/binauthzmanagementservicev1beta1client/createattestor/AsyncCreateAttestor.java b/java-binary-authorization/samples/snippets/generated/com/google/cloud/binaryauthorization/v1beta1/binauthzmanagementservicev1beta1/createattestor/AsyncCreateAttestor.java similarity index 91% rename from java-binary-authorization/samples/snippets/generated/com/google/cloud/binaryauthorization/v1beta1/binauthzmanagementservicev1beta1client/createattestor/AsyncCreateAttestor.java rename to java-binary-authorization/samples/snippets/generated/com/google/cloud/binaryauthorization/v1beta1/binauthzmanagementservicev1beta1/createattestor/AsyncCreateAttestor.java index 1ab1bc49f3de..6200c2117a16 100644 --- a/java-binary-authorization/samples/snippets/generated/com/google/cloud/binaryauthorization/v1beta1/binauthzmanagementservicev1beta1client/createattestor/AsyncCreateAttestor.java +++ b/java-binary-authorization/samples/snippets/generated/com/google/cloud/binaryauthorization/v1beta1/binauthzmanagementservicev1beta1/createattestor/AsyncCreateAttestor.java @@ -16,7 +16,7 @@ package com.google.cloud.binaryauthorization.v1beta1.samples; -// [START binaryauthorization_v1beta1_generated_binauthzmanagementservicev1beta1client_createattestor_async] +// [START binaryauthorization_v1beta1_generated_BinauthzManagementServiceV1Beta1_CreateAttestor_async] import com.google.api.core.ApiFuture; import com.google.cloud.binaryauthorization.v1beta1.Attestor; import com.google.cloud.binaryauthorization.v1beta1.BinauthzManagementServiceV1Beta1Client; @@ -50,4 +50,4 @@ public static void asyncCreateAttestor() throws Exception { } } } -// [END binaryauthorization_v1beta1_generated_binauthzmanagementservicev1beta1client_createattestor_async] +// [END binaryauthorization_v1beta1_generated_BinauthzManagementServiceV1Beta1_CreateAttestor_async] diff --git a/java-binary-authorization/samples/snippets/generated/com/google/cloud/binaryauthorization/v1beta1/binauthzmanagementservicev1beta1client/createattestor/SyncCreateAttestor.java b/java-binary-authorization/samples/snippets/generated/com/google/cloud/binaryauthorization/v1beta1/binauthzmanagementservicev1beta1/createattestor/SyncCreateAttestor.java similarity index 90% rename from java-binary-authorization/samples/snippets/generated/com/google/cloud/binaryauthorization/v1beta1/binauthzmanagementservicev1beta1client/createattestor/SyncCreateAttestor.java rename to java-binary-authorization/samples/snippets/generated/com/google/cloud/binaryauthorization/v1beta1/binauthzmanagementservicev1beta1/createattestor/SyncCreateAttestor.java index 401f4858f8c7..a16a9acbf9be 100644 --- a/java-binary-authorization/samples/snippets/generated/com/google/cloud/binaryauthorization/v1beta1/binauthzmanagementservicev1beta1client/createattestor/SyncCreateAttestor.java +++ b/java-binary-authorization/samples/snippets/generated/com/google/cloud/binaryauthorization/v1beta1/binauthzmanagementservicev1beta1/createattestor/SyncCreateAttestor.java @@ -16,7 +16,7 @@ package com.google.cloud.binaryauthorization.v1beta1.samples; -// [START binaryauthorization_v1beta1_generated_binauthzmanagementservicev1beta1client_createattestor_sync] +// [START binaryauthorization_v1beta1_generated_BinauthzManagementServiceV1Beta1_CreateAttestor_sync] import com.google.cloud.binaryauthorization.v1beta1.Attestor; import com.google.cloud.binaryauthorization.v1beta1.BinauthzManagementServiceV1Beta1Client; import com.google.cloud.binaryauthorization.v1beta1.CreateAttestorRequest; @@ -46,4 +46,4 @@ public static void syncCreateAttestor() throws Exception { } } } -// [END binaryauthorization_v1beta1_generated_binauthzmanagementservicev1beta1client_createattestor_sync] +// [END binaryauthorization_v1beta1_generated_BinauthzManagementServiceV1Beta1_CreateAttestor_sync] diff --git a/java-binary-authorization/samples/snippets/generated/com/google/cloud/binaryauthorization/v1beta1/binauthzmanagementservicev1beta1client/createattestor/SyncCreateAttestorProjectnameStringAttestor.java b/java-binary-authorization/samples/snippets/generated/com/google/cloud/binaryauthorization/v1beta1/binauthzmanagementservicev1beta1/createattestor/SyncCreateAttestorProjectnameStringAttestor.java similarity index 88% rename from java-binary-authorization/samples/snippets/generated/com/google/cloud/binaryauthorization/v1beta1/binauthzmanagementservicev1beta1client/createattestor/SyncCreateAttestorProjectnameStringAttestor.java rename to java-binary-authorization/samples/snippets/generated/com/google/cloud/binaryauthorization/v1beta1/binauthzmanagementservicev1beta1/createattestor/SyncCreateAttestorProjectnameStringAttestor.java index b3a18757827d..297616a64dde 100644 --- a/java-binary-authorization/samples/snippets/generated/com/google/cloud/binaryauthorization/v1beta1/binauthzmanagementservicev1beta1client/createattestor/SyncCreateAttestorProjectnameStringAttestor.java +++ b/java-binary-authorization/samples/snippets/generated/com/google/cloud/binaryauthorization/v1beta1/binauthzmanagementservicev1beta1/createattestor/SyncCreateAttestorProjectnameStringAttestor.java @@ -16,7 +16,7 @@ package com.google.cloud.binaryauthorization.v1beta1.samples; -// [START binaryauthorization_v1beta1_generated_binauthzmanagementservicev1beta1client_createattestor_projectnamestringattestor_sync] +// [START binaryauthorization_v1beta1_generated_BinauthzManagementServiceV1Beta1_CreateAttestor_ProjectnameStringAttestor_sync] import com.google.cloud.binaryauthorization.v1beta1.Attestor; import com.google.cloud.binaryauthorization.v1beta1.BinauthzManagementServiceV1Beta1Client; import com.google.cloud.binaryauthorization.v1beta1.ProjectName; @@ -43,4 +43,4 @@ public static void syncCreateAttestorProjectnameStringAttestor() throws Exceptio } } } -// [END binaryauthorization_v1beta1_generated_binauthzmanagementservicev1beta1client_createattestor_projectnamestringattestor_sync] +// [END binaryauthorization_v1beta1_generated_BinauthzManagementServiceV1Beta1_CreateAttestor_ProjectnameStringAttestor_sync] diff --git a/java-binary-authorization/samples/snippets/generated/com/google/cloud/binaryauthorization/v1beta1/binauthzmanagementservicev1beta1client/createattestor/SyncCreateAttestorStringStringAttestor.java b/java-binary-authorization/samples/snippets/generated/com/google/cloud/binaryauthorization/v1beta1/binauthzmanagementservicev1beta1/createattestor/SyncCreateAttestorStringStringAttestor.java similarity index 88% rename from java-binary-authorization/samples/snippets/generated/com/google/cloud/binaryauthorization/v1beta1/binauthzmanagementservicev1beta1client/createattestor/SyncCreateAttestorStringStringAttestor.java rename to java-binary-authorization/samples/snippets/generated/com/google/cloud/binaryauthorization/v1beta1/binauthzmanagementservicev1beta1/createattestor/SyncCreateAttestorStringStringAttestor.java index 4ef69a5b5557..328d17387c6b 100644 --- a/java-binary-authorization/samples/snippets/generated/com/google/cloud/binaryauthorization/v1beta1/binauthzmanagementservicev1beta1client/createattestor/SyncCreateAttestorStringStringAttestor.java +++ b/java-binary-authorization/samples/snippets/generated/com/google/cloud/binaryauthorization/v1beta1/binauthzmanagementservicev1beta1/createattestor/SyncCreateAttestorStringStringAttestor.java @@ -16,7 +16,7 @@ package com.google.cloud.binaryauthorization.v1beta1.samples; -// [START binaryauthorization_v1beta1_generated_binauthzmanagementservicev1beta1client_createattestor_stringstringattestor_sync] +// [START binaryauthorization_v1beta1_generated_BinauthzManagementServiceV1Beta1_CreateAttestor_StringStringAttestor_sync] import com.google.cloud.binaryauthorization.v1beta1.Attestor; import com.google.cloud.binaryauthorization.v1beta1.BinauthzManagementServiceV1Beta1Client; import com.google.cloud.binaryauthorization.v1beta1.ProjectName; @@ -43,4 +43,4 @@ public static void syncCreateAttestorStringStringAttestor() throws Exception { } } } -// [END binaryauthorization_v1beta1_generated_binauthzmanagementservicev1beta1client_createattestor_stringstringattestor_sync] +// [END binaryauthorization_v1beta1_generated_BinauthzManagementServiceV1Beta1_CreateAttestor_StringStringAttestor_sync] diff --git a/java-binary-authorization/samples/snippets/generated/com/google/cloud/binaryauthorization/v1beta1/binauthzmanagementservicev1beta1client/deleteattestor/AsyncDeleteAttestor.java b/java-binary-authorization/samples/snippets/generated/com/google/cloud/binaryauthorization/v1beta1/binauthzmanagementservicev1beta1/deleteattestor/AsyncDeleteAttestor.java similarity index 90% rename from java-binary-authorization/samples/snippets/generated/com/google/cloud/binaryauthorization/v1beta1/binauthzmanagementservicev1beta1client/deleteattestor/AsyncDeleteAttestor.java rename to java-binary-authorization/samples/snippets/generated/com/google/cloud/binaryauthorization/v1beta1/binauthzmanagementservicev1beta1/deleteattestor/AsyncDeleteAttestor.java index bf3bb6160135..50ae3564b641 100644 --- a/java-binary-authorization/samples/snippets/generated/com/google/cloud/binaryauthorization/v1beta1/binauthzmanagementservicev1beta1client/deleteattestor/AsyncDeleteAttestor.java +++ b/java-binary-authorization/samples/snippets/generated/com/google/cloud/binaryauthorization/v1beta1/binauthzmanagementservicev1beta1/deleteattestor/AsyncDeleteAttestor.java @@ -16,7 +16,7 @@ package com.google.cloud.binaryauthorization.v1beta1.samples; -// [START binaryauthorization_v1beta1_generated_binauthzmanagementservicev1beta1client_deleteattestor_async] +// [START binaryauthorization_v1beta1_generated_BinauthzManagementServiceV1Beta1_DeleteAttestor_async] import com.google.api.core.ApiFuture; import com.google.cloud.binaryauthorization.v1beta1.AttestorName; import com.google.cloud.binaryauthorization.v1beta1.BinauthzManagementServiceV1Beta1Client; @@ -48,4 +48,4 @@ public static void asyncDeleteAttestor() throws Exception { } } } -// [END binaryauthorization_v1beta1_generated_binauthzmanagementservicev1beta1client_deleteattestor_async] +// [END binaryauthorization_v1beta1_generated_BinauthzManagementServiceV1Beta1_DeleteAttestor_async] diff --git a/java-binary-authorization/samples/snippets/generated/com/google/cloud/binaryauthorization/v1beta1/binauthzmanagementservicev1beta1client/deleteattestor/SyncDeleteAttestor.java b/java-binary-authorization/samples/snippets/generated/com/google/cloud/binaryauthorization/v1beta1/binauthzmanagementservicev1beta1/deleteattestor/SyncDeleteAttestor.java similarity index 90% rename from java-binary-authorization/samples/snippets/generated/com/google/cloud/binaryauthorization/v1beta1/binauthzmanagementservicev1beta1client/deleteattestor/SyncDeleteAttestor.java rename to java-binary-authorization/samples/snippets/generated/com/google/cloud/binaryauthorization/v1beta1/binauthzmanagementservicev1beta1/deleteattestor/SyncDeleteAttestor.java index c6c209f369ca..1480e2ef576d 100644 --- a/java-binary-authorization/samples/snippets/generated/com/google/cloud/binaryauthorization/v1beta1/binauthzmanagementservicev1beta1client/deleteattestor/SyncDeleteAttestor.java +++ b/java-binary-authorization/samples/snippets/generated/com/google/cloud/binaryauthorization/v1beta1/binauthzmanagementservicev1beta1/deleteattestor/SyncDeleteAttestor.java @@ -16,7 +16,7 @@ package com.google.cloud.binaryauthorization.v1beta1.samples; -// [START binaryauthorization_v1beta1_generated_binauthzmanagementservicev1beta1client_deleteattestor_sync] +// [START binaryauthorization_v1beta1_generated_BinauthzManagementServiceV1Beta1_DeleteAttestor_sync] import com.google.cloud.binaryauthorization.v1beta1.AttestorName; import com.google.cloud.binaryauthorization.v1beta1.BinauthzManagementServiceV1Beta1Client; import com.google.cloud.binaryauthorization.v1beta1.DeleteAttestorRequest; @@ -44,4 +44,4 @@ public static void syncDeleteAttestor() throws Exception { } } } -// [END binaryauthorization_v1beta1_generated_binauthzmanagementservicev1beta1client_deleteattestor_sync] +// [END binaryauthorization_v1beta1_generated_BinauthzManagementServiceV1Beta1_DeleteAttestor_sync] diff --git a/java-binary-authorization/samples/snippets/generated/com/google/cloud/binaryauthorization/v1beta1/binauthzmanagementservicev1beta1client/deleteattestor/SyncDeleteAttestorAttestorname.java b/java-binary-authorization/samples/snippets/generated/com/google/cloud/binaryauthorization/v1beta1/binauthzmanagementservicev1beta1/deleteattestor/SyncDeleteAttestorAttestorname.java similarity index 88% rename from java-binary-authorization/samples/snippets/generated/com/google/cloud/binaryauthorization/v1beta1/binauthzmanagementservicev1beta1client/deleteattestor/SyncDeleteAttestorAttestorname.java rename to java-binary-authorization/samples/snippets/generated/com/google/cloud/binaryauthorization/v1beta1/binauthzmanagementservicev1beta1/deleteattestor/SyncDeleteAttestorAttestorname.java index d66a2f899a8d..2b19e5cc29a4 100644 --- a/java-binary-authorization/samples/snippets/generated/com/google/cloud/binaryauthorization/v1beta1/binauthzmanagementservicev1beta1client/deleteattestor/SyncDeleteAttestorAttestorname.java +++ b/java-binary-authorization/samples/snippets/generated/com/google/cloud/binaryauthorization/v1beta1/binauthzmanagementservicev1beta1/deleteattestor/SyncDeleteAttestorAttestorname.java @@ -16,7 +16,7 @@ package com.google.cloud.binaryauthorization.v1beta1.samples; -// [START binaryauthorization_v1beta1_generated_binauthzmanagementservicev1beta1client_deleteattestor_attestorname_sync] +// [START binaryauthorization_v1beta1_generated_BinauthzManagementServiceV1Beta1_DeleteAttestor_Attestorname_sync] import com.google.cloud.binaryauthorization.v1beta1.AttestorName; import com.google.cloud.binaryauthorization.v1beta1.BinauthzManagementServiceV1Beta1Client; import com.google.protobuf.Empty; @@ -40,4 +40,4 @@ public static void syncDeleteAttestorAttestorname() throws Exception { } } } -// [END binaryauthorization_v1beta1_generated_binauthzmanagementservicev1beta1client_deleteattestor_attestorname_sync] +// [END binaryauthorization_v1beta1_generated_BinauthzManagementServiceV1Beta1_DeleteAttestor_Attestorname_sync] diff --git a/java-binary-authorization/samples/snippets/generated/com/google/cloud/binaryauthorization/v1beta1/binauthzmanagementservicev1beta1client/deleteattestor/SyncDeleteAttestorString.java b/java-binary-authorization/samples/snippets/generated/com/google/cloud/binaryauthorization/v1beta1/binauthzmanagementservicev1beta1/deleteattestor/SyncDeleteAttestorString.java similarity index 88% rename from java-binary-authorization/samples/snippets/generated/com/google/cloud/binaryauthorization/v1beta1/binauthzmanagementservicev1beta1client/deleteattestor/SyncDeleteAttestorString.java rename to java-binary-authorization/samples/snippets/generated/com/google/cloud/binaryauthorization/v1beta1/binauthzmanagementservicev1beta1/deleteattestor/SyncDeleteAttestorString.java index 2b59e103b418..6c5fbb8dedfe 100644 --- a/java-binary-authorization/samples/snippets/generated/com/google/cloud/binaryauthorization/v1beta1/binauthzmanagementservicev1beta1client/deleteattestor/SyncDeleteAttestorString.java +++ b/java-binary-authorization/samples/snippets/generated/com/google/cloud/binaryauthorization/v1beta1/binauthzmanagementservicev1beta1/deleteattestor/SyncDeleteAttestorString.java @@ -16,7 +16,7 @@ package com.google.cloud.binaryauthorization.v1beta1.samples; -// [START binaryauthorization_v1beta1_generated_binauthzmanagementservicev1beta1client_deleteattestor_string_sync] +// [START binaryauthorization_v1beta1_generated_BinauthzManagementServiceV1Beta1_DeleteAttestor_String_sync] import com.google.cloud.binaryauthorization.v1beta1.AttestorName; import com.google.cloud.binaryauthorization.v1beta1.BinauthzManagementServiceV1Beta1Client; import com.google.protobuf.Empty; @@ -40,4 +40,4 @@ public static void syncDeleteAttestorString() throws Exception { } } } -// [END binaryauthorization_v1beta1_generated_binauthzmanagementservicev1beta1client_deleteattestor_string_sync] +// [END binaryauthorization_v1beta1_generated_BinauthzManagementServiceV1Beta1_DeleteAttestor_String_sync] diff --git a/java-binary-authorization/samples/snippets/generated/com/google/cloud/binaryauthorization/v1beta1/binauthzmanagementservicev1beta1client/getattestor/AsyncGetAttestor.java b/java-binary-authorization/samples/snippets/generated/com/google/cloud/binaryauthorization/v1beta1/binauthzmanagementservicev1beta1/getattestor/AsyncGetAttestor.java similarity index 90% rename from java-binary-authorization/samples/snippets/generated/com/google/cloud/binaryauthorization/v1beta1/binauthzmanagementservicev1beta1client/getattestor/AsyncGetAttestor.java rename to java-binary-authorization/samples/snippets/generated/com/google/cloud/binaryauthorization/v1beta1/binauthzmanagementservicev1beta1/getattestor/AsyncGetAttestor.java index e297ddc9870d..55c881a49998 100644 --- a/java-binary-authorization/samples/snippets/generated/com/google/cloud/binaryauthorization/v1beta1/binauthzmanagementservicev1beta1client/getattestor/AsyncGetAttestor.java +++ b/java-binary-authorization/samples/snippets/generated/com/google/cloud/binaryauthorization/v1beta1/binauthzmanagementservicev1beta1/getattestor/AsyncGetAttestor.java @@ -16,7 +16,7 @@ package com.google.cloud.binaryauthorization.v1beta1.samples; -// [START binaryauthorization_v1beta1_generated_binauthzmanagementservicev1beta1client_getattestor_async] +// [START binaryauthorization_v1beta1_generated_BinauthzManagementServiceV1Beta1_GetAttestor_async] import com.google.api.core.ApiFuture; import com.google.cloud.binaryauthorization.v1beta1.Attestor; import com.google.cloud.binaryauthorization.v1beta1.AttestorName; @@ -48,4 +48,4 @@ public static void asyncGetAttestor() throws Exception { } } } -// [END binaryauthorization_v1beta1_generated_binauthzmanagementservicev1beta1client_getattestor_async] +// [END binaryauthorization_v1beta1_generated_BinauthzManagementServiceV1Beta1_GetAttestor_async] diff --git a/java-binary-authorization/samples/snippets/generated/com/google/cloud/binaryauthorization/v1beta1/binauthzmanagementservicev1beta1client/getattestor/SyncGetAttestor.java b/java-binary-authorization/samples/snippets/generated/com/google/cloud/binaryauthorization/v1beta1/binauthzmanagementservicev1beta1/getattestor/SyncGetAttestor.java similarity index 90% rename from java-binary-authorization/samples/snippets/generated/com/google/cloud/binaryauthorization/v1beta1/binauthzmanagementservicev1beta1client/getattestor/SyncGetAttestor.java rename to java-binary-authorization/samples/snippets/generated/com/google/cloud/binaryauthorization/v1beta1/binauthzmanagementservicev1beta1/getattestor/SyncGetAttestor.java index 4affd0334d67..cd67842990cd 100644 --- a/java-binary-authorization/samples/snippets/generated/com/google/cloud/binaryauthorization/v1beta1/binauthzmanagementservicev1beta1client/getattestor/SyncGetAttestor.java +++ b/java-binary-authorization/samples/snippets/generated/com/google/cloud/binaryauthorization/v1beta1/binauthzmanagementservicev1beta1/getattestor/SyncGetAttestor.java @@ -16,7 +16,7 @@ package com.google.cloud.binaryauthorization.v1beta1.samples; -// [START binaryauthorization_v1beta1_generated_binauthzmanagementservicev1beta1client_getattestor_sync] +// [START binaryauthorization_v1beta1_generated_BinauthzManagementServiceV1Beta1_GetAttestor_sync] import com.google.cloud.binaryauthorization.v1beta1.Attestor; import com.google.cloud.binaryauthorization.v1beta1.AttestorName; import com.google.cloud.binaryauthorization.v1beta1.BinauthzManagementServiceV1Beta1Client; @@ -44,4 +44,4 @@ public static void syncGetAttestor() throws Exception { } } } -// [END binaryauthorization_v1beta1_generated_binauthzmanagementservicev1beta1client_getattestor_sync] +// [END binaryauthorization_v1beta1_generated_BinauthzManagementServiceV1Beta1_GetAttestor_sync] diff --git a/java-binary-authorization/samples/snippets/generated/com/google/cloud/binaryauthorization/v1beta1/binauthzmanagementservicev1beta1client/getattestor/SyncGetAttestorAttestorname.java b/java-binary-authorization/samples/snippets/generated/com/google/cloud/binaryauthorization/v1beta1/binauthzmanagementservicev1beta1/getattestor/SyncGetAttestorAttestorname.java similarity index 88% rename from java-binary-authorization/samples/snippets/generated/com/google/cloud/binaryauthorization/v1beta1/binauthzmanagementservicev1beta1client/getattestor/SyncGetAttestorAttestorname.java rename to java-binary-authorization/samples/snippets/generated/com/google/cloud/binaryauthorization/v1beta1/binauthzmanagementservicev1beta1/getattestor/SyncGetAttestorAttestorname.java index ce5409ec4a54..38757d7a19e6 100644 --- a/java-binary-authorization/samples/snippets/generated/com/google/cloud/binaryauthorization/v1beta1/binauthzmanagementservicev1beta1client/getattestor/SyncGetAttestorAttestorname.java +++ b/java-binary-authorization/samples/snippets/generated/com/google/cloud/binaryauthorization/v1beta1/binauthzmanagementservicev1beta1/getattestor/SyncGetAttestorAttestorname.java @@ -16,7 +16,7 @@ package com.google.cloud.binaryauthorization.v1beta1.samples; -// [START binaryauthorization_v1beta1_generated_binauthzmanagementservicev1beta1client_getattestor_attestorname_sync] +// [START binaryauthorization_v1beta1_generated_BinauthzManagementServiceV1Beta1_GetAttestor_Attestorname_sync] import com.google.cloud.binaryauthorization.v1beta1.Attestor; import com.google.cloud.binaryauthorization.v1beta1.AttestorName; import com.google.cloud.binaryauthorization.v1beta1.BinauthzManagementServiceV1Beta1Client; @@ -40,4 +40,4 @@ public static void syncGetAttestorAttestorname() throws Exception { } } } -// [END binaryauthorization_v1beta1_generated_binauthzmanagementservicev1beta1client_getattestor_attestorname_sync] +// [END binaryauthorization_v1beta1_generated_BinauthzManagementServiceV1Beta1_GetAttestor_Attestorname_sync] diff --git a/java-binary-authorization/samples/snippets/generated/com/google/cloud/binaryauthorization/v1beta1/binauthzmanagementservicev1beta1client/getattestor/SyncGetAttestorString.java b/java-binary-authorization/samples/snippets/generated/com/google/cloud/binaryauthorization/v1beta1/binauthzmanagementservicev1beta1/getattestor/SyncGetAttestorString.java similarity index 89% rename from java-binary-authorization/samples/snippets/generated/com/google/cloud/binaryauthorization/v1beta1/binauthzmanagementservicev1beta1client/getattestor/SyncGetAttestorString.java rename to java-binary-authorization/samples/snippets/generated/com/google/cloud/binaryauthorization/v1beta1/binauthzmanagementservicev1beta1/getattestor/SyncGetAttestorString.java index 6c3721ab74d7..afbd0001c334 100644 --- a/java-binary-authorization/samples/snippets/generated/com/google/cloud/binaryauthorization/v1beta1/binauthzmanagementservicev1beta1client/getattestor/SyncGetAttestorString.java +++ b/java-binary-authorization/samples/snippets/generated/com/google/cloud/binaryauthorization/v1beta1/binauthzmanagementservicev1beta1/getattestor/SyncGetAttestorString.java @@ -16,7 +16,7 @@ package com.google.cloud.binaryauthorization.v1beta1.samples; -// [START binaryauthorization_v1beta1_generated_binauthzmanagementservicev1beta1client_getattestor_string_sync] +// [START binaryauthorization_v1beta1_generated_BinauthzManagementServiceV1Beta1_GetAttestor_String_sync] import com.google.cloud.binaryauthorization.v1beta1.Attestor; import com.google.cloud.binaryauthorization.v1beta1.AttestorName; import com.google.cloud.binaryauthorization.v1beta1.BinauthzManagementServiceV1Beta1Client; @@ -40,4 +40,4 @@ public static void syncGetAttestorString() throws Exception { } } } -// [END binaryauthorization_v1beta1_generated_binauthzmanagementservicev1beta1client_getattestor_string_sync] +// [END binaryauthorization_v1beta1_generated_BinauthzManagementServiceV1Beta1_GetAttestor_String_sync] diff --git a/java-binary-authorization/samples/snippets/generated/com/google/cloud/binaryauthorization/v1beta1/binauthzmanagementservicev1beta1client/getpolicy/AsyncGetPolicy.java b/java-binary-authorization/samples/snippets/generated/com/google/cloud/binaryauthorization/v1beta1/binauthzmanagementservicev1beta1/getpolicy/AsyncGetPolicy.java similarity index 91% rename from java-binary-authorization/samples/snippets/generated/com/google/cloud/binaryauthorization/v1beta1/binauthzmanagementservicev1beta1client/getpolicy/AsyncGetPolicy.java rename to java-binary-authorization/samples/snippets/generated/com/google/cloud/binaryauthorization/v1beta1/binauthzmanagementservicev1beta1/getpolicy/AsyncGetPolicy.java index f75844b9a57a..7d392153c555 100644 --- a/java-binary-authorization/samples/snippets/generated/com/google/cloud/binaryauthorization/v1beta1/binauthzmanagementservicev1beta1client/getpolicy/AsyncGetPolicy.java +++ b/java-binary-authorization/samples/snippets/generated/com/google/cloud/binaryauthorization/v1beta1/binauthzmanagementservicev1beta1/getpolicy/AsyncGetPolicy.java @@ -16,7 +16,7 @@ package com.google.cloud.binaryauthorization.v1beta1.samples; -// [START binaryauthorization_v1beta1_generated_binauthzmanagementservicev1beta1client_getpolicy_async] +// [START binaryauthorization_v1beta1_generated_BinauthzManagementServiceV1Beta1_GetPolicy_async] import com.google.api.core.ApiFuture; import com.google.cloud.binaryauthorization.v1beta1.BinauthzManagementServiceV1Beta1Client; import com.google.cloud.binaryauthorization.v1beta1.GetPolicyRequest; @@ -48,4 +48,4 @@ public static void asyncGetPolicy() throws Exception { } } } -// [END binaryauthorization_v1beta1_generated_binauthzmanagementservicev1beta1client_getpolicy_async] +// [END binaryauthorization_v1beta1_generated_BinauthzManagementServiceV1Beta1_GetPolicy_async] diff --git a/java-binary-authorization/samples/snippets/generated/com/google/cloud/binaryauthorization/v1beta1/binauthzmanagementservicev1beta1client/getpolicy/SyncGetPolicy.java b/java-binary-authorization/samples/snippets/generated/com/google/cloud/binaryauthorization/v1beta1/binauthzmanagementservicev1beta1/getpolicy/SyncGetPolicy.java similarity index 90% rename from java-binary-authorization/samples/snippets/generated/com/google/cloud/binaryauthorization/v1beta1/binauthzmanagementservicev1beta1client/getpolicy/SyncGetPolicy.java rename to java-binary-authorization/samples/snippets/generated/com/google/cloud/binaryauthorization/v1beta1/binauthzmanagementservicev1beta1/getpolicy/SyncGetPolicy.java index 8220c9bacf59..d6090732df56 100644 --- a/java-binary-authorization/samples/snippets/generated/com/google/cloud/binaryauthorization/v1beta1/binauthzmanagementservicev1beta1client/getpolicy/SyncGetPolicy.java +++ b/java-binary-authorization/samples/snippets/generated/com/google/cloud/binaryauthorization/v1beta1/binauthzmanagementservicev1beta1/getpolicy/SyncGetPolicy.java @@ -16,7 +16,7 @@ package com.google.cloud.binaryauthorization.v1beta1.samples; -// [START binaryauthorization_v1beta1_generated_binauthzmanagementservicev1beta1client_getpolicy_sync] +// [START binaryauthorization_v1beta1_generated_BinauthzManagementServiceV1Beta1_GetPolicy_sync] import com.google.cloud.binaryauthorization.v1beta1.BinauthzManagementServiceV1Beta1Client; import com.google.cloud.binaryauthorization.v1beta1.GetPolicyRequest; import com.google.cloud.binaryauthorization.v1beta1.Policy; @@ -44,4 +44,4 @@ public static void syncGetPolicy() throws Exception { } } } -// [END binaryauthorization_v1beta1_generated_binauthzmanagementservicev1beta1client_getpolicy_sync] +// [END binaryauthorization_v1beta1_generated_BinauthzManagementServiceV1Beta1_GetPolicy_sync] diff --git a/java-binary-authorization/samples/snippets/generated/com/google/cloud/binaryauthorization/v1beta1/binauthzmanagementservicev1beta1client/getpolicy/SyncGetPolicyPolicyname.java b/java-binary-authorization/samples/snippets/generated/com/google/cloud/binaryauthorization/v1beta1/binauthzmanagementservicev1beta1/getpolicy/SyncGetPolicyPolicyname.java similarity index 88% rename from java-binary-authorization/samples/snippets/generated/com/google/cloud/binaryauthorization/v1beta1/binauthzmanagementservicev1beta1client/getpolicy/SyncGetPolicyPolicyname.java rename to java-binary-authorization/samples/snippets/generated/com/google/cloud/binaryauthorization/v1beta1/binauthzmanagementservicev1beta1/getpolicy/SyncGetPolicyPolicyname.java index 5705ab311251..469346b7f235 100644 --- a/java-binary-authorization/samples/snippets/generated/com/google/cloud/binaryauthorization/v1beta1/binauthzmanagementservicev1beta1client/getpolicy/SyncGetPolicyPolicyname.java +++ b/java-binary-authorization/samples/snippets/generated/com/google/cloud/binaryauthorization/v1beta1/binauthzmanagementservicev1beta1/getpolicy/SyncGetPolicyPolicyname.java @@ -16,7 +16,7 @@ package com.google.cloud.binaryauthorization.v1beta1.samples; -// [START binaryauthorization_v1beta1_generated_binauthzmanagementservicev1beta1client_getpolicy_policyname_sync] +// [START binaryauthorization_v1beta1_generated_BinauthzManagementServiceV1Beta1_GetPolicy_Policyname_sync] import com.google.cloud.binaryauthorization.v1beta1.BinauthzManagementServiceV1Beta1Client; import com.google.cloud.binaryauthorization.v1beta1.Policy; import com.google.cloud.binaryauthorization.v1beta1.PolicyName; @@ -40,4 +40,4 @@ public static void syncGetPolicyPolicyname() throws Exception { } } } -// [END binaryauthorization_v1beta1_generated_binauthzmanagementservicev1beta1client_getpolicy_policyname_sync] +// [END binaryauthorization_v1beta1_generated_BinauthzManagementServiceV1Beta1_GetPolicy_Policyname_sync] diff --git a/java-binary-authorization/samples/snippets/generated/com/google/cloud/binaryauthorization/v1beta1/binauthzmanagementservicev1beta1client/getpolicy/SyncGetPolicyString.java b/java-binary-authorization/samples/snippets/generated/com/google/cloud/binaryauthorization/v1beta1/binauthzmanagementservicev1beta1/getpolicy/SyncGetPolicyString.java similarity index 89% rename from java-binary-authorization/samples/snippets/generated/com/google/cloud/binaryauthorization/v1beta1/binauthzmanagementservicev1beta1client/getpolicy/SyncGetPolicyString.java rename to java-binary-authorization/samples/snippets/generated/com/google/cloud/binaryauthorization/v1beta1/binauthzmanagementservicev1beta1/getpolicy/SyncGetPolicyString.java index c541bd4c4a78..f1544dfcce7b 100644 --- a/java-binary-authorization/samples/snippets/generated/com/google/cloud/binaryauthorization/v1beta1/binauthzmanagementservicev1beta1client/getpolicy/SyncGetPolicyString.java +++ b/java-binary-authorization/samples/snippets/generated/com/google/cloud/binaryauthorization/v1beta1/binauthzmanagementservicev1beta1/getpolicy/SyncGetPolicyString.java @@ -16,7 +16,7 @@ package com.google.cloud.binaryauthorization.v1beta1.samples; -// [START binaryauthorization_v1beta1_generated_binauthzmanagementservicev1beta1client_getpolicy_string_sync] +// [START binaryauthorization_v1beta1_generated_BinauthzManagementServiceV1Beta1_GetPolicy_String_sync] import com.google.cloud.binaryauthorization.v1beta1.BinauthzManagementServiceV1Beta1Client; import com.google.cloud.binaryauthorization.v1beta1.Policy; import com.google.cloud.binaryauthorization.v1beta1.PolicyName; @@ -40,4 +40,4 @@ public static void syncGetPolicyString() throws Exception { } } } -// [END binaryauthorization_v1beta1_generated_binauthzmanagementservicev1beta1client_getpolicy_string_sync] +// [END binaryauthorization_v1beta1_generated_BinauthzManagementServiceV1Beta1_GetPolicy_String_sync] diff --git a/java-binary-authorization/samples/snippets/generated/com/google/cloud/binaryauthorization/v1beta1/binauthzmanagementservicev1beta1client/listattestors/AsyncListAttestors.java b/java-binary-authorization/samples/snippets/generated/com/google/cloud/binaryauthorization/v1beta1/binauthzmanagementservicev1beta1/listattestors/AsyncListAttestors.java similarity index 91% rename from java-binary-authorization/samples/snippets/generated/com/google/cloud/binaryauthorization/v1beta1/binauthzmanagementservicev1beta1client/listattestors/AsyncListAttestors.java rename to java-binary-authorization/samples/snippets/generated/com/google/cloud/binaryauthorization/v1beta1/binauthzmanagementservicev1beta1/listattestors/AsyncListAttestors.java index 392dc6802d6e..12d84ed52073 100644 --- a/java-binary-authorization/samples/snippets/generated/com/google/cloud/binaryauthorization/v1beta1/binauthzmanagementservicev1beta1client/listattestors/AsyncListAttestors.java +++ b/java-binary-authorization/samples/snippets/generated/com/google/cloud/binaryauthorization/v1beta1/binauthzmanagementservicev1beta1/listattestors/AsyncListAttestors.java @@ -16,7 +16,7 @@ package com.google.cloud.binaryauthorization.v1beta1.samples; -// [START binaryauthorization_v1beta1_generated_binauthzmanagementservicev1beta1client_listattestors_async] +// [START binaryauthorization_v1beta1_generated_BinauthzManagementServiceV1Beta1_ListAttestors_async] import com.google.api.core.ApiFuture; import com.google.cloud.binaryauthorization.v1beta1.Attestor; import com.google.cloud.binaryauthorization.v1beta1.BinauthzManagementServiceV1Beta1Client; @@ -52,4 +52,4 @@ public static void asyncListAttestors() throws Exception { } } } -// [END binaryauthorization_v1beta1_generated_binauthzmanagementservicev1beta1client_listattestors_async] +// [END binaryauthorization_v1beta1_generated_BinauthzManagementServiceV1Beta1_ListAttestors_async] diff --git a/java-binary-authorization/samples/snippets/generated/com/google/cloud/binaryauthorization/v1beta1/binauthzmanagementservicev1beta1client/listattestors/AsyncListAttestorsPaged.java b/java-binary-authorization/samples/snippets/generated/com/google/cloud/binaryauthorization/v1beta1/binauthzmanagementservicev1beta1/listattestors/AsyncListAttestorsPaged.java similarity index 92% rename from java-binary-authorization/samples/snippets/generated/com/google/cloud/binaryauthorization/v1beta1/binauthzmanagementservicev1beta1client/listattestors/AsyncListAttestorsPaged.java rename to java-binary-authorization/samples/snippets/generated/com/google/cloud/binaryauthorization/v1beta1/binauthzmanagementservicev1beta1/listattestors/AsyncListAttestorsPaged.java index a4f23ee1102a..d5fd2d1e671b 100644 --- a/java-binary-authorization/samples/snippets/generated/com/google/cloud/binaryauthorization/v1beta1/binauthzmanagementservicev1beta1client/listattestors/AsyncListAttestorsPaged.java +++ b/java-binary-authorization/samples/snippets/generated/com/google/cloud/binaryauthorization/v1beta1/binauthzmanagementservicev1beta1/listattestors/AsyncListAttestorsPaged.java @@ -16,7 +16,7 @@ package com.google.cloud.binaryauthorization.v1beta1.samples; -// [START binaryauthorization_v1beta1_generated_binauthzmanagementservicev1beta1client_listattestors_paged_async] +// [START binaryauthorization_v1beta1_generated_BinauthzManagementServiceV1Beta1_ListAttestors_Paged_async] import com.google.cloud.binaryauthorization.v1beta1.Attestor; import com.google.cloud.binaryauthorization.v1beta1.BinauthzManagementServiceV1Beta1Client; import com.google.cloud.binaryauthorization.v1beta1.ListAttestorsRequest; @@ -60,4 +60,4 @@ public static void asyncListAttestorsPaged() throws Exception { } } } -// [END binaryauthorization_v1beta1_generated_binauthzmanagementservicev1beta1client_listattestors_paged_async] +// [END binaryauthorization_v1beta1_generated_BinauthzManagementServiceV1Beta1_ListAttestors_Paged_async] diff --git a/java-binary-authorization/samples/snippets/generated/com/google/cloud/binaryauthorization/v1beta1/binauthzmanagementservicev1beta1client/listattestors/SyncListAttestors.java b/java-binary-authorization/samples/snippets/generated/com/google/cloud/binaryauthorization/v1beta1/binauthzmanagementservicev1beta1/listattestors/SyncListAttestors.java similarity index 90% rename from java-binary-authorization/samples/snippets/generated/com/google/cloud/binaryauthorization/v1beta1/binauthzmanagementservicev1beta1client/listattestors/SyncListAttestors.java rename to java-binary-authorization/samples/snippets/generated/com/google/cloud/binaryauthorization/v1beta1/binauthzmanagementservicev1beta1/listattestors/SyncListAttestors.java index cb6ce6fefb7c..d7342eb01d5b 100644 --- a/java-binary-authorization/samples/snippets/generated/com/google/cloud/binaryauthorization/v1beta1/binauthzmanagementservicev1beta1client/listattestors/SyncListAttestors.java +++ b/java-binary-authorization/samples/snippets/generated/com/google/cloud/binaryauthorization/v1beta1/binauthzmanagementservicev1beta1/listattestors/SyncListAttestors.java @@ -16,7 +16,7 @@ package com.google.cloud.binaryauthorization.v1beta1.samples; -// [START binaryauthorization_v1beta1_generated_binauthzmanagementservicev1beta1client_listattestors_sync] +// [START binaryauthorization_v1beta1_generated_BinauthzManagementServiceV1Beta1_ListAttestors_sync] import com.google.cloud.binaryauthorization.v1beta1.Attestor; import com.google.cloud.binaryauthorization.v1beta1.BinauthzManagementServiceV1Beta1Client; import com.google.cloud.binaryauthorization.v1beta1.ListAttestorsRequest; @@ -49,4 +49,4 @@ public static void syncListAttestors() throws Exception { } } } -// [END binaryauthorization_v1beta1_generated_binauthzmanagementservicev1beta1client_listattestors_sync] +// [END binaryauthorization_v1beta1_generated_BinauthzManagementServiceV1Beta1_ListAttestors_sync] diff --git a/java-binary-authorization/samples/snippets/generated/com/google/cloud/binaryauthorization/v1beta1/binauthzmanagementservicev1beta1client/listattestors/SyncListAttestorsProjectname.java b/java-binary-authorization/samples/snippets/generated/com/google/cloud/binaryauthorization/v1beta1/binauthzmanagementservicev1beta1/listattestors/SyncListAttestorsProjectname.java similarity index 88% rename from java-binary-authorization/samples/snippets/generated/com/google/cloud/binaryauthorization/v1beta1/binauthzmanagementservicev1beta1client/listattestors/SyncListAttestorsProjectname.java rename to java-binary-authorization/samples/snippets/generated/com/google/cloud/binaryauthorization/v1beta1/binauthzmanagementservicev1beta1/listattestors/SyncListAttestorsProjectname.java index 7c640d205d34..ee0e83579c6e 100644 --- a/java-binary-authorization/samples/snippets/generated/com/google/cloud/binaryauthorization/v1beta1/binauthzmanagementservicev1beta1client/listattestors/SyncListAttestorsProjectname.java +++ b/java-binary-authorization/samples/snippets/generated/com/google/cloud/binaryauthorization/v1beta1/binauthzmanagementservicev1beta1/listattestors/SyncListAttestorsProjectname.java @@ -16,7 +16,7 @@ package com.google.cloud.binaryauthorization.v1beta1.samples; -// [START binaryauthorization_v1beta1_generated_binauthzmanagementservicev1beta1client_listattestors_projectname_sync] +// [START binaryauthorization_v1beta1_generated_BinauthzManagementServiceV1Beta1_ListAttestors_Projectname_sync] import com.google.cloud.binaryauthorization.v1beta1.Attestor; import com.google.cloud.binaryauthorization.v1beta1.BinauthzManagementServiceV1Beta1Client; import com.google.cloud.binaryauthorization.v1beta1.ProjectName; @@ -43,4 +43,4 @@ public static void syncListAttestorsProjectname() throws Exception { } } } -// [END binaryauthorization_v1beta1_generated_binauthzmanagementservicev1beta1client_listattestors_projectname_sync] +// [END binaryauthorization_v1beta1_generated_BinauthzManagementServiceV1Beta1_ListAttestors_Projectname_sync] diff --git a/java-binary-authorization/samples/snippets/generated/com/google/cloud/binaryauthorization/v1beta1/binauthzmanagementservicev1beta1client/listattestors/SyncListAttestorsString.java b/java-binary-authorization/samples/snippets/generated/com/google/cloud/binaryauthorization/v1beta1/binauthzmanagementservicev1beta1/listattestors/SyncListAttestorsString.java similarity index 89% rename from java-binary-authorization/samples/snippets/generated/com/google/cloud/binaryauthorization/v1beta1/binauthzmanagementservicev1beta1client/listattestors/SyncListAttestorsString.java rename to java-binary-authorization/samples/snippets/generated/com/google/cloud/binaryauthorization/v1beta1/binauthzmanagementservicev1beta1/listattestors/SyncListAttestorsString.java index b379e5eec911..25881d2703a5 100644 --- a/java-binary-authorization/samples/snippets/generated/com/google/cloud/binaryauthorization/v1beta1/binauthzmanagementservicev1beta1client/listattestors/SyncListAttestorsString.java +++ b/java-binary-authorization/samples/snippets/generated/com/google/cloud/binaryauthorization/v1beta1/binauthzmanagementservicev1beta1/listattestors/SyncListAttestorsString.java @@ -16,7 +16,7 @@ package com.google.cloud.binaryauthorization.v1beta1.samples; -// [START binaryauthorization_v1beta1_generated_binauthzmanagementservicev1beta1client_listattestors_string_sync] +// [START binaryauthorization_v1beta1_generated_BinauthzManagementServiceV1Beta1_ListAttestors_String_sync] import com.google.cloud.binaryauthorization.v1beta1.Attestor; import com.google.cloud.binaryauthorization.v1beta1.BinauthzManagementServiceV1Beta1Client; import com.google.cloud.binaryauthorization.v1beta1.ProjectName; @@ -43,4 +43,4 @@ public static void syncListAttestorsString() throws Exception { } } } -// [END binaryauthorization_v1beta1_generated_binauthzmanagementservicev1beta1client_listattestors_string_sync] +// [END binaryauthorization_v1beta1_generated_BinauthzManagementServiceV1Beta1_ListAttestors_String_sync] diff --git a/java-binary-authorization/samples/snippets/generated/com/google/cloud/binaryauthorization/v1beta1/binauthzmanagementservicev1beta1client/updateattestor/AsyncUpdateAttestor.java b/java-binary-authorization/samples/snippets/generated/com/google/cloud/binaryauthorization/v1beta1/binauthzmanagementservicev1beta1/updateattestor/AsyncUpdateAttestor.java similarity index 90% rename from java-binary-authorization/samples/snippets/generated/com/google/cloud/binaryauthorization/v1beta1/binauthzmanagementservicev1beta1client/updateattestor/AsyncUpdateAttestor.java rename to java-binary-authorization/samples/snippets/generated/com/google/cloud/binaryauthorization/v1beta1/binauthzmanagementservicev1beta1/updateattestor/AsyncUpdateAttestor.java index 23b3a450504b..844fd445e0f7 100644 --- a/java-binary-authorization/samples/snippets/generated/com/google/cloud/binaryauthorization/v1beta1/binauthzmanagementservicev1beta1client/updateattestor/AsyncUpdateAttestor.java +++ b/java-binary-authorization/samples/snippets/generated/com/google/cloud/binaryauthorization/v1beta1/binauthzmanagementservicev1beta1/updateattestor/AsyncUpdateAttestor.java @@ -16,7 +16,7 @@ package com.google.cloud.binaryauthorization.v1beta1.samples; -// [START binaryauthorization_v1beta1_generated_binauthzmanagementservicev1beta1client_updateattestor_async] +// [START binaryauthorization_v1beta1_generated_BinauthzManagementServiceV1Beta1_UpdateAttestor_async] import com.google.api.core.ApiFuture; import com.google.cloud.binaryauthorization.v1beta1.Attestor; import com.google.cloud.binaryauthorization.v1beta1.BinauthzManagementServiceV1Beta1Client; @@ -45,4 +45,4 @@ public static void asyncUpdateAttestor() throws Exception { } } } -// [END binaryauthorization_v1beta1_generated_binauthzmanagementservicev1beta1client_updateattestor_async] +// [END binaryauthorization_v1beta1_generated_BinauthzManagementServiceV1Beta1_UpdateAttestor_async] diff --git a/java-binary-authorization/samples/snippets/generated/com/google/cloud/binaryauthorization/v1beta1/binauthzmanagementservicev1beta1client/updateattestor/SyncUpdateAttestor.java b/java-binary-authorization/samples/snippets/generated/com/google/cloud/binaryauthorization/v1beta1/binauthzmanagementservicev1beta1/updateattestor/SyncUpdateAttestor.java similarity index 89% rename from java-binary-authorization/samples/snippets/generated/com/google/cloud/binaryauthorization/v1beta1/binauthzmanagementservicev1beta1client/updateattestor/SyncUpdateAttestor.java rename to java-binary-authorization/samples/snippets/generated/com/google/cloud/binaryauthorization/v1beta1/binauthzmanagementservicev1beta1/updateattestor/SyncUpdateAttestor.java index 8d96f84381e5..bede981462db 100644 --- a/java-binary-authorization/samples/snippets/generated/com/google/cloud/binaryauthorization/v1beta1/binauthzmanagementservicev1beta1client/updateattestor/SyncUpdateAttestor.java +++ b/java-binary-authorization/samples/snippets/generated/com/google/cloud/binaryauthorization/v1beta1/binauthzmanagementservicev1beta1/updateattestor/SyncUpdateAttestor.java @@ -16,7 +16,7 @@ package com.google.cloud.binaryauthorization.v1beta1.samples; -// [START binaryauthorization_v1beta1_generated_binauthzmanagementservicev1beta1client_updateattestor_sync] +// [START binaryauthorization_v1beta1_generated_BinauthzManagementServiceV1Beta1_UpdateAttestor_sync] import com.google.cloud.binaryauthorization.v1beta1.Attestor; import com.google.cloud.binaryauthorization.v1beta1.BinauthzManagementServiceV1Beta1Client; import com.google.cloud.binaryauthorization.v1beta1.UpdateAttestorRequest; @@ -41,4 +41,4 @@ public static void syncUpdateAttestor() throws Exception { } } } -// [END binaryauthorization_v1beta1_generated_binauthzmanagementservicev1beta1client_updateattestor_sync] +// [END binaryauthorization_v1beta1_generated_BinauthzManagementServiceV1Beta1_UpdateAttestor_sync] diff --git a/java-binary-authorization/samples/snippets/generated/com/google/cloud/binaryauthorization/v1beta1/binauthzmanagementservicev1beta1client/updateattestor/SyncUpdateAttestorAttestor.java b/java-binary-authorization/samples/snippets/generated/com/google/cloud/binaryauthorization/v1beta1/binauthzmanagementservicev1beta1/updateattestor/SyncUpdateAttestorAttestor.java similarity index 88% rename from java-binary-authorization/samples/snippets/generated/com/google/cloud/binaryauthorization/v1beta1/binauthzmanagementservicev1beta1client/updateattestor/SyncUpdateAttestorAttestor.java rename to java-binary-authorization/samples/snippets/generated/com/google/cloud/binaryauthorization/v1beta1/binauthzmanagementservicev1beta1/updateattestor/SyncUpdateAttestorAttestor.java index e80285fac69d..0be6fb65b38c 100644 --- a/java-binary-authorization/samples/snippets/generated/com/google/cloud/binaryauthorization/v1beta1/binauthzmanagementservicev1beta1client/updateattestor/SyncUpdateAttestorAttestor.java +++ b/java-binary-authorization/samples/snippets/generated/com/google/cloud/binaryauthorization/v1beta1/binauthzmanagementservicev1beta1/updateattestor/SyncUpdateAttestorAttestor.java @@ -16,7 +16,7 @@ package com.google.cloud.binaryauthorization.v1beta1.samples; -// [START binaryauthorization_v1beta1_generated_binauthzmanagementservicev1beta1client_updateattestor_attestor_sync] +// [START binaryauthorization_v1beta1_generated_BinauthzManagementServiceV1Beta1_UpdateAttestor_Attestor_sync] import com.google.cloud.binaryauthorization.v1beta1.Attestor; import com.google.cloud.binaryauthorization.v1beta1.BinauthzManagementServiceV1Beta1Client; @@ -39,4 +39,4 @@ public static void syncUpdateAttestorAttestor() throws Exception { } } } -// [END binaryauthorization_v1beta1_generated_binauthzmanagementservicev1beta1client_updateattestor_attestor_sync] +// [END binaryauthorization_v1beta1_generated_BinauthzManagementServiceV1Beta1_UpdateAttestor_Attestor_sync] diff --git a/java-binary-authorization/samples/snippets/generated/com/google/cloud/binaryauthorization/v1beta1/binauthzmanagementservicev1beta1client/updatepolicy/AsyncUpdatePolicy.java b/java-binary-authorization/samples/snippets/generated/com/google/cloud/binaryauthorization/v1beta1/binauthzmanagementservicev1beta1/updatepolicy/AsyncUpdatePolicy.java similarity index 90% rename from java-binary-authorization/samples/snippets/generated/com/google/cloud/binaryauthorization/v1beta1/binauthzmanagementservicev1beta1client/updatepolicy/AsyncUpdatePolicy.java rename to java-binary-authorization/samples/snippets/generated/com/google/cloud/binaryauthorization/v1beta1/binauthzmanagementservicev1beta1/updatepolicy/AsyncUpdatePolicy.java index eb99854ec487..4256c2d5326c 100644 --- a/java-binary-authorization/samples/snippets/generated/com/google/cloud/binaryauthorization/v1beta1/binauthzmanagementservicev1beta1client/updatepolicy/AsyncUpdatePolicy.java +++ b/java-binary-authorization/samples/snippets/generated/com/google/cloud/binaryauthorization/v1beta1/binauthzmanagementservicev1beta1/updatepolicy/AsyncUpdatePolicy.java @@ -16,7 +16,7 @@ package com.google.cloud.binaryauthorization.v1beta1.samples; -// [START binaryauthorization_v1beta1_generated_binauthzmanagementservicev1beta1client_updatepolicy_async] +// [START binaryauthorization_v1beta1_generated_BinauthzManagementServiceV1Beta1_UpdatePolicy_async] import com.google.api.core.ApiFuture; import com.google.cloud.binaryauthorization.v1beta1.BinauthzManagementServiceV1Beta1Client; import com.google.cloud.binaryauthorization.v1beta1.Policy; @@ -45,4 +45,4 @@ public static void asyncUpdatePolicy() throws Exception { } } } -// [END binaryauthorization_v1beta1_generated_binauthzmanagementservicev1beta1client_updatepolicy_async] +// [END binaryauthorization_v1beta1_generated_BinauthzManagementServiceV1Beta1_UpdatePolicy_async] diff --git a/java-binary-authorization/samples/snippets/generated/com/google/cloud/binaryauthorization/v1beta1/binauthzmanagementservicev1beta1client/updatepolicy/SyncUpdatePolicy.java b/java-binary-authorization/samples/snippets/generated/com/google/cloud/binaryauthorization/v1beta1/binauthzmanagementservicev1beta1/updatepolicy/SyncUpdatePolicy.java similarity index 89% rename from java-binary-authorization/samples/snippets/generated/com/google/cloud/binaryauthorization/v1beta1/binauthzmanagementservicev1beta1client/updatepolicy/SyncUpdatePolicy.java rename to java-binary-authorization/samples/snippets/generated/com/google/cloud/binaryauthorization/v1beta1/binauthzmanagementservicev1beta1/updatepolicy/SyncUpdatePolicy.java index cafc3fc75a64..bae84c8ff67f 100644 --- a/java-binary-authorization/samples/snippets/generated/com/google/cloud/binaryauthorization/v1beta1/binauthzmanagementservicev1beta1client/updatepolicy/SyncUpdatePolicy.java +++ b/java-binary-authorization/samples/snippets/generated/com/google/cloud/binaryauthorization/v1beta1/binauthzmanagementservicev1beta1/updatepolicy/SyncUpdatePolicy.java @@ -16,7 +16,7 @@ package com.google.cloud.binaryauthorization.v1beta1.samples; -// [START binaryauthorization_v1beta1_generated_binauthzmanagementservicev1beta1client_updatepolicy_sync] +// [START binaryauthorization_v1beta1_generated_BinauthzManagementServiceV1Beta1_UpdatePolicy_sync] import com.google.cloud.binaryauthorization.v1beta1.BinauthzManagementServiceV1Beta1Client; import com.google.cloud.binaryauthorization.v1beta1.Policy; import com.google.cloud.binaryauthorization.v1beta1.UpdatePolicyRequest; @@ -41,4 +41,4 @@ public static void syncUpdatePolicy() throws Exception { } } } -// [END binaryauthorization_v1beta1_generated_binauthzmanagementservicev1beta1client_updatepolicy_sync] +// [END binaryauthorization_v1beta1_generated_BinauthzManagementServiceV1Beta1_UpdatePolicy_sync] diff --git a/java-binary-authorization/samples/snippets/generated/com/google/cloud/binaryauthorization/v1beta1/binauthzmanagementservicev1beta1client/updatepolicy/SyncUpdatePolicyPolicy.java b/java-binary-authorization/samples/snippets/generated/com/google/cloud/binaryauthorization/v1beta1/binauthzmanagementservicev1beta1/updatepolicy/SyncUpdatePolicyPolicy.java similarity index 88% rename from java-binary-authorization/samples/snippets/generated/com/google/cloud/binaryauthorization/v1beta1/binauthzmanagementservicev1beta1client/updatepolicy/SyncUpdatePolicyPolicy.java rename to java-binary-authorization/samples/snippets/generated/com/google/cloud/binaryauthorization/v1beta1/binauthzmanagementservicev1beta1/updatepolicy/SyncUpdatePolicyPolicy.java index 805719bdba53..05b8ed929c5a 100644 --- a/java-binary-authorization/samples/snippets/generated/com/google/cloud/binaryauthorization/v1beta1/binauthzmanagementservicev1beta1client/updatepolicy/SyncUpdatePolicyPolicy.java +++ b/java-binary-authorization/samples/snippets/generated/com/google/cloud/binaryauthorization/v1beta1/binauthzmanagementservicev1beta1/updatepolicy/SyncUpdatePolicyPolicy.java @@ -16,7 +16,7 @@ package com.google.cloud.binaryauthorization.v1beta1.samples; -// [START binaryauthorization_v1beta1_generated_binauthzmanagementservicev1beta1client_updatepolicy_policy_sync] +// [START binaryauthorization_v1beta1_generated_BinauthzManagementServiceV1Beta1_UpdatePolicy_Policy_sync] import com.google.cloud.binaryauthorization.v1beta1.BinauthzManagementServiceV1Beta1Client; import com.google.cloud.binaryauthorization.v1beta1.Policy; @@ -39,4 +39,4 @@ public static void syncUpdatePolicyPolicy() throws Exception { } } } -// [END binaryauthorization_v1beta1_generated_binauthzmanagementservicev1beta1client_updatepolicy_policy_sync] +// [END binaryauthorization_v1beta1_generated_BinauthzManagementServiceV1Beta1_UpdatePolicy_Policy_sync] diff --git a/java-binary-authorization/samples/snippets/generated/com/google/cloud/binaryauthorization/v1beta1/binauthzmanagementservicev1beta1settings/getpolicy/SyncGetPolicy.java b/java-binary-authorization/samples/snippets/generated/com/google/cloud/binaryauthorization/v1beta1/binauthzmanagementservicev1beta1settings/getpolicy/SyncGetPolicy.java index 922fe028a360..af9e6ed0e584 100644 --- a/java-binary-authorization/samples/snippets/generated/com/google/cloud/binaryauthorization/v1beta1/binauthzmanagementservicev1beta1settings/getpolicy/SyncGetPolicy.java +++ b/java-binary-authorization/samples/snippets/generated/com/google/cloud/binaryauthorization/v1beta1/binauthzmanagementservicev1beta1settings/getpolicy/SyncGetPolicy.java @@ -16,7 +16,7 @@ package com.google.cloud.binaryauthorization.v1beta1.samples; -// [START binaryauthorization_v1beta1_generated_binauthzmanagementservicev1beta1settings_getpolicy_sync] +// [START binaryauthorization_v1beta1_generated_BinauthzManagementServiceV1Beta1Settings_GetPolicy_sync] import com.google.cloud.binaryauthorization.v1beta1.BinauthzManagementServiceV1Beta1Settings; import java.time.Duration; @@ -48,4 +48,4 @@ public static void syncGetPolicy() throws Exception { binauthzManagementServiceV1Beta1SettingsBuilder.build(); } } -// [END binaryauthorization_v1beta1_generated_binauthzmanagementservicev1beta1settings_getpolicy_sync] +// [END binaryauthorization_v1beta1_generated_BinauthzManagementServiceV1Beta1Settings_GetPolicy_sync] diff --git a/java-binary-authorization/samples/snippets/generated/com/google/cloud/binaryauthorization/v1beta1/stub/binauthzmanagementservicev1beta1stubsettings/getpolicy/SyncGetPolicy.java b/java-binary-authorization/samples/snippets/generated/com/google/cloud/binaryauthorization/v1beta1/stub/binauthzmanagementservicev1beta1stubsettings/getpolicy/SyncGetPolicy.java index 63550e477790..cfc5f0a67b05 100644 --- a/java-binary-authorization/samples/snippets/generated/com/google/cloud/binaryauthorization/v1beta1/stub/binauthzmanagementservicev1beta1stubsettings/getpolicy/SyncGetPolicy.java +++ b/java-binary-authorization/samples/snippets/generated/com/google/cloud/binaryauthorization/v1beta1/stub/binauthzmanagementservicev1beta1stubsettings/getpolicy/SyncGetPolicy.java @@ -16,7 +16,7 @@ package com.google.cloud.binaryauthorization.v1beta1.stub.samples; -// [START binaryauthorization_v1beta1_generated_binauthzmanagementservicev1beta1stubsettings_getpolicy_sync] +// [START binaryauthorization_v1beta1_generated_BinauthzManagementServiceV1Beta1StubSettings_GetPolicy_sync] import com.google.cloud.binaryauthorization.v1beta1.stub.BinauthzManagementServiceV1Beta1StubSettings; import java.time.Duration; @@ -48,4 +48,4 @@ public static void syncGetPolicy() throws Exception { binauthzManagementServiceV1Beta1SettingsBuilder.build(); } } -// [END binaryauthorization_v1beta1_generated_binauthzmanagementservicev1beta1stubsettings_getpolicy_sync] +// [END binaryauthorization_v1beta1_generated_BinauthzManagementServiceV1Beta1StubSettings_GetPolicy_sync] diff --git a/java-binary-authorization/samples/snippets/generated/com/google/cloud/binaryauthorization/v1beta1/stub/systempolicyv1beta1stubsettings/getsystempolicy/SyncGetSystemPolicy.java b/java-binary-authorization/samples/snippets/generated/com/google/cloud/binaryauthorization/v1beta1/stub/systempolicyv1beta1stubsettings/getsystempolicy/SyncGetSystemPolicy.java index c1ad723df905..a0df404e3bda 100644 --- a/java-binary-authorization/samples/snippets/generated/com/google/cloud/binaryauthorization/v1beta1/stub/systempolicyv1beta1stubsettings/getsystempolicy/SyncGetSystemPolicy.java +++ b/java-binary-authorization/samples/snippets/generated/com/google/cloud/binaryauthorization/v1beta1/stub/systempolicyv1beta1stubsettings/getsystempolicy/SyncGetSystemPolicy.java @@ -16,7 +16,7 @@ package com.google.cloud.binaryauthorization.v1beta1.stub.samples; -// [START binaryauthorization_v1beta1_generated_systempolicyv1beta1stubsettings_getsystempolicy_sync] +// [START binaryauthorization_v1beta1_generated_SystemPolicyV1Beta1StubSettings_GetSystemPolicy_sync] import com.google.cloud.binaryauthorization.v1beta1.stub.SystemPolicyV1Beta1StubSettings; import java.time.Duration; @@ -47,4 +47,4 @@ public static void syncGetSystemPolicy() throws Exception { systemPolicyV1Beta1SettingsBuilder.build(); } } -// [END binaryauthorization_v1beta1_generated_systempolicyv1beta1stubsettings_getsystempolicy_sync] +// [END binaryauthorization_v1beta1_generated_SystemPolicyV1Beta1StubSettings_GetSystemPolicy_sync] diff --git a/java-binary-authorization/samples/snippets/generated/com/google/cloud/binaryauthorization/v1beta1/systempolicyv1beta1client/create/SyncCreateSetCredentialsProvider.java b/java-binary-authorization/samples/snippets/generated/com/google/cloud/binaryauthorization/v1beta1/systempolicyv1beta1/create/SyncCreateSetCredentialsProvider.java similarity index 89% rename from java-binary-authorization/samples/snippets/generated/com/google/cloud/binaryauthorization/v1beta1/systempolicyv1beta1client/create/SyncCreateSetCredentialsProvider.java rename to java-binary-authorization/samples/snippets/generated/com/google/cloud/binaryauthorization/v1beta1/systempolicyv1beta1/create/SyncCreateSetCredentialsProvider.java index 00f2fd483134..6ddb2102ee27 100644 --- a/java-binary-authorization/samples/snippets/generated/com/google/cloud/binaryauthorization/v1beta1/systempolicyv1beta1client/create/SyncCreateSetCredentialsProvider.java +++ b/java-binary-authorization/samples/snippets/generated/com/google/cloud/binaryauthorization/v1beta1/systempolicyv1beta1/create/SyncCreateSetCredentialsProvider.java @@ -16,7 +16,7 @@ package com.google.cloud.binaryauthorization.v1beta1.samples; -// [START binaryauthorization_v1beta1_generated_systempolicyv1beta1client_create_setcredentialsprovider_sync] +// [START binaryauthorization_v1beta1_generated_SystemPolicyV1Beta1_Create_SetCredentialsProvider_sync] import com.google.api.gax.core.FixedCredentialsProvider; import com.google.cloud.binaryauthorization.v1beta1.SystemPolicyV1Beta1Client; import com.google.cloud.binaryauthorization.v1beta1.SystemPolicyV1Beta1Settings; @@ -42,4 +42,4 @@ public static void syncCreateSetCredentialsProvider() throws Exception { SystemPolicyV1Beta1Client.create(systemPolicyV1Beta1Settings); } } -// [END binaryauthorization_v1beta1_generated_systempolicyv1beta1client_create_setcredentialsprovider_sync] +// [END binaryauthorization_v1beta1_generated_SystemPolicyV1Beta1_Create_SetCredentialsProvider_sync] diff --git a/java-binary-authorization/samples/snippets/generated/com/google/cloud/binaryauthorization/v1beta1/systempolicyv1beta1client/create/SyncCreateSetCredentialsProvider1.java b/java-binary-authorization/samples/snippets/generated/com/google/cloud/binaryauthorization/v1beta1/systempolicyv1beta1/create/SyncCreateSetCredentialsProvider1.java similarity index 79% rename from java-binary-authorization/samples/snippets/generated/com/google/cloud/binaryauthorization/v1beta1/systempolicyv1beta1client/create/SyncCreateSetCredentialsProvider1.java rename to java-binary-authorization/samples/snippets/generated/com/google/cloud/binaryauthorization/v1beta1/systempolicyv1beta1/create/SyncCreateSetCredentialsProvider1.java index cb200f8b461c..711d0c9038bc 100644 --- a/java-binary-authorization/samples/snippets/generated/com/google/cloud/binaryauthorization/v1beta1/systempolicyv1beta1client/create/SyncCreateSetCredentialsProvider1.java +++ b/java-binary-authorization/samples/snippets/generated/com/google/cloud/binaryauthorization/v1beta1/systempolicyv1beta1/create/SyncCreateSetCredentialsProvider1.java @@ -16,7 +16,7 @@ package com.google.cloud.binaryauthorization.v1beta1.samples; -// [START binaryauthorization_v1beta1_generated_systempolicyv1beta1client_create_setcredentialsprovider1_sync] +// [START binaryauthorization_v1beta1_generated_SystemPolicyV1Beta1_Create_SetCredentialsProvider1_sync] import com.google.cloud.binaryauthorization.v1beta1.SystemPolicyV1Beta1Client; import com.google.cloud.binaryauthorization.v1beta1.SystemPolicyV1Beta1Settings; @@ -33,12 +33,9 @@ public static void syncCreateSetCredentialsProvider1() throws Exception { // - It may require specifying regional endpoints when creating the service client as shown in // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library SystemPolicyV1Beta1Settings systemPolicyV1Beta1Settings = - SystemPolicyV1Beta1Settings.newBuilder() - .setTransportChannelProvider( - SystemPolicyV1Beta1Settings.defaultHttpJsonTransportProviderBuilder().build()) - .build(); + SystemPolicyV1Beta1Settings.newHttpJsonBuilder().build(); SystemPolicyV1Beta1Client systemPolicyV1Beta1Client = SystemPolicyV1Beta1Client.create(systemPolicyV1Beta1Settings); } } -// [END binaryauthorization_v1beta1_generated_systempolicyv1beta1client_create_setcredentialsprovider1_sync] +// [END binaryauthorization_v1beta1_generated_SystemPolicyV1Beta1_Create_SetCredentialsProvider1_sync] diff --git a/java-binary-authorization/samples/snippets/generated/com/google/cloud/binaryauthorization/v1beta1/systempolicyv1beta1client/create/SyncCreateSetEndpoint.java b/java-binary-authorization/samples/snippets/generated/com/google/cloud/binaryauthorization/v1beta1/systempolicyv1beta1/create/SyncCreateSetEndpoint.java similarity index 90% rename from java-binary-authorization/samples/snippets/generated/com/google/cloud/binaryauthorization/v1beta1/systempolicyv1beta1client/create/SyncCreateSetEndpoint.java rename to java-binary-authorization/samples/snippets/generated/com/google/cloud/binaryauthorization/v1beta1/systempolicyv1beta1/create/SyncCreateSetEndpoint.java index 7c7e7ab4df7e..68f696590fa4 100644 --- a/java-binary-authorization/samples/snippets/generated/com/google/cloud/binaryauthorization/v1beta1/systempolicyv1beta1client/create/SyncCreateSetEndpoint.java +++ b/java-binary-authorization/samples/snippets/generated/com/google/cloud/binaryauthorization/v1beta1/systempolicyv1beta1/create/SyncCreateSetEndpoint.java @@ -16,7 +16,7 @@ package com.google.cloud.binaryauthorization.v1beta1.samples; -// [START binaryauthorization_v1beta1_generated_systempolicyv1beta1client_create_setendpoint_sync] +// [START binaryauthorization_v1beta1_generated_SystemPolicyV1Beta1_Create_SetEndpoint_sync] import com.google.cloud.binaryauthorization.v1beta1.SystemPolicyV1Beta1Client; import com.google.cloud.binaryauthorization.v1beta1.SystemPolicyV1Beta1Settings; import com.google.cloud.binaryauthorization.v1beta1.myEndpoint; @@ -39,4 +39,4 @@ public static void syncCreateSetEndpoint() throws Exception { SystemPolicyV1Beta1Client.create(systemPolicyV1Beta1Settings); } } -// [END binaryauthorization_v1beta1_generated_systempolicyv1beta1client_create_setendpoint_sync] +// [END binaryauthorization_v1beta1_generated_SystemPolicyV1Beta1_Create_SetEndpoint_sync] diff --git a/java-binary-authorization/samples/snippets/generated/com/google/cloud/binaryauthorization/v1beta1/systempolicyv1beta1client/getsystempolicy/AsyncGetSystemPolicy.java b/java-binary-authorization/samples/snippets/generated/com/google/cloud/binaryauthorization/v1beta1/systempolicyv1beta1/getsystempolicy/AsyncGetSystemPolicy.java similarity index 91% rename from java-binary-authorization/samples/snippets/generated/com/google/cloud/binaryauthorization/v1beta1/systempolicyv1beta1client/getsystempolicy/AsyncGetSystemPolicy.java rename to java-binary-authorization/samples/snippets/generated/com/google/cloud/binaryauthorization/v1beta1/systempolicyv1beta1/getsystempolicy/AsyncGetSystemPolicy.java index d2a196d38f02..856bc75fba4a 100644 --- a/java-binary-authorization/samples/snippets/generated/com/google/cloud/binaryauthorization/v1beta1/systempolicyv1beta1client/getsystempolicy/AsyncGetSystemPolicy.java +++ b/java-binary-authorization/samples/snippets/generated/com/google/cloud/binaryauthorization/v1beta1/systempolicyv1beta1/getsystempolicy/AsyncGetSystemPolicy.java @@ -16,7 +16,7 @@ package com.google.cloud.binaryauthorization.v1beta1.samples; -// [START binaryauthorization_v1beta1_generated_systempolicyv1beta1client_getsystempolicy_async] +// [START binaryauthorization_v1beta1_generated_SystemPolicyV1Beta1_GetSystemPolicy_async] import com.google.api.core.ApiFuture; import com.google.cloud.binaryauthorization.v1beta1.GetSystemPolicyRequest; import com.google.cloud.binaryauthorization.v1beta1.Policy; @@ -47,4 +47,4 @@ public static void asyncGetSystemPolicy() throws Exception { } } } -// [END binaryauthorization_v1beta1_generated_systempolicyv1beta1client_getsystempolicy_async] +// [END binaryauthorization_v1beta1_generated_SystemPolicyV1Beta1_GetSystemPolicy_async] diff --git a/java-binary-authorization/samples/snippets/generated/com/google/cloud/binaryauthorization/v1beta1/systempolicyv1beta1client/getsystempolicy/SyncGetSystemPolicy.java b/java-binary-authorization/samples/snippets/generated/com/google/cloud/binaryauthorization/v1beta1/systempolicyv1beta1/getsystempolicy/SyncGetSystemPolicy.java similarity index 90% rename from java-binary-authorization/samples/snippets/generated/com/google/cloud/binaryauthorization/v1beta1/systempolicyv1beta1client/getsystempolicy/SyncGetSystemPolicy.java rename to java-binary-authorization/samples/snippets/generated/com/google/cloud/binaryauthorization/v1beta1/systempolicyv1beta1/getsystempolicy/SyncGetSystemPolicy.java index 9eed94b988fd..2b02b3331aef 100644 --- a/java-binary-authorization/samples/snippets/generated/com/google/cloud/binaryauthorization/v1beta1/systempolicyv1beta1client/getsystempolicy/SyncGetSystemPolicy.java +++ b/java-binary-authorization/samples/snippets/generated/com/google/cloud/binaryauthorization/v1beta1/systempolicyv1beta1/getsystempolicy/SyncGetSystemPolicy.java @@ -16,7 +16,7 @@ package com.google.cloud.binaryauthorization.v1beta1.samples; -// [START binaryauthorization_v1beta1_generated_systempolicyv1beta1client_getsystempolicy_sync] +// [START binaryauthorization_v1beta1_generated_SystemPolicyV1Beta1_GetSystemPolicy_sync] import com.google.cloud.binaryauthorization.v1beta1.GetSystemPolicyRequest; import com.google.cloud.binaryauthorization.v1beta1.Policy; import com.google.cloud.binaryauthorization.v1beta1.PolicyName; @@ -43,4 +43,4 @@ public static void syncGetSystemPolicy() throws Exception { } } } -// [END binaryauthorization_v1beta1_generated_systempolicyv1beta1client_getsystempolicy_sync] +// [END binaryauthorization_v1beta1_generated_SystemPolicyV1Beta1_GetSystemPolicy_sync] diff --git a/java-binary-authorization/samples/snippets/generated/com/google/cloud/binaryauthorization/v1beta1/systempolicyv1beta1client/getsystempolicy/SyncGetSystemPolicyPolicyname.java b/java-binary-authorization/samples/snippets/generated/com/google/cloud/binaryauthorization/v1beta1/systempolicyv1beta1/getsystempolicy/SyncGetSystemPolicyPolicyname.java similarity index 89% rename from java-binary-authorization/samples/snippets/generated/com/google/cloud/binaryauthorization/v1beta1/systempolicyv1beta1client/getsystempolicy/SyncGetSystemPolicyPolicyname.java rename to java-binary-authorization/samples/snippets/generated/com/google/cloud/binaryauthorization/v1beta1/systempolicyv1beta1/getsystempolicy/SyncGetSystemPolicyPolicyname.java index 1ee83432150c..15ae732f5093 100644 --- a/java-binary-authorization/samples/snippets/generated/com/google/cloud/binaryauthorization/v1beta1/systempolicyv1beta1client/getsystempolicy/SyncGetSystemPolicyPolicyname.java +++ b/java-binary-authorization/samples/snippets/generated/com/google/cloud/binaryauthorization/v1beta1/systempolicyv1beta1/getsystempolicy/SyncGetSystemPolicyPolicyname.java @@ -16,7 +16,7 @@ package com.google.cloud.binaryauthorization.v1beta1.samples; -// [START binaryauthorization_v1beta1_generated_systempolicyv1beta1client_getsystempolicy_policyname_sync] +// [START binaryauthorization_v1beta1_generated_SystemPolicyV1Beta1_GetSystemPolicy_Policyname_sync] import com.google.cloud.binaryauthorization.v1beta1.Policy; import com.google.cloud.binaryauthorization.v1beta1.PolicyName; import com.google.cloud.binaryauthorization.v1beta1.SystemPolicyV1Beta1Client; @@ -39,4 +39,4 @@ public static void syncGetSystemPolicyPolicyname() throws Exception { } } } -// [END binaryauthorization_v1beta1_generated_systempolicyv1beta1client_getsystempolicy_policyname_sync] +// [END binaryauthorization_v1beta1_generated_SystemPolicyV1Beta1_GetSystemPolicy_Policyname_sync] diff --git a/java-binary-authorization/samples/snippets/generated/com/google/cloud/binaryauthorization/v1beta1/systempolicyv1beta1client/getsystempolicy/SyncGetSystemPolicyString.java b/java-binary-authorization/samples/snippets/generated/com/google/cloud/binaryauthorization/v1beta1/systempolicyv1beta1/getsystempolicy/SyncGetSystemPolicyString.java similarity index 89% rename from java-binary-authorization/samples/snippets/generated/com/google/cloud/binaryauthorization/v1beta1/systempolicyv1beta1client/getsystempolicy/SyncGetSystemPolicyString.java rename to java-binary-authorization/samples/snippets/generated/com/google/cloud/binaryauthorization/v1beta1/systempolicyv1beta1/getsystempolicy/SyncGetSystemPolicyString.java index a571ccfd4ebd..58a26eda25f2 100644 --- a/java-binary-authorization/samples/snippets/generated/com/google/cloud/binaryauthorization/v1beta1/systempolicyv1beta1client/getsystempolicy/SyncGetSystemPolicyString.java +++ b/java-binary-authorization/samples/snippets/generated/com/google/cloud/binaryauthorization/v1beta1/systempolicyv1beta1/getsystempolicy/SyncGetSystemPolicyString.java @@ -16,7 +16,7 @@ package com.google.cloud.binaryauthorization.v1beta1.samples; -// [START binaryauthorization_v1beta1_generated_systempolicyv1beta1client_getsystempolicy_string_sync] +// [START binaryauthorization_v1beta1_generated_SystemPolicyV1Beta1_GetSystemPolicy_String_sync] import com.google.cloud.binaryauthorization.v1beta1.Policy; import com.google.cloud.binaryauthorization.v1beta1.PolicyName; import com.google.cloud.binaryauthorization.v1beta1.SystemPolicyV1Beta1Client; @@ -39,4 +39,4 @@ public static void syncGetSystemPolicyString() throws Exception { } } } -// [END binaryauthorization_v1beta1_generated_systempolicyv1beta1client_getsystempolicy_string_sync] +// [END binaryauthorization_v1beta1_generated_SystemPolicyV1Beta1_GetSystemPolicy_String_sync] diff --git a/java-binary-authorization/samples/snippets/generated/com/google/cloud/binaryauthorization/v1beta1/systempolicyv1beta1settings/getsystempolicy/SyncGetSystemPolicy.java b/java-binary-authorization/samples/snippets/generated/com/google/cloud/binaryauthorization/v1beta1/systempolicyv1beta1settings/getsystempolicy/SyncGetSystemPolicy.java index b33a2d8cf1d0..b58d5fc3ab51 100644 --- a/java-binary-authorization/samples/snippets/generated/com/google/cloud/binaryauthorization/v1beta1/systempolicyv1beta1settings/getsystempolicy/SyncGetSystemPolicy.java +++ b/java-binary-authorization/samples/snippets/generated/com/google/cloud/binaryauthorization/v1beta1/systempolicyv1beta1settings/getsystempolicy/SyncGetSystemPolicy.java @@ -16,7 +16,7 @@ package com.google.cloud.binaryauthorization.v1beta1.samples; -// [START binaryauthorization_v1beta1_generated_systempolicyv1beta1settings_getsystempolicy_sync] +// [START binaryauthorization_v1beta1_generated_SystemPolicyV1Beta1Settings_GetSystemPolicy_sync] import com.google.cloud.binaryauthorization.v1beta1.SystemPolicyV1Beta1Settings; import java.time.Duration; @@ -47,4 +47,4 @@ public static void syncGetSystemPolicy() throws Exception { systemPolicyV1Beta1SettingsBuilder.build(); } } -// [END binaryauthorization_v1beta1_generated_systempolicyv1beta1settings_getsystempolicy_sync] +// [END binaryauthorization_v1beta1_generated_SystemPolicyV1Beta1Settings_GetSystemPolicy_sync] diff --git a/java-binary-authorization/samples/snippets/generated/com/google/protos/google/cloud/binaryauthorization/v1/binauthzmanagementservicev1client/create/SyncCreateSetCredentialsProvider.java b/java-binary-authorization/samples/snippets/generated/com/google/protos/google/cloud/binaryauthorization/v1/binauthzmanagementservicev1/create/SyncCreateSetCredentialsProvider.java similarity index 90% rename from java-binary-authorization/samples/snippets/generated/com/google/protos/google/cloud/binaryauthorization/v1/binauthzmanagementservicev1client/create/SyncCreateSetCredentialsProvider.java rename to java-binary-authorization/samples/snippets/generated/com/google/protos/google/cloud/binaryauthorization/v1/binauthzmanagementservicev1/create/SyncCreateSetCredentialsProvider.java index 4c8ea7aaa720..f08b8239028d 100644 --- a/java-binary-authorization/samples/snippets/generated/com/google/protos/google/cloud/binaryauthorization/v1/binauthzmanagementservicev1client/create/SyncCreateSetCredentialsProvider.java +++ b/java-binary-authorization/samples/snippets/generated/com/google/protos/google/cloud/binaryauthorization/v1/binauthzmanagementservicev1/create/SyncCreateSetCredentialsProvider.java @@ -16,7 +16,7 @@ package com.google.protos.google.cloud.binaryauthorization.v1.samples; -// [START binaryauthorization_v1_generated_binauthzmanagementservicev1client_create_setcredentialsprovider_sync] +// [START binaryauthorization_v1_generated_BinauthzManagementServiceV1_Create_SetCredentialsProvider_sync] import com.google.api.gax.core.FixedCredentialsProvider; import com.google.protos.google.cloud.binaryauthorization.v1.BinauthzManagementServiceV1Client; import com.google.protos.google.cloud.binaryauthorization.v1.BinauthzManagementServiceV1Settings; @@ -42,4 +42,4 @@ public static void syncCreateSetCredentialsProvider() throws Exception { BinauthzManagementServiceV1Client.create(binauthzManagementServiceV1Settings); } } -// [END binaryauthorization_v1_generated_binauthzmanagementservicev1client_create_setcredentialsprovider_sync] +// [END binaryauthorization_v1_generated_BinauthzManagementServiceV1_Create_SetCredentialsProvider_sync] diff --git a/java-binary-authorization/samples/snippets/generated/com/google/protos/google/cloud/binaryauthorization/v1/binauthzmanagementservicev1client/create/SyncCreateSetCredentialsProvider1.java b/java-binary-authorization/samples/snippets/generated/com/google/protos/google/cloud/binaryauthorization/v1/binauthzmanagementservicev1/create/SyncCreateSetCredentialsProvider1.java similarity index 78% rename from java-binary-authorization/samples/snippets/generated/com/google/protos/google/cloud/binaryauthorization/v1/binauthzmanagementservicev1client/create/SyncCreateSetCredentialsProvider1.java rename to java-binary-authorization/samples/snippets/generated/com/google/protos/google/cloud/binaryauthorization/v1/binauthzmanagementservicev1/create/SyncCreateSetCredentialsProvider1.java index 1577b979f6f0..06e4d867d108 100644 --- a/java-binary-authorization/samples/snippets/generated/com/google/protos/google/cloud/binaryauthorization/v1/binauthzmanagementservicev1client/create/SyncCreateSetCredentialsProvider1.java +++ b/java-binary-authorization/samples/snippets/generated/com/google/protos/google/cloud/binaryauthorization/v1/binauthzmanagementservicev1/create/SyncCreateSetCredentialsProvider1.java @@ -16,7 +16,7 @@ package com.google.protos.google.cloud.binaryauthorization.v1.samples; -// [START binaryauthorization_v1_generated_binauthzmanagementservicev1client_create_setcredentialsprovider1_sync] +// [START binaryauthorization_v1_generated_BinauthzManagementServiceV1_Create_SetCredentialsProvider1_sync] import com.google.protos.google.cloud.binaryauthorization.v1.BinauthzManagementServiceV1Client; import com.google.protos.google.cloud.binaryauthorization.v1.BinauthzManagementServiceV1Settings; @@ -33,13 +33,9 @@ public static void syncCreateSetCredentialsProvider1() throws Exception { // - It may require specifying regional endpoints when creating the service client as shown in // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library BinauthzManagementServiceV1Settings binauthzManagementServiceV1Settings = - BinauthzManagementServiceV1Settings.newBuilder() - .setTransportChannelProvider( - BinauthzManagementServiceV1Settings.defaultHttpJsonTransportProviderBuilder() - .build()) - .build(); + BinauthzManagementServiceV1Settings.newHttpJsonBuilder().build(); BinauthzManagementServiceV1Client binauthzManagementServiceV1Client = BinauthzManagementServiceV1Client.create(binauthzManagementServiceV1Settings); } } -// [END binaryauthorization_v1_generated_binauthzmanagementservicev1client_create_setcredentialsprovider1_sync] +// [END binaryauthorization_v1_generated_BinauthzManagementServiceV1_Create_SetCredentialsProvider1_sync] diff --git a/java-binary-authorization/samples/snippets/generated/com/google/protos/google/cloud/binaryauthorization/v1/binauthzmanagementservicev1client/create/SyncCreateSetEndpoint.java b/java-binary-authorization/samples/snippets/generated/com/google/protos/google/cloud/binaryauthorization/v1/binauthzmanagementservicev1/create/SyncCreateSetEndpoint.java similarity index 90% rename from java-binary-authorization/samples/snippets/generated/com/google/protos/google/cloud/binaryauthorization/v1/binauthzmanagementservicev1client/create/SyncCreateSetEndpoint.java rename to java-binary-authorization/samples/snippets/generated/com/google/protos/google/cloud/binaryauthorization/v1/binauthzmanagementservicev1/create/SyncCreateSetEndpoint.java index 420a93c7a9e6..aebe3f68e31e 100644 --- a/java-binary-authorization/samples/snippets/generated/com/google/protos/google/cloud/binaryauthorization/v1/binauthzmanagementservicev1client/create/SyncCreateSetEndpoint.java +++ b/java-binary-authorization/samples/snippets/generated/com/google/protos/google/cloud/binaryauthorization/v1/binauthzmanagementservicev1/create/SyncCreateSetEndpoint.java @@ -16,7 +16,7 @@ package com.google.protos.google.cloud.binaryauthorization.v1.samples; -// [START binaryauthorization_v1_generated_binauthzmanagementservicev1client_create_setendpoint_sync] +// [START binaryauthorization_v1_generated_BinauthzManagementServiceV1_Create_SetEndpoint_sync] import com.google.protos.google.cloud.binaryauthorization.v1.BinauthzManagementServiceV1Client; import com.google.protos.google.cloud.binaryauthorization.v1.BinauthzManagementServiceV1Settings; import com.google.protos.google.cloud.binaryauthorization.v1.myEndpoint; @@ -39,4 +39,4 @@ public static void syncCreateSetEndpoint() throws Exception { BinauthzManagementServiceV1Client.create(binauthzManagementServiceV1Settings); } } -// [END binaryauthorization_v1_generated_binauthzmanagementservicev1client_create_setendpoint_sync] +// [END binaryauthorization_v1_generated_BinauthzManagementServiceV1_Create_SetEndpoint_sync] diff --git a/java-binary-authorization/samples/snippets/generated/com/google/protos/google/cloud/binaryauthorization/v1/binauthzmanagementservicev1client/createattestor/AsyncCreateAttestor.java b/java-binary-authorization/samples/snippets/generated/com/google/protos/google/cloud/binaryauthorization/v1/binauthzmanagementservicev1/createattestor/AsyncCreateAttestor.java similarity index 92% rename from java-binary-authorization/samples/snippets/generated/com/google/protos/google/cloud/binaryauthorization/v1/binauthzmanagementservicev1client/createattestor/AsyncCreateAttestor.java rename to java-binary-authorization/samples/snippets/generated/com/google/protos/google/cloud/binaryauthorization/v1/binauthzmanagementservicev1/createattestor/AsyncCreateAttestor.java index f06ee7fba599..50bc5df9db97 100644 --- a/java-binary-authorization/samples/snippets/generated/com/google/protos/google/cloud/binaryauthorization/v1/binauthzmanagementservicev1client/createattestor/AsyncCreateAttestor.java +++ b/java-binary-authorization/samples/snippets/generated/com/google/protos/google/cloud/binaryauthorization/v1/binauthzmanagementservicev1/createattestor/AsyncCreateAttestor.java @@ -16,7 +16,7 @@ package com.google.protos.google.cloud.binaryauthorization.v1.samples; -// [START binaryauthorization_v1_generated_binauthzmanagementservicev1client_createattestor_async] +// [START binaryauthorization_v1_generated_BinauthzManagementServiceV1_CreateAttestor_async] import com.google.api.core.ApiFuture; import com.google.protos.google.cloud.binaryauthorization.v1.BinauthzManagementServiceV1Client; import com.google.protos.google.cloud.binaryauthorization.v1.ProjectName; @@ -50,4 +50,4 @@ public static void asyncCreateAttestor() throws Exception { } } } -// [END binaryauthorization_v1_generated_binauthzmanagementservicev1client_createattestor_async] +// [END binaryauthorization_v1_generated_BinauthzManagementServiceV1_CreateAttestor_async] diff --git a/java-binary-authorization/samples/snippets/generated/com/google/protos/google/cloud/binaryauthorization/v1/binauthzmanagementservicev1client/createattestor/SyncCreateAttestor.java b/java-binary-authorization/samples/snippets/generated/com/google/protos/google/cloud/binaryauthorization/v1/binauthzmanagementservicev1/createattestor/SyncCreateAttestor.java similarity index 91% rename from java-binary-authorization/samples/snippets/generated/com/google/protos/google/cloud/binaryauthorization/v1/binauthzmanagementservicev1client/createattestor/SyncCreateAttestor.java rename to java-binary-authorization/samples/snippets/generated/com/google/protos/google/cloud/binaryauthorization/v1/binauthzmanagementservicev1/createattestor/SyncCreateAttestor.java index 7fcbc6896bf2..7a9efc65bd95 100644 --- a/java-binary-authorization/samples/snippets/generated/com/google/protos/google/cloud/binaryauthorization/v1/binauthzmanagementservicev1client/createattestor/SyncCreateAttestor.java +++ b/java-binary-authorization/samples/snippets/generated/com/google/protos/google/cloud/binaryauthorization/v1/binauthzmanagementservicev1/createattestor/SyncCreateAttestor.java @@ -16,7 +16,7 @@ package com.google.protos.google.cloud.binaryauthorization.v1.samples; -// [START binaryauthorization_v1_generated_binauthzmanagementservicev1client_createattestor_sync] +// [START binaryauthorization_v1_generated_BinauthzManagementServiceV1_CreateAttestor_sync] import com.google.protos.google.cloud.binaryauthorization.v1.BinauthzManagementServiceV1Client; import com.google.protos.google.cloud.binaryauthorization.v1.ProjectName; import com.google.protos.google.cloud.binaryauthorization.v1.Resources; @@ -46,4 +46,4 @@ public static void syncCreateAttestor() throws Exception { } } } -// [END binaryauthorization_v1_generated_binauthzmanagementservicev1client_createattestor_sync] +// [END binaryauthorization_v1_generated_BinauthzManagementServiceV1_CreateAttestor_sync] diff --git a/java-binary-authorization/samples/snippets/generated/com/google/protos/google/cloud/binaryauthorization/v1/binauthzmanagementservicev1client/createattestor/SyncCreateAttestorProjectnameStringResourcesattestor.java b/java-binary-authorization/samples/snippets/generated/com/google/protos/google/cloud/binaryauthorization/v1/binauthzmanagementservicev1/createattestor/SyncCreateAttestorProjectnameStringResourcesattestor.java similarity index 88% rename from java-binary-authorization/samples/snippets/generated/com/google/protos/google/cloud/binaryauthorization/v1/binauthzmanagementservicev1client/createattestor/SyncCreateAttestorProjectnameStringResourcesattestor.java rename to java-binary-authorization/samples/snippets/generated/com/google/protos/google/cloud/binaryauthorization/v1/binauthzmanagementservicev1/createattestor/SyncCreateAttestorProjectnameStringResourcesattestor.java index ccccccd608e3..7d2ec679456a 100644 --- a/java-binary-authorization/samples/snippets/generated/com/google/protos/google/cloud/binaryauthorization/v1/binauthzmanagementservicev1client/createattestor/SyncCreateAttestorProjectnameStringResourcesattestor.java +++ b/java-binary-authorization/samples/snippets/generated/com/google/protos/google/cloud/binaryauthorization/v1/binauthzmanagementservicev1/createattestor/SyncCreateAttestorProjectnameStringResourcesattestor.java @@ -16,7 +16,7 @@ package com.google.protos.google.cloud.binaryauthorization.v1.samples; -// [START binaryauthorization_v1_generated_binauthzmanagementservicev1client_createattestor_projectnamestringresourcesattestor_sync] +// [START binaryauthorization_v1_generated_BinauthzManagementServiceV1_CreateAttestor_ProjectnameStringResourcesattestor_sync] import com.google.protos.google.cloud.binaryauthorization.v1.BinauthzManagementServiceV1Client; import com.google.protos.google.cloud.binaryauthorization.v1.ProjectName; import com.google.protos.google.cloud.binaryauthorization.v1.Resources; @@ -43,4 +43,4 @@ public static void syncCreateAttestorProjectnameStringResourcesattestor() throws } } } -// [END binaryauthorization_v1_generated_binauthzmanagementservicev1client_createattestor_projectnamestringresourcesattestor_sync] +// [END binaryauthorization_v1_generated_BinauthzManagementServiceV1_CreateAttestor_ProjectnameStringResourcesattestor_sync] diff --git a/java-binary-authorization/samples/snippets/generated/com/google/protos/google/cloud/binaryauthorization/v1/binauthzmanagementservicev1client/createattestor/SyncCreateAttestorStringStringResourcesattestor.java b/java-binary-authorization/samples/snippets/generated/com/google/protos/google/cloud/binaryauthorization/v1/binauthzmanagementservicev1/createattestor/SyncCreateAttestorStringStringResourcesattestor.java similarity index 89% rename from java-binary-authorization/samples/snippets/generated/com/google/protos/google/cloud/binaryauthorization/v1/binauthzmanagementservicev1client/createattestor/SyncCreateAttestorStringStringResourcesattestor.java rename to java-binary-authorization/samples/snippets/generated/com/google/protos/google/cloud/binaryauthorization/v1/binauthzmanagementservicev1/createattestor/SyncCreateAttestorStringStringResourcesattestor.java index fad591c5ffe4..4a2bf443e8b8 100644 --- a/java-binary-authorization/samples/snippets/generated/com/google/protos/google/cloud/binaryauthorization/v1/binauthzmanagementservicev1client/createattestor/SyncCreateAttestorStringStringResourcesattestor.java +++ b/java-binary-authorization/samples/snippets/generated/com/google/protos/google/cloud/binaryauthorization/v1/binauthzmanagementservicev1/createattestor/SyncCreateAttestorStringStringResourcesattestor.java @@ -16,7 +16,7 @@ package com.google.protos.google.cloud.binaryauthorization.v1.samples; -// [START binaryauthorization_v1_generated_binauthzmanagementservicev1client_createattestor_stringstringresourcesattestor_sync] +// [START binaryauthorization_v1_generated_BinauthzManagementServiceV1_CreateAttestor_StringStringResourcesattestor_sync] import com.google.protos.google.cloud.binaryauthorization.v1.BinauthzManagementServiceV1Client; import com.google.protos.google.cloud.binaryauthorization.v1.ProjectName; import com.google.protos.google.cloud.binaryauthorization.v1.Resources; @@ -43,4 +43,4 @@ public static void syncCreateAttestorStringStringResourcesattestor() throws Exce } } } -// [END binaryauthorization_v1_generated_binauthzmanagementservicev1client_createattestor_stringstringresourcesattestor_sync] +// [END binaryauthorization_v1_generated_BinauthzManagementServiceV1_CreateAttestor_StringStringResourcesattestor_sync] diff --git a/java-binary-authorization/samples/snippets/generated/com/google/protos/google/cloud/binaryauthorization/v1/binauthzmanagementservicev1client/deleteattestor/AsyncDeleteAttestor.java b/java-binary-authorization/samples/snippets/generated/com/google/protos/google/cloud/binaryauthorization/v1/binauthzmanagementservicev1/deleteattestor/AsyncDeleteAttestor.java similarity index 91% rename from java-binary-authorization/samples/snippets/generated/com/google/protos/google/cloud/binaryauthorization/v1/binauthzmanagementservicev1client/deleteattestor/AsyncDeleteAttestor.java rename to java-binary-authorization/samples/snippets/generated/com/google/protos/google/cloud/binaryauthorization/v1/binauthzmanagementservicev1/deleteattestor/AsyncDeleteAttestor.java index cff4fd6b7a17..11eaffcad7a4 100644 --- a/java-binary-authorization/samples/snippets/generated/com/google/protos/google/cloud/binaryauthorization/v1/binauthzmanagementservicev1client/deleteattestor/AsyncDeleteAttestor.java +++ b/java-binary-authorization/samples/snippets/generated/com/google/protos/google/cloud/binaryauthorization/v1/binauthzmanagementservicev1/deleteattestor/AsyncDeleteAttestor.java @@ -16,7 +16,7 @@ package com.google.protos.google.cloud.binaryauthorization.v1.samples; -// [START binaryauthorization_v1_generated_binauthzmanagementservicev1client_deleteattestor_async] +// [START binaryauthorization_v1_generated_BinauthzManagementServiceV1_DeleteAttestor_async] import com.google.api.core.ApiFuture; import com.google.protobuf.Empty; import com.google.protos.google.cloud.binaryauthorization.v1.AttestorName; @@ -48,4 +48,4 @@ public static void asyncDeleteAttestor() throws Exception { } } } -// [END binaryauthorization_v1_generated_binauthzmanagementservicev1client_deleteattestor_async] +// [END binaryauthorization_v1_generated_BinauthzManagementServiceV1_DeleteAttestor_async] diff --git a/java-binary-authorization/samples/snippets/generated/com/google/protos/google/cloud/binaryauthorization/v1/binauthzmanagementservicev1client/deleteattestor/SyncDeleteAttestor.java b/java-binary-authorization/samples/snippets/generated/com/google/protos/google/cloud/binaryauthorization/v1/binauthzmanagementservicev1/deleteattestor/SyncDeleteAttestor.java similarity index 90% rename from java-binary-authorization/samples/snippets/generated/com/google/protos/google/cloud/binaryauthorization/v1/binauthzmanagementservicev1client/deleteattestor/SyncDeleteAttestor.java rename to java-binary-authorization/samples/snippets/generated/com/google/protos/google/cloud/binaryauthorization/v1/binauthzmanagementservicev1/deleteattestor/SyncDeleteAttestor.java index 1f0a191bbe2b..4bd2c700a816 100644 --- a/java-binary-authorization/samples/snippets/generated/com/google/protos/google/cloud/binaryauthorization/v1/binauthzmanagementservicev1client/deleteattestor/SyncDeleteAttestor.java +++ b/java-binary-authorization/samples/snippets/generated/com/google/protos/google/cloud/binaryauthorization/v1/binauthzmanagementservicev1/deleteattestor/SyncDeleteAttestor.java @@ -16,7 +16,7 @@ package com.google.protos.google.cloud.binaryauthorization.v1.samples; -// [START binaryauthorization_v1_generated_binauthzmanagementservicev1client_deleteattestor_sync] +// [START binaryauthorization_v1_generated_BinauthzManagementServiceV1_DeleteAttestor_sync] import com.google.protobuf.Empty; import com.google.protos.google.cloud.binaryauthorization.v1.AttestorName; import com.google.protos.google.cloud.binaryauthorization.v1.BinauthzManagementServiceV1Client; @@ -44,4 +44,4 @@ public static void syncDeleteAttestor() throws Exception { } } } -// [END binaryauthorization_v1_generated_binauthzmanagementservicev1client_deleteattestor_sync] +// [END binaryauthorization_v1_generated_BinauthzManagementServiceV1_DeleteAttestor_sync] diff --git a/java-binary-authorization/samples/snippets/generated/com/google/protos/google/cloud/binaryauthorization/v1/binauthzmanagementservicev1client/deleteattestor/SyncDeleteAttestorAttestorname.java b/java-binary-authorization/samples/snippets/generated/com/google/protos/google/cloud/binaryauthorization/v1/binauthzmanagementservicev1/deleteattestor/SyncDeleteAttestorAttestorname.java similarity index 89% rename from java-binary-authorization/samples/snippets/generated/com/google/protos/google/cloud/binaryauthorization/v1/binauthzmanagementservicev1client/deleteattestor/SyncDeleteAttestorAttestorname.java rename to java-binary-authorization/samples/snippets/generated/com/google/protos/google/cloud/binaryauthorization/v1/binauthzmanagementservicev1/deleteattestor/SyncDeleteAttestorAttestorname.java index c0484c0cbc0b..acd499964f72 100644 --- a/java-binary-authorization/samples/snippets/generated/com/google/protos/google/cloud/binaryauthorization/v1/binauthzmanagementservicev1client/deleteattestor/SyncDeleteAttestorAttestorname.java +++ b/java-binary-authorization/samples/snippets/generated/com/google/protos/google/cloud/binaryauthorization/v1/binauthzmanagementservicev1/deleteattestor/SyncDeleteAttestorAttestorname.java @@ -16,7 +16,7 @@ package com.google.protos.google.cloud.binaryauthorization.v1.samples; -// [START binaryauthorization_v1_generated_binauthzmanagementservicev1client_deleteattestor_attestorname_sync] +// [START binaryauthorization_v1_generated_BinauthzManagementServiceV1_DeleteAttestor_Attestorname_sync] import com.google.protobuf.Empty; import com.google.protos.google.cloud.binaryauthorization.v1.AttestorName; import com.google.protos.google.cloud.binaryauthorization.v1.BinauthzManagementServiceV1Client; @@ -40,4 +40,4 @@ public static void syncDeleteAttestorAttestorname() throws Exception { } } } -// [END binaryauthorization_v1_generated_binauthzmanagementservicev1client_deleteattestor_attestorname_sync] +// [END binaryauthorization_v1_generated_BinauthzManagementServiceV1_DeleteAttestor_Attestorname_sync] diff --git a/java-binary-authorization/samples/snippets/generated/com/google/protos/google/cloud/binaryauthorization/v1/binauthzmanagementservicev1client/deleteattestor/SyncDeleteAttestorString.java b/java-binary-authorization/samples/snippets/generated/com/google/protos/google/cloud/binaryauthorization/v1/binauthzmanagementservicev1/deleteattestor/SyncDeleteAttestorString.java similarity index 89% rename from java-binary-authorization/samples/snippets/generated/com/google/protos/google/cloud/binaryauthorization/v1/binauthzmanagementservicev1client/deleteattestor/SyncDeleteAttestorString.java rename to java-binary-authorization/samples/snippets/generated/com/google/protos/google/cloud/binaryauthorization/v1/binauthzmanagementservicev1/deleteattestor/SyncDeleteAttestorString.java index 747e929ad993..07de40a536fe 100644 --- a/java-binary-authorization/samples/snippets/generated/com/google/protos/google/cloud/binaryauthorization/v1/binauthzmanagementservicev1client/deleteattestor/SyncDeleteAttestorString.java +++ b/java-binary-authorization/samples/snippets/generated/com/google/protos/google/cloud/binaryauthorization/v1/binauthzmanagementservicev1/deleteattestor/SyncDeleteAttestorString.java @@ -16,7 +16,7 @@ package com.google.protos.google.cloud.binaryauthorization.v1.samples; -// [START binaryauthorization_v1_generated_binauthzmanagementservicev1client_deleteattestor_string_sync] +// [START binaryauthorization_v1_generated_BinauthzManagementServiceV1_DeleteAttestor_String_sync] import com.google.protobuf.Empty; import com.google.protos.google.cloud.binaryauthorization.v1.AttestorName; import com.google.protos.google.cloud.binaryauthorization.v1.BinauthzManagementServiceV1Client; @@ -40,4 +40,4 @@ public static void syncDeleteAttestorString() throws Exception { } } } -// [END binaryauthorization_v1_generated_binauthzmanagementservicev1client_deleteattestor_string_sync] +// [END binaryauthorization_v1_generated_BinauthzManagementServiceV1_DeleteAttestor_String_sync] diff --git a/java-binary-authorization/samples/snippets/generated/com/google/protos/google/cloud/binaryauthorization/v1/binauthzmanagementservicev1client/getattestor/AsyncGetAttestor.java b/java-binary-authorization/samples/snippets/generated/com/google/protos/google/cloud/binaryauthorization/v1/binauthzmanagementservicev1/getattestor/AsyncGetAttestor.java similarity index 91% rename from java-binary-authorization/samples/snippets/generated/com/google/protos/google/cloud/binaryauthorization/v1/binauthzmanagementservicev1client/getattestor/AsyncGetAttestor.java rename to java-binary-authorization/samples/snippets/generated/com/google/protos/google/cloud/binaryauthorization/v1/binauthzmanagementservicev1/getattestor/AsyncGetAttestor.java index 083788a743f3..bb9844d0328c 100644 --- a/java-binary-authorization/samples/snippets/generated/com/google/protos/google/cloud/binaryauthorization/v1/binauthzmanagementservicev1client/getattestor/AsyncGetAttestor.java +++ b/java-binary-authorization/samples/snippets/generated/com/google/protos/google/cloud/binaryauthorization/v1/binauthzmanagementservicev1/getattestor/AsyncGetAttestor.java @@ -16,7 +16,7 @@ package com.google.protos.google.cloud.binaryauthorization.v1.samples; -// [START binaryauthorization_v1_generated_binauthzmanagementservicev1client_getattestor_async] +// [START binaryauthorization_v1_generated_BinauthzManagementServiceV1_GetAttestor_async] import com.google.api.core.ApiFuture; import com.google.protos.google.cloud.binaryauthorization.v1.AttestorName; import com.google.protos.google.cloud.binaryauthorization.v1.BinauthzManagementServiceV1Client; @@ -48,4 +48,4 @@ public static void asyncGetAttestor() throws Exception { } } } -// [END binaryauthorization_v1_generated_binauthzmanagementservicev1client_getattestor_async] +// [END binaryauthorization_v1_generated_BinauthzManagementServiceV1_GetAttestor_async] diff --git a/java-binary-authorization/samples/snippets/generated/com/google/protos/google/cloud/binaryauthorization/v1/binauthzmanagementservicev1client/getattestor/SyncGetAttestor.java b/java-binary-authorization/samples/snippets/generated/com/google/protos/google/cloud/binaryauthorization/v1/binauthzmanagementservicev1/getattestor/SyncGetAttestor.java similarity index 91% rename from java-binary-authorization/samples/snippets/generated/com/google/protos/google/cloud/binaryauthorization/v1/binauthzmanagementservicev1client/getattestor/SyncGetAttestor.java rename to java-binary-authorization/samples/snippets/generated/com/google/protos/google/cloud/binaryauthorization/v1/binauthzmanagementservicev1/getattestor/SyncGetAttestor.java index 272dda3a4d4b..24f19e8bf74d 100644 --- a/java-binary-authorization/samples/snippets/generated/com/google/protos/google/cloud/binaryauthorization/v1/binauthzmanagementservicev1client/getattestor/SyncGetAttestor.java +++ b/java-binary-authorization/samples/snippets/generated/com/google/protos/google/cloud/binaryauthorization/v1/binauthzmanagementservicev1/getattestor/SyncGetAttestor.java @@ -16,7 +16,7 @@ package com.google.protos.google.cloud.binaryauthorization.v1.samples; -// [START binaryauthorization_v1_generated_binauthzmanagementservicev1client_getattestor_sync] +// [START binaryauthorization_v1_generated_BinauthzManagementServiceV1_GetAttestor_sync] import com.google.protos.google.cloud.binaryauthorization.v1.AttestorName; import com.google.protos.google.cloud.binaryauthorization.v1.BinauthzManagementServiceV1Client; import com.google.protos.google.cloud.binaryauthorization.v1.Resources; @@ -44,4 +44,4 @@ public static void syncGetAttestor() throws Exception { } } } -// [END binaryauthorization_v1_generated_binauthzmanagementservicev1client_getattestor_sync] +// [END binaryauthorization_v1_generated_BinauthzManagementServiceV1_GetAttestor_sync] diff --git a/java-binary-authorization/samples/snippets/generated/com/google/protos/google/cloud/binaryauthorization/v1/binauthzmanagementservicev1client/getattestor/SyncGetAttestorAttestorname.java b/java-binary-authorization/samples/snippets/generated/com/google/protos/google/cloud/binaryauthorization/v1/binauthzmanagementservicev1/getattestor/SyncGetAttestorAttestorname.java similarity index 89% rename from java-binary-authorization/samples/snippets/generated/com/google/protos/google/cloud/binaryauthorization/v1/binauthzmanagementservicev1client/getattestor/SyncGetAttestorAttestorname.java rename to java-binary-authorization/samples/snippets/generated/com/google/protos/google/cloud/binaryauthorization/v1/binauthzmanagementservicev1/getattestor/SyncGetAttestorAttestorname.java index bf3c83646017..65f46ba27294 100644 --- a/java-binary-authorization/samples/snippets/generated/com/google/protos/google/cloud/binaryauthorization/v1/binauthzmanagementservicev1client/getattestor/SyncGetAttestorAttestorname.java +++ b/java-binary-authorization/samples/snippets/generated/com/google/protos/google/cloud/binaryauthorization/v1/binauthzmanagementservicev1/getattestor/SyncGetAttestorAttestorname.java @@ -16,7 +16,7 @@ package com.google.protos.google.cloud.binaryauthorization.v1.samples; -// [START binaryauthorization_v1_generated_binauthzmanagementservicev1client_getattestor_attestorname_sync] +// [START binaryauthorization_v1_generated_BinauthzManagementServiceV1_GetAttestor_Attestorname_sync] import com.google.protos.google.cloud.binaryauthorization.v1.AttestorName; import com.google.protos.google.cloud.binaryauthorization.v1.BinauthzManagementServiceV1Client; import com.google.protos.google.cloud.binaryauthorization.v1.Resources; @@ -40,4 +40,4 @@ public static void syncGetAttestorAttestorname() throws Exception { } } } -// [END binaryauthorization_v1_generated_binauthzmanagementservicev1client_getattestor_attestorname_sync] +// [END binaryauthorization_v1_generated_BinauthzManagementServiceV1_GetAttestor_Attestorname_sync] diff --git a/java-binary-authorization/samples/snippets/generated/com/google/protos/google/cloud/binaryauthorization/v1/binauthzmanagementservicev1client/getattestor/SyncGetAttestorString.java b/java-binary-authorization/samples/snippets/generated/com/google/protos/google/cloud/binaryauthorization/v1/binauthzmanagementservicev1/getattestor/SyncGetAttestorString.java similarity index 90% rename from java-binary-authorization/samples/snippets/generated/com/google/protos/google/cloud/binaryauthorization/v1/binauthzmanagementservicev1client/getattestor/SyncGetAttestorString.java rename to java-binary-authorization/samples/snippets/generated/com/google/protos/google/cloud/binaryauthorization/v1/binauthzmanagementservicev1/getattestor/SyncGetAttestorString.java index d205855e2d84..8ae022d88478 100644 --- a/java-binary-authorization/samples/snippets/generated/com/google/protos/google/cloud/binaryauthorization/v1/binauthzmanagementservicev1client/getattestor/SyncGetAttestorString.java +++ b/java-binary-authorization/samples/snippets/generated/com/google/protos/google/cloud/binaryauthorization/v1/binauthzmanagementservicev1/getattestor/SyncGetAttestorString.java @@ -16,7 +16,7 @@ package com.google.protos.google.cloud.binaryauthorization.v1.samples; -// [START binaryauthorization_v1_generated_binauthzmanagementservicev1client_getattestor_string_sync] +// [START binaryauthorization_v1_generated_BinauthzManagementServiceV1_GetAttestor_String_sync] import com.google.protos.google.cloud.binaryauthorization.v1.AttestorName; import com.google.protos.google.cloud.binaryauthorization.v1.BinauthzManagementServiceV1Client; import com.google.protos.google.cloud.binaryauthorization.v1.Resources; @@ -40,4 +40,4 @@ public static void syncGetAttestorString() throws Exception { } } } -// [END binaryauthorization_v1_generated_binauthzmanagementservicev1client_getattestor_string_sync] +// [END binaryauthorization_v1_generated_BinauthzManagementServiceV1_GetAttestor_String_sync] diff --git a/java-binary-authorization/samples/snippets/generated/com/google/protos/google/cloud/binaryauthorization/v1/binauthzmanagementservicev1client/getpolicy/AsyncGetPolicy.java b/java-binary-authorization/samples/snippets/generated/com/google/protos/google/cloud/binaryauthorization/v1/binauthzmanagementservicev1/getpolicy/AsyncGetPolicy.java similarity index 91% rename from java-binary-authorization/samples/snippets/generated/com/google/protos/google/cloud/binaryauthorization/v1/binauthzmanagementservicev1client/getpolicy/AsyncGetPolicy.java rename to java-binary-authorization/samples/snippets/generated/com/google/protos/google/cloud/binaryauthorization/v1/binauthzmanagementservicev1/getpolicy/AsyncGetPolicy.java index 29fa43a6d49b..44d0a329d083 100644 --- a/java-binary-authorization/samples/snippets/generated/com/google/protos/google/cloud/binaryauthorization/v1/binauthzmanagementservicev1client/getpolicy/AsyncGetPolicy.java +++ b/java-binary-authorization/samples/snippets/generated/com/google/protos/google/cloud/binaryauthorization/v1/binauthzmanagementservicev1/getpolicy/AsyncGetPolicy.java @@ -16,7 +16,7 @@ package com.google.protos.google.cloud.binaryauthorization.v1.samples; -// [START binaryauthorization_v1_generated_binauthzmanagementservicev1client_getpolicy_async] +// [START binaryauthorization_v1_generated_BinauthzManagementServiceV1_GetPolicy_async] import com.google.api.core.ApiFuture; import com.google.protos.google.cloud.binaryauthorization.v1.BinauthzManagementServiceV1Client; import com.google.protos.google.cloud.binaryauthorization.v1.PolicyName; @@ -48,4 +48,4 @@ public static void asyncGetPolicy() throws Exception { } } } -// [END binaryauthorization_v1_generated_binauthzmanagementservicev1client_getpolicy_async] +// [END binaryauthorization_v1_generated_BinauthzManagementServiceV1_GetPolicy_async] diff --git a/java-binary-authorization/samples/snippets/generated/com/google/protos/google/cloud/binaryauthorization/v1/binauthzmanagementservicev1client/getpolicy/SyncGetPolicy.java b/java-binary-authorization/samples/snippets/generated/com/google/protos/google/cloud/binaryauthorization/v1/binauthzmanagementservicev1/getpolicy/SyncGetPolicy.java similarity index 91% rename from java-binary-authorization/samples/snippets/generated/com/google/protos/google/cloud/binaryauthorization/v1/binauthzmanagementservicev1client/getpolicy/SyncGetPolicy.java rename to java-binary-authorization/samples/snippets/generated/com/google/protos/google/cloud/binaryauthorization/v1/binauthzmanagementservicev1/getpolicy/SyncGetPolicy.java index 1b031f3c2bf5..036fde5ced8e 100644 --- a/java-binary-authorization/samples/snippets/generated/com/google/protos/google/cloud/binaryauthorization/v1/binauthzmanagementservicev1client/getpolicy/SyncGetPolicy.java +++ b/java-binary-authorization/samples/snippets/generated/com/google/protos/google/cloud/binaryauthorization/v1/binauthzmanagementservicev1/getpolicy/SyncGetPolicy.java @@ -16,7 +16,7 @@ package com.google.protos.google.cloud.binaryauthorization.v1.samples; -// [START binaryauthorization_v1_generated_binauthzmanagementservicev1client_getpolicy_sync] +// [START binaryauthorization_v1_generated_BinauthzManagementServiceV1_GetPolicy_sync] import com.google.protos.google.cloud.binaryauthorization.v1.BinauthzManagementServiceV1Client; import com.google.protos.google.cloud.binaryauthorization.v1.PolicyName; import com.google.protos.google.cloud.binaryauthorization.v1.Resources; @@ -44,4 +44,4 @@ public static void syncGetPolicy() throws Exception { } } } -// [END binaryauthorization_v1_generated_binauthzmanagementservicev1client_getpolicy_sync] +// [END binaryauthorization_v1_generated_BinauthzManagementServiceV1_GetPolicy_sync] diff --git a/java-binary-authorization/samples/snippets/generated/com/google/protos/google/cloud/binaryauthorization/v1/binauthzmanagementservicev1client/getpolicy/SyncGetPolicyPolicyname.java b/java-binary-authorization/samples/snippets/generated/com/google/protos/google/cloud/binaryauthorization/v1/binauthzmanagementservicev1/getpolicy/SyncGetPolicyPolicyname.java similarity index 89% rename from java-binary-authorization/samples/snippets/generated/com/google/protos/google/cloud/binaryauthorization/v1/binauthzmanagementservicev1client/getpolicy/SyncGetPolicyPolicyname.java rename to java-binary-authorization/samples/snippets/generated/com/google/protos/google/cloud/binaryauthorization/v1/binauthzmanagementservicev1/getpolicy/SyncGetPolicyPolicyname.java index 6dc419b2b4a0..e4ee10e4576f 100644 --- a/java-binary-authorization/samples/snippets/generated/com/google/protos/google/cloud/binaryauthorization/v1/binauthzmanagementservicev1client/getpolicy/SyncGetPolicyPolicyname.java +++ b/java-binary-authorization/samples/snippets/generated/com/google/protos/google/cloud/binaryauthorization/v1/binauthzmanagementservicev1/getpolicy/SyncGetPolicyPolicyname.java @@ -16,7 +16,7 @@ package com.google.protos.google.cloud.binaryauthorization.v1.samples; -// [START binaryauthorization_v1_generated_binauthzmanagementservicev1client_getpolicy_policyname_sync] +// [START binaryauthorization_v1_generated_BinauthzManagementServiceV1_GetPolicy_Policyname_sync] import com.google.protos.google.cloud.binaryauthorization.v1.BinauthzManagementServiceV1Client; import com.google.protos.google.cloud.binaryauthorization.v1.PolicyName; import com.google.protos.google.cloud.binaryauthorization.v1.Resources; @@ -40,4 +40,4 @@ public static void syncGetPolicyPolicyname() throws Exception { } } } -// [END binaryauthorization_v1_generated_binauthzmanagementservicev1client_getpolicy_policyname_sync] +// [END binaryauthorization_v1_generated_BinauthzManagementServiceV1_GetPolicy_Policyname_sync] diff --git a/java-binary-authorization/samples/snippets/generated/com/google/protos/google/cloud/binaryauthorization/v1/binauthzmanagementservicev1client/getpolicy/SyncGetPolicyString.java b/java-binary-authorization/samples/snippets/generated/com/google/protos/google/cloud/binaryauthorization/v1/binauthzmanagementservicev1/getpolicy/SyncGetPolicyString.java similarity index 90% rename from java-binary-authorization/samples/snippets/generated/com/google/protos/google/cloud/binaryauthorization/v1/binauthzmanagementservicev1client/getpolicy/SyncGetPolicyString.java rename to java-binary-authorization/samples/snippets/generated/com/google/protos/google/cloud/binaryauthorization/v1/binauthzmanagementservicev1/getpolicy/SyncGetPolicyString.java index 4eb68650d617..357e926f1478 100644 --- a/java-binary-authorization/samples/snippets/generated/com/google/protos/google/cloud/binaryauthorization/v1/binauthzmanagementservicev1client/getpolicy/SyncGetPolicyString.java +++ b/java-binary-authorization/samples/snippets/generated/com/google/protos/google/cloud/binaryauthorization/v1/binauthzmanagementservicev1/getpolicy/SyncGetPolicyString.java @@ -16,7 +16,7 @@ package com.google.protos.google.cloud.binaryauthorization.v1.samples; -// [START binaryauthorization_v1_generated_binauthzmanagementservicev1client_getpolicy_string_sync] +// [START binaryauthorization_v1_generated_BinauthzManagementServiceV1_GetPolicy_String_sync] import com.google.protos.google.cloud.binaryauthorization.v1.BinauthzManagementServiceV1Client; import com.google.protos.google.cloud.binaryauthorization.v1.PolicyName; import com.google.protos.google.cloud.binaryauthorization.v1.Resources; @@ -40,4 +40,4 @@ public static void syncGetPolicyString() throws Exception { } } } -// [END binaryauthorization_v1_generated_binauthzmanagementservicev1client_getpolicy_string_sync] +// [END binaryauthorization_v1_generated_BinauthzManagementServiceV1_GetPolicy_String_sync] diff --git a/java-binary-authorization/samples/snippets/generated/com/google/protos/google/cloud/binaryauthorization/v1/binauthzmanagementservicev1client/listattestors/AsyncListAttestors.java b/java-binary-authorization/samples/snippets/generated/com/google/protos/google/cloud/binaryauthorization/v1/binauthzmanagementservicev1/listattestors/AsyncListAttestors.java similarity index 92% rename from java-binary-authorization/samples/snippets/generated/com/google/protos/google/cloud/binaryauthorization/v1/binauthzmanagementservicev1client/listattestors/AsyncListAttestors.java rename to java-binary-authorization/samples/snippets/generated/com/google/protos/google/cloud/binaryauthorization/v1/binauthzmanagementservicev1/listattestors/AsyncListAttestors.java index 799ffae42c90..fa974543c3f0 100644 --- a/java-binary-authorization/samples/snippets/generated/com/google/protos/google/cloud/binaryauthorization/v1/binauthzmanagementservicev1client/listattestors/AsyncListAttestors.java +++ b/java-binary-authorization/samples/snippets/generated/com/google/protos/google/cloud/binaryauthorization/v1/binauthzmanagementservicev1/listattestors/AsyncListAttestors.java @@ -16,7 +16,7 @@ package com.google.protos.google.cloud.binaryauthorization.v1.samples; -// [START binaryauthorization_v1_generated_binauthzmanagementservicev1client_listattestors_async] +// [START binaryauthorization_v1_generated_BinauthzManagementServiceV1_ListAttestors_async] import com.google.api.core.ApiFuture; import com.google.protos.google.cloud.binaryauthorization.v1.BinauthzManagementServiceV1Client; import com.google.protos.google.cloud.binaryauthorization.v1.ProjectName; @@ -52,4 +52,4 @@ public static void asyncListAttestors() throws Exception { } } } -// [END binaryauthorization_v1_generated_binauthzmanagementservicev1client_listattestors_async] +// [END binaryauthorization_v1_generated_BinauthzManagementServiceV1_ListAttestors_async] diff --git a/java-binary-authorization/samples/snippets/generated/com/google/protos/google/cloud/binaryauthorization/v1/binauthzmanagementservicev1client/listattestors/AsyncListAttestorsPaged.java b/java-binary-authorization/samples/snippets/generated/com/google/protos/google/cloud/binaryauthorization/v1/binauthzmanagementservicev1/listattestors/AsyncListAttestorsPaged.java similarity index 92% rename from java-binary-authorization/samples/snippets/generated/com/google/protos/google/cloud/binaryauthorization/v1/binauthzmanagementservicev1client/listattestors/AsyncListAttestorsPaged.java rename to java-binary-authorization/samples/snippets/generated/com/google/protos/google/cloud/binaryauthorization/v1/binauthzmanagementservicev1/listattestors/AsyncListAttestorsPaged.java index 1e4027b3d6ec..301ae780da3f 100644 --- a/java-binary-authorization/samples/snippets/generated/com/google/protos/google/cloud/binaryauthorization/v1/binauthzmanagementservicev1client/listattestors/AsyncListAttestorsPaged.java +++ b/java-binary-authorization/samples/snippets/generated/com/google/protos/google/cloud/binaryauthorization/v1/binauthzmanagementservicev1/listattestors/AsyncListAttestorsPaged.java @@ -16,7 +16,7 @@ package com.google.protos.google.cloud.binaryauthorization.v1.samples; -// [START binaryauthorization_v1_generated_binauthzmanagementservicev1client_listattestors_paged_async] +// [START binaryauthorization_v1_generated_BinauthzManagementServiceV1_ListAttestors_Paged_async] import com.google.common.base.Strings; import com.google.protos.google.cloud.binaryauthorization.v1.BinauthzManagementServiceV1Client; import com.google.protos.google.cloud.binaryauthorization.v1.ProjectName; @@ -59,4 +59,4 @@ public static void asyncListAttestorsPaged() throws Exception { } } } -// [END binaryauthorization_v1_generated_binauthzmanagementservicev1client_listattestors_paged_async] +// [END binaryauthorization_v1_generated_BinauthzManagementServiceV1_ListAttestors_Paged_async] diff --git a/java-binary-authorization/samples/snippets/generated/com/google/protos/google/cloud/binaryauthorization/v1/binauthzmanagementservicev1client/listattestors/SyncListAttestors.java b/java-binary-authorization/samples/snippets/generated/com/google/protos/google/cloud/binaryauthorization/v1/binauthzmanagementservicev1/listattestors/SyncListAttestors.java similarity index 91% rename from java-binary-authorization/samples/snippets/generated/com/google/protos/google/cloud/binaryauthorization/v1/binauthzmanagementservicev1client/listattestors/SyncListAttestors.java rename to java-binary-authorization/samples/snippets/generated/com/google/protos/google/cloud/binaryauthorization/v1/binauthzmanagementservicev1/listattestors/SyncListAttestors.java index 54b2f6e59473..93f38556f6c6 100644 --- a/java-binary-authorization/samples/snippets/generated/com/google/protos/google/cloud/binaryauthorization/v1/binauthzmanagementservicev1client/listattestors/SyncListAttestors.java +++ b/java-binary-authorization/samples/snippets/generated/com/google/protos/google/cloud/binaryauthorization/v1/binauthzmanagementservicev1/listattestors/SyncListAttestors.java @@ -16,7 +16,7 @@ package com.google.protos.google.cloud.binaryauthorization.v1.samples; -// [START binaryauthorization_v1_generated_binauthzmanagementservicev1client_listattestors_sync] +// [START binaryauthorization_v1_generated_BinauthzManagementServiceV1_ListAttestors_sync] import com.google.protos.google.cloud.binaryauthorization.v1.BinauthzManagementServiceV1Client; import com.google.protos.google.cloud.binaryauthorization.v1.ProjectName; import com.google.protos.google.cloud.binaryauthorization.v1.Resources; @@ -49,4 +49,4 @@ public static void syncListAttestors() throws Exception { } } } -// [END binaryauthorization_v1_generated_binauthzmanagementservicev1client_listattestors_sync] +// [END binaryauthorization_v1_generated_BinauthzManagementServiceV1_ListAttestors_sync] diff --git a/java-binary-authorization/samples/snippets/generated/com/google/protos/google/cloud/binaryauthorization/v1/binauthzmanagementservicev1client/listattestors/SyncListAttestorsProjectname.java b/java-binary-authorization/samples/snippets/generated/com/google/protos/google/cloud/binaryauthorization/v1/binauthzmanagementservicev1/listattestors/SyncListAttestorsProjectname.java similarity index 89% rename from java-binary-authorization/samples/snippets/generated/com/google/protos/google/cloud/binaryauthorization/v1/binauthzmanagementservicev1client/listattestors/SyncListAttestorsProjectname.java rename to java-binary-authorization/samples/snippets/generated/com/google/protos/google/cloud/binaryauthorization/v1/binauthzmanagementservicev1/listattestors/SyncListAttestorsProjectname.java index a4358095092c..97c68a56c56b 100644 --- a/java-binary-authorization/samples/snippets/generated/com/google/protos/google/cloud/binaryauthorization/v1/binauthzmanagementservicev1client/listattestors/SyncListAttestorsProjectname.java +++ b/java-binary-authorization/samples/snippets/generated/com/google/protos/google/cloud/binaryauthorization/v1/binauthzmanagementservicev1/listattestors/SyncListAttestorsProjectname.java @@ -16,7 +16,7 @@ package com.google.protos.google.cloud.binaryauthorization.v1.samples; -// [START binaryauthorization_v1_generated_binauthzmanagementservicev1client_listattestors_projectname_sync] +// [START binaryauthorization_v1_generated_BinauthzManagementServiceV1_ListAttestors_Projectname_sync] import com.google.protos.google.cloud.binaryauthorization.v1.BinauthzManagementServiceV1Client; import com.google.protos.google.cloud.binaryauthorization.v1.ProjectName; import com.google.protos.google.cloud.binaryauthorization.v1.Resources; @@ -43,4 +43,4 @@ public static void syncListAttestorsProjectname() throws Exception { } } } -// [END binaryauthorization_v1_generated_binauthzmanagementservicev1client_listattestors_projectname_sync] +// [END binaryauthorization_v1_generated_BinauthzManagementServiceV1_ListAttestors_Projectname_sync] diff --git a/java-binary-authorization/samples/snippets/generated/com/google/protos/google/cloud/binaryauthorization/v1/binauthzmanagementservicev1client/listattestors/SyncListAttestorsString.java b/java-binary-authorization/samples/snippets/generated/com/google/protos/google/cloud/binaryauthorization/v1/binauthzmanagementservicev1/listattestors/SyncListAttestorsString.java similarity index 90% rename from java-binary-authorization/samples/snippets/generated/com/google/protos/google/cloud/binaryauthorization/v1/binauthzmanagementservicev1client/listattestors/SyncListAttestorsString.java rename to java-binary-authorization/samples/snippets/generated/com/google/protos/google/cloud/binaryauthorization/v1/binauthzmanagementservicev1/listattestors/SyncListAttestorsString.java index 8d1d8f033441..7d55fcae7096 100644 --- a/java-binary-authorization/samples/snippets/generated/com/google/protos/google/cloud/binaryauthorization/v1/binauthzmanagementservicev1client/listattestors/SyncListAttestorsString.java +++ b/java-binary-authorization/samples/snippets/generated/com/google/protos/google/cloud/binaryauthorization/v1/binauthzmanagementservicev1/listattestors/SyncListAttestorsString.java @@ -16,7 +16,7 @@ package com.google.protos.google.cloud.binaryauthorization.v1.samples; -// [START binaryauthorization_v1_generated_binauthzmanagementservicev1client_listattestors_string_sync] +// [START binaryauthorization_v1_generated_BinauthzManagementServiceV1_ListAttestors_String_sync] import com.google.protos.google.cloud.binaryauthorization.v1.BinauthzManagementServiceV1Client; import com.google.protos.google.cloud.binaryauthorization.v1.ProjectName; import com.google.protos.google.cloud.binaryauthorization.v1.Resources; @@ -43,4 +43,4 @@ public static void syncListAttestorsString() throws Exception { } } } -// [END binaryauthorization_v1_generated_binauthzmanagementservicev1client_listattestors_string_sync] +// [END binaryauthorization_v1_generated_BinauthzManagementServiceV1_ListAttestors_String_sync] diff --git a/java-binary-authorization/samples/snippets/generated/com/google/protos/google/cloud/binaryauthorization/v1/binauthzmanagementservicev1client/updateattestor/AsyncUpdateAttestor.java b/java-binary-authorization/samples/snippets/generated/com/google/protos/google/cloud/binaryauthorization/v1/binauthzmanagementservicev1/updateattestor/AsyncUpdateAttestor.java similarity index 91% rename from java-binary-authorization/samples/snippets/generated/com/google/protos/google/cloud/binaryauthorization/v1/binauthzmanagementservicev1client/updateattestor/AsyncUpdateAttestor.java rename to java-binary-authorization/samples/snippets/generated/com/google/protos/google/cloud/binaryauthorization/v1/binauthzmanagementservicev1/updateattestor/AsyncUpdateAttestor.java index cc7e5e3f7e95..eaeb911084a7 100644 --- a/java-binary-authorization/samples/snippets/generated/com/google/protos/google/cloud/binaryauthorization/v1/binauthzmanagementservicev1client/updateattestor/AsyncUpdateAttestor.java +++ b/java-binary-authorization/samples/snippets/generated/com/google/protos/google/cloud/binaryauthorization/v1/binauthzmanagementservicev1/updateattestor/AsyncUpdateAttestor.java @@ -16,7 +16,7 @@ package com.google.protos.google.cloud.binaryauthorization.v1.samples; -// [START binaryauthorization_v1_generated_binauthzmanagementservicev1client_updateattestor_async] +// [START binaryauthorization_v1_generated_BinauthzManagementServiceV1_UpdateAttestor_async] import com.google.api.core.ApiFuture; import com.google.protos.google.cloud.binaryauthorization.v1.BinauthzManagementServiceV1Client; import com.google.protos.google.cloud.binaryauthorization.v1.Resources; @@ -47,4 +47,4 @@ public static void asyncUpdateAttestor() throws Exception { } } } -// [END binaryauthorization_v1_generated_binauthzmanagementservicev1client_updateattestor_async] +// [END binaryauthorization_v1_generated_BinauthzManagementServiceV1_UpdateAttestor_async] diff --git a/java-binary-authorization/samples/snippets/generated/com/google/protos/google/cloud/binaryauthorization/v1/binauthzmanagementservicev1client/updateattestor/SyncUpdateAttestor.java b/java-binary-authorization/samples/snippets/generated/com/google/protos/google/cloud/binaryauthorization/v1/binauthzmanagementservicev1/updateattestor/SyncUpdateAttestor.java similarity index 90% rename from java-binary-authorization/samples/snippets/generated/com/google/protos/google/cloud/binaryauthorization/v1/binauthzmanagementservicev1client/updateattestor/SyncUpdateAttestor.java rename to java-binary-authorization/samples/snippets/generated/com/google/protos/google/cloud/binaryauthorization/v1/binauthzmanagementservicev1/updateattestor/SyncUpdateAttestor.java index 9f01816ebf0e..513a3f3e84b5 100644 --- a/java-binary-authorization/samples/snippets/generated/com/google/protos/google/cloud/binaryauthorization/v1/binauthzmanagementservicev1client/updateattestor/SyncUpdateAttestor.java +++ b/java-binary-authorization/samples/snippets/generated/com/google/protos/google/cloud/binaryauthorization/v1/binauthzmanagementservicev1/updateattestor/SyncUpdateAttestor.java @@ -16,7 +16,7 @@ package com.google.protos.google.cloud.binaryauthorization.v1.samples; -// [START binaryauthorization_v1_generated_binauthzmanagementservicev1client_updateattestor_sync] +// [START binaryauthorization_v1_generated_BinauthzManagementServiceV1_UpdateAttestor_sync] import com.google.protos.google.cloud.binaryauthorization.v1.BinauthzManagementServiceV1Client; import com.google.protos.google.cloud.binaryauthorization.v1.Resources; import com.google.protos.google.cloud.binaryauthorization.v1.Service; @@ -43,4 +43,4 @@ public static void syncUpdateAttestor() throws Exception { } } } -// [END binaryauthorization_v1_generated_binauthzmanagementservicev1client_updateattestor_sync] +// [END binaryauthorization_v1_generated_BinauthzManagementServiceV1_UpdateAttestor_sync] diff --git a/java-binary-authorization/samples/snippets/generated/com/google/protos/google/cloud/binaryauthorization/v1/binauthzmanagementservicev1client/updateattestor/SyncUpdateAttestorResourcesattestor.java b/java-binary-authorization/samples/snippets/generated/com/google/protos/google/cloud/binaryauthorization/v1/binauthzmanagementservicev1/updateattestor/SyncUpdateAttestorResourcesattestor.java similarity index 88% rename from java-binary-authorization/samples/snippets/generated/com/google/protos/google/cloud/binaryauthorization/v1/binauthzmanagementservicev1client/updateattestor/SyncUpdateAttestorResourcesattestor.java rename to java-binary-authorization/samples/snippets/generated/com/google/protos/google/cloud/binaryauthorization/v1/binauthzmanagementservicev1/updateattestor/SyncUpdateAttestorResourcesattestor.java index 3e133dec5709..328ae2dc6ee8 100644 --- a/java-binary-authorization/samples/snippets/generated/com/google/protos/google/cloud/binaryauthorization/v1/binauthzmanagementservicev1client/updateattestor/SyncUpdateAttestorResourcesattestor.java +++ b/java-binary-authorization/samples/snippets/generated/com/google/protos/google/cloud/binaryauthorization/v1/binauthzmanagementservicev1/updateattestor/SyncUpdateAttestorResourcesattestor.java @@ -16,7 +16,7 @@ package com.google.protos.google.cloud.binaryauthorization.v1.samples; -// [START binaryauthorization_v1_generated_binauthzmanagementservicev1client_updateattestor_resourcesattestor_sync] +// [START binaryauthorization_v1_generated_BinauthzManagementServiceV1_UpdateAttestor_Resourcesattestor_sync] import com.google.protos.google.cloud.binaryauthorization.v1.BinauthzManagementServiceV1Client; import com.google.protos.google.cloud.binaryauthorization.v1.Resources; @@ -39,4 +39,4 @@ public static void syncUpdateAttestorResourcesattestor() throws Exception { } } } -// [END binaryauthorization_v1_generated_binauthzmanagementservicev1client_updateattestor_resourcesattestor_sync] +// [END binaryauthorization_v1_generated_BinauthzManagementServiceV1_UpdateAttestor_Resourcesattestor_sync] diff --git a/java-binary-authorization/samples/snippets/generated/com/google/protos/google/cloud/binaryauthorization/v1/binauthzmanagementservicev1client/updatepolicy/AsyncUpdatePolicy.java b/java-binary-authorization/samples/snippets/generated/com/google/protos/google/cloud/binaryauthorization/v1/binauthzmanagementservicev1/updatepolicy/AsyncUpdatePolicy.java similarity index 91% rename from java-binary-authorization/samples/snippets/generated/com/google/protos/google/cloud/binaryauthorization/v1/binauthzmanagementservicev1client/updatepolicy/AsyncUpdatePolicy.java rename to java-binary-authorization/samples/snippets/generated/com/google/protos/google/cloud/binaryauthorization/v1/binauthzmanagementservicev1/updatepolicy/AsyncUpdatePolicy.java index 7197481f3c9d..02d0f720e439 100644 --- a/java-binary-authorization/samples/snippets/generated/com/google/protos/google/cloud/binaryauthorization/v1/binauthzmanagementservicev1client/updatepolicy/AsyncUpdatePolicy.java +++ b/java-binary-authorization/samples/snippets/generated/com/google/protos/google/cloud/binaryauthorization/v1/binauthzmanagementservicev1/updatepolicy/AsyncUpdatePolicy.java @@ -16,7 +16,7 @@ package com.google.protos.google.cloud.binaryauthorization.v1.samples; -// [START binaryauthorization_v1_generated_binauthzmanagementservicev1client_updatepolicy_async] +// [START binaryauthorization_v1_generated_BinauthzManagementServiceV1_UpdatePolicy_async] import com.google.api.core.ApiFuture; import com.google.protos.google.cloud.binaryauthorization.v1.BinauthzManagementServiceV1Client; import com.google.protos.google.cloud.binaryauthorization.v1.Resources; @@ -47,4 +47,4 @@ public static void asyncUpdatePolicy() throws Exception { } } } -// [END binaryauthorization_v1_generated_binauthzmanagementservicev1client_updatepolicy_async] +// [END binaryauthorization_v1_generated_BinauthzManagementServiceV1_UpdatePolicy_async] diff --git a/java-binary-authorization/samples/snippets/generated/com/google/protos/google/cloud/binaryauthorization/v1/binauthzmanagementservicev1client/updatepolicy/SyncUpdatePolicy.java b/java-binary-authorization/samples/snippets/generated/com/google/protos/google/cloud/binaryauthorization/v1/binauthzmanagementservicev1/updatepolicy/SyncUpdatePolicy.java similarity index 90% rename from java-binary-authorization/samples/snippets/generated/com/google/protos/google/cloud/binaryauthorization/v1/binauthzmanagementservicev1client/updatepolicy/SyncUpdatePolicy.java rename to java-binary-authorization/samples/snippets/generated/com/google/protos/google/cloud/binaryauthorization/v1/binauthzmanagementservicev1/updatepolicy/SyncUpdatePolicy.java index 342f3b23d47c..98d854b0d6d2 100644 --- a/java-binary-authorization/samples/snippets/generated/com/google/protos/google/cloud/binaryauthorization/v1/binauthzmanagementservicev1client/updatepolicy/SyncUpdatePolicy.java +++ b/java-binary-authorization/samples/snippets/generated/com/google/protos/google/cloud/binaryauthorization/v1/binauthzmanagementservicev1/updatepolicy/SyncUpdatePolicy.java @@ -16,7 +16,7 @@ package com.google.protos.google.cloud.binaryauthorization.v1.samples; -// [START binaryauthorization_v1_generated_binauthzmanagementservicev1client_updatepolicy_sync] +// [START binaryauthorization_v1_generated_BinauthzManagementServiceV1_UpdatePolicy_sync] import com.google.protos.google.cloud.binaryauthorization.v1.BinauthzManagementServiceV1Client; import com.google.protos.google.cloud.binaryauthorization.v1.Resources; import com.google.protos.google.cloud.binaryauthorization.v1.Service; @@ -43,4 +43,4 @@ public static void syncUpdatePolicy() throws Exception { } } } -// [END binaryauthorization_v1_generated_binauthzmanagementservicev1client_updatepolicy_sync] +// [END binaryauthorization_v1_generated_BinauthzManagementServiceV1_UpdatePolicy_sync] diff --git a/java-binary-authorization/samples/snippets/generated/com/google/protos/google/cloud/binaryauthorization/v1/binauthzmanagementservicev1client/updatepolicy/SyncUpdatePolicyResourcespolicy.java b/java-binary-authorization/samples/snippets/generated/com/google/protos/google/cloud/binaryauthorization/v1/binauthzmanagementservicev1/updatepolicy/SyncUpdatePolicyResourcespolicy.java similarity index 88% rename from java-binary-authorization/samples/snippets/generated/com/google/protos/google/cloud/binaryauthorization/v1/binauthzmanagementservicev1client/updatepolicy/SyncUpdatePolicyResourcespolicy.java rename to java-binary-authorization/samples/snippets/generated/com/google/protos/google/cloud/binaryauthorization/v1/binauthzmanagementservicev1/updatepolicy/SyncUpdatePolicyResourcespolicy.java index 05d9eaef4ab3..5023977c3ecf 100644 --- a/java-binary-authorization/samples/snippets/generated/com/google/protos/google/cloud/binaryauthorization/v1/binauthzmanagementservicev1client/updatepolicy/SyncUpdatePolicyResourcespolicy.java +++ b/java-binary-authorization/samples/snippets/generated/com/google/protos/google/cloud/binaryauthorization/v1/binauthzmanagementservicev1/updatepolicy/SyncUpdatePolicyResourcespolicy.java @@ -16,7 +16,7 @@ package com.google.protos.google.cloud.binaryauthorization.v1.samples; -// [START binaryauthorization_v1_generated_binauthzmanagementservicev1client_updatepolicy_resourcespolicy_sync] +// [START binaryauthorization_v1_generated_BinauthzManagementServiceV1_UpdatePolicy_Resourcespolicy_sync] import com.google.protos.google.cloud.binaryauthorization.v1.BinauthzManagementServiceV1Client; import com.google.protos.google.cloud.binaryauthorization.v1.Resources; @@ -39,4 +39,4 @@ public static void syncUpdatePolicyResourcespolicy() throws Exception { } } } -// [END binaryauthorization_v1_generated_binauthzmanagementservicev1client_updatepolicy_resourcespolicy_sync] +// [END binaryauthorization_v1_generated_BinauthzManagementServiceV1_UpdatePolicy_Resourcespolicy_sync] diff --git a/java-binary-authorization/samples/snippets/generated/com/google/protos/google/cloud/binaryauthorization/v1/binauthzmanagementservicev1settings/getpolicy/SyncGetPolicy.java b/java-binary-authorization/samples/snippets/generated/com/google/protos/google/cloud/binaryauthorization/v1/binauthzmanagementservicev1settings/getpolicy/SyncGetPolicy.java index 7155ab0b8be2..00e0eb400431 100644 --- a/java-binary-authorization/samples/snippets/generated/com/google/protos/google/cloud/binaryauthorization/v1/binauthzmanagementservicev1settings/getpolicy/SyncGetPolicy.java +++ b/java-binary-authorization/samples/snippets/generated/com/google/protos/google/cloud/binaryauthorization/v1/binauthzmanagementservicev1settings/getpolicy/SyncGetPolicy.java @@ -16,7 +16,7 @@ package com.google.protos.google.cloud.binaryauthorization.v1.samples; -// [START binaryauthorization_v1_generated_binauthzmanagementservicev1settings_getpolicy_sync] +// [START binaryauthorization_v1_generated_BinauthzManagementServiceV1Settings_GetPolicy_sync] import com.google.protos.google.cloud.binaryauthorization.v1.BinauthzManagementServiceV1Settings; import java.time.Duration; @@ -47,4 +47,4 @@ public static void syncGetPolicy() throws Exception { binauthzManagementServiceV1SettingsBuilder.build(); } } -// [END binaryauthorization_v1_generated_binauthzmanagementservicev1settings_getpolicy_sync] +// [END binaryauthorization_v1_generated_BinauthzManagementServiceV1Settings_GetPolicy_sync] diff --git a/java-binary-authorization/samples/snippets/generated/com/google/protos/google/cloud/binaryauthorization/v1/stub/binauthzmanagementservicev1stubsettings/getpolicy/SyncGetPolicy.java b/java-binary-authorization/samples/snippets/generated/com/google/protos/google/cloud/binaryauthorization/v1/stub/binauthzmanagementservicev1stubsettings/getpolicy/SyncGetPolicy.java index 0c8f3f47d308..4a67ce5b988c 100644 --- a/java-binary-authorization/samples/snippets/generated/com/google/protos/google/cloud/binaryauthorization/v1/stub/binauthzmanagementservicev1stubsettings/getpolicy/SyncGetPolicy.java +++ b/java-binary-authorization/samples/snippets/generated/com/google/protos/google/cloud/binaryauthorization/v1/stub/binauthzmanagementservicev1stubsettings/getpolicy/SyncGetPolicy.java @@ -16,7 +16,7 @@ package com.google.protos.google.cloud.binaryauthorization.v1.stub.samples; -// [START binaryauthorization_v1_generated_binauthzmanagementservicev1stubsettings_getpolicy_sync] +// [START binaryauthorization_v1_generated_BinauthzManagementServiceV1StubSettings_GetPolicy_sync] import com.google.protos.google.cloud.binaryauthorization.v1.stub.BinauthzManagementServiceV1StubSettings; import java.time.Duration; @@ -47,4 +47,4 @@ public static void syncGetPolicy() throws Exception { binauthzManagementServiceV1SettingsBuilder.build(); } } -// [END binaryauthorization_v1_generated_binauthzmanagementservicev1stubsettings_getpolicy_sync] +// [END binaryauthorization_v1_generated_BinauthzManagementServiceV1StubSettings_GetPolicy_sync] diff --git a/java-binary-authorization/samples/snippets/generated/com/google/protos/google/cloud/binaryauthorization/v1/stub/systempolicyv1stubsettings/getsystempolicy/SyncGetSystemPolicy.java b/java-binary-authorization/samples/snippets/generated/com/google/protos/google/cloud/binaryauthorization/v1/stub/systempolicyv1stubsettings/getsystempolicy/SyncGetSystemPolicy.java index 1f8cc38d0785..241ecdda74af 100644 --- a/java-binary-authorization/samples/snippets/generated/com/google/protos/google/cloud/binaryauthorization/v1/stub/systempolicyv1stubsettings/getsystempolicy/SyncGetSystemPolicy.java +++ b/java-binary-authorization/samples/snippets/generated/com/google/protos/google/cloud/binaryauthorization/v1/stub/systempolicyv1stubsettings/getsystempolicy/SyncGetSystemPolicy.java @@ -16,7 +16,7 @@ package com.google.protos.google.cloud.binaryauthorization.v1.stub.samples; -// [START binaryauthorization_v1_generated_systempolicyv1stubsettings_getsystempolicy_sync] +// [START binaryauthorization_v1_generated_SystemPolicyV1StubSettings_GetSystemPolicy_sync] import com.google.protos.google.cloud.binaryauthorization.v1.stub.SystemPolicyV1StubSettings; import java.time.Duration; @@ -43,4 +43,4 @@ public static void syncGetSystemPolicy() throws Exception { SystemPolicyV1StubSettings systemPolicyV1Settings = systemPolicyV1SettingsBuilder.build(); } } -// [END binaryauthorization_v1_generated_systempolicyv1stubsettings_getsystempolicy_sync] +// [END binaryauthorization_v1_generated_SystemPolicyV1StubSettings_GetSystemPolicy_sync] diff --git a/java-binary-authorization/samples/snippets/generated/com/google/protos/google/cloud/binaryauthorization/v1/stub/validationhelperv1stubsettings/validateattestationoccurrence/SyncValidateAttestationOccurrence.java b/java-binary-authorization/samples/snippets/generated/com/google/protos/google/cloud/binaryauthorization/v1/stub/validationhelperv1stubsettings/validateattestationoccurrence/SyncValidateAttestationOccurrence.java index 0ce560a27484..adfbe2d20ccc 100644 --- a/java-binary-authorization/samples/snippets/generated/com/google/protos/google/cloud/binaryauthorization/v1/stub/validationhelperv1stubsettings/validateattestationoccurrence/SyncValidateAttestationOccurrence.java +++ b/java-binary-authorization/samples/snippets/generated/com/google/protos/google/cloud/binaryauthorization/v1/stub/validationhelperv1stubsettings/validateattestationoccurrence/SyncValidateAttestationOccurrence.java @@ -16,7 +16,7 @@ package com.google.protos.google.cloud.binaryauthorization.v1.stub.samples; -// [START binaryauthorization_v1_generated_validationhelperv1stubsettings_validateattestationoccurrence_sync] +// [START binaryauthorization_v1_generated_ValidationHelperV1StubSettings_ValidateAttestationOccurrence_sync] import com.google.protos.google.cloud.binaryauthorization.v1.stub.ValidationHelperV1StubSettings; import java.time.Duration; @@ -47,4 +47,4 @@ public static void syncValidateAttestationOccurrence() throws Exception { validationHelperV1SettingsBuilder.build(); } } -// [END binaryauthorization_v1_generated_validationhelperv1stubsettings_validateattestationoccurrence_sync] +// [END binaryauthorization_v1_generated_ValidationHelperV1StubSettings_ValidateAttestationOccurrence_sync] diff --git a/java-binary-authorization/samples/snippets/generated/com/google/protos/google/cloud/binaryauthorization/v1/systempolicyv1client/create/SyncCreateSetCredentialsProvider.java b/java-binary-authorization/samples/snippets/generated/com/google/protos/google/cloud/binaryauthorization/v1/systempolicyv1/create/SyncCreateSetCredentialsProvider.java similarity index 90% rename from java-binary-authorization/samples/snippets/generated/com/google/protos/google/cloud/binaryauthorization/v1/systempolicyv1client/create/SyncCreateSetCredentialsProvider.java rename to java-binary-authorization/samples/snippets/generated/com/google/protos/google/cloud/binaryauthorization/v1/systempolicyv1/create/SyncCreateSetCredentialsProvider.java index 0a97b7f7026a..7ff7d792a9f9 100644 --- a/java-binary-authorization/samples/snippets/generated/com/google/protos/google/cloud/binaryauthorization/v1/systempolicyv1client/create/SyncCreateSetCredentialsProvider.java +++ b/java-binary-authorization/samples/snippets/generated/com/google/protos/google/cloud/binaryauthorization/v1/systempolicyv1/create/SyncCreateSetCredentialsProvider.java @@ -16,7 +16,7 @@ package com.google.protos.google.cloud.binaryauthorization.v1.samples; -// [START binaryauthorization_v1_generated_systempolicyv1client_create_setcredentialsprovider_sync] +// [START binaryauthorization_v1_generated_SystemPolicyV1_Create_SetCredentialsProvider_sync] import com.google.api.gax.core.FixedCredentialsProvider; import com.google.protos.google.cloud.binaryauthorization.v1.SystemPolicyV1Client; import com.google.protos.google.cloud.binaryauthorization.v1.SystemPolicyV1Settings; @@ -41,4 +41,4 @@ public static void syncCreateSetCredentialsProvider() throws Exception { SystemPolicyV1Client systemPolicyV1Client = SystemPolicyV1Client.create(systemPolicyV1Settings); } } -// [END binaryauthorization_v1_generated_systempolicyv1client_create_setcredentialsprovider_sync] +// [END binaryauthorization_v1_generated_SystemPolicyV1_Create_SetCredentialsProvider_sync] diff --git a/java-binary-authorization/samples/snippets/generated/com/google/protos/google/cloud/binaryauthorization/v1/systempolicyv1client/create/SyncCreateSetCredentialsProvider1.java b/java-binary-authorization/samples/snippets/generated/com/google/protos/google/cloud/binaryauthorization/v1/systempolicyv1/create/SyncCreateSetCredentialsProvider1.java similarity index 80% rename from java-binary-authorization/samples/snippets/generated/com/google/protos/google/cloud/binaryauthorization/v1/systempolicyv1client/create/SyncCreateSetCredentialsProvider1.java rename to java-binary-authorization/samples/snippets/generated/com/google/protos/google/cloud/binaryauthorization/v1/systempolicyv1/create/SyncCreateSetCredentialsProvider1.java index b118275d55c7..eaac08796553 100644 --- a/java-binary-authorization/samples/snippets/generated/com/google/protos/google/cloud/binaryauthorization/v1/systempolicyv1client/create/SyncCreateSetCredentialsProvider1.java +++ b/java-binary-authorization/samples/snippets/generated/com/google/protos/google/cloud/binaryauthorization/v1/systempolicyv1/create/SyncCreateSetCredentialsProvider1.java @@ -16,7 +16,7 @@ package com.google.protos.google.cloud.binaryauthorization.v1.samples; -// [START binaryauthorization_v1_generated_systempolicyv1client_create_setcredentialsprovider1_sync] +// [START binaryauthorization_v1_generated_SystemPolicyV1_Create_SetCredentialsProvider1_sync] import com.google.protos.google.cloud.binaryauthorization.v1.SystemPolicyV1Client; import com.google.protos.google.cloud.binaryauthorization.v1.SystemPolicyV1Settings; @@ -33,11 +33,8 @@ public static void syncCreateSetCredentialsProvider1() throws Exception { // - It may require specifying regional endpoints when creating the service client as shown in // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library SystemPolicyV1Settings systemPolicyV1Settings = - SystemPolicyV1Settings.newBuilder() - .setTransportChannelProvider( - SystemPolicyV1Settings.defaultHttpJsonTransportProviderBuilder().build()) - .build(); + SystemPolicyV1Settings.newHttpJsonBuilder().build(); SystemPolicyV1Client systemPolicyV1Client = SystemPolicyV1Client.create(systemPolicyV1Settings); } } -// [END binaryauthorization_v1_generated_systempolicyv1client_create_setcredentialsprovider1_sync] +// [END binaryauthorization_v1_generated_SystemPolicyV1_Create_SetCredentialsProvider1_sync] diff --git a/java-binary-authorization/samples/snippets/generated/com/google/protos/google/cloud/binaryauthorization/v1/systempolicyv1client/create/SyncCreateSetEndpoint.java b/java-binary-authorization/samples/snippets/generated/com/google/protos/google/cloud/binaryauthorization/v1/systempolicyv1/create/SyncCreateSetEndpoint.java similarity index 90% rename from java-binary-authorization/samples/snippets/generated/com/google/protos/google/cloud/binaryauthorization/v1/systempolicyv1client/create/SyncCreateSetEndpoint.java rename to java-binary-authorization/samples/snippets/generated/com/google/protos/google/cloud/binaryauthorization/v1/systempolicyv1/create/SyncCreateSetEndpoint.java index 75e502e6d642..16206d60a61e 100644 --- a/java-binary-authorization/samples/snippets/generated/com/google/protos/google/cloud/binaryauthorization/v1/systempolicyv1client/create/SyncCreateSetEndpoint.java +++ b/java-binary-authorization/samples/snippets/generated/com/google/protos/google/cloud/binaryauthorization/v1/systempolicyv1/create/SyncCreateSetEndpoint.java @@ -16,7 +16,7 @@ package com.google.protos.google.cloud.binaryauthorization.v1.samples; -// [START binaryauthorization_v1_generated_systempolicyv1client_create_setendpoint_sync] +// [START binaryauthorization_v1_generated_SystemPolicyV1_Create_SetEndpoint_sync] import com.google.protos.google.cloud.binaryauthorization.v1.SystemPolicyV1Client; import com.google.protos.google.cloud.binaryauthorization.v1.SystemPolicyV1Settings; import com.google.protos.google.cloud.binaryauthorization.v1.myEndpoint; @@ -38,4 +38,4 @@ public static void syncCreateSetEndpoint() throws Exception { SystemPolicyV1Client systemPolicyV1Client = SystemPolicyV1Client.create(systemPolicyV1Settings); } } -// [END binaryauthorization_v1_generated_systempolicyv1client_create_setendpoint_sync] +// [END binaryauthorization_v1_generated_SystemPolicyV1_Create_SetEndpoint_sync] diff --git a/java-binary-authorization/samples/snippets/generated/com/google/protos/google/cloud/binaryauthorization/v1/systempolicyv1client/getsystempolicy/AsyncGetSystemPolicy.java b/java-binary-authorization/samples/snippets/generated/com/google/protos/google/cloud/binaryauthorization/v1/systempolicyv1/getsystempolicy/AsyncGetSystemPolicy.java similarity index 92% rename from java-binary-authorization/samples/snippets/generated/com/google/protos/google/cloud/binaryauthorization/v1/systempolicyv1client/getsystempolicy/AsyncGetSystemPolicy.java rename to java-binary-authorization/samples/snippets/generated/com/google/protos/google/cloud/binaryauthorization/v1/systempolicyv1/getsystempolicy/AsyncGetSystemPolicy.java index 04dfc7cab41e..d8e2acfd059d 100644 --- a/java-binary-authorization/samples/snippets/generated/com/google/protos/google/cloud/binaryauthorization/v1/systempolicyv1client/getsystempolicy/AsyncGetSystemPolicy.java +++ b/java-binary-authorization/samples/snippets/generated/com/google/protos/google/cloud/binaryauthorization/v1/systempolicyv1/getsystempolicy/AsyncGetSystemPolicy.java @@ -16,7 +16,7 @@ package com.google.protos.google.cloud.binaryauthorization.v1.samples; -// [START binaryauthorization_v1_generated_systempolicyv1client_getsystempolicy_async] +// [START binaryauthorization_v1_generated_SystemPolicyV1_GetSystemPolicy_async] import com.google.api.core.ApiFuture; import com.google.protos.google.cloud.binaryauthorization.v1.PolicyName; import com.google.protos.google.cloud.binaryauthorization.v1.Resources; @@ -47,4 +47,4 @@ public static void asyncGetSystemPolicy() throws Exception { } } } -// [END binaryauthorization_v1_generated_systempolicyv1client_getsystempolicy_async] +// [END binaryauthorization_v1_generated_SystemPolicyV1_GetSystemPolicy_async] diff --git a/java-binary-authorization/samples/snippets/generated/com/google/protos/google/cloud/binaryauthorization/v1/systempolicyv1client/getsystempolicy/SyncGetSystemPolicy.java b/java-binary-authorization/samples/snippets/generated/com/google/protos/google/cloud/binaryauthorization/v1/systempolicyv1/getsystempolicy/SyncGetSystemPolicy.java similarity index 91% rename from java-binary-authorization/samples/snippets/generated/com/google/protos/google/cloud/binaryauthorization/v1/systempolicyv1client/getsystempolicy/SyncGetSystemPolicy.java rename to java-binary-authorization/samples/snippets/generated/com/google/protos/google/cloud/binaryauthorization/v1/systempolicyv1/getsystempolicy/SyncGetSystemPolicy.java index 05bed11c3fbc..b75ad78be9fb 100644 --- a/java-binary-authorization/samples/snippets/generated/com/google/protos/google/cloud/binaryauthorization/v1/systempolicyv1client/getsystempolicy/SyncGetSystemPolicy.java +++ b/java-binary-authorization/samples/snippets/generated/com/google/protos/google/cloud/binaryauthorization/v1/systempolicyv1/getsystempolicy/SyncGetSystemPolicy.java @@ -16,7 +16,7 @@ package com.google.protos.google.cloud.binaryauthorization.v1.samples; -// [START binaryauthorization_v1_generated_systempolicyv1client_getsystempolicy_sync] +// [START binaryauthorization_v1_generated_SystemPolicyV1_GetSystemPolicy_sync] import com.google.protos.google.cloud.binaryauthorization.v1.PolicyName; import com.google.protos.google.cloud.binaryauthorization.v1.Resources; import com.google.protos.google.cloud.binaryauthorization.v1.Service; @@ -43,4 +43,4 @@ public static void syncGetSystemPolicy() throws Exception { } } } -// [END binaryauthorization_v1_generated_systempolicyv1client_getsystempolicy_sync] +// [END binaryauthorization_v1_generated_SystemPolicyV1_GetSystemPolicy_sync] diff --git a/java-binary-authorization/samples/snippets/generated/com/google/protos/google/cloud/binaryauthorization/v1/systempolicyv1client/getsystempolicy/SyncGetSystemPolicyPolicyname.java b/java-binary-authorization/samples/snippets/generated/com/google/protos/google/cloud/binaryauthorization/v1/systempolicyv1/getsystempolicy/SyncGetSystemPolicyPolicyname.java similarity index 90% rename from java-binary-authorization/samples/snippets/generated/com/google/protos/google/cloud/binaryauthorization/v1/systempolicyv1client/getsystempolicy/SyncGetSystemPolicyPolicyname.java rename to java-binary-authorization/samples/snippets/generated/com/google/protos/google/cloud/binaryauthorization/v1/systempolicyv1/getsystempolicy/SyncGetSystemPolicyPolicyname.java index ed7f8a2f8d1f..2ad4e312af4e 100644 --- a/java-binary-authorization/samples/snippets/generated/com/google/protos/google/cloud/binaryauthorization/v1/systempolicyv1client/getsystempolicy/SyncGetSystemPolicyPolicyname.java +++ b/java-binary-authorization/samples/snippets/generated/com/google/protos/google/cloud/binaryauthorization/v1/systempolicyv1/getsystempolicy/SyncGetSystemPolicyPolicyname.java @@ -16,7 +16,7 @@ package com.google.protos.google.cloud.binaryauthorization.v1.samples; -// [START binaryauthorization_v1_generated_systempolicyv1client_getsystempolicy_policyname_sync] +// [START binaryauthorization_v1_generated_SystemPolicyV1_GetSystemPolicy_Policyname_sync] import com.google.protos.google.cloud.binaryauthorization.v1.PolicyName; import com.google.protos.google.cloud.binaryauthorization.v1.Resources; import com.google.protos.google.cloud.binaryauthorization.v1.SystemPolicyV1Client; @@ -39,4 +39,4 @@ public static void syncGetSystemPolicyPolicyname() throws Exception { } } } -// [END binaryauthorization_v1_generated_systempolicyv1client_getsystempolicy_policyname_sync] +// [END binaryauthorization_v1_generated_SystemPolicyV1_GetSystemPolicy_Policyname_sync] diff --git a/java-binary-authorization/samples/snippets/generated/com/google/protos/google/cloud/binaryauthorization/v1/systempolicyv1client/getsystempolicy/SyncGetSystemPolicyString.java b/java-binary-authorization/samples/snippets/generated/com/google/protos/google/cloud/binaryauthorization/v1/systempolicyv1/getsystempolicy/SyncGetSystemPolicyString.java similarity index 90% rename from java-binary-authorization/samples/snippets/generated/com/google/protos/google/cloud/binaryauthorization/v1/systempolicyv1client/getsystempolicy/SyncGetSystemPolicyString.java rename to java-binary-authorization/samples/snippets/generated/com/google/protos/google/cloud/binaryauthorization/v1/systempolicyv1/getsystempolicy/SyncGetSystemPolicyString.java index c1c65ba8eb23..f48e47c3a892 100644 --- a/java-binary-authorization/samples/snippets/generated/com/google/protos/google/cloud/binaryauthorization/v1/systempolicyv1client/getsystempolicy/SyncGetSystemPolicyString.java +++ b/java-binary-authorization/samples/snippets/generated/com/google/protos/google/cloud/binaryauthorization/v1/systempolicyv1/getsystempolicy/SyncGetSystemPolicyString.java @@ -16,7 +16,7 @@ package com.google.protos.google.cloud.binaryauthorization.v1.samples; -// [START binaryauthorization_v1_generated_systempolicyv1client_getsystempolicy_string_sync] +// [START binaryauthorization_v1_generated_SystemPolicyV1_GetSystemPolicy_String_sync] import com.google.protos.google.cloud.binaryauthorization.v1.PolicyName; import com.google.protos.google.cloud.binaryauthorization.v1.Resources; import com.google.protos.google.cloud.binaryauthorization.v1.SystemPolicyV1Client; @@ -39,4 +39,4 @@ public static void syncGetSystemPolicyString() throws Exception { } } } -// [END binaryauthorization_v1_generated_systempolicyv1client_getsystempolicy_string_sync] +// [END binaryauthorization_v1_generated_SystemPolicyV1_GetSystemPolicy_String_sync] diff --git a/java-binary-authorization/samples/snippets/generated/com/google/protos/google/cloud/binaryauthorization/v1/systempolicyv1settings/getsystempolicy/SyncGetSystemPolicy.java b/java-binary-authorization/samples/snippets/generated/com/google/protos/google/cloud/binaryauthorization/v1/systempolicyv1settings/getsystempolicy/SyncGetSystemPolicy.java index 85a1adce9af2..0a2e5012cf82 100644 --- a/java-binary-authorization/samples/snippets/generated/com/google/protos/google/cloud/binaryauthorization/v1/systempolicyv1settings/getsystempolicy/SyncGetSystemPolicy.java +++ b/java-binary-authorization/samples/snippets/generated/com/google/protos/google/cloud/binaryauthorization/v1/systempolicyv1settings/getsystempolicy/SyncGetSystemPolicy.java @@ -16,7 +16,7 @@ package com.google.protos.google.cloud.binaryauthorization.v1.samples; -// [START binaryauthorization_v1_generated_systempolicyv1settings_getsystempolicy_sync] +// [START binaryauthorization_v1_generated_SystemPolicyV1Settings_GetSystemPolicy_sync] import com.google.protos.google.cloud.binaryauthorization.v1.SystemPolicyV1Settings; import java.time.Duration; @@ -43,4 +43,4 @@ public static void syncGetSystemPolicy() throws Exception { SystemPolicyV1Settings systemPolicyV1Settings = systemPolicyV1SettingsBuilder.build(); } } -// [END binaryauthorization_v1_generated_systempolicyv1settings_getsystempolicy_sync] +// [END binaryauthorization_v1_generated_SystemPolicyV1Settings_GetSystemPolicy_sync] diff --git a/java-binary-authorization/samples/snippets/generated/com/google/protos/google/cloud/binaryauthorization/v1/validationhelperv1client/create/SyncCreateSetCredentialsProvider.java b/java-binary-authorization/samples/snippets/generated/com/google/protos/google/cloud/binaryauthorization/v1/validationhelperv1/create/SyncCreateSetCredentialsProvider.java similarity index 90% rename from java-binary-authorization/samples/snippets/generated/com/google/protos/google/cloud/binaryauthorization/v1/validationhelperv1client/create/SyncCreateSetCredentialsProvider.java rename to java-binary-authorization/samples/snippets/generated/com/google/protos/google/cloud/binaryauthorization/v1/validationhelperv1/create/SyncCreateSetCredentialsProvider.java index f15953adb9b8..d2f0537162b3 100644 --- a/java-binary-authorization/samples/snippets/generated/com/google/protos/google/cloud/binaryauthorization/v1/validationhelperv1client/create/SyncCreateSetCredentialsProvider.java +++ b/java-binary-authorization/samples/snippets/generated/com/google/protos/google/cloud/binaryauthorization/v1/validationhelperv1/create/SyncCreateSetCredentialsProvider.java @@ -16,7 +16,7 @@ package com.google.protos.google.cloud.binaryauthorization.v1.samples; -// [START binaryauthorization_v1_generated_validationhelperv1client_create_setcredentialsprovider_sync] +// [START binaryauthorization_v1_generated_ValidationHelperV1_Create_SetCredentialsProvider_sync] import com.google.api.gax.core.FixedCredentialsProvider; import com.google.protos.google.cloud.binaryauthorization.v1.ValidationHelperV1Client; import com.google.protos.google.cloud.binaryauthorization.v1.ValidationHelperV1Settings; @@ -42,4 +42,4 @@ public static void syncCreateSetCredentialsProvider() throws Exception { ValidationHelperV1Client.create(validationHelperV1Settings); } } -// [END binaryauthorization_v1_generated_validationhelperv1client_create_setcredentialsprovider_sync] +// [END binaryauthorization_v1_generated_ValidationHelperV1_Create_SetCredentialsProvider_sync] diff --git a/java-binary-authorization/samples/snippets/generated/com/google/protos/google/cloud/binaryauthorization/v1/validationhelperv1client/create/SyncCreateSetCredentialsProvider1.java b/java-binary-authorization/samples/snippets/generated/com/google/protos/google/cloud/binaryauthorization/v1/validationhelperv1/create/SyncCreateSetCredentialsProvider1.java similarity index 80% rename from java-binary-authorization/samples/snippets/generated/com/google/protos/google/cloud/binaryauthorization/v1/validationhelperv1client/create/SyncCreateSetCredentialsProvider1.java rename to java-binary-authorization/samples/snippets/generated/com/google/protos/google/cloud/binaryauthorization/v1/validationhelperv1/create/SyncCreateSetCredentialsProvider1.java index 01c63f5dd805..a663fa2975a0 100644 --- a/java-binary-authorization/samples/snippets/generated/com/google/protos/google/cloud/binaryauthorization/v1/validationhelperv1client/create/SyncCreateSetCredentialsProvider1.java +++ b/java-binary-authorization/samples/snippets/generated/com/google/protos/google/cloud/binaryauthorization/v1/validationhelperv1/create/SyncCreateSetCredentialsProvider1.java @@ -16,7 +16,7 @@ package com.google.protos.google.cloud.binaryauthorization.v1.samples; -// [START binaryauthorization_v1_generated_validationhelperv1client_create_setcredentialsprovider1_sync] +// [START binaryauthorization_v1_generated_ValidationHelperV1_Create_SetCredentialsProvider1_sync] import com.google.protos.google.cloud.binaryauthorization.v1.ValidationHelperV1Client; import com.google.protos.google.cloud.binaryauthorization.v1.ValidationHelperV1Settings; @@ -33,12 +33,9 @@ public static void syncCreateSetCredentialsProvider1() throws Exception { // - It may require specifying regional endpoints when creating the service client as shown in // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library ValidationHelperV1Settings validationHelperV1Settings = - ValidationHelperV1Settings.newBuilder() - .setTransportChannelProvider( - ValidationHelperV1Settings.defaultHttpJsonTransportProviderBuilder().build()) - .build(); + ValidationHelperV1Settings.newHttpJsonBuilder().build(); ValidationHelperV1Client validationHelperV1Client = ValidationHelperV1Client.create(validationHelperV1Settings); } } -// [END binaryauthorization_v1_generated_validationhelperv1client_create_setcredentialsprovider1_sync] +// [END binaryauthorization_v1_generated_ValidationHelperV1_Create_SetCredentialsProvider1_sync] diff --git a/java-binary-authorization/samples/snippets/generated/com/google/protos/google/cloud/binaryauthorization/v1/validationhelperv1client/create/SyncCreateSetEndpoint.java b/java-binary-authorization/samples/snippets/generated/com/google/protos/google/cloud/binaryauthorization/v1/validationhelperv1/create/SyncCreateSetEndpoint.java similarity index 90% rename from java-binary-authorization/samples/snippets/generated/com/google/protos/google/cloud/binaryauthorization/v1/validationhelperv1client/create/SyncCreateSetEndpoint.java rename to java-binary-authorization/samples/snippets/generated/com/google/protos/google/cloud/binaryauthorization/v1/validationhelperv1/create/SyncCreateSetEndpoint.java index c1407926aac1..e222b0db2b7f 100644 --- a/java-binary-authorization/samples/snippets/generated/com/google/protos/google/cloud/binaryauthorization/v1/validationhelperv1client/create/SyncCreateSetEndpoint.java +++ b/java-binary-authorization/samples/snippets/generated/com/google/protos/google/cloud/binaryauthorization/v1/validationhelperv1/create/SyncCreateSetEndpoint.java @@ -16,7 +16,7 @@ package com.google.protos.google.cloud.binaryauthorization.v1.samples; -// [START binaryauthorization_v1_generated_validationhelperv1client_create_setendpoint_sync] +// [START binaryauthorization_v1_generated_ValidationHelperV1_Create_SetEndpoint_sync] import com.google.protos.google.cloud.binaryauthorization.v1.ValidationHelperV1Client; import com.google.protos.google.cloud.binaryauthorization.v1.ValidationHelperV1Settings; import com.google.protos.google.cloud.binaryauthorization.v1.myEndpoint; @@ -39,4 +39,4 @@ public static void syncCreateSetEndpoint() throws Exception { ValidationHelperV1Client.create(validationHelperV1Settings); } } -// [END binaryauthorization_v1_generated_validationhelperv1client_create_setendpoint_sync] +// [END binaryauthorization_v1_generated_ValidationHelperV1_Create_SetEndpoint_sync] diff --git a/java-binary-authorization/samples/snippets/generated/com/google/protos/google/cloud/binaryauthorization/v1/validationhelperv1client/validateattestationoccurrence/AsyncValidateAttestationOccurrence.java b/java-binary-authorization/samples/snippets/generated/com/google/protos/google/cloud/binaryauthorization/v1/validationhelperv1/validateattestationoccurrence/AsyncValidateAttestationOccurrence.java similarity index 91% rename from java-binary-authorization/samples/snippets/generated/com/google/protos/google/cloud/binaryauthorization/v1/validationhelperv1client/validateattestationoccurrence/AsyncValidateAttestationOccurrence.java rename to java-binary-authorization/samples/snippets/generated/com/google/protos/google/cloud/binaryauthorization/v1/validationhelperv1/validateattestationoccurrence/AsyncValidateAttestationOccurrence.java index c49fdf502758..ddca0ba68d3c 100644 --- a/java-binary-authorization/samples/snippets/generated/com/google/protos/google/cloud/binaryauthorization/v1/validationhelperv1client/validateattestationoccurrence/AsyncValidateAttestationOccurrence.java +++ b/java-binary-authorization/samples/snippets/generated/com/google/protos/google/cloud/binaryauthorization/v1/validationhelperv1/validateattestationoccurrence/AsyncValidateAttestationOccurrence.java @@ -16,7 +16,7 @@ package com.google.protos.google.cloud.binaryauthorization.v1.samples; -// [START binaryauthorization_v1_generated_validationhelperv1client_validateattestationoccurrence_async] +// [START binaryauthorization_v1_generated_ValidationHelperV1_ValidateAttestationOccurrence_async] import com.google.api.core.ApiFuture; import com.google.protos.google.cloud.binaryauthorization.v1.Service; import com.google.protos.google.cloud.binaryauthorization.v1.ValidationHelperV1Client; @@ -49,4 +49,4 @@ public static void asyncValidateAttestationOccurrence() throws Exception { } } } -// [END binaryauthorization_v1_generated_validationhelperv1client_validateattestationoccurrence_async] +// [END binaryauthorization_v1_generated_ValidationHelperV1_ValidateAttestationOccurrence_async] diff --git a/java-binary-authorization/samples/snippets/generated/com/google/protos/google/cloud/binaryauthorization/v1/validationhelperv1client/validateattestationoccurrence/SyncValidateAttestationOccurrence.java b/java-binary-authorization/samples/snippets/generated/com/google/protos/google/cloud/binaryauthorization/v1/validationhelperv1/validateattestationoccurrence/SyncValidateAttestationOccurrence.java similarity index 91% rename from java-binary-authorization/samples/snippets/generated/com/google/protos/google/cloud/binaryauthorization/v1/validationhelperv1client/validateattestationoccurrence/SyncValidateAttestationOccurrence.java rename to java-binary-authorization/samples/snippets/generated/com/google/protos/google/cloud/binaryauthorization/v1/validationhelperv1/validateattestationoccurrence/SyncValidateAttestationOccurrence.java index c725427c827c..75c81f4abede 100644 --- a/java-binary-authorization/samples/snippets/generated/com/google/protos/google/cloud/binaryauthorization/v1/validationhelperv1client/validateattestationoccurrence/SyncValidateAttestationOccurrence.java +++ b/java-binary-authorization/samples/snippets/generated/com/google/protos/google/cloud/binaryauthorization/v1/validationhelperv1/validateattestationoccurrence/SyncValidateAttestationOccurrence.java @@ -16,7 +16,7 @@ package com.google.protos.google.cloud.binaryauthorization.v1.samples; -// [START binaryauthorization_v1_generated_validationhelperv1client_validateattestationoccurrence_sync] +// [START binaryauthorization_v1_generated_ValidationHelperV1_ValidateAttestationOccurrence_sync] import com.google.protos.google.cloud.binaryauthorization.v1.Service; import com.google.protos.google.cloud.binaryauthorization.v1.ValidationHelperV1Client; import io.grafeas.v1.AttestationOccurrence; @@ -46,4 +46,4 @@ public static void syncValidateAttestationOccurrence() throws Exception { } } } -// [END binaryauthorization_v1_generated_validationhelperv1client_validateattestationoccurrence_sync] +// [END binaryauthorization_v1_generated_ValidationHelperV1_ValidateAttestationOccurrence_sync] diff --git a/java-binary-authorization/samples/snippets/generated/com/google/protos/google/cloud/binaryauthorization/v1/validationhelperv1settings/validateattestationoccurrence/SyncValidateAttestationOccurrence.java b/java-binary-authorization/samples/snippets/generated/com/google/protos/google/cloud/binaryauthorization/v1/validationhelperv1settings/validateattestationoccurrence/SyncValidateAttestationOccurrence.java index 6a926b07bceb..399c3914d840 100644 --- a/java-binary-authorization/samples/snippets/generated/com/google/protos/google/cloud/binaryauthorization/v1/validationhelperv1settings/validateattestationoccurrence/SyncValidateAttestationOccurrence.java +++ b/java-binary-authorization/samples/snippets/generated/com/google/protos/google/cloud/binaryauthorization/v1/validationhelperv1settings/validateattestationoccurrence/SyncValidateAttestationOccurrence.java @@ -16,7 +16,7 @@ package com.google.protos.google.cloud.binaryauthorization.v1.samples; -// [START binaryauthorization_v1_generated_validationhelperv1settings_validateattestationoccurrence_sync] +// [START binaryauthorization_v1_generated_ValidationHelperV1Settings_ValidateAttestationOccurrence_sync] import com.google.protos.google.cloud.binaryauthorization.v1.ValidationHelperV1Settings; import java.time.Duration; @@ -47,4 +47,4 @@ public static void syncValidateAttestationOccurrence() throws Exception { validationHelperV1SettingsBuilder.build(); } } -// [END binaryauthorization_v1_generated_validationhelperv1settings_validateattestationoccurrence_sync] +// [END binaryauthorization_v1_generated_ValidationHelperV1Settings_ValidateAttestationOccurrence_sync]