mirror of
https://github.com/ansible-collections/google.cloud.git
synced 2025-04-06 19:00:27 -07:00
Merge pull request #120 from modular-magician/codegen-pr-2906
Add status, license output fields
This commit is contained in:
commit
6f829773fc
5 changed files with 29 additions and 2 deletions
|
@ -256,6 +256,14 @@ users:
|
|||
- The URLs of the resources that are using this address.
|
||||
returned: success
|
||||
type: list
|
||||
status:
|
||||
description:
|
||||
- The status of the address, which can be one of RESERVING, RESERVED, or IN_USE.
|
||||
- An address that is RESERVING is currently in the process of being reserved.
|
||||
- A RESERVED address is currently reserved and available to use. An IN_USE address
|
||||
is currently being used by another resource and is not available.
|
||||
returned: success
|
||||
type: str
|
||||
region:
|
||||
description:
|
||||
- URL of the region where the regional address resides.
|
||||
|
@ -425,6 +433,7 @@ def response_to_hash(module, response):
|
|||
u'networkTier': response.get(u'networkTier'),
|
||||
u'subnetwork': response.get(u'subnetwork'),
|
||||
u'users': response.get(u'users'),
|
||||
u'status': response.get(u'status'),
|
||||
}
|
||||
|
||||
|
||||
|
|
|
@ -184,6 +184,14 @@ resources:
|
|||
- The URLs of the resources that are using this address.
|
||||
returned: success
|
||||
type: list
|
||||
status:
|
||||
description:
|
||||
- The status of the address, which can be one of RESERVING, RESERVED, or IN_USE.
|
||||
- An address that is RESERVING is currently in the process of being reserved.
|
||||
- A RESERVED address is currently reserved and available to use. An IN_USE address
|
||||
is currently being used by another resource and is not available.
|
||||
returned: success
|
||||
type: str
|
||||
region:
|
||||
description:
|
||||
- URL of the region where the regional address resides.
|
||||
|
|
|
@ -808,10 +808,10 @@ class FirewallLogconfig(object):
|
|||
self.request = {}
|
||||
|
||||
def to_request(self):
|
||||
return remove_nones_from_dict({u'enableLogging': self.request.get('enable_logging')})
|
||||
return remove_nones_from_dict({u'enable': self.request.get('enable_logging')})
|
||||
|
||||
def from_response(self):
|
||||
return remove_nones_from_dict({u'enableLogging': self.request.get(u'enableLogging')})
|
||||
return remove_nones_from_dict({u'enable': self.request.get(u'enable')})
|
||||
|
||||
|
||||
if __name__ == '__main__':
|
||||
|
|
|
@ -600,6 +600,11 @@ properties:
|
|||
returned: success
|
||||
type: complex
|
||||
contains:
|
||||
licenses:
|
||||
description:
|
||||
- Any applicable license URI.
|
||||
returned: success
|
||||
type: list
|
||||
autoDelete:
|
||||
description:
|
||||
- Specifies whether the disk will be auto-deleted when the instance is deleted
|
||||
|
|
|
@ -162,6 +162,11 @@ resources:
|
|||
returned: success
|
||||
type: complex
|
||||
contains:
|
||||
licenses:
|
||||
description:
|
||||
- Any applicable license URI.
|
||||
returned: success
|
||||
type: list
|
||||
autoDelete:
|
||||
description:
|
||||
- Specifies whether the disk will be auto-deleted when the instance
|
||||
|
|
Loading…
Add table
Reference in a new issue