Skip to content

Commit

Permalink
fix(storage): *int64 instead of int64 for Age cond (#1598)
Browse files Browse the repository at this point in the history
Towards unblocking: googleapis/google-cloud-go#6230

Change Storage OLM Age condition type from int64 to *int64 to allow for existence of check

Co-authored-by: Chris Cotter <cjcotter@google.com>
  • Loading branch information
frankyn and tritone committed Aug 17, 2022
1 parent c85b305 commit 9ea025d
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
1 change: 1 addition & 0 deletions google-api-go-generator/gen.go
Expand Up @@ -1014,6 +1014,7 @@ var pointerFields = []fieldName{
{api: "sqladmin:v1beta4", schema: "Settings", field: "StorageAutoResize"},
{api: "sqladmin:v1", schema: "Settings", field: "StorageAutoResize"},
{api: "storage:v1", schema: "BucketLifecycleRuleCondition", field: "IsLive"},
{api: "storage:v1", schema: "BucketLifecycleRuleCondition", field: "Age"},
{api: "storage:v1beta2", schema: "BucketLifecycleRuleCondition", field: "IsLive"},
{api: "tasks:v1", schema: "Task", field: "Completed"},
{api: "youtube:v3", schema: "ChannelSectionSnippet", field: "Position"},
Expand Down
2 changes: 1 addition & 1 deletion storage/v1/storage-gen.go

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

0 comments on commit 9ea025d

Please sign in to comment.