Skip to content

Commit

Permalink
Merge pull request #307 from nhudson/nhudson/fix_condition_descriptio…
Browse files Browse the repository at this point in the history
…n_optional

fix(storage iam policies): Make description field optional in Condition struct
  • Loading branch information
yoshidan authored Sep 9, 2024
2 parents e905202 + e72be37 commit d85716b
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 2 deletions.
2 changes: 1 addition & 1 deletion storage/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ license = "MIT"
name = "google-cloud-storage"
readme = "README.md"
repository = "https://github.com/yoshidan/google-cloud-rust/tree/main/storage"
version = "0.22.0"
version = "0.22.1"

[dependencies]
anyhow = "1.0"
Expand Down
3 changes: 2 additions & 1 deletion storage/src/http/buckets/mod.rs
Original file line number Diff line number Diff line change
Expand Up @@ -475,5 +475,6 @@ pub struct Condition {
pub title: String,
/// Optional. Description of the expression. This is a longer text which
/// describes the expression, e.g. when hovered over it in a UI.
pub description: String,
#[serde(default)]
pub description: Option<String>,
}

0 comments on commit d85716b

Please sign in to comment.