Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

chore: Update generation configuration at Thu Sep 19 02:22:35 UTC 2024 #11116

Merged
merged 31 commits into from
Sep 19, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
31 commits
Select commit Hold shift + click to select a range
edc2ad1
chore: Update generation configuration at Tue Sep 3 19:11:43 UTC 2024
cloud-java-bot Sep 3, 2024
1bcb95d
chore: generate libraries at Tue Sep 3 19:15:02 UTC 2024
cloud-java-bot Sep 3, 2024
79f2d54
chore: Update generation configuration at Wed Sep 4 02:19:44 UTC 2024
cloud-java-bot Sep 4, 2024
7ce0c42
chore: generate libraries at Wed Sep 4 02:22:40 UTC 2024
cloud-java-bot Sep 4, 2024
5e5e91a
chore: Update generation configuration at Thu Sep 5 02:20:06 UTC 2024
cloud-java-bot Sep 5, 2024
05967c2
chore: generate libraries at Thu Sep 5 02:23:06 UTC 2024
cloud-java-bot Sep 5, 2024
45907d8
chore: Update generation configuration at Fri Sep 6 02:19:59 UTC 2024
cloud-java-bot Sep 6, 2024
26f475b
chore: generate libraries at Fri Sep 6 02:23:02 UTC 2024
cloud-java-bot Sep 6, 2024
3c15e00
chore: Update generation configuration at Sat Sep 7 02:18:26 UTC 2024
cloud-java-bot Sep 7, 2024
63d67a3
chore: generate libraries at Sat Sep 7 02:21:35 UTC 2024
cloud-java-bot Sep 7, 2024
0a5069b
chore: Update generation configuration at Sun Sep 8 02:23:44 UTC 2024
cloud-java-bot Sep 8, 2024
1d341b1
chore: generate libraries at Sun Sep 8 02:26:46 UTC 2024
cloud-java-bot Sep 8, 2024
71315b0
chore: Update generation configuration at Tue Sep 10 02:21:00 UTC 2024
cloud-java-bot Sep 10, 2024
6710a41
chore: generate libraries at Tue Sep 10 02:24:03 UTC 2024
cloud-java-bot Sep 10, 2024
42b7756
chore: Update generation configuration at Wed Sep 11 02:20:16 UTC 2024
cloud-java-bot Sep 11, 2024
5cc4dc1
chore: generate libraries at Wed Sep 11 02:23:17 UTC 2024
cloud-java-bot Sep 11, 2024
808ca97
chore: Update generation configuration at Thu Sep 12 02:20:42 UTC 2024
cloud-java-bot Sep 12, 2024
c905ccd
chore: generate libraries at Thu Sep 12 02:23:46 UTC 2024
cloud-java-bot Sep 12, 2024
658c1db
chore: Update generation configuration at Fri Sep 13 02:21:25 UTC 2024
cloud-java-bot Sep 13, 2024
61d9178
chore: generate libraries at Fri Sep 13 02:24:28 UTC 2024
cloud-java-bot Sep 13, 2024
60eada2
chore: Update generation configuration at Sat Sep 14 02:19:36 UTC 2024
cloud-java-bot Sep 14, 2024
d061d03
chore: generate libraries at Sat Sep 14 02:22:49 UTC 2024
cloud-java-bot Sep 14, 2024
84c6cdd
chore: Update generation configuration at Mon Sep 16 02:25:59 UTC 2024
cloud-java-bot Sep 16, 2024
9e1a71c
chore: generate libraries at Mon Sep 16 02:29:06 UTC 2024
cloud-java-bot Sep 16, 2024
d190f46
chore: Update generation configuration at Tue Sep 17 02:09:13 UTC 2024
cloud-java-bot Sep 17, 2024
975ba6d
chore: Update generation configuration at Wed Sep 18 02:21:07 UTC 2024
cloud-java-bot Sep 18, 2024
55a087f
chore: generate libraries at Wed Sep 18 02:24:39 UTC 2024
cloud-java-bot Sep 18, 2024
195d1cd
Merge branch 'main' into generate-libraries-main
mpeddada1 Sep 18, 2024
7ec3f58
chore: generate libraries at Wed Sep 18 21:17:53 UTC 2024
cloud-java-bot Sep 18, 2024
522da94
chore: Update generation configuration at Thu Sep 19 02:22:35 UTC 2024
cloud-java-bot Sep 19, 2024
2d1cddd
chore: generate libraries at Thu Sep 19 02:25:43 UTC 2024
cloud-java-bot Sep 19, 2024
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
The table of contents is too big for display.
Diff view
Diff view
  •  
  •  
  •  
The diff you're trying to view is too large. We only load the first 3000 changed files.
6 changes: 3 additions & 3 deletions generation_config.yaml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
gapic_generator_version: 2.44.0
googleapis_commitish: a8f277295c12490d49c196b791e2101500864c30
libraries_bom_version: 26.44.0
gapic_generator_version: 2.45.0
googleapis_commitish: 607c2ae82620153880a66898bcbf0a46d38d7d10
libraries_bom_version: 26.46.0

# the libraries are ordered with respect to library name, which is
# java-{library.library_name} or java-{library.api-shortname} when
Expand Down
5 changes: 3 additions & 2 deletions java-accessapproval/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ If you are using Maven with [BOM][libraries-bom], add this to your pom.xml file:
<dependency>
<groupId>com.google.cloud</groupId>
<artifactId>libraries-bom</artifactId>
<version>26.44.0</version>
<version>26.46.0</version>
<type>pom</type>
<scope>import</scope>
</dependency>
Expand All @@ -32,6 +32,7 @@ If you are using Maven with [BOM][libraries-bom], add this to your pom.xml file:
<groupId>com.google.cloud</groupId>
<artifactId>google-cloud-accessapproval</artifactId>
</dependency>
</dependencies>
```

If you are using Maven without the BOM, add this to your dependencies:
Expand Down Expand Up @@ -195,7 +196,7 @@ Java is a registered trademark of Oracle and/or its affiliates.
[kokoro-badge-link-5]: http://storage.googleapis.com/cloud-devrel-public/java/badges/google-cloud-java/java11.html
[stability-image]: https://img.shields.io/badge/stability-stable-green
[maven-version-image]: https://img.shields.io/maven-central/v/com.google.cloud/google-cloud-accessapproval.svg
[maven-version-link]: https://central.sonatype.com/artifact/com.google.cloud/google-cloud-accessapproval/2.48.0
[maven-version-link]: https://central.sonatype.com/artifact/com.google.cloud/google-cloud-accessapproval/2.50.0
[authentication]: https://github.com/googleapis/google-cloud-java#authentication
[auth-scopes]: https://developers.google.com/identity/protocols/oauth2/scopes
[predefined-iam-roles]: https://cloud.google.com/iam/docs/understanding-roles#predefined_roles
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -52,7 +52,9 @@
* <p>The builder of this class is recursive, so contained classes are themselves builders. When
* build() is called, the tree of builders is called to create the complete settings object.
*
* <p>For example, to set the total timeout of getApprovalRequest to 30 seconds:
* <p>For example, to set the
* [RetrySettings](https://cloud.google.com/java/docs/reference/gax/latest/com.google.api.gax.retrying.RetrySettings)
* of getApprovalRequest:
*
* <pre>{@code
* // This snippet has been automatically generated and should be regarded as a code template only.
Expand All @@ -69,11 +71,22 @@
* .getApprovalRequestSettings()
* .getRetrySettings()
* .toBuilder()
* .setTotalTimeout(Duration.ofSeconds(30))
* .setInitialRetryDelayDuration(Duration.ofSeconds(1))
* .setInitialRpcTimeoutDuration(Duration.ofSeconds(5))
* .setMaxAttempts(5)
* .setMaxRetryDelayDuration(Duration.ofSeconds(30))
* .setMaxRpcTimeoutDuration(Duration.ofSeconds(60))
* .setRetryDelayMultiplier(1.3)
* .setRpcTimeoutMultiplier(1.5)
* .setTotalTimeoutDuration(Duration.ofSeconds(300))
* .build());
* AccessApprovalAdminSettings accessApprovalAdminSettings =
* accessApprovalAdminSettingsBuilder.build();
* }</pre>
*
* Please refer to the [Client Side Retry
* Guide](https://github.com/googleapis/google-cloud-java/blob/main/docs/client_retries.md) for
* additional support in setting retries.
*/
@Generated("by gapic-generator-java")
public class AccessApprovalAdminSettings extends ClientSettings<AccessApprovalAdminSettings> {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -83,7 +83,9 @@
* <p>The builder of this class is recursive, so contained classes are themselves builders. When
* build() is called, the tree of builders is called to create the complete settings object.
*
* <p>For example, to set the total timeout of getApprovalRequest to 30 seconds:
* <p>For example, to set the
* [RetrySettings](https://cloud.google.com/java/docs/reference/gax/latest/com.google.api.gax.retrying.RetrySettings)
* of getApprovalRequest:
*
* <pre>{@code
* // This snippet has been automatically generated and should be regarded as a code template only.
Expand All @@ -100,11 +102,22 @@
* .getApprovalRequestSettings()
* .getRetrySettings()
* .toBuilder()
* .setTotalTimeout(Duration.ofSeconds(30))
* .setInitialRetryDelayDuration(Duration.ofSeconds(1))
* .setInitialRpcTimeoutDuration(Duration.ofSeconds(5))
* .setMaxAttempts(5)
* .setMaxRetryDelayDuration(Duration.ofSeconds(30))
* .setMaxRpcTimeoutDuration(Duration.ofSeconds(60))
* .setRetryDelayMultiplier(1.3)
* .setRpcTimeoutMultiplier(1.5)
* .setTotalTimeoutDuration(Duration.ofSeconds(300))
* .build());
* AccessApprovalStubSettings accessApprovalAdminSettings =
* accessApprovalAdminSettingsBuilder.build();
* }</pre>
*
* Please refer to the [Client Side Retry
* Guide](https://github.com/googleapis/google-cloud-java/blob/main/docs/client_retries.md) for
* additional support in setting retries.
*/
@Generated("by gapic-generator-java")
public class AccessApprovalStubSettings extends StubSettings<AccessApprovalStubSettings> {
Expand Down Expand Up @@ -170,9 +183,7 @@ public String extractNextToken(ListApprovalRequestsResponse payload) {
@Override
public Iterable<ApprovalRequest> extractResources(
ListApprovalRequestsResponse payload) {
return payload.getApprovalRequestsList() == null
? ImmutableList.<ApprovalRequest>of()
: payload.getApprovalRequestsList();
return payload.getApprovalRequestsList();
}
};

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -305,6 +305,24 @@
"allDeclaredClasses": true,
"allPublicClasses": true
},
{
"name": "com.google.api.PythonSettings$ExperimentalFeatures",
"queryAllDeclaredConstructors": true,
"queryAllPublicConstructors": true,
"queryAllDeclaredMethods": true,
"allPublicMethods": true,
"allDeclaredClasses": true,
"allPublicClasses": true
},
{
"name": "com.google.api.PythonSettings$ExperimentalFeatures$Builder",
"queryAllDeclaredConstructors": true,
"queryAllPublicConstructors": true,
"queryAllDeclaredMethods": true,
"allPublicMethods": true,
"allDeclaredClasses": true,
"allPublicClasses": true
},
{
"name": "com.google.api.ResourceDescriptor",
"queryAllDeclaredConstructors": true,
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -41,7 +41,14 @@ public static void syncGetApprovalRequest() throws Exception {
.getApprovalRequestSettings()
.getRetrySettings()
.toBuilder()
.setTotalTimeout(Duration.ofSeconds(30))
.setInitialRetryDelayDuration(Duration.ofSeconds(1))
.setInitialRpcTimeoutDuration(Duration.ofSeconds(5))
.setMaxAttempts(5)
.setMaxRetryDelayDuration(Duration.ofSeconds(30))
.setMaxRpcTimeoutDuration(Duration.ofSeconds(60))
.setRetryDelayMultiplier(1.3)
.setRpcTimeoutMultiplier(1.5)
.setTotalTimeoutDuration(Duration.ofSeconds(300))
.build());
AccessApprovalAdminSettings accessApprovalAdminSettings =
accessApprovalAdminSettingsBuilder.build();
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -41,7 +41,14 @@ public static void syncGetApprovalRequest() throws Exception {
.getApprovalRequestSettings()
.getRetrySettings()
.toBuilder()
.setTotalTimeout(Duration.ofSeconds(30))
.setInitialRetryDelayDuration(Duration.ofSeconds(1))
.setInitialRpcTimeoutDuration(Duration.ofSeconds(5))
.setMaxAttempts(5)
.setMaxRetryDelayDuration(Duration.ofSeconds(30))
.setMaxRpcTimeoutDuration(Duration.ofSeconds(60))
.setRetryDelayMultiplier(1.3)
.setRpcTimeoutMultiplier(1.5)
.setTotalTimeoutDuration(Duration.ofSeconds(300))
.build());
AccessApprovalStubSettings accessApprovalAdminSettings =
accessApprovalAdminSettingsBuilder.build();
Expand Down
5 changes: 3 additions & 2 deletions java-accesscontextmanager/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ If you are using Maven with [BOM][libraries-bom], add this to your pom.xml file:
<dependency>
<groupId>com.google.cloud</groupId>
<artifactId>libraries-bom</artifactId>
<version>26.44.0</version>
<version>26.46.0</version>
<type>pom</type>
<scope>import</scope>
</dependency>
Expand All @@ -32,6 +32,7 @@ If you are using Maven with [BOM][libraries-bom], add this to your pom.xml file:
<groupId>com.google.cloud</groupId>
<artifactId>google-identity-accesscontextmanager</artifactId>
</dependency>
</dependencies>
```

If you are using Maven without the BOM, add this to your dependencies:
Expand Down Expand Up @@ -195,7 +196,7 @@ Java is a registered trademark of Oracle and/or its affiliates.
[kokoro-badge-link-5]: http://storage.googleapis.com/cloud-devrel-public/java/badges/google-cloud-java/java11.html
[stability-image]: https://img.shields.io/badge/stability-stable-green
[maven-version-image]: https://img.shields.io/maven-central/v/com.google.cloud/google-identity-accesscontextmanager.svg
[maven-version-link]: https://central.sonatype.com/artifact/com.google.cloud/google-identity-accesscontextmanager/1.48.0
[maven-version-link]: https://central.sonatype.com/artifact/com.google.cloud/google-identity-accesscontextmanager/1.50.0
[authentication]: https://github.com/googleapis/google-cloud-java#authentication
[auth-scopes]: https://developers.google.com/identity/protocols/oauth2/scopes
[predefined-iam-roles]: https://cloud.google.com/iam/docs/understanding-roles#predefined_roles
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -62,7 +62,9 @@
* <p>The builder of this class is recursive, so contained classes are themselves builders. When
* build() is called, the tree of builders is called to create the complete settings object.
*
* <p>For example, to set the total timeout of getAccessPolicy to 30 seconds:
* <p>For example, to set the
* [RetrySettings](https://cloud.google.com/java/docs/reference/gax/latest/com.google.api.gax.retrying.RetrySettings)
* of getAccessPolicy:
*
* <pre>{@code
* // This snippet has been automatically generated and should be regarded as a code template only.
Expand All @@ -79,11 +81,48 @@
* .getAccessPolicySettings()
* .getRetrySettings()
* .toBuilder()
* .setTotalTimeout(Duration.ofSeconds(30))
* .setInitialRetryDelayDuration(Duration.ofSeconds(1))
* .setInitialRpcTimeoutDuration(Duration.ofSeconds(5))
* .setMaxAttempts(5)
* .setMaxRetryDelayDuration(Duration.ofSeconds(30))
* .setMaxRpcTimeoutDuration(Duration.ofSeconds(60))
* .setRetryDelayMultiplier(1.3)
* .setRpcTimeoutMultiplier(1.5)
* .setTotalTimeoutDuration(Duration.ofSeconds(300))
* .build());
* AccessContextManagerSettings accessContextManagerSettings =
* accessContextManagerSettingsBuilder.build();
* }</pre>
*
* Please refer to the [Client Side Retry
* Guide](https://github.com/googleapis/google-cloud-java/blob/main/docs/client_retries.md) for
* additional support in setting retries.
*
* <p>To configure the RetrySettings of a Long Running Operation method, create an
* OperationTimedPollAlgorithm object and update the RPC's polling algorithm. For example, to
* configure the RetrySettings for createAccessPolicy:
*
* <pre>{@code
* // This snippet has been automatically generated and should be regarded as a code template only.
* // It will require modifications to work:
* // - It may require correct/in-range values for request initialization.
* // - It may require specifying regional endpoints when creating the service client as shown in
* // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
* AccessContextManagerSettings.Builder accessContextManagerSettingsBuilder =
* AccessContextManagerSettings.newBuilder();
* TimedRetryAlgorithm timedRetryAlgorithm =
* OperationalTimedPollAlgorithm.create(
* RetrySettings.newBuilder()
* .setInitialRetryDelayDuration(Duration.ofMillis(500))
* .setRetryDelayMultiplier(1.5)
* .setMaxRetryDelay(Duration.ofMillis(5000))
* .setTotalTimeoutDuration(Duration.ofHours(24))
* .build());
* accessContextManagerSettingsBuilder
* .createClusterOperationSettings()
* .setPollingAlgorithm(timedRetryAlgorithm)
* .build();
* }</pre>
*/
@Generated("by gapic-generator-java")
public class AccessContextManagerSettings extends ClientSettings<AccessContextManagerSettings> {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -118,7 +118,9 @@
* <p>The builder of this class is recursive, so contained classes are themselves builders. When
* build() is called, the tree of builders is called to create the complete settings object.
*
* <p>For example, to set the total timeout of getAccessPolicy to 30 seconds:
* <p>For example, to set the
* [RetrySettings](https://cloud.google.com/java/docs/reference/gax/latest/com.google.api.gax.retrying.RetrySettings)
* of getAccessPolicy:
*
* <pre>{@code
* // This snippet has been automatically generated and should be regarded as a code template only.
Expand All @@ -135,11 +137,48 @@
* .getAccessPolicySettings()
* .getRetrySettings()
* .toBuilder()
* .setTotalTimeout(Duration.ofSeconds(30))
* .setInitialRetryDelayDuration(Duration.ofSeconds(1))
* .setInitialRpcTimeoutDuration(Duration.ofSeconds(5))
* .setMaxAttempts(5)
* .setMaxRetryDelayDuration(Duration.ofSeconds(30))
* .setMaxRpcTimeoutDuration(Duration.ofSeconds(60))
* .setRetryDelayMultiplier(1.3)
* .setRpcTimeoutMultiplier(1.5)
* .setTotalTimeoutDuration(Duration.ofSeconds(300))
* .build());
* AccessContextManagerStubSettings accessContextManagerSettings =
* accessContextManagerSettingsBuilder.build();
* }</pre>
*
* Please refer to the [Client Side Retry
* Guide](https://github.com/googleapis/google-cloud-java/blob/main/docs/client_retries.md) for
* additional support in setting retries.
*
* <p>To configure the RetrySettings of a Long Running Operation method, create an
* OperationTimedPollAlgorithm object and update the RPC's polling algorithm. For example, to
* configure the RetrySettings for createAccessPolicy:
*
* <pre>{@code
* // This snippet has been automatically generated and should be regarded as a code template only.
* // It will require modifications to work:
* // - It may require correct/in-range values for request initialization.
* // - It may require specifying regional endpoints when creating the service client as shown in
* // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
* AccessContextManagerStubSettings.Builder accessContextManagerSettingsBuilder =
* AccessContextManagerStubSettings.newBuilder();
* TimedRetryAlgorithm timedRetryAlgorithm =
* OperationalTimedPollAlgorithm.create(
* RetrySettings.newBuilder()
* .setInitialRetryDelayDuration(Duration.ofMillis(500))
* .setRetryDelayMultiplier(1.5)
* .setMaxRetryDelay(Duration.ofMillis(5000))
* .setTotalTimeoutDuration(Duration.ofHours(24))
* .build());
* accessContextManagerSettingsBuilder
* .createClusterOperationSettings()
* .setPollingAlgorithm(timedRetryAlgorithm)
* .build();
* }</pre>
*/
@Generated("by gapic-generator-java")
public class AccessContextManagerStubSettings
Expand Down Expand Up @@ -288,9 +327,7 @@ public String extractNextToken(ListAccessPoliciesResponse payload) {

@Override
public Iterable<AccessPolicy> extractResources(ListAccessPoliciesResponse payload) {
return payload.getAccessPoliciesList() == null
? ImmutableList.<AccessPolicy>of()
: payload.getAccessPoliciesList();
return payload.getAccessPoliciesList();
}
};

Expand Down Expand Up @@ -328,9 +365,7 @@ public String extractNextToken(ListAccessLevelsResponse payload) {

@Override
public Iterable<AccessLevel> extractResources(ListAccessLevelsResponse payload) {
return payload.getAccessLevelsList() == null
? ImmutableList.<AccessLevel>of()
: payload.getAccessLevelsList();
return payload.getAccessLevelsList();
}
};

Expand Down Expand Up @@ -369,9 +404,7 @@ public String extractNextToken(ListServicePerimetersResponse payload) {
@Override
public Iterable<ServicePerimeter> extractResources(
ListServicePerimetersResponse payload) {
return payload.getServicePerimetersList() == null
? ImmutableList.<ServicePerimeter>of()
: payload.getServicePerimetersList();
return payload.getServicePerimetersList();
}
};

Expand Down Expand Up @@ -416,9 +449,7 @@ public String extractNextToken(ListGcpUserAccessBindingsResponse payload) {
@Override
public Iterable<GcpUserAccessBinding> extractResources(
ListGcpUserAccessBindingsResponse payload) {
return payload.getGcpUserAccessBindingsList() == null
? ImmutableList.<GcpUserAccessBinding>of()
: payload.getGcpUserAccessBindingsList();
return payload.getGcpUserAccessBindingsList();
}
};

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -305,6 +305,24 @@
"allDeclaredClasses": true,
"allPublicClasses": true
},
{
"name": "com.google.api.PythonSettings$ExperimentalFeatures",
"queryAllDeclaredConstructors": true,
"queryAllPublicConstructors": true,
"queryAllDeclaredMethods": true,
"allPublicMethods": true,
"allDeclaredClasses": true,
"allPublicClasses": true
},
{
"name": "com.google.api.PythonSettings$ExperimentalFeatures$Builder",
"queryAllDeclaredConstructors": true,
"queryAllPublicConstructors": true,
"queryAllDeclaredMethods": true,
"allPublicMethods": true,
"allDeclaredClasses": true,
"allPublicClasses": true
},
{
"name": "com.google.api.ResourceDescriptor",
"queryAllDeclaredConstructors": true,
Expand Down
Loading
Loading