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

feat: [batch] add a CloudLoggingOption and use_generic_task_monitored_resource fields for users to opt out new batch monitored resource in cloud logging #10056

Merged
merged 2 commits into from Nov 16, 2023
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Jump to
Jump to file
Failed to load files.
Diff view
Diff view
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