Skip to content

Commit

Permalink
Update docs for changing attribute input to immutable (#7442)
Browse files Browse the repository at this point in the history
  • Loading branch information
hao-nan-li authored Mar 10, 2023
1 parent bf85c56 commit 0fb8610
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions docs/content/docs/how-to/add-mmv1-resource.md
Original file line number Diff line number Diff line change
Expand Up @@ -40,7 +40,7 @@ as the following adding support for a `fooBar` field in the API:
- !ruby/object:Api::Type::String
name: 'fooBar'
min_version: beta
input: true
immutable: true
description: |
The cloud.google.com description of this field.
```
Expand All @@ -59,7 +59,7 @@ setting values to `false`, and omit them instead.
* `required: true` indicates that a field is required. New top-level fields
should not be considered required, as that is a breaking change. Subfields
of newly-added optional fields can be added as required.
* `input: true` indicates that a field can only be set when the API resource is
* `immutable: true` indicates that a field can only be set when the API resource is
created. Changing the field will force the resource to be recreated.
* `output: true` indicates that a field is output-only in the API and cannot
be configured by the user.
Expand Down

0 comments on commit 0fb8610

Please sign in to comment.