mirror of
https://github.com/ansible-collections/google.cloud.git
synced 2025-04-06 19:00:27 -07:00
Minor docs changes for UrlMap
This commit is contained in:
parent
19b40a3240
commit
6f1eb02314
2 changed files with 9 additions and 8 deletions
|
@ -112,7 +112,7 @@ options:
|
|||
suboptions:
|
||||
description:
|
||||
description:
|
||||
- An optional description of this resource. Provide this property when you create
|
||||
- An optional description of this HostRule. Provide this property when you create
|
||||
the resource.
|
||||
required: false
|
||||
hosts:
|
||||
|
@ -168,7 +168,7 @@ options:
|
|||
- 'The list of path patterns to match. Each must start with / and the only place a
|
||||
* is allowed is at the end following a /. The string fed to the path matcher does
|
||||
not include any text after the first ? or #, and those chars are not allowed here.'
|
||||
required: false
|
||||
required: true
|
||||
service:
|
||||
description:
|
||||
- A reference to the BackendService resource if this rule is matched.
|
||||
|
@ -180,7 +180,8 @@ options:
|
|||
required: true
|
||||
tests:
|
||||
description:
|
||||
- Description of this test case.
|
||||
- The list of expected URL mappings. Requests to update this UrlMap will succeed only
|
||||
if all of the test cases pass.
|
||||
required: false
|
||||
suboptions:
|
||||
description:
|
||||
|
@ -280,7 +281,7 @@ RETURN = '''
|
|||
contains:
|
||||
description:
|
||||
description:
|
||||
- An optional description of this resource. Provide this property when you create
|
||||
- An optional description of this HostRule. Provide this property when you create
|
||||
the resource.
|
||||
returned: success
|
||||
type: str
|
||||
|
@ -360,7 +361,7 @@ RETURN = '''
|
|||
type: dict
|
||||
tests:
|
||||
description:
|
||||
- The list of expected URL mappings. Request to update this UrlMap will succeed only
|
||||
- The list of expected URL mappings. Requests to update this UrlMap will succeed only
|
||||
if all of the test cases pass.
|
||||
returned: success
|
||||
type: complex
|
||||
|
@ -419,7 +420,7 @@ def main():
|
|||
description=dict(type='str'),
|
||||
name=dict(required=True, type='str'),
|
||||
path_rules=dict(type='list', elements='dict', options=dict(
|
||||
paths=dict(type='list', elements='str'),
|
||||
paths=dict(required=True, type='list', elements='str'),
|
||||
service=dict(required=True, type='dict')
|
||||
))
|
||||
)),
|
||||
|
|
|
@ -88,7 +88,7 @@ items:
|
|||
contains:
|
||||
description:
|
||||
description:
|
||||
- An optional description of this resource. Provide this property when you create
|
||||
- An optional description of this HostRule. Provide this property when you create
|
||||
the resource.
|
||||
returned: success
|
||||
type: str
|
||||
|
@ -168,7 +168,7 @@ items:
|
|||
type: dict
|
||||
tests:
|
||||
description:
|
||||
- The list of expected URL mappings. Request to update this UrlMap will succeed only
|
||||
- The list of expected URL mappings. Requests to update this UrlMap will succeed only
|
||||
if all of the test cases pass.
|
||||
returned: success
|
||||
type: complex
|
||||
|
|
Loading…
Add table
Reference in a new issue