GeezerVison is showing github.com — Update docstrings (via synth). (#7867) · d-torres/google-cloud-python@48dd9c9
File treeExpand file treeCollapse file tree Open diff view settings Expand file treeCollapse file tree Open diff view settings Collapse file Copy file name to clipboardExpand all lines: iot/google/cloud/iot_v1/gapic/device_manager_client.py +3-6Lines changed: 3 additions & 6 deletions | Original file line number | Diff line number | Diff line change |
|---|
@@ -1334,8 +1334,7 @@ def set_iam_policy( | 1334 | 1334 |
| 1335 | 1335 | Args: | 1336 | 1336 | resource (str): REQUIRED: The resource for which the policy is being specified. | 1337 | | - ``resource`` is usually specified as a path. For example, a Project | 1338 | | - resource is specified as ``projects/{project}``. | | 1337 | + See the operation documentation for the appropriate value for this field. | 1339 | 1338 | policy (Union[dict, ~google.cloud.iot_v1.types.Policy]): REQUIRED: The complete policy to be applied to the ``resource``. The | 1340 | 1339 | size of the policy is limited to a few 10s of KB. An empty policy is a | 1341 | 1340 | valid policy but certain Cloud Platform services (such as Projects) | @@ -1414,8 +1413,7 @@ def get_iam_policy( | 1414 | 1413 |
| 1415 | 1414 | Args: | 1416 | 1415 | resource (str): REQUIRED: The resource for which the policy is being requested. | 1417 | | - ``resource`` is usually specified as a path. For example, a Project | 1418 | | - resource is specified as ``projects/{project}``. | | 1416 | + See the operation documentation for the appropriate value for this field. | 1419 | 1417 | retry (Optional[google.api_core.retry.Retry]): A retry object used | 1420 | 1418 | to retry requests. If ``None`` is specified, requests will not | 1421 | 1419 | be retried. | @@ -1491,8 +1489,7 @@ def test_iam_permissions( | 1491 | 1489 |
| 1492 | 1490 | Args: | 1493 | 1491 | resource (str): REQUIRED: The resource for which the policy detail is being requested. | 1494 | | - ``resource`` is usually specified as a path. For example, a Project | 1495 | | - resource is specified as ``projects/{project}``. | | 1492 | + See the operation documentation for the appropriate value for this field. | 1496 | 1493 | permissions (list[str]): The set of permissions to check for the ``resource``. Permissions with | 1497 | 1494 | wildcards (such as '*' or 'storage.*') are not allowed. For more | 1498 | 1495 | information see `IAM | |
Collapse file Copy file name to clipboardExpand all lines: iot/google/cloud/iot_v1/types.py +2Lines changed: 2 additions & 0 deletions | Original file line number | Diff line number | Diff line change |
|---|
| 28 | 28 | from google.protobuf import field_mask_pb2 | 29 | 29 | from google.protobuf import timestamp_pb2 | 30 | 30 | from google.rpc import status_pb2 | | 31 | +from google.type import expr_pb2 | 31 | 32 |
| 32 | 33 | _shared_modules = [ | 33 | 34 | iam_policy_pb2, | | 37 | 38 | field_mask_pb2, | 38 | 39 | timestamp_pb2, | 39 | 40 | status_pb2, | | 41 | + expr_pb2, | 40 | 42 | ] | 41 | 43 |
| 42 | 44 | _local_modules = [device_manager_pb2, resources_pb2] | |
Collapse file Copy file name to clipboardExpand all lines: iot/synth.metadata +6-6Lines changed: 6 additions & 6 deletions | Original file line number | Diff line number | Diff line change |
|---|
| 1 | 1 | { | 2 | | - "updateTime": "2019-05-01T12:12:19.124173Z", | | 2 | + "updateTime": "2019-05-07T12:17:24.211569Z", | 3 | 3 | "sources": [ | 4 | 4 | { | 5 | 5 | "generator": { | 6 | 6 | "name": "artman", | 7 | | - "version": "0.17.1", | 8 | | - "dockerImage": "googleapis/artman@sha256:a40ca4dd4ef031c0ded4df4909ffdf7b3f20d29b23e682ef991eb60ba0ca6025" | | 7 | + "version": "0.19.0", | | 8 | + "dockerImage": "googleapis/artman@sha256:d3df563538225ac6caac45d8ad86499500211d1bcb2536955a6dbda15e1b368e" | 9 | 9 | } | 10 | 10 | }, | 11 | 11 | { | 12 | 12 | "git": { | 13 | 13 | "name": "googleapis", | 14 | 14 | "remote": "https://github.com/googleapis/googleapis.git", | 15 | | - "sha": "316b54c401ab9bc08ed71cb362915b9e7a23bb05", | 16 | | - "internalRef": "246014263" | | 15 | + "sha": "5aeb4179d0c424be6b1b228bce7ec75ec24f3d12", | | 16 | + "internalRef": "246901187" | 17 | 17 | } | 18 | 18 | }, | 19 | 19 | { | 20 | 20 | "template": { | 21 | 21 | "name": "python_library", | 22 | 22 | "origin": "synthtool.gcp", | 23 | | - "version": "2019.4.10" | | 23 | + "version": "2019.5.2" | 24 | 24 | } | 25 | 25 | } | 26 | 26 | ], | |
|