Skip to content

Commit fc216c1

Browse files
chore: Update gapic-generator-python to v1.8.5 (#207)
* chore: Update gapic-generator-python to v1.8.5 PiperOrigin-RevId: 511892190 Source-Link: googleapis/googleapis@a45d9c0 Source-Link: googleapis/googleapis-gen@1907294 Copy-Tag: eyJwIjoiLmdpdGh1Yi8uT3dsQm90LnlhbWwiLCJoIjoiMTkwNzI5NGIxZDgzNjVlYTI0ZjhjNWYyZTA1OWE2NDEyNGM0ZWQzYiJ9 * 🦉 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> Co-authored-by: Anthonios Partheniou <[email protected]>
1 parent aaf1aa7 commit fc216c1

File tree

4 files changed

+13
-9
lines changed

4 files changed

+13
-9
lines changed

packages/google-cloud-org-policy/google/cloud/orgpolicy_v2/services/org_policy/transports/rest.py

Lines changed: 8 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -30,7 +30,7 @@
3030
from requests import __version__ as requests_version
3131
import dataclasses
3232
import re
33-
from typing import Callable, Dict, List, Optional, Sequence, Tuple, Union
33+
from typing import Any, Callable, Dict, List, Optional, Sequence, Tuple, Union
3434
import warnings
3535

3636
try:
@@ -387,7 +387,7 @@ class _CreatePolicy(OrgPolicyRestStub):
387387
def __hash__(self):
388388
return hash("CreatePolicy")
389389

390-
__REQUIRED_FIELDS_DEFAULT_VALUES: Dict[str, str] = {}
390+
__REQUIRED_FIELDS_DEFAULT_VALUES: Dict[str, Any] = {}
391391

392392
@classmethod
393393
def _get_unset_required_fields(cls, message_dict):
@@ -498,7 +498,7 @@ class _DeletePolicy(OrgPolicyRestStub):
498498
def __hash__(self):
499499
return hash("DeletePolicy")
500500

501-
__REQUIRED_FIELDS_DEFAULT_VALUES: Dict[str, str] = {}
501+
__REQUIRED_FIELDS_DEFAULT_VALUES: Dict[str, Any] = {}
502502

503503
@classmethod
504504
def _get_unset_required_fields(cls, message_dict):
@@ -583,7 +583,7 @@ class _GetEffectivePolicy(OrgPolicyRestStub):
583583
def __hash__(self):
584584
return hash("GetEffectivePolicy")
585585

586-
__REQUIRED_FIELDS_DEFAULT_VALUES: Dict[str, str] = {}
586+
__REQUIRED_FIELDS_DEFAULT_VALUES: Dict[str, Any] = {}
587587

588588
@classmethod
589589
def _get_unset_required_fields(cls, message_dict):
@@ -685,7 +685,7 @@ class _GetPolicy(OrgPolicyRestStub):
685685
def __hash__(self):
686686
return hash("GetPolicy")
687687

688-
__REQUIRED_FIELDS_DEFAULT_VALUES: Dict[str, str] = {}
688+
__REQUIRED_FIELDS_DEFAULT_VALUES: Dict[str, Any] = {}
689689

690690
@classmethod
691691
def _get_unset_required_fields(cls, message_dict):
@@ -784,7 +784,7 @@ class _ListConstraints(OrgPolicyRestStub):
784784
def __hash__(self):
785785
return hash("ListConstraints")
786786

787-
__REQUIRED_FIELDS_DEFAULT_VALUES: Dict[str, str] = {}
787+
__REQUIRED_FIELDS_DEFAULT_VALUES: Dict[str, Any] = {}
788788

789789
@classmethod
790790
def _get_unset_required_fields(cls, message_dict):
@@ -886,7 +886,7 @@ class _ListPolicies(OrgPolicyRestStub):
886886
def __hash__(self):
887887
return hash("ListPolicies")
888888

889-
__REQUIRED_FIELDS_DEFAULT_VALUES: Dict[str, str] = {}
889+
__REQUIRED_FIELDS_DEFAULT_VALUES: Dict[str, Any] = {}
890890

891891
@classmethod
892892
def _get_unset_required_fields(cls, message_dict):
@@ -987,7 +987,7 @@ class _UpdatePolicy(OrgPolicyRestStub):
987987
def __hash__(self):
988988
return hash("UpdatePolicy")
989989

990-
__REQUIRED_FIELDS_DEFAULT_VALUES: Dict[str, str] = {}
990+
__REQUIRED_FIELDS_DEFAULT_VALUES: Dict[str, Any] = {}
991991

992992
@classmethod
993993
def _get_unset_required_fields(cls, message_dict):

packages/google-cloud-org-policy/google/cloud/orgpolicy_v2/types/constraint.py

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -13,6 +13,8 @@
1313
# See the License for the specific language governing permissions and
1414
# limitations under the License.
1515
#
16+
from __future__ import annotations
17+
1618
from typing import MutableMapping, MutableSequence
1719

1820
import proto # type: ignore

packages/google-cloud-org-policy/google/cloud/orgpolicy_v2/types/orgpolicy.py

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -13,6 +13,8 @@
1313
# See the License for the specific language governing permissions and
1414
# limitations under the License.
1515
#
16+
from __future__ import annotations
17+
1618
from typing import MutableMapping, MutableSequence
1719

1820
import proto # type: ignore

packages/google-cloud-org-policy/samples/generated_samples/snippet_metadata_google.cloud.orgpolicy.v2.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@
88
],
99
"language": "PYTHON",
1010
"name": "google-cloud-org-policy",
11-
"version": "1.8.0"
11+
"version": "0.1.0"
1212
},
1313
"snippets": [
1414
{

0 commit comments

Comments
 (0)