Skip to content

Commit

Permalink
Enable logging with api name override is needed
Browse files Browse the repository at this point in the history
  • Loading branch information
slevenick committed Jan 2, 2020
1 parent 8b64b0e commit a1ca729
Show file tree
Hide file tree
Showing 2 changed files with 12 additions and 3 deletions.
13 changes: 11 additions & 2 deletions products/compute/api.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -3084,11 +3084,18 @@ objects:
item_type: Api::Type::String
- !ruby/object:Api::Type::NestedObject
name: 'logConfig'
description: |
This field denotes whether to enable logging for a particular
firewall rule. If logging is enabled, logs will be exported to
Stackdriver.
properties:
- !ruby/object:Api::Type::Boolean
name: 'enable'
name: 'enableLogging'
api_name: enable
description: |
Whether logging is enabled for this firewall rule
This field denotes whether to enable logging for a particular
firewall rule. If logging is enabled, logs will be exported to
Stackdriver.
- !ruby/object:Api::Resource
name: 'ForwardingRule'
kind: 'compute#forwardingRule'
Expand Down Expand Up @@ -4722,6 +4729,7 @@ objects:
name: 'licenses'
description: Any applicable license URI.
item_type: Api::Type::String
output: true
- !ruby/object:Api::Type::Boolean
name: 'autoDelete'
description: |
Expand Down Expand Up @@ -5678,6 +5686,7 @@ objects:
name: 'licenses'
description: 'Any applicable publicly visible licenses.'
item_type: Api::Type::String
output: true
- !ruby/object:Api::Type::Array
name: 'guestAccelerators'
description: |
Expand Down
2 changes: 1 addition & 1 deletion products/compute/terraform.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -497,7 +497,7 @@ overrides: !ruby/object:Overrides::ResourceOverrides
input: true
logConfig: !ruby/object:Overrides::Terraform::PropertyOverride
flatten_object: true
logConfig.enable: !ruby/object:Overrides::Terraform::PropertyOverride
logConfig.enableLogging: !ruby/object:Overrides::Terraform::PropertyOverride
send_empty_value: true
name: !ruby/object:Overrides::Terraform::PropertyOverride
validation: !ruby/object:Provider::Terraform::Validation
Expand Down

0 comments on commit a1ca729

Please sign in to comment.