Skip to content
This repository has been archived by the owner on Sep 5, 2023. It is now read-only.

Commit

Permalink
🦉 Updates from OwlBot post-processor
Browse files Browse the repository at this point in the history
  • Loading branch information
gcf-owl-bot[bot] committed May 4, 2023
1 parent 485548d commit 19bbf1d
Show file tree
Hide file tree
Showing 225 changed files with 50 additions and 94,527 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -257,9 +257,10 @@ async def sample_list_tag_keys():
The request object. The request message for listing all
TagKeys under a parent resource.
parent (:class:`str`):
Required. The resource name of the new TagKey's parent.
Must be of the form ``folders/{folder_id}`` or
``organizations/{org_id}``.
Required. The resource name of the TagKey's parent. Must
be of the form ``organizations/{org_id}`` or
``projects/{project_id}`` or
``projects/{project_number}``
This corresponds to the ``parent`` field
on the ``request`` instance; if ``request`` is provided, this
Expand Down
7 changes: 4 additions & 3 deletions google/cloud/resourcemanager_v3/services/tag_keys/client.py
Original file line number Diff line number Diff line change
Expand Up @@ -485,9 +485,10 @@ def sample_list_tag_keys():
The request object. The request message for listing all
TagKeys under a parent resource.
parent (str):
Required. The resource name of the new TagKey's parent.
Must be of the form ``folders/{folder_id}`` or
``organizations/{org_id}``.
Required. The resource name of the TagKey's parent. Must
be of the form ``organizations/{org_id}`` or
``projects/{project_id}`` or
``projects/{project_number}``
This corresponds to the ``parent`` field
on the ``request`` instance; if ``request`` is provided, this
Expand Down
21 changes: 12 additions & 9 deletions google/cloud/resourcemanager_v3/types/tag_bindings.py
Original file line number Diff line number Diff line change
Expand Up @@ -287,21 +287,24 @@ class EffectiveTag(proto.Message):
tag_value (str):
Resource name for TagValue in the format ``tagValues/456``.
namespaced_tag_value (str):
Namespaced name of the TagValue. Now only supported in the
format
``{organization_id}/{tag_key_short_name}/{tag_value_short_name}``.
Other formats will be supported when we add non-org parented
tags.
The namespaced name of the TagValue. Can be in the form
``{organization_id}/{tag_key_short_name}/{tag_value_short_name}``
or
``{project_id}/{tag_key_short_name}/{tag_value_short_name}``
or
``{project_number}/{tag_key_short_name}/{tag_value_short_name}``.
tag_key (str):
The name of the TagKey, in the format ``tagKeys/{id}``, such
as ``tagKeys/123``.
namespaced_tag_key (str):
The namespaced_name of the TagKey. Now only supported in the
format of ``{organization_id}/{tag_key_short_name}``. Other
formats will be supported when we add non-org parented tags.
The namespaced name of the TagKey. Can be in the form
``{organization_id}/{tag_key_short_name}`` or
``{project_id}/{tag_key_short_name}`` or
``{project_number}/{tag_key_short_name}``.
tag_key_parent_name (str):
The parent name of the tag key. Must be in the format
``organizations/{organization_id}``.
``organizations/{organization_id}`` or
``projects/{project_number}``
inherited (bool):
Indicates the inheritance status of a tag
value attached to the given resource. If the tag
Expand Down
34 changes: 23 additions & 11 deletions google/cloud/resourcemanager_v3/types/tag_keys.py
Original file line number Diff line number Diff line change
Expand Up @@ -50,15 +50,23 @@ class Purpose(proto.Enum):
Unspecified purpose.
GCE_FIREWALL (1):
Purpose for Compute Engine firewalls. A corresponding
purpose_data should be set for the network the tag is
intended for. The key should be 'network' and the value
``purpose_data`` should be set for the network the tag is
intended for. The key should be ``network`` and the value
should be in either of these two formats:
-https://www.googleapis.com/compute/{compute_version}/projects/{project_id}/global/networks/{network_id}
-{project_id}/{network_name}
-
``https://www.googleapis.com/compute/{compute_version}/projects/{project_id}/global/networks/{network_id}``
- ``{project_id}/{network_name}``
Examples:
-https://www.googleapis.com/compute/staging_v1/projects/fail-closed-load-testing/global/networks/6992953698831725600
-fail-closed-load-testing/load-testing-network
-
``https://www.googleapis.com/compute/staging_v1/projects/fail-closed-load-testing/global/networks/6992953698831725600``
- ``fail-closed-load-testing/load-testing-network``
"""
PURPOSE_UNSPECIFIED = 0
GCE_FIREWALL = 1
Expand All @@ -73,8 +81,12 @@ class TagKey(proto.Message):
format ``tagKeys/{tag_key_id}``, where ``tag_key_id`` is the
generated numeric id for the TagKey.
parent (str):
Immutable. The resource name of the new TagKey's parent.
Must be of the form ``organizations/{org_id}``.
Immutable. The resource name of the TagKey's parent. A
TagKey can be parented by an Organization or a Project. For
a TagKey parented by an Organization, its parent must be in
the form ``organizations/{org_id}``. For a TagKey parented
by a Project, its parent can be in the form
``projects/{project_id}`` or ``projects/{project_number}``.
short_name (str):
Required. Immutable. The user friendly name for a TagKey.
The short name should be unique for TagKeys within the same
Expand Down Expand Up @@ -170,9 +182,9 @@ class ListTagKeysRequest(proto.Message):
Attributes:
parent (str):
Required. The resource name of the new TagKey's parent. Must
be of the form ``folders/{folder_id}`` or
``organizations/{org_id}``.
Required. The resource name of the TagKey's parent. Must be
of the form ``organizations/{org_id}`` or
``projects/{project_id}`` or ``projects/{project_number}``
page_size (int):
Optional. The maximum number of TagKeys to
return in the response. The server allows a
Expand Down
12 changes: 7 additions & 5 deletions google/cloud/resourcemanager_v3/types/tag_values.py
Original file line number Diff line number Diff line change
Expand Up @@ -61,11 +61,13 @@ class TagValue(proto.Message):
dashes (-), underscores (_), dots (.), and alphanumerics
between.
namespaced_name (str):
Output only. Namespaced name of the TagValue. Now only
supported in the format
``{organization_id}/{tag_key_short_name}/{short_name}``.
Other formats will be supported when we add non-org parented
tags.
Output only. The namespaced name of the TagValue. Can be in
the form
``{organization_id}/{tag_key_short_name}/{tag_value_short_name}``
or
``{project_id}/{tag_key_short_name}/{tag_value_short_name}``
or
``{project_number}/{tag_key_short_name}/{tag_value_short_name}``.
description (str):
Optional. User-assigned description of the
TagValue. Must not exceed 256 characters.
Expand Down
13 changes: 0 additions & 13 deletions owl-bot-staging/v3/.coveragerc

This file was deleted.

33 changes: 0 additions & 33 deletions owl-bot-staging/v3/.flake8

This file was deleted.

2 changes: 0 additions & 2 deletions owl-bot-staging/v3/MANIFEST.in

This file was deleted.

49 changes: 0 additions & 49 deletions owl-bot-staging/v3/README.rst

This file was deleted.

0 comments on commit 19bbf1d

Please sign in to comment.