Skip to content

Commit

Permalink
feat: [batch] add a CloudLoggingOption and use_generic_task_monitored…
Browse files Browse the repository at this point in the history
…_resource fields for users to opt out new batch monitored resource in cloud logging (#10056)

- [ ] Regenerate this pull request now.

PiperOrigin-RevId: 582090179

Source-Link: https://togithub.com/googleapis/googleapis/commit/8690a75447e67f19cd3fb14368cab12af0c5bfd1

Source-Link: https://togithub.com/googleapis/googleapis-gen/commit/dc7262fbf316b83248cdbd4ce6c9f126a3d02b1a
Copy-Tag: eyJwIjoiamF2YS1iYXRjaC8uT3dsQm90LnlhbWwiLCJoIjoiZGM3MjYyZmJmMzE2YjgzMjQ4Y2RiZDRjZTZjOWYxMjZhM2QwMmIxYSJ9
  • Loading branch information
gcf-owl-bot[bot] committed Nov 16, 2023
1 parent 404a852 commit a9830d9
Show file tree
Hide file tree
Showing 8 changed files with 1,177 additions and 206 deletions.
4 changes: 2 additions & 2 deletions java-batch/README.md
Expand Up @@ -23,7 +23,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.26.0</version>
<version>26.27.0</version>
<type>pom</type>
<scope>import</scope>
</dependency>
Expand Down Expand Up @@ -201,7 +201,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-preview-yellow
[maven-version-image]: https://img.shields.io/maven-central/v/com.google.cloud/google-cloud-batch.svg
[maven-version-link]: https://central.sonatype.com/artifact/com.google.cloud/google-cloud-batch/0.29.0
[maven-version-link]: https://central.sonatype.com/artifact/com.google.cloud/google-cloud-batch/0.30.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
Expand Up @@ -1007,6 +1007,24 @@
"allDeclaredClasses": true,
"allPublicClasses": true
},
{
"name": "com.google.cloud.batch.v1alpha.LogsPolicy$CloudLoggingOption",
"queryAllDeclaredConstructors": true,
"queryAllPublicConstructors": true,
"queryAllDeclaredMethods": true,
"allPublicMethods": true,
"allDeclaredClasses": true,
"allPublicClasses": true
},
{
"name": "com.google.cloud.batch.v1alpha.LogsPolicy$CloudLoggingOption$Builder",
"queryAllDeclaredConstructors": true,
"queryAllPublicConstructors": true,
"queryAllDeclaredMethods": true,
"allPublicMethods": true,
"allDeclaredClasses": true,
"allPublicClasses": true
},
{
"name": "com.google.cloud.batch.v1alpha.LogsPolicy$Destination",
"queryAllDeclaredConstructors": true,
Expand Down

Large diffs are not rendered by default.

Expand Up @@ -70,7 +70,7 @@ public interface AllocationPolicyOrBuilder
* </code>
*
* @deprecated google.cloud.batch.v1alpha.AllocationPolicy.instance is deprecated. See
* google/cloud/batch/v1alpha/job.proto;l=560
* google/cloud/batch/v1alpha/job.proto;l=574
* @return Whether the instance field is set.
*/
@java.lang.Deprecated
Expand All @@ -87,7 +87,7 @@ public interface AllocationPolicyOrBuilder
* </code>
*
* @deprecated google.cloud.batch.v1alpha.AllocationPolicy.instance is deprecated. See
* google/cloud/batch/v1alpha/job.proto;l=560
* google/cloud/batch/v1alpha/job.proto;l=574
* @return The instance.
*/
@java.lang.Deprecated
Expand Down Expand Up @@ -187,7 +187,7 @@ public interface AllocationPolicyOrBuilder
* <code>repeated string instance_templates = 3 [deprecated = true];</code>
*
* @deprecated google.cloud.batch.v1alpha.AllocationPolicy.instance_templates is deprecated. See
* google/cloud/batch/v1alpha/job.proto;l=567
* google/cloud/batch/v1alpha/job.proto;l=581
* @return A list containing the instanceTemplates.
*/
@java.lang.Deprecated
Expand All @@ -202,7 +202,7 @@ public interface AllocationPolicyOrBuilder
* <code>repeated string instance_templates = 3 [deprecated = true];</code>
*
* @deprecated google.cloud.batch.v1alpha.AllocationPolicy.instance_templates is deprecated. See
* google/cloud/batch/v1alpha/job.proto;l=567
* google/cloud/batch/v1alpha/job.proto;l=581
* @return The count of instanceTemplates.
*/
@java.lang.Deprecated
Expand All @@ -217,7 +217,7 @@ public interface AllocationPolicyOrBuilder
* <code>repeated string instance_templates = 3 [deprecated = true];</code>
*
* @deprecated google.cloud.batch.v1alpha.AllocationPolicy.instance_templates is deprecated. See
* google/cloud/batch/v1alpha/job.proto;l=567
* google/cloud/batch/v1alpha/job.proto;l=581
* @param index The index of the element to return.
* @return The instanceTemplates at the given index.
*/
Expand All @@ -233,7 +233,7 @@ public interface AllocationPolicyOrBuilder
* <code>repeated string instance_templates = 3 [deprecated = true];</code>
*
* @deprecated google.cloud.batch.v1alpha.AllocationPolicy.instance_templates is deprecated. See
* google/cloud/batch/v1alpha/job.proto;l=567
* google/cloud/batch/v1alpha/job.proto;l=581
* @param index The index of the value to return.
* @return The bytes of the instanceTemplates at the given index.
*/
Expand All @@ -252,7 +252,7 @@ public interface AllocationPolicyOrBuilder
* </code>
*
* @deprecated google.cloud.batch.v1alpha.AllocationPolicy.provisioning_models is deprecated. See
* google/cloud/batch/v1alpha/job.proto;l=570
* google/cloud/batch/v1alpha/job.proto;l=584
* @return A list containing the provisioningModels.
*/
@java.lang.Deprecated
Expand All @@ -270,7 +270,7 @@ public interface AllocationPolicyOrBuilder
* </code>
*
* @deprecated google.cloud.batch.v1alpha.AllocationPolicy.provisioning_models is deprecated. See
* google/cloud/batch/v1alpha/job.proto;l=570
* google/cloud/batch/v1alpha/job.proto;l=584
* @return The count of provisioningModels.
*/
@java.lang.Deprecated
Expand All @@ -287,7 +287,7 @@ public interface AllocationPolicyOrBuilder
* </code>
*
* @deprecated google.cloud.batch.v1alpha.AllocationPolicy.provisioning_models is deprecated. See
* google/cloud/batch/v1alpha/job.proto;l=570
* google/cloud/batch/v1alpha/job.proto;l=584
* @param index The index of the element to return.
* @return The provisioningModels at the given index.
*/
Expand All @@ -306,7 +306,7 @@ com.google.cloud.batch.v1alpha.AllocationPolicy.ProvisioningModel getProvisionin
* </code>
*
* @deprecated google.cloud.batch.v1alpha.AllocationPolicy.provisioning_models is deprecated. See
* google/cloud/batch/v1alpha/job.proto;l=570
* google/cloud/batch/v1alpha/job.proto;l=584
* @return A list containing the enum numeric values on the wire for provisioningModels.
*/
@java.lang.Deprecated
Expand All @@ -323,7 +323,7 @@ com.google.cloud.batch.v1alpha.AllocationPolicy.ProvisioningModel getProvisionin
* </code>
*
* @deprecated google.cloud.batch.v1alpha.AllocationPolicy.provisioning_models is deprecated. See
* google/cloud/batch/v1alpha/job.proto;l=570
* google/cloud/batch/v1alpha/job.proto;l=584
* @param index The index of the value to return.
* @return The enum numeric value on the wire of provisioningModels at the given index.
*/
Expand All @@ -340,7 +340,7 @@ com.google.cloud.batch.v1alpha.AllocationPolicy.ProvisioningModel getProvisionin
* <code>string service_account_email = 5 [deprecated = true];</code>
*
* @deprecated google.cloud.batch.v1alpha.AllocationPolicy.service_account_email is deprecated.
* See google/cloud/batch/v1alpha/job.proto;l=573
* See google/cloud/batch/v1alpha/job.proto;l=587
* @return The serviceAccountEmail.
*/
@java.lang.Deprecated
Expand All @@ -355,7 +355,7 @@ com.google.cloud.batch.v1alpha.AllocationPolicy.ProvisioningModel getProvisionin
* <code>string service_account_email = 5 [deprecated = true];</code>
*
* @deprecated google.cloud.batch.v1alpha.AllocationPolicy.service_account_email is deprecated.
* See google/cloud/batch/v1alpha/job.proto;l=573
* See google/cloud/batch/v1alpha/job.proto;l=587
* @return The bytes for serviceAccountEmail.
*/
@java.lang.Deprecated
Expand Down

0 comments on commit a9830d9

Please sign in to comment.