Skip to content

Commit

Permalink
feat: Adding project/folder level parents to notification configs in …
Browse files Browse the repository at this point in the history
…SCC (#403)

* feat: Adding project/folder level parents to notification configs in SCC

PiperOrigin-RevId: 481230115

Source-Link: googleapis/googleapis@94efa50

Source-Link: googleapis/googleapis-gen@cf106b5
Copy-Tag: eyJwIjoiLmdpdGh1Yi8uT3dsQm90LnlhbWwiLCJoIjoiY2YxMDZiNWMwZDRmNzI3YThiZmM4ZTIzNzQ5MzMwNDIxZjQwYjgxNyJ9

* 🦉 Updates from OwlBot post-processor

See https://github.com/googleapis/repo-automation-bots/blob/main/packages/owl-bot/README.md

Co-authored-by: Owl Bot <gcf-owl-bot[bot]@users.noreply.github.com>
  • Loading branch information
gcf-owl-bot[bot] and gcf-owl-bot[bot] committed Oct 16, 2022
1 parent 4a4992b commit cb998ce
Show file tree
Hide file tree
Showing 3 changed files with 12 additions and 6 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -840,7 +840,8 @@ async def sample_create_notification_config():
notification config.
parent (:class:`str`):
Required. Resource name of the new notification config's
parent. Its format is "organizations/[organization_id]".
parent. Its format is "organizations/[organization_id]",
"folders/[folder_id]", or "projects/[project_id]".
This corresponds to the ``parent`` field
on the ``request`` instance; if ``request`` is provided, this
Expand Down Expand Up @@ -2492,7 +2493,8 @@ async def sample_list_notification_configs():
parent (:class:`str`):
Required. Name of the organization to list notification
configs. Its format is
"organizations/[organization_id]".
"organizations/[organization_id]",
"folders/[folder_id]", or "projects/[project_id]".
This corresponds to the ``parent`` field
on the ``request`` instance; if ``request`` is provided, this
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -1211,7 +1211,8 @@ def sample_create_notification_config():
notification config.
parent (str):
Required. Resource name of the new notification config's
parent. Its format is "organizations/[organization_id]".
parent. Its format is "organizations/[organization_id]",
"folders/[folder_id]", or "projects/[project_id]".
This corresponds to the ``parent`` field
on the ``request`` instance; if ``request`` is provided, this
Expand Down Expand Up @@ -2795,7 +2796,8 @@ def sample_list_notification_configs():
parent (str):
Required. Name of the organization to list notification
configs. Its format is
"organizations/[organization_id]".
"organizations/[organization_id]",
"folders/[folder_id]", or "projects/[project_id]".
This corresponds to the ``parent`` field
on the ``request`` instance; if ``request`` is provided, this
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -220,7 +220,8 @@ class CreateNotificationConfigRequest(proto.Message):
Attributes:
parent (str):
Required. Resource name of the new notification config's
parent. Its format is "organizations/[organization_id]".
parent. Its format is "organizations/[organization_id]",
"folders/[folder_id]", or "projects/[project_id]".
config_id (str):
Required.
Unique identifier provided by the client within
Expand Down Expand Up @@ -957,7 +958,8 @@ class ListNotificationConfigsRequest(proto.Message):
Attributes:
parent (str):
Required. Name of the organization to list notification
configs. Its format is "organizations/[organization_id]".
configs. Its format is "organizations/[organization_id]",
"folders/[folder_id]", or "projects/[project_id]".
page_token (str):
The value returned by the last
``ListNotificationConfigsResponse``; indicates that this is
Expand Down

0 comments on commit cb998ce

Please sign in to comment.