Skip to content
This repository has been archived by the owner on Dec 3, 2023. It is now read-only.

fix: make title and description of Condition Nullable #1063

Merged
merged 1 commit into from Jan 3, 2023

Conversation

BenWhitehead
Copy link
Contributor

According to https://cloud.google.com/iam/docs/conditions-overview#syntax_overview both title and description are optional.

Currently, AutoValue treats these fields as non-null which goes against the definition from the API.

This change may be considered breaking by some criteria, however this class is annotated @BetaApi.

@product-auto-label product-auto-label bot added the size: s Pull request size is small. label Jan 3, 2023
According to https://cloud.google.com/iam/docs/conditions-overview#syntax_overview both title and description are optional.

Currently, AutoValue treats these fields as non-null which goes against the definition from the API.

This change may be considered breaking by some criteria, however this class is annotated @BetaApi.
@BenWhitehead BenWhitehead added the owlbot:run Add this label to trigger the Owlbot post processor. label Jan 3, 2023
@gcf-owl-bot gcf-owl-bot bot removed the owlbot:run Add this label to trigger the Owlbot post processor. label Jan 3, 2023
@BenWhitehead BenWhitehead marked this pull request as ready for review January 3, 2023 21:27
@BenWhitehead BenWhitehead requested a review from a team as a code owner January 3, 2023 21:27
@BenWhitehead BenWhitehead merged commit 1238462 into main Jan 3, 2023
@BenWhitehead BenWhitehead deleted the iam-policy-condition-fix branch January 3, 2023 22:00
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
size: s Pull request size is small.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants