Skip to content

Commit

Permalink
feat: [clouddeploy] added platform log RolloutUpdateEvent (#9979)
Browse files Browse the repository at this point in the history
* feat: added platform log RolloutUpdateEvent

PiperOrigin-RevId: 574527232

Source-Link: googleapis/googleapis@3e039f5

Source-Link: googleapis/googleapis-gen@6818c5e
Copy-Tag: eyJwIjoiamF2YS1kZXBsb3kvLk93bEJvdC55YW1sIiwiaCI6IjY4MThjNWUxMjQ2ZTNmZDBhM2RjM2JkZGQ5N2FiYWQwZDc0MjBkYzYifQ==

* 🦉 Updates from OwlBot post-processor

See https://github.com/googleapis/repo-automation-bots/blob/main/packages/owl-bot/README.md

---------

Co-authored-by: Owl Bot <gcf-owl-bot[bot]@users.noreply.github.com>
  • Loading branch information
gcf-owl-bot[bot] and gcf-owl-bot[bot] committed Oct 19, 2023
1 parent 84afb01 commit ebdc309
Show file tree
Hide file tree
Showing 4 changed files with 33 additions and 7 deletions.
4 changes: 2 additions & 2 deletions java-deploy/README.md
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.23.0</version>
<version>26.25.0</version>
<type>pom</type>
<scope>import</scope>
</dependency>
Expand Down Expand Up @@ -195,7 +195,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-deploy.svg
[maven-version-link]: https://central.sonatype.com/artifact/com.google.cloud/google-cloud-deploy/1.22.0
[maven-version-link]: https://central.sonatype.com/artifact/com.google.cloud/google-cloud-deploy/1.26.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 @@ -36,15 +36,16 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() {
static {
java.lang.String[] descriptorData = {
"\n&google/cloud/deploy/v1/log_enums.proto"
+ "\022\026google.cloud.deploy.v1*\332\001\n\004Type\022\024\n\020TYP"
+ "\022\026google.cloud.deploy.v1*\363\001\n\004Type\022\024\n\020TYP"
+ "E_UNSPECIFIED\020\000\022$\n TYPE_PUBSUB_NOTIFICAT"
+ "ION_FAILURE\020\001\022\036\n\032TYPE_RESOURCE_STATE_CHA"
+ "NGE\020\003\022\030\n\024TYPE_PROCESS_ABORTED\020\004\022\035\n\031TYPE_"
+ "RESTRICTION_VIOLATED\020\005\022\031\n\025TYPE_RESOURCE_"
+ "DELETED\020\006\022\"\n\032TYPE_RENDER_STATUES_CHANGE\020"
+ "\002\032\002\010\001Ba\n\032com.google.cloud.deploy.v1B\rLog"
+ "EnumsProtoP\001Z2cloud.google.com/go/deploy"
+ "/apiv1/deploypb;deploypbb\006proto3"
+ "DELETED\020\006\022\027\n\023TYPE_ROLLOUT_UPDATE\020\007\022\"\n\032TY"
+ "PE_RENDER_STATUES_CHANGE\020\002\032\002\010\001Ba\n\032com.go"
+ "ogle.cloud.deploy.v1B\rLogEnumsProtoP\001Z2c"
+ "loud.google.com/go/deploy/apiv1/deploypb"
+ ";deploypbb\006proto3"
};
descriptor =
com.google.protobuf.Descriptors.FileDescriptor.internalBuildGeneratedFileFrom(
Expand Down
Expand Up @@ -88,6 +88,16 @@ public enum Type implements com.google.protobuf.ProtocolMessageEnum {
* <code>TYPE_RESOURCE_DELETED = 6;</code>
*/
TYPE_RESOURCE_DELETED(6),
/**
*
*
* <pre>
* Rollout updated.
* </pre>
*
* <code>TYPE_ROLLOUT_UPDATE = 7;</code>
*/
TYPE_ROLLOUT_UPDATE(7),
/**
*
*
Expand Down Expand Up @@ -162,6 +172,16 @@ public enum Type implements com.google.protobuf.ProtocolMessageEnum {
* <code>TYPE_RESOURCE_DELETED = 6;</code>
*/
public static final int TYPE_RESOURCE_DELETED_VALUE = 6;
/**
*
*
* <pre>
* Rollout updated.
* </pre>
*
* <code>TYPE_ROLLOUT_UPDATE = 7;</code>
*/
public static final int TYPE_ROLLOUT_UPDATE_VALUE = 7;
/**
*
*
Expand Down Expand Up @@ -209,6 +229,8 @@ public static Type forNumber(int value) {
return TYPE_RESTRICTION_VIOLATED;
case 6:
return TYPE_RESOURCE_DELETED;
case 7:
return TYPE_ROLLOUT_UPDATE;
case 2:
return TYPE_RENDER_STATUES_CHANGE;
default:
Expand Down
Expand Up @@ -41,6 +41,9 @@ enum Type {
// Resource deleted.
TYPE_RESOURCE_DELETED = 6;

// Rollout updated.
TYPE_ROLLOUT_UPDATE = 7;

// Deprecated: This field is never used. Use release_render log type instead.
TYPE_RENDER_STATUES_CHANGE = 2 [deprecated = true];
}

0 comments on commit ebdc309

Please sign in to comment.