Skip to content

Commit bb822a1

Browse files
chore(bazel): Update WORKSPACE files for rules_gapic, gax_java, generator_java versions (#263)
- [ ] Regenerate this pull request now. PiperOrigin-RevId: 472750037 Source-Link: googleapis/googleapis@88f2ea3 Source-Link: https://github.com/googleapis/googleapis-gen/commit/230a5588306aae18fe8f2a57f14d4039ad72c901 Copy-Tag: eyJwIjoiLmdpdGh1Yi8uT3dsQm90LnlhbWwiLCJoIjoiMjMwYTU1ODgzMDZhYWUxOGZlOGYyYTU3ZjE0ZDQwMzlhZDcyYzkwMSJ9
1 parent 0961bb8 commit bb822a1

File tree

106 files changed

+775
-310
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

106 files changed

+775
-310
lines changed

java-managed-identities/google-cloud-managed-identities/src/main/java/com/google/cloud/managedidentities/v1/ManagedIdentitiesServiceClient.java

Lines changed: 250 additions & 100 deletions
Large diffs are not rendered by default.

java-managed-identities/google-cloud-managed-identities/src/main/java/com/google/cloud/managedidentities/v1/ManagedIdentitiesServiceSettings.java

Lines changed: 5 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -56,8 +56,11 @@
5656
* <p>For example, to set the total timeout of resetAdminPassword to 30 seconds:
5757
*
5858
* <pre>{@code
59-
* // This snippet has been automatically generated for illustrative purposes only.
60-
* // It may require modifications to work in your environment.
59+
* // This snippet has been automatically generated and should be regarded as a code template only.
60+
* // It will require modifications to work:
61+
* // - It may require correct/in-range values for request initialization.
62+
* // - It may require specifying regional endpoints when creating the service client as shown in
63+
* // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
6164
* ManagedIdentitiesServiceSettings.Builder managedIdentitiesServiceSettingsBuilder =
6265
* ManagedIdentitiesServiceSettings.newBuilder();
6366
* managedIdentitiesServiceSettingsBuilder

java-managed-identities/google-cloud-managed-identities/src/main/java/com/google/cloud/managedidentities/v1/package-info.java

Lines changed: 5 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -52,8 +52,11 @@
5252
* <p>Sample for ManagedIdentitiesServiceClient:
5353
*
5454
* <pre>{@code
55-
* // This snippet has been automatically generated for illustrative purposes only.
56-
* // It may require modifications to work in your environment.
55+
* // This snippet has been automatically generated and should be regarded as a code template only.
56+
* // It will require modifications to work:
57+
* // - It may require correct/in-range values for request initialization.
58+
* // - It may require specifying regional endpoints when creating the service client as shown in
59+
* // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
5760
* try (ManagedIdentitiesServiceClient managedIdentitiesServiceClient =
5861
* ManagedIdentitiesServiceClient.create()) {
5962
* DomainName name = DomainName.of("[PROJECT]", "[LOCATION]", "[DOMAIN]");

java-managed-identities/google-cloud-managed-identities/src/main/java/com/google/cloud/managedidentities/v1/stub/ManagedIdentitiesServiceStubSettings.java

Lines changed: 5 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -88,8 +88,11 @@
8888
* <p>For example, to set the total timeout of resetAdminPassword to 30 seconds:
8989
*
9090
* <pre>{@code
91-
* // This snippet has been automatically generated for illustrative purposes only.
92-
* // It may require modifications to work in your environment.
91+
* // This snippet has been automatically generated and should be regarded as a code template only.
92+
* // It will require modifications to work:
93+
* // - It may require correct/in-range values for request initialization.
94+
* // - It may require specifying regional endpoints when creating the service client as shown in
95+
* // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
9396
* ManagedIdentitiesServiceStubSettings.Builder managedIdentitiesServiceSettingsBuilder =
9497
* ManagedIdentitiesServiceStubSettings.newBuilder();
9598
* managedIdentitiesServiceSettingsBuilder

java-managed-identities/samples/snippets/generated/com/google/cloud/managedidentities/v1/managedidentitiesserviceclient/attachtrust/AsyncAttachTrust.java

Lines changed: 5 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -31,8 +31,11 @@ public static void main(String[] args) throws Exception {
3131
}
3232

3333
public static void asyncAttachTrust() throws Exception {
34-
// This snippet has been automatically generated for illustrative purposes only.
35-
// It may require modifications to work in your environment.
34+
// This snippet has been automatically generated and should be regarded as a code template only.
35+
// It will require modifications to work:
36+
// - It may require correct/in-range values for request initialization.
37+
// - It may require specifying regional endpoints when creating the service client as shown in
38+
// https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
3639
try (ManagedIdentitiesServiceClient managedIdentitiesServiceClient =
3740
ManagedIdentitiesServiceClient.create()) {
3841
AttachTrustRequest request =

java-managed-identities/samples/snippets/generated/com/google/cloud/managedidentities/v1/managedidentitiesserviceclient/attachtrust/AsyncAttachTrustLRO.java

Lines changed: 5 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -32,8 +32,11 @@ public static void main(String[] args) throws Exception {
3232
}
3333

3434
public static void asyncAttachTrustLRO() throws Exception {
35-
// This snippet has been automatically generated for illustrative purposes only.
36-
// It may require modifications to work in your environment.
35+
// This snippet has been automatically generated and should be regarded as a code template only.
36+
// It will require modifications to work:
37+
// - It may require correct/in-range values for request initialization.
38+
// - It may require specifying regional endpoints when creating the service client as shown in
39+
// https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
3740
try (ManagedIdentitiesServiceClient managedIdentitiesServiceClient =
3841
ManagedIdentitiesServiceClient.create()) {
3942
AttachTrustRequest request =

java-managed-identities/samples/snippets/generated/com/google/cloud/managedidentities/v1/managedidentitiesserviceclient/attachtrust/SyncAttachTrust.java

Lines changed: 5 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -30,8 +30,11 @@ public static void main(String[] args) throws Exception {
3030
}
3131

3232
public static void syncAttachTrust() throws Exception {
33-
// This snippet has been automatically generated for illustrative purposes only.
34-
// It may require modifications to work in your environment.
33+
// This snippet has been automatically generated and should be regarded as a code template only.
34+
// It will require modifications to work:
35+
// - It may require correct/in-range values for request initialization.
36+
// - It may require specifying regional endpoints when creating the service client as shown in
37+
// https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
3538
try (ManagedIdentitiesServiceClient managedIdentitiesServiceClient =
3639
ManagedIdentitiesServiceClient.create()) {
3740
AttachTrustRequest request =

java-managed-identities/samples/snippets/generated/com/google/cloud/managedidentities/v1/managedidentitiesserviceclient/attachtrust/SyncAttachTrustDomainnameTrust.java

Lines changed: 5 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -29,8 +29,11 @@ public static void main(String[] args) throws Exception {
2929
}
3030

3131
public static void syncAttachTrustDomainnameTrust() throws Exception {
32-
// This snippet has been automatically generated for illustrative purposes only.
33-
// It may require modifications to work in your environment.
32+
// This snippet has been automatically generated and should be regarded as a code template only.
33+
// It will require modifications to work:
34+
// - It may require correct/in-range values for request initialization.
35+
// - It may require specifying regional endpoints when creating the service client as shown in
36+
// https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
3437
try (ManagedIdentitiesServiceClient managedIdentitiesServiceClient =
3538
ManagedIdentitiesServiceClient.create()) {
3639
DomainName name = DomainName.of("[PROJECT]", "[LOCATION]", "[DOMAIN]");

java-managed-identities/samples/snippets/generated/com/google/cloud/managedidentities/v1/managedidentitiesserviceclient/attachtrust/SyncAttachTrustStringTrust.java

Lines changed: 5 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -29,8 +29,11 @@ public static void main(String[] args) throws Exception {
2929
}
3030

3131
public static void syncAttachTrustStringTrust() throws Exception {
32-
// This snippet has been automatically generated for illustrative purposes only.
33-
// It may require modifications to work in your environment.
32+
// This snippet has been automatically generated and should be regarded as a code template only.
33+
// It will require modifications to work:
34+
// - It may require correct/in-range values for request initialization.
35+
// - It may require specifying regional endpoints when creating the service client as shown in
36+
// https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
3437
try (ManagedIdentitiesServiceClient managedIdentitiesServiceClient =
3538
ManagedIdentitiesServiceClient.create()) {
3639
String name = DomainName.of("[PROJECT]", "[LOCATION]", "[DOMAIN]").toString();

java-managed-identities/samples/snippets/generated/com/google/cloud/managedidentities/v1/managedidentitiesserviceclient/create/SyncCreateSetCredentialsProvider.java

Lines changed: 5 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -29,8 +29,11 @@ public static void main(String[] args) throws Exception {
2929
}
3030

3131
public static void syncCreateSetCredentialsProvider() throws Exception {
32-
// This snippet has been automatically generated for illustrative purposes only.
33-
// It may require modifications to work in your environment.
32+
// This snippet has been automatically generated and should be regarded as a code template only.
33+
// It will require modifications to work:
34+
// - It may require correct/in-range values for request initialization.
35+
// - It may require specifying regional endpoints when creating the service client as shown in
36+
// https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
3437
ManagedIdentitiesServiceSettings managedIdentitiesServiceSettings =
3538
ManagedIdentitiesServiceSettings.newBuilder()
3639
.setCredentialsProvider(FixedCredentialsProvider.create(myCredentials))

java-managed-identities/samples/snippets/generated/com/google/cloud/managedidentities/v1/managedidentitiesserviceclient/create/SyncCreateSetEndpoint.java

Lines changed: 5 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -28,8 +28,11 @@ public static void main(String[] args) throws Exception {
2828
}
2929

3030
public static void syncCreateSetEndpoint() throws Exception {
31-
// This snippet has been automatically generated for illustrative purposes only.
32-
// It may require modifications to work in your environment.
31+
// This snippet has been automatically generated and should be regarded as a code template only.
32+
// It will require modifications to work:
33+
// - It may require correct/in-range values for request initialization.
34+
// - It may require specifying regional endpoints when creating the service client as shown in
35+
// https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
3336
ManagedIdentitiesServiceSettings managedIdentitiesServiceSettings =
3437
ManagedIdentitiesServiceSettings.newBuilder().setEndpoint(myEndpoint).build();
3538
ManagedIdentitiesServiceClient managedIdentitiesServiceClient =

java-managed-identities/samples/snippets/generated/com/google/cloud/managedidentities/v1/managedidentitiesserviceclient/createmicrosoftaddomain/AsyncCreateMicrosoftAdDomain.java

Lines changed: 5 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -31,8 +31,11 @@ public static void main(String[] args) throws Exception {
3131
}
3232

3333
public static void asyncCreateMicrosoftAdDomain() throws Exception {
34-
// This snippet has been automatically generated for illustrative purposes only.
35-
// It may require modifications to work in your environment.
34+
// This snippet has been automatically generated and should be regarded as a code template only.
35+
// It will require modifications to work:
36+
// - It may require correct/in-range values for request initialization.
37+
// - It may require specifying regional endpoints when creating the service client as shown in
38+
// https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
3639
try (ManagedIdentitiesServiceClient managedIdentitiesServiceClient =
3740
ManagedIdentitiesServiceClient.create()) {
3841
CreateMicrosoftAdDomainRequest request =

java-managed-identities/samples/snippets/generated/com/google/cloud/managedidentities/v1/managedidentitiesserviceclient/createmicrosoftaddomain/AsyncCreateMicrosoftAdDomainLRO.java

Lines changed: 5 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -31,8 +31,11 @@ public static void main(String[] args) throws Exception {
3131
}
3232

3333
public static void asyncCreateMicrosoftAdDomainLRO() throws Exception {
34-
// This snippet has been automatically generated for illustrative purposes only.
35-
// It may require modifications to work in your environment.
34+
// This snippet has been automatically generated and should be regarded as a code template only.
35+
// It will require modifications to work:
36+
// - It may require correct/in-range values for request initialization.
37+
// - It may require specifying regional endpoints when creating the service client as shown in
38+
// https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
3639
try (ManagedIdentitiesServiceClient managedIdentitiesServiceClient =
3740
ManagedIdentitiesServiceClient.create()) {
3841
CreateMicrosoftAdDomainRequest request =

java-managed-identities/samples/snippets/generated/com/google/cloud/managedidentities/v1/managedidentitiesserviceclient/createmicrosoftaddomain/SyncCreateMicrosoftAdDomain.java

Lines changed: 5 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -29,8 +29,11 @@ public static void main(String[] args) throws Exception {
2929
}
3030

3131
public static void syncCreateMicrosoftAdDomain() throws Exception {
32-
// This snippet has been automatically generated for illustrative purposes only.
33-
// It may require modifications to work in your environment.
32+
// This snippet has been automatically generated and should be regarded as a code template only.
33+
// It will require modifications to work:
34+
// - It may require correct/in-range values for request initialization.
35+
// - It may require specifying regional endpoints when creating the service client as shown in
36+
// https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
3437
try (ManagedIdentitiesServiceClient managedIdentitiesServiceClient =
3538
ManagedIdentitiesServiceClient.create()) {
3639
CreateMicrosoftAdDomainRequest request =

java-managed-identities/samples/snippets/generated/com/google/cloud/managedidentities/v1/managedidentitiesserviceclient/createmicrosoftaddomain/SyncCreateMicrosoftAdDomainLocationnameStringDomain.java

Lines changed: 5 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -28,8 +28,11 @@ public static void main(String[] args) throws Exception {
2828
}
2929

3030
public static void syncCreateMicrosoftAdDomainLocationnameStringDomain() throws Exception {
31-
// This snippet has been automatically generated for illustrative purposes only.
32-
// It may require modifications to work in your environment.
31+
// This snippet has been automatically generated and should be regarded as a code template only.
32+
// It will require modifications to work:
33+
// - It may require correct/in-range values for request initialization.
34+
// - It may require specifying regional endpoints when creating the service client as shown in
35+
// https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
3336
try (ManagedIdentitiesServiceClient managedIdentitiesServiceClient =
3437
ManagedIdentitiesServiceClient.create()) {
3538
LocationName parent = LocationName.of("[PROJECT]", "[LOCATION]");

java-managed-identities/samples/snippets/generated/com/google/cloud/managedidentities/v1/managedidentitiesserviceclient/createmicrosoftaddomain/SyncCreateMicrosoftAdDomainStringStringDomain.java

Lines changed: 5 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -28,8 +28,11 @@ public static void main(String[] args) throws Exception {
2828
}
2929

3030
public static void syncCreateMicrosoftAdDomainStringStringDomain() throws Exception {
31-
// This snippet has been automatically generated for illustrative purposes only.
32-
// It may require modifications to work in your environment.
31+
// This snippet has been automatically generated and should be regarded as a code template only.
32+
// It will require modifications to work:
33+
// - It may require correct/in-range values for request initialization.
34+
// - It may require specifying regional endpoints when creating the service client as shown in
35+
// https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
3336
try (ManagedIdentitiesServiceClient managedIdentitiesServiceClient =
3437
ManagedIdentitiesServiceClient.create()) {
3538
String parent = LocationName.of("[PROJECT]", "[LOCATION]").toString();

java-managed-identities/samples/snippets/generated/com/google/cloud/managedidentities/v1/managedidentitiesserviceclient/deletedomain/AsyncDeleteDomain.java

Lines changed: 5 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -30,8 +30,11 @@ public static void main(String[] args) throws Exception {
3030
}
3131

3232
public static void asyncDeleteDomain() throws Exception {
33-
// This snippet has been automatically generated for illustrative purposes only.
34-
// It may require modifications to work in your environment.
33+
// This snippet has been automatically generated and should be regarded as a code template only.
34+
// It will require modifications to work:
35+
// - It may require correct/in-range values for request initialization.
36+
// - It may require specifying regional endpoints when creating the service client as shown in
37+
// https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
3538
try (ManagedIdentitiesServiceClient managedIdentitiesServiceClient =
3639
ManagedIdentitiesServiceClient.create()) {
3740
DeleteDomainRequest request =

java-managed-identities/samples/snippets/generated/com/google/cloud/managedidentities/v1/managedidentitiesserviceclient/deletedomain/AsyncDeleteDomainLRO.java

Lines changed: 5 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -31,8 +31,11 @@ public static void main(String[] args) throws Exception {
3131
}
3232

3333
public static void asyncDeleteDomainLRO() throws Exception {
34-
// This snippet has been automatically generated for illustrative purposes only.
35-
// It may require modifications to work in your environment.
34+
// This snippet has been automatically generated and should be regarded as a code template only.
35+
// It will require modifications to work:
36+
// - It may require correct/in-range values for request initialization.
37+
// - It may require specifying regional endpoints when creating the service client as shown in
38+
// https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
3639
try (ManagedIdentitiesServiceClient managedIdentitiesServiceClient =
3740
ManagedIdentitiesServiceClient.create()) {
3841
DeleteDomainRequest request =

java-managed-identities/samples/snippets/generated/com/google/cloud/managedidentities/v1/managedidentitiesserviceclient/deletedomain/SyncDeleteDomain.java

Lines changed: 5 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -29,8 +29,11 @@ public static void main(String[] args) throws Exception {
2929
}
3030

3131
public static void syncDeleteDomain() throws Exception {
32-
// This snippet has been automatically generated for illustrative purposes only.
33-
// It may require modifications to work in your environment.
32+
// This snippet has been automatically generated and should be regarded as a code template only.
33+
// It will require modifications to work:
34+
// - It may require correct/in-range values for request initialization.
35+
// - It may require specifying regional endpoints when creating the service client as shown in
36+
// https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
3437
try (ManagedIdentitiesServiceClient managedIdentitiesServiceClient =
3538
ManagedIdentitiesServiceClient.create()) {
3639
DeleteDomainRequest request =

java-managed-identities/samples/snippets/generated/com/google/cloud/managedidentities/v1/managedidentitiesserviceclient/deletedomain/SyncDeleteDomainDomainname.java

Lines changed: 5 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -28,8 +28,11 @@ public static void main(String[] args) throws Exception {
2828
}
2929

3030
public static void syncDeleteDomainDomainname() throws Exception {
31-
// This snippet has been automatically generated for illustrative purposes only.
32-
// It may require modifications to work in your environment.
31+
// This snippet has been automatically generated and should be regarded as a code template only.
32+
// It will require modifications to work:
33+
// - It may require correct/in-range values for request initialization.
34+
// - It may require specifying regional endpoints when creating the service client as shown in
35+
// https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
3336
try (ManagedIdentitiesServiceClient managedIdentitiesServiceClient =
3437
ManagedIdentitiesServiceClient.create()) {
3538
DomainName name = DomainName.of("[PROJECT]", "[LOCATION]", "[DOMAIN]");

java-managed-identities/samples/snippets/generated/com/google/cloud/managedidentities/v1/managedidentitiesserviceclient/deletedomain/SyncDeleteDomainString.java

Lines changed: 5 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -28,8 +28,11 @@ public static void main(String[] args) throws Exception {
2828
}
2929

3030
public static void syncDeleteDomainString() throws Exception {
31-
// This snippet has been automatically generated for illustrative purposes only.
32-
// It may require modifications to work in your environment.
31+
// This snippet has been automatically generated and should be regarded as a code template only.
32+
// It will require modifications to work:
33+
// - It may require correct/in-range values for request initialization.
34+
// - It may require specifying regional endpoints when creating the service client as shown in
35+
// https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
3336
try (ManagedIdentitiesServiceClient managedIdentitiesServiceClient =
3437
ManagedIdentitiesServiceClient.create()) {
3538
String name = DomainName.of("[PROJECT]", "[LOCATION]", "[DOMAIN]").toString();

java-managed-identities/samples/snippets/generated/com/google/cloud/managedidentities/v1/managedidentitiesserviceclient/detachtrust/AsyncDetachTrust.java

Lines changed: 5 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -31,8 +31,11 @@ public static void main(String[] args) throws Exception {
3131
}
3232

3333
public static void asyncDetachTrust() throws Exception {
34-
// This snippet has been automatically generated for illustrative purposes only.
35-
// It may require modifications to work in your environment.
34+
// This snippet has been automatically generated and should be regarded as a code template only.
35+
// It will require modifications to work:
36+
// - It may require correct/in-range values for request initialization.
37+
// - It may require specifying regional endpoints when creating the service client as shown in
38+
// https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
3639
try (ManagedIdentitiesServiceClient managedIdentitiesServiceClient =
3740
ManagedIdentitiesServiceClient.create()) {
3841
DetachTrustRequest request =

java-managed-identities/samples/snippets/generated/com/google/cloud/managedidentities/v1/managedidentitiesserviceclient/detachtrust/AsyncDetachTrustLRO.java

Lines changed: 5 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -32,8 +32,11 @@ public static void main(String[] args) throws Exception {
3232
}
3333

3434
public static void asyncDetachTrustLRO() throws Exception {
35-
// This snippet has been automatically generated for illustrative purposes only.
36-
// It may require modifications to work in your environment.
35+
// This snippet has been automatically generated and should be regarded as a code template only.
36+
// It will require modifications to work:
37+
// - It may require correct/in-range values for request initialization.
38+
// - It may require specifying regional endpoints when creating the service client as shown in
39+
// https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
3740
try (ManagedIdentitiesServiceClient managedIdentitiesServiceClient =
3841
ManagedIdentitiesServiceClient.create()) {
3942
DetachTrustRequest request =

0 commit comments

Comments
 (0)