Skip to content

Commit 6ba1c1b

Browse files
[CHANGE ME] Re-generated bigtable to pick up changes in the API or client library generator.
1 parent 744a97c commit 6ba1c1b

File tree

4 files changed

+18
-6
lines changed

4 files changed

+18
-6
lines changed

bigtable/google/cloud/bigtable_admin_v2/gapic/bigtable_instance_admin_client.py

Lines changed: 10 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -42,6 +42,7 @@
4242
from google.cloud.bigtable_admin_v2.proto import bigtable_instance_admin_pb2_grpc
4343
from google.cloud.bigtable_admin_v2.proto import instance_pb2
4444
from google.iam.v1 import iam_policy_pb2
45+
from google.iam.v1 import options_pb2
4546
from google.iam.v1 import policy_pb2
4647
from google.longrunning import operations_pb2
4748
from google.protobuf import empty_pb2
@@ -1641,6 +1642,7 @@ def delete_app_profile(
16411642
def get_iam_policy(
16421643
self,
16431644
resource,
1645+
options_=None,
16441646
retry=google.api_core.gapic_v1.method.DEFAULT,
16451647
timeout=google.api_core.gapic_v1.method.DEFAULT,
16461648
metadata=None,
@@ -1661,6 +1663,11 @@ def get_iam_policy(
16611663
Args:
16621664
resource (str): REQUIRED: The resource for which the policy is being requested.
16631665
See the operation documentation for the appropriate value for this field.
1666+
options_ (Union[dict, ~google.cloud.bigtable_admin_v2.types.GetPolicyOptions]): OPTIONAL: A ``GetPolicyOptions`` object for specifying options to
1667+
``GetIamPolicy``. This field is only used by Cloud IAM.
1668+
1669+
If a dict is provided, it must be of the same form as the protobuf
1670+
message :class:`~google.cloud.bigtable_admin_v2.types.GetPolicyOptions`
16641671
retry (Optional[google.api_core.retry.Retry]): A retry object used
16651672
to retry requests. If ``None`` is specified, requests will not
16661673
be retried.
@@ -1691,7 +1698,9 @@ def get_iam_policy(
16911698
client_info=self._client_info,
16921699
)
16931700

1694-
request = iam_policy_pb2.GetIamPolicyRequest(resource=resource)
1701+
request = iam_policy_pb2.GetIamPolicyRequest(
1702+
resource=resource, options=options_
1703+
)
16951704
if metadata is None:
16961705
metadata = []
16971706
metadata = list(metadata)

bigtable/google/cloud/bigtable_admin_v2/gapic/bigtable_table_admin_client.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -46,6 +46,7 @@
4646
from google.cloud.bigtable_admin_v2.proto import instance_pb2
4747
from google.cloud.bigtable_admin_v2.proto import table_pb2
4848
from google.iam.v1 import iam_policy_pb2
49+
from google.iam.v1 import options_pb2
4950
from google.iam.v1 import policy_pb2
5051
from google.longrunning import operations_pb2
5152
from google.protobuf import duration_pb2

bigtable/google/cloud/bigtable_admin_v2/types.py

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -25,6 +25,7 @@
2525
from google.cloud.bigtable_admin_v2.proto import instance_pb2
2626
from google.cloud.bigtable_admin_v2.proto import table_pb2
2727
from google.iam.v1 import iam_policy_pb2
28+
from google.iam.v1 import options_pb2
2829
from google.iam.v1 import policy_pb2
2930
from google.longrunning import operations_pb2
3031
from google.protobuf import any_pb2
@@ -38,6 +39,7 @@
3839

3940
_shared_modules = [
4041
iam_policy_pb2,
42+
options_pb2,
4143
policy_pb2,
4244
operations_pb2,
4345
any_pb2,

bigtable/synth.metadata

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,19 +1,19 @@
11
{
2-
"updateTime": "2019-06-28T12:14:28.794480Z",
2+
"updateTime": "2019-07-12T12:14:23.307924Z",
33
"sources": [
44
{
55
"generator": {
66
"name": "artman",
7-
"version": "0.29.2",
8-
"dockerImage": "googleapis/artman@sha256:45263333b058a4b3c26a8b7680a2710f43eae3d250f791a6cb66423991dcb2df"
7+
"version": "0.29.4",
8+
"dockerImage": "googleapis/artman@sha256:63f21e83cb92680b7001dc381069e962c9e6dee314fd8365ac554c07c89221fb"
99
}
1010
},
1111
{
1212
"git": {
1313
"name": "googleapis",
1414
"remote": "https://github.com/googleapis/googleapis.git",
15-
"sha": "84c8ad4e52f8eec8f08a60636cfa597b86969b5c",
16-
"internalRef": "255474859"
15+
"sha": "47bd0c2ba33c28dd624a65dad382e02bb61d1618",
16+
"internalRef": "257690259"
1717
}
1818
},
1919
{

0 commit comments

Comments
 (0)