Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Appearance settings

Commit 2842fa8

Browse filesBrowse files
authored
Use moved iam.policy now at google.api_core.iam.policy (googleapis#6741)
* update references to iam to use api-core\ * Update dependency to api_core
1 parent 5907c7c commit 2842fa8
Copy full SHA for 2842fa8

File tree

Expand file treeCollapse file tree

37 files changed

+49
-49
lines changed
Filter options
Expand file treeCollapse file tree

37 files changed

+49
-49
lines changed

‎asset/setup.py

Copy file name to clipboardExpand all lines: asset/setup.py
+1-1Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -28,7 +28,7 @@
2828
# 'Development Status :: 5 - Production/Stable'
2929
release_status = 'Development Status :: 3 - Alpha'
3030
dependencies = [
31-
'google-api-core[grpc] >= 1.4.1, < 2.0.0dev',
31+
'google-api-core[grpc] >= 1.6.0, < 2.0.0dev',
3232
'enum34; python_version < "3.4"',
3333
'grpc-google-iam-v1 >= 0.11.4, < 0.12dev',
3434
]

‎automl/setup.py

Copy file name to clipboardExpand all lines: automl/setup.py
+1-1Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@
2222
version = '0.1.1'
2323
release_status = 'Development Status :: 3 - Alpha'
2424
dependencies = [
25-
'google-api-core[grpc] >= 1.4.1, < 2.0.0dev',
25+
'google-api-core[grpc] >= 1.6.0, < 2.0.0dev',
2626
'enum34; python_version < "3.4"',
2727
]
2828

‎bigquery/setup.py

Copy file name to clipboardExpand all lines: bigquery/setup.py
+1-1Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -29,7 +29,7 @@
2929
# 'Development Status :: 5 - Production/Stable'
3030
release_status = 'Development Status :: 5 - Production/Stable'
3131
dependencies = [
32-
'google-api-core >= 1.0.0, < 2.0.0dev',
32+
'google-api-core >= 1.6.0, < 2.0.0dev',
3333
'google-cloud-core >= 0.28.0, < 0.29dev',
3434
'google-resumable-media >= 0.3.1',
3535
]

‎bigquery_storage/setup.py

Copy file name to clipboardExpand all lines: bigquery_storage/setup.py
+1-1Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,7 @@
2424
version = '0.1.0'
2525
release_status = 'Development Status :: 3 - Alpha'
2626
dependencies = [
27-
'google-api-core[grpc] >= 1.5.1, < 2.0.0dev',
27+
'google-api-core[grpc] >= 1.6.0, < 2.0.0dev',
2828
'enum34; python_version < "3.4"',
2929
]
3030
extras = {

‎bigtable/google/cloud/bigtable/instance.py

Copy file name to clipboardExpand all lines: bigtable/google/cloud/bigtable/instance.py
+1-1Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -473,7 +473,7 @@ def test_iam_permissions(self, permissions):
473473
def _to_dict_from_policy_pb(self, policy):
474474
"""Returns a dictionary representation of resource returned from
475475
the getIamPolicy API to use as parameter for
476-
:meth: google.cloud.iam.Policy.from_api_repr
476+
:meth: google.api_core.iam.Policy.from_api_repr
477477
"""
478478
pb_dict = {}
479479
bindings = [

‎bigtable/google/cloud/bigtable/policy.py

Copy file name to clipboardExpand all lines: bigtable/google/cloud/bigtable/policy.py
+1-1Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@
1212
# See the License for the specific language governing permissions and
1313
# limitations under the License.
1414

15-
from google.cloud.iam import Policy as BasePolicy
15+
from google.api_core.iam import Policy as BasePolicy
1616
from google.cloud._helpers import _to_bytes
1717

1818
"""IAM roles supported by Bigtable Instance resource"""

‎bigtable/setup.py

Copy file name to clipboardExpand all lines: bigtable/setup.py
+1-1Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -29,7 +29,7 @@
2929
# 'Development Status :: 5 - Production/Stable'
3030
release_status = 'Development Status :: 4 - Beta'
3131
dependencies = [
32-
'google-api-core[grpc] >= 1.4.1, < 2.0.0dev',
32+
'google-api-core[grpc] >= 1.6.0, < 2.0.0dev',
3333
'google-cloud-core >= 0.28.0, <0.29dev',
3434
'grpc-google-iam-v1 >= 0.11.4, < 0.12dev',
3535
]

‎container/setup.py

Copy file name to clipboardExpand all lines: container/setup.py
+1-1Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -29,7 +29,7 @@
2929
# 'Development Status :: 5 - Production/Stable'
3030
release_status = 'Development Status :: 3 - Alpha'
3131
dependencies = [
32-
'google-api-core[grpc] >= 1.4.1, < 2.0.0dev',
32+
'google-api-core[grpc] >= 1.6.0, < 2.0.0dev',
3333
]
3434
extras = {
3535
}

‎dataproc/setup.py

Copy file name to clipboardExpand all lines: dataproc/setup.py
+1-1Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -29,7 +29,7 @@
2929
# 'Development Status :: 5 - Production/Stable'
3030
release_status = 'Development Status :: 3 - Alpha'
3131
dependencies = [
32-
'google-api-core[grpc] >= 1.4.1, < 2.0.0dev',
32+
'google-api-core[grpc] >= 1.6.0, < 2.0.0dev',
3333
]
3434
extras = {
3535
}

‎datastore/setup.py

Copy file name to clipboardExpand all lines: datastore/setup.py
+1-1Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -29,7 +29,7 @@
2929
# 'Development Status :: 5 - Production/Stable'
3030
release_status = 'Development Status :: 5 - Production/Stable'
3131
dependencies = [
32-
'google-api-core[grpc] >= 1.4.1, < 2.0.0dev',
32+
'google-api-core[grpc] >= 1.6.0, < 2.0.0dev',
3333
'google-cloud-core >=0.28.0, <0.29dev',
3434
]
3535
extras = {

‎dlp/setup.py

Copy file name to clipboardExpand all lines: dlp/setup.py
+1-1Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,7 @@
2424
version = '0.9.0'
2525
release_status = 'Development Status :: 3 - Alpha'
2626
dependencies = [
27-
'google-api-core[grpc] >= 1.4.1, < 2.0.0dev',
27+
'google-api-core[grpc] >= 1.6.0, < 2.0.0dev',
2828
'enum34; python_version < "3.4"',
2929
]
3030

‎firestore/setup.py

Copy file name to clipboardExpand all lines: firestore/setup.py
+1-1Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -29,7 +29,7 @@
2929
# 'Development Status :: 5 - Production/Stable'
3030
release_status = 'Development Status :: 4 - Beta'
3131
dependencies = [
32-
'google-api-core[grpc] >= 1.4.1, < 2.0.0dev',
32+
'google-api-core[grpc] >= 1.6.0, < 2.0.0dev',
3333
'google-cloud-core >= 0.28.0, < 0.29dev',
3434
'pytz',
3535
]

‎iot/setup.py

Copy file name to clipboardExpand all lines: iot/setup.py
+1-1Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@
2222
version = '0.1.0'
2323
release_status = 'Development Status :: 3 - Alpha'
2424
dependencies = [
25-
'google-api-core[grpc] >= 1.4.1, < 2.0.0dev',
25+
'google-api-core[grpc] >= 1.6.0, < 2.0.0dev',
2626
'grpc-google-iam-v1 >= 0.11.4, < 0.12dev',
2727
'enum34; python_version < "3.4"',
2828
]

‎kms/setup.py

Copy file name to clipboardExpand all lines: kms/setup.py
+1-1Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,7 @@
2424
version = '0.2.0'
2525
release_status = 'Development Status :: 3 - Alpha'
2626
dependencies = [
27-
'google-api-core[grpc] >= 1.4.1, < 2.0.0dev',
27+
'google-api-core[grpc] >= 1.6.0, < 2.0.0dev',
2828
'grpc-google-iam-v1 >= 0.11.4, < 0.12dev',
2929
'enum34; python_version < "3.4"',
3030
]

‎language/setup.py

Copy file name to clipboardExpand all lines: language/setup.py
+1-1Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -29,7 +29,7 @@
2929
# 'Development Status :: 5 - Production/Stable'
3030
release_status = 'Development Status :: 5 - Production/Stable'
3131
dependencies = [
32-
'google-api-core[grpc] >= 1.4.1, < 2.0.0dev',
32+
'google-api-core[grpc] >= 1.6.0, < 2.0.0dev',
3333
'enum34;python_version<"3.4"'
3434
]
3535
extras = {

‎logging/setup.py

Copy file name to clipboardExpand all lines: logging/setup.py
+1-1Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -29,7 +29,7 @@
2929
# 'Development Status :: 5 - Production/Stable'
3030
release_status = 'Development Status :: 5 - Production/Stable'
3131
dependencies = [
32-
'google-api-core[grpc] >= 1.4.1, < 2.0.0dev',
32+
'google-api-core[grpc] >= 1.6.0, < 2.0.0dev',
3333
'google-cloud-core >= 0.28.0, < 0.29dev',
3434
]
3535
extras = {

‎monitoring/setup.py

Copy file name to clipboardExpand all lines: monitoring/setup.py
+1-1Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -29,7 +29,7 @@
2929
# 'Development Status :: 5 - Production/Stable'
3030
release_status = 'Development Status :: 3 - Alpha'
3131
dependencies = [
32-
'google-api-core[grpc] >= 1.4.1, < 2.0.0dev',
32+
'google-api-core[grpc] >= 1.6.0, < 2.0.0dev',
3333
]
3434
extras = {
3535
'pandas': 'pandas >= 0.17.1',

‎oslogin/setup.py

Copy file name to clipboardExpand all lines: oslogin/setup.py
+1-1Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -29,7 +29,7 @@
2929
# 'Development Status :: 5 - Production/Stable'
3030
release_status = 'Development Status :: 3 - Alpha'
3131
dependencies = [
32-
'google-api-core[grpc] >= 1.4.1, < 2.0.0dev',
32+
'google-api-core[grpc] >= 1.6.0, < 2.0.0dev',
3333
]
3434
extras = {
3535
}

‎pubsub/setup.py

Copy file name to clipboardExpand all lines: pubsub/setup.py
+1-1Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -29,7 +29,7 @@
2929
# 'Development Status :: 5 - Production/Stable'
3030
release_status = 'Development Status :: 4 - Beta'
3131
dependencies = [
32-
'google-api-core[grpc] >= 1.4.1, < 2.0.0dev',
32+
'google-api-core[grpc] >= 1.6.0, < 2.0.0dev',
3333
'grpc-google-iam-v1 >= 0.11.4, < 0.12dev',
3434
'enum34; python_version < "3.4"',
3535
]

‎redis/setup.py

Copy file name to clipboardExpand all lines: redis/setup.py
+1-1Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -29,7 +29,7 @@
2929
# 'Development Status :: 5 - Production/Stable'
3030
release_status = 'Development Status :: 3 - Alpha'
3131
dependencies = [
32-
'google-api-core[grpc] >= 1.4.1, < 2.0.0dev',
32+
'google-api-core[grpc] >= 1.6.0, < 2.0.0dev',
3333
'enum34; python_version < "3.4"',
3434
]
3535
extras = {

‎resource_manager/setup.py

Copy file name to clipboardExpand all lines: resource_manager/setup.py
+1-1Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -29,7 +29,7 @@
2929
# 'Development Status :: 5 - Production/Stable'
3030
release_status = 'Development Status :: 3 - Alpha'
3131
dependencies = [
32-
'google-api-core >= 1.0.0, < 2.0.0dev',
32+
'google-api-core >= 1.6.0, < 2.0.0dev',
3333
'google-cloud-core >= 0.28.0, < 0.29dev',
3434
]
3535
extras = {

‎runtimeconfig/setup.py

Copy file name to clipboardExpand all lines: runtimeconfig/setup.py
+1-1Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -29,7 +29,7 @@
2929
# 'Development Status :: 5 - Production/Stable'
3030
release_status = 'Development Status :: 3 - Alpha'
3131
dependencies = [
32-
'google-api-core >= 1.0.0, < 2.0.0dev',
32+
'google-api-core >= 1.6.0, < 2.0.0dev',
3333
'google-cloud-core >= 0.28.0, < 0.29dev',
3434
]
3535
extras = {

‎scheduler/setup.py

Copy file name to clipboardExpand all lines: scheduler/setup.py
+1-1Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -28,7 +28,7 @@
2828
# 'Development Status :: 5 - Production/Stable'
2929
release_status = 'Development Status :: 3 - Alpha'
3030
dependencies = [
31-
'google-api-core[grpc] >= 1.4.1, < 2.0.0dev',
31+
'google-api-core[grpc] >= 1.6.0, < 2.0.0dev',
3232
'enum34; python_version < "3.4"',
3333
]
3434

‎securitycenter/setup.py

Copy file name to clipboardExpand all lines: securitycenter/setup.py
+1-1Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,7 @@
2424
version = '0.1.0'
2525
release_status = 'Development Status :: 3 - Alpha'
2626
dependencies = [
27-
'google-api-core[grpc] >= 1.4.1, < 2.0.0dev',
27+
'google-api-core[grpc] >= 1.6.0, < 2.0.0dev',
2828
'grpc-google-iam-v1 >= 0.11.4, < 0.12dev',
2929
'enum34; python_version < "3.4"',
3030
]

‎speech/setup.py

Copy file name to clipboardExpand all lines: speech/setup.py
+1-1Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -29,7 +29,7 @@
2929
# 'Development Status :: 5 - Production/Stable'
3030
release_status = 'Development Status :: 4 - Beta'
3131
dependencies = [
32-
'google-api-core[grpc] >= 1.4.1, < 2.0.0dev',
32+
'google-api-core[grpc] >= 1.6.0, < 2.0.0dev',
3333
]
3434
extras = {
3535
}

‎storage/google/cloud/storage/blob.py

Copy file name to clipboardExpand all lines: storage/google/cloud/storage/blob.py
+4-4Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -51,7 +51,7 @@
5151
from google.cloud._helpers import _to_bytes
5252
from google.cloud._helpers import _bytes_to_unicode
5353
from google.cloud.exceptions import NotFound
54-
from google.cloud.iam import Policy
54+
from google.api_core.iam import Policy
5555
from google.cloud.storage._helpers import _PropertyMixin
5656
from google.cloud.storage._helpers import _scalar_property
5757
from google.cloud.storage._signing import generate_signed_url
@@ -1293,7 +1293,7 @@ def get_iam_policy(self, client=None):
12931293
:param client: Optional. The client to use. If not passed, falls back
12941294
to the ``client`` stored on the current object's bucket.
12951295
1296-
:rtype: :class:`google.cloud.iam.Policy`
1296+
:rtype: :class:`google.api_core.iam.Policy`
12971297
:returns: the policy instance, based on the resource returned from
12981298
the ``getIamPolicy`` API request.
12991299
"""
@@ -1326,15 +1326,15 @@ def set_iam_policy(self, policy, client=None):
13261326
If :attr:`user_project` is set on the bucket, bills the API request
13271327
to that project.
13281328
1329-
:type policy: :class:`google.cloud.iam.Policy`
1329+
:type policy: :class:`google.api_core.iam.Policy`
13301330
:param policy: policy instance used to update bucket's IAM policy.
13311331
13321332
:type client: :class:`~google.cloud.storage.client.Client` or
13331333
``NoneType``
13341334
:param client: Optional. The client to use. If not passed, falls back
13351335
to the ``client`` stored on the current bucket.
13361336
1337-
:rtype: :class:`google.cloud.iam.Policy`
1337+
:rtype: :class:`google.api_core.iam.Policy`
13381338
:returns: the policy instance, based on the resource returned from
13391339
the ``setIamPolicy`` API request.
13401340
"""

‎storage/google/cloud/storage/bucket.py

Copy file name to clipboardExpand all lines: storage/google/cloud/storage/bucket.py
+4-4Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -28,7 +28,7 @@
2828
from google.cloud._helpers import _NOW
2929
from google.cloud._helpers import _rfc3339_to_datetime
3030
from google.cloud.exceptions import NotFound
31-
from google.cloud.iam import Policy
31+
from google.api_core.iam import Policy
3232
from google.cloud.storage import _signing
3333
from google.cloud.storage._helpers import _PropertyMixin
3434
from google.cloud.storage._helpers import _scalar_property
@@ -1563,7 +1563,7 @@ def get_iam_policy(self, client=None):
15631563
:param client: Optional. The client to use. If not passed, falls back
15641564
to the ``client`` stored on the current bucket.
15651565
1566-
:rtype: :class:`google.cloud.iam.Policy`
1566+
:rtype: :class:`google.api_core.iam.Policy`
15671567
:returns: the policy instance, based on the resource returned from
15681568
the ``getIamPolicy`` API request.
15691569
"""
@@ -1589,15 +1589,15 @@ def set_iam_policy(self, policy, client=None):
15891589
15901590
If :attr:`user_project` is set, bills the API request to that project.
15911591
1592-
:type policy: :class:`google.cloud.iam.Policy`
1592+
:type policy: :class:`google.api_core.iam.Policy`
15931593
:param policy: policy instance used to update bucket's IAM policy.
15941594
15951595
:type client: :class:`~google.cloud.storage.client.Client` or
15961596
``NoneType``
15971597
:param client: Optional. The client to use. If not passed, falls back
15981598
to the ``client`` stored on the current bucket.
15991599
1600-
:rtype: :class:`google.cloud.iam.Policy`
1600+
:rtype: :class:`google.api_core.iam.Policy`
16011601
:returns: the policy instance, based on the resource returned from
16021602
the ``setIamPolicy`` API request.
16031603
"""

‎storage/setup.py

Copy file name to clipboardExpand all lines: storage/setup.py
+1-1Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -29,7 +29,7 @@
2929
# 'Development Status :: 5 - Production/Stable'
3030
release_status = 'Development Status :: 5 - Production/Stable'
3131
dependencies = [
32-
'google-api-core >= 1.0.0, < 2.0.0dev',
32+
'google-api-core >= 1.6.0, < 2.0.0dev',
3333
'google-cloud-core >= 0.28.0, < 0.29dev',
3434
'google-resumable-media >= 0.3.1',
3535
]

‎storage/tests/unit/test_blob.py

Copy file name to clipboardExpand all lines: storage/tests/unit/test_blob.py
+4-4Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1884,7 +1884,7 @@ def test_get_iam_policy(self):
18841884
from google.cloud.storage.iam import STORAGE_OWNER_ROLE
18851885
from google.cloud.storage.iam import STORAGE_EDITOR_ROLE
18861886
from google.cloud.storage.iam import STORAGE_VIEWER_ROLE
1887-
from google.cloud.iam import Policy
1887+
from google.api_core.iam import Policy
18881888

18891889
BLOB_NAME = "blob-name"
18901890
PATH = "/b/name/o/%s" % (BLOB_NAME,)
@@ -1935,7 +1935,7 @@ def test_get_iam_policy(self):
19351935
)
19361936

19371937
def test_get_iam_policy_w_user_project(self):
1938-
from google.cloud.iam import Policy
1938+
from google.api_core.iam import Policy
19391939

19401940
BLOB_NAME = "blob-name"
19411941
USER_PROJECT = "user-project-123"
@@ -1979,7 +1979,7 @@ def test_set_iam_policy(self):
19791979
from google.cloud.storage.iam import STORAGE_OWNER_ROLE
19801980
from google.cloud.storage.iam import STORAGE_EDITOR_ROLE
19811981
from google.cloud.storage.iam import STORAGE_VIEWER_ROLE
1982-
from google.cloud.iam import Policy
1982+
from google.api_core.iam import Policy
19831983

19841984
BLOB_NAME = "blob-name"
19851985
PATH = "/b/name/o/%s" % (BLOB_NAME,)
@@ -2029,7 +2029,7 @@ def test_set_iam_policy(self):
20292029
self.assertEqual(sorted(found["members"]), sorted(expected["members"]))
20302030

20312031
def test_set_iam_policy_w_user_project(self):
2032-
from google.cloud.iam import Policy
2032+
from google.api_core.iam import Policy
20332033

20342034
BLOB_NAME = "blob-name"
20352035
USER_PROJECT = "user-project-123"

‎storage/tests/unit/test_bucket.py

Copy file name to clipboardExpand all lines: storage/tests/unit/test_bucket.py
+4-4Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1613,7 +1613,7 @@ def test_get_iam_policy(self):
16131613
from google.cloud.storage.iam import STORAGE_OWNER_ROLE
16141614
from google.cloud.storage.iam import STORAGE_EDITOR_ROLE
16151615
from google.cloud.storage.iam import STORAGE_VIEWER_ROLE
1616-
from google.cloud.iam import Policy
1616+
from google.api_core.iam import Policy
16171617

16181618
NAME = "name"
16191619
PATH = "/b/%s" % (NAME,)
@@ -1656,7 +1656,7 @@ def test_get_iam_policy(self):
16561656
self.assertEqual(kw[0]["query_params"], {})
16571657

16581658
def test_get_iam_policy_w_user_project(self):
1659-
from google.cloud.iam import Policy
1659+
from google.api_core.iam import Policy
16601660

16611661
NAME = "name"
16621662
USER_PROJECT = "user-project-123"
@@ -1692,7 +1692,7 @@ def test_set_iam_policy(self):
16921692
from google.cloud.storage.iam import STORAGE_OWNER_ROLE
16931693
from google.cloud.storage.iam import STORAGE_EDITOR_ROLE
16941694
from google.cloud.storage.iam import STORAGE_VIEWER_ROLE
1695-
from google.cloud.iam import Policy
1695+
from google.api_core.iam import Policy
16961696

16971697
NAME = "name"
16981698
PATH = "/b/%s" % (NAME,)
@@ -1744,7 +1744,7 @@ def test_set_iam_policy_w_user_project(self):
17441744
from google.cloud.storage.iam import STORAGE_OWNER_ROLE
17451745
from google.cloud.storage.iam import STORAGE_EDITOR_ROLE
17461746
from google.cloud.storage.iam import STORAGE_VIEWER_ROLE
1747-
from google.cloud.iam import Policy
1747+
from google.api_core.iam import Policy
17481748

17491749
NAME = "name"
17501750
USER_PROJECT = "user-project-123"

‎tasks/setup.py

Copy file name to clipboardExpand all lines: tasks/setup.py
+1-1Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,7 @@
2424
version = '0.3.0'
2525
release_status = 'Development Status :: 3 - Alpha'
2626
dependencies = [
27-
'google-api-core[grpc] >= 1.4.1, < 2.0.0dev',
27+
'google-api-core[grpc] >= 1.6.0, < 2.0.0dev',
2828
'grpc-google-iam-v1 >= 0.11.4, < 0.12dev',
2929
'enum34; python_version < "3.4"',
3030
]

‎texttospeech/setup.py

Copy file name to clipboardExpand all lines: texttospeech/setup.py
+1-1Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -42,7 +42,7 @@
4242
# 'Development Status :: 5 - Production/Stable'
4343
release_status = 'Development Status :: 3 - Alpha'
4444
dependencies = [
45-
'google-api-core[grpc] >= 1.4.1, < 2.0.0dev',
45+
'google-api-core[grpc] >= 1.6.0, < 2.0.0dev',
4646
]
4747
extras = {
4848
}

0 commit comments

Comments
0 (0)
Morty Proxy This is a proxified and sanitized view of the page, visit original site.