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: [clouddeploy] added platform log RolloutUpdateEvent #9979

Merged
merged 2 commits into from
Oct 19, 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.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions java-deploy/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.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
Original file line number Diff line number Diff line change
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
Original file line number Diff line number Diff line change
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
Original file line number Diff line number Diff line change
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];
}
Loading