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

Commit

Permalink
chore: upgrade gapic-generator-python to 0.46.3 (#76)
Browse files Browse the repository at this point in the history
PiperOrigin-RevId: 373649163

Source-Link: googleapis/googleapis@7e1b14e

Source-Link: googleapis/googleapis-gen@0a3c7d2

fix: add async client to %name_%version/init.py
chore: add autogenerated snippets
chore: remove auth, policy, and options from the reserved names list
feat: support self-signed JWT flow for service accounts
chore: enable GAPIC metadata generation
chore: sort subpackages in %namespace/%name/init.py
  • Loading branch information
gcf-owl-bot[bot] authored May 16, 2021
1 parent 38a7deb commit e761cff
Show file tree
Hide file tree
Showing 21 changed files with 746 additions and 471 deletions.
1 change: 0 additions & 1 deletion docs/accessapproval_v1/access_approval.rst
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,6 @@ AccessApproval
:members:
:inherited-members:


.. automodule:: google.cloud.accessapproval_v1.services.access_approval.pagers
:members:
:inherited-members:
14 changes: 7 additions & 7 deletions google/cloud/accessapproval/__init__.py
Original file line number Diff line number Diff line change
@@ -1,5 +1,4 @@
# -*- coding: utf-8 -*-

# Copyright 2020 Google LLC
#
# Licensed under the Apache License, Version 2.0 (the "License");
Expand All @@ -15,12 +14,13 @@
# limitations under the License.
#

from google.cloud.accessapproval_v1.services.access_approval.async_client import (
AccessApprovalAsyncClient,
)
from google.cloud.accessapproval_v1.services.access_approval.client import (
AccessApprovalClient,
)
from google.cloud.accessapproval_v1.services.access_approval.async_client import (
AccessApprovalAsyncClient,
)

from google.cloud.accessapproval_v1.types.accessapproval import AccessApprovalSettings
from google.cloud.accessapproval_v1.types.accessapproval import AccessLocations
from google.cloud.accessapproval_v1.types.accessapproval import AccessReason
Expand All @@ -37,7 +37,6 @@
)
from google.cloud.accessapproval_v1.types.accessapproval import DismissDecision
from google.cloud.accessapproval_v1.types.accessapproval import EnrolledService
from google.cloud.accessapproval_v1.types.accessapproval import EnrollmentLevel
from google.cloud.accessapproval_v1.types.accessapproval import (
GetAccessApprovalSettingsMessage,
)
Expand All @@ -54,10 +53,11 @@
from google.cloud.accessapproval_v1.types.accessapproval import (
UpdateAccessApprovalSettingsMessage,
)
from google.cloud.accessapproval_v1.types.accessapproval import EnrollmentLevel

__all__ = (
"AccessApprovalAsyncClient",
"AccessApprovalClient",
"AccessApprovalAsyncClient",
"AccessApprovalSettings",
"AccessLocations",
"AccessReason",
Expand All @@ -68,11 +68,11 @@
"DismissApprovalRequestMessage",
"DismissDecision",
"EnrolledService",
"EnrollmentLevel",
"GetAccessApprovalSettingsMessage",
"GetApprovalRequestMessage",
"ListApprovalRequestsMessage",
"ListApprovalRequestsResponse",
"ResourceProperties",
"UpdateAccessApprovalSettingsMessage",
"EnrollmentLevel",
)
9 changes: 5 additions & 4 deletions google/cloud/accessapproval_v1/__init__.py
Original file line number Diff line number Diff line change
@@ -1,5 +1,4 @@
# -*- coding: utf-8 -*-

# Copyright 2020 Google LLC
#
# Licensed under the Apache License, Version 2.0 (the "License");
Expand All @@ -16,6 +15,8 @@
#

from .services.access_approval import AccessApprovalClient
from .services.access_approval import AccessApprovalAsyncClient

from .types.accessapproval import AccessApprovalSettings
from .types.accessapproval import AccessLocations
from .types.accessapproval import AccessReason
Expand All @@ -26,16 +27,17 @@
from .types.accessapproval import DismissApprovalRequestMessage
from .types.accessapproval import DismissDecision
from .types.accessapproval import EnrolledService
from .types.accessapproval import EnrollmentLevel
from .types.accessapproval import GetAccessApprovalSettingsMessage
from .types.accessapproval import GetApprovalRequestMessage
from .types.accessapproval import ListApprovalRequestsMessage
from .types.accessapproval import ListApprovalRequestsResponse
from .types.accessapproval import ResourceProperties
from .types.accessapproval import UpdateAccessApprovalSettingsMessage

from .types.accessapproval import EnrollmentLevel

__all__ = (
"AccessApprovalAsyncClient",
"AccessApprovalClient",
"AccessApprovalSettings",
"AccessLocations",
"AccessReason",
Expand All @@ -53,5 +55,4 @@
"ListApprovalRequestsResponse",
"ResourceProperties",
"UpdateAccessApprovalSettingsMessage",
"AccessApprovalClient",
)
93 changes: 93 additions & 0 deletions google/cloud/accessapproval_v1/gapic_metadata.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,93 @@
{
"comment": "This file maps proto services/RPCs to the corresponding library clients/methods",
"language": "python",
"libraryPackage": "google.cloud.accessapproval_v1",
"protoPackage": "google.cloud.accessapproval.v1",
"schema": "1.0",
"services": {
"AccessApproval": {
"clients": {
"grpc": {
"libraryClient": "AccessApprovalClient",
"rpcs": {
"ApproveApprovalRequest": {
"methods": [
"approve_approval_request"
]
},
"DeleteAccessApprovalSettings": {
"methods": [
"delete_access_approval_settings"
]
},
"DismissApprovalRequest": {
"methods": [
"dismiss_approval_request"
]
},
"GetAccessApprovalSettings": {
"methods": [
"get_access_approval_settings"
]
},
"GetApprovalRequest": {
"methods": [
"get_approval_request"
]
},
"ListApprovalRequests": {
"methods": [
"list_approval_requests"
]
},
"UpdateAccessApprovalSettings": {
"methods": [
"update_access_approval_settings"
]
}
}
},
"grpc-async": {
"libraryClient": "AccessApprovalAsyncClient",
"rpcs": {
"ApproveApprovalRequest": {
"methods": [
"approve_approval_request"
]
},
"DeleteAccessApprovalSettings": {
"methods": [
"delete_access_approval_settings"
]
},
"DismissApprovalRequest": {
"methods": [
"dismiss_approval_request"
]
},
"GetAccessApprovalSettings": {
"methods": [
"get_access_approval_settings"
]
},
"GetApprovalRequest": {
"methods": [
"get_approval_request"
]
},
"ListApprovalRequests": {
"methods": [
"list_approval_requests"
]
},
"UpdateAccessApprovalSettings": {
"methods": [
"update_access_approval_settings"
]
}
}
}
}
}
}
}
1 change: 0 additions & 1 deletion google/cloud/accessapproval_v1/services/__init__.py
Original file line number Diff line number Diff line change
@@ -1,5 +1,4 @@
# -*- coding: utf-8 -*-

# Copyright 2020 Google LLC
#
# Licensed under the Apache License, Version 2.0 (the "License");
Expand Down
Original file line number Diff line number Diff line change
@@ -1,5 +1,4 @@
# -*- coding: utf-8 -*-

# Copyright 2020 Google LLC
#
# Licensed under the Apache License, Version 2.0 (the "License");
Expand All @@ -14,7 +13,6 @@
# See the License for the specific language governing permissions and
# limitations under the License.
#

from .client import AccessApprovalClient
from .async_client import AccessApprovalAsyncClient

Expand Down
Loading

0 comments on commit e761cff

Please sign in to comment.