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

Update global address docs now that they are settable + ip ranges sometimes #1617

Merged
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
2 changes: 1 addition & 1 deletion build/terraform
2 changes: 1 addition & 1 deletion build/terraform-beta
5 changes: 5 additions & 0 deletions products/compute/ansible.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -105,6 +105,11 @@ overrides: !ruby/object:Overrides::ResourceOverrides
* regions/region/addresses/address
* global/addresses/address
* address
GlobalAddress: !ruby/object:Overrides::Ansible::ResourceOverride
properties:
address: !ruby/object:Overrides::Ansible::PropertyOverride
description: |
The static external IP address represented by this resource.
GlobalForwardingRule: !ruby/object:Overrides::Ansible::ResourceOverride
properties:
IPAddress: !ruby/object:Overrides::Ansible::PropertyOverride
Expand Down
12 changes: 7 additions & 5 deletions products/compute/api.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -1548,16 +1548,18 @@ objects:
- !ruby/object:Api::Type::String
name: 'address'
description: |
The static external IP address represented by this resource.
The IP address or beginning of the address range represented by this
resource. This can be supplied as an input to reserve a specific
address or omitted to allow GCP to choose a valid one for you.
- !ruby/object:Api::Type::Time
name: 'creationTimestamp'
description: 'Creation timestamp in RFC3339 text format.'
description: |
Creation timestamp in RFC3339 text format.
output: true
- !ruby/object:Api::Type::String
name: 'description'
description: |
An optional description of this resource.
Provide this property when you create the resource.
- !ruby/object:Api::Type::Integer
name: 'id'
description: |
Expand Down Expand Up @@ -1594,7 +1596,7 @@ objects:
name: 'ipVersion'
description: |
The IP Version that will be used by this address. Valid options are
IPV4 or IPV6. The default value is IPV4.
`IPV4` or `IPV6`. The default value is `IPV4`.
values:
- :IPV4
- :IPV6
Expand All @@ -1607,12 +1609,12 @@ objects:
output: true
- !ruby/object:Api::Type::Integer
name: 'prefixLength'
min_version: beta
description: |
The prefix length of the IP range. If not present, it means the
address field is a single IP address.

This field is not applicable to addresses with addressType=EXTERNAL.
min_version: beta
- !ruby/object:Api::Type::Enum
name: 'addressType'
description: |
Expand Down
5 changes: 5 additions & 0 deletions products/compute/inspec.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -29,6 +29,11 @@ overrides: !ruby/object:Overrides::ResourceOverrides
exclude: true
ForwardingRule: !ruby/object:Overrides::Inspec::ResourceOverride
exclude: true
GlobalAddress: !ruby/object:Overrides::Inspec::ResourceOverride
properties:
address: !ruby/object:Overrides::Inspec::PropertyOverride
description: |
The static external IP address represented by this resource.
Image: !ruby/object:Overrides::Inspec::ResourceOverride
exclude: true
Instance: !ruby/object:Overrides::Inspec::ResourceOverride
Expand Down