mirror of
https://github.com/ansible-collections/google.cloud.git
synced 2025-04-25 20:31:24 -07:00
Reverting some ResourceRef changes (#226)
Signed-off-by: Modular Magician <magic-modules@google.com>
This commit is contained in:
parent
795304780b
commit
bbaf1a79c7
64 changed files with 423 additions and 379 deletions
|
@ -56,9 +56,10 @@ options:
|
|||
description:
|
||||
- A reference to a Topic resource.
|
||||
- 'This field represents a link to a Topic resource in GCP. It can be specified
|
||||
in two ways. First, you can place in the name of the resource here as a string
|
||||
Alternatively, you can add `register: name-of-resource` to a gcp_pubsub_topic
|
||||
task and then set this topic field to "{{ name-of-resource }}"'
|
||||
in two ways. First, you can place a dictionary with key ''name'' and value of
|
||||
your resource''s name Alternatively, you can add `register: name-of-resource`
|
||||
to a gcp_pubsub_topic task and then set this topic field to "{{ name-of-resource
|
||||
}}"'
|
||||
required: true
|
||||
labels:
|
||||
description:
|
||||
|
@ -170,7 +171,7 @@ topic:
|
|||
description:
|
||||
- A reference to a Topic resource.
|
||||
returned: success
|
||||
type: str
|
||||
type: dict
|
||||
labels:
|
||||
description:
|
||||
- A set of key/value label pairs to assign to this Subscription.
|
||||
|
@ -266,7 +267,7 @@ def main():
|
|||
argument_spec=dict(
|
||||
state=dict(default='present', choices=['present', 'absent'], type='str'),
|
||||
name=dict(required=True, type='str'),
|
||||
topic=dict(required=True),
|
||||
topic=dict(required=True, type='dict'),
|
||||
labels=dict(type='dict'),
|
||||
push_config=dict(type='dict', options=dict(push_endpoint=dict(required=True, type='str'), attributes=dict(type='dict'))),
|
||||
ack_deadline_seconds=dict(type='int'),
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue