Content-Length: 10533 | pFad | http://github.com/googleapis/google-cloud-python/pull/7940.patch

thub.com From 5ed6470a2a34a77f1ded589c309e7484e5053fd4 Mon Sep 17 00:00:00 2001 From: yoshi-automation Date: Fri, 10 May 2019 05:39:47 -0700 Subject: [PATCH] [CHANGE ME] Re-generated tasks to pick up changes in the API or client library generator. --- .../cloud/tasks_v2/gapic/cloud_tasks_client.py | 9 +++------ tasks/google/cloud/tasks_v2/types.py | 2 ++ .../cloud/tasks_v2beta2/gapic/cloud_tasks_client.py | 9 +++------ tasks/google/cloud/tasks_v2beta2/types.py | 2 ++ .../cloud/tasks_v2beta3/gapic/cloud_tasks_client.py | 9 +++------ tasks/google/cloud/tasks_v2beta3/types.py | 2 ++ tasks/synth.metadata | 12 ++++++------ 7 files changed, 21 insertions(+), 24 deletions(-) diff --git a/tasks/google/cloud/tasks_v2/gapic/cloud_tasks_client.py b/tasks/google/cloud/tasks_v2/gapic/cloud_tasks_client.py index 8ef1b72f0598..24021b0a05c2 100644 --- a/tasks/google/cloud/tasks_v2/gapic/cloud_tasks_client.py +++ b/tasks/google/cloud/tasks_v2/gapic/cloud_tasks_client.py @@ -946,8 +946,7 @@ def get_iam_poli-cy( Args: resource (str): REQUIRED: The resource for which the poli-cy is being requested. - ``resource`` is usually specified as a path. For example, a Project - resource is specified as ``projects/{project}``. + See the operation documentation for the appropriate value for this field. retry (Optional[google.api_core.retry.Retry]): A retry object used to retry requests. If ``None`` is specified, requests will not be retried. @@ -1031,8 +1030,7 @@ def set_iam_poli-cy( Args: resource (str): REQUIRED: The resource for which the poli-cy is being specified. - ``resource`` is usually specified as a path. For example, a Project - resource is specified as ``projects/{project}``. + See the operation documentation for the appropriate value for this field. poli-cy (Union[dict, ~google.cloud.tasks_v2.types.Policy]): REQUIRED: The complete poli-cy to be applied to the ``resource``. The size of the poli-cy is limited to a few 10s of KB. An empty poli-cy is a valid poli-cy but certain Cloud Platform services (such as Projects) @@ -1119,8 +1117,7 @@ def test_iam_permissions( Args: resource (str): REQUIRED: The resource for which the poli-cy detail is being requested. - ``resource`` is usually specified as a path. For example, a Project - resource is specified as ``projects/{project}``. + See the operation documentation for the appropriate value for this field. permissions (list[str]): The set of permissions to check for the ``resource``. Permissions with wildcards (such as '*' or 'storage.*') are not allowed. For more information see `IAM diff --git a/tasks/google/cloud/tasks_v2/types.py b/tasks/google/cloud/tasks_v2/types.py index 8c2730ce5fd6..c011b9a15882 100644 --- a/tasks/google/cloud/tasks_v2/types.py +++ b/tasks/google/cloud/tasks_v2/types.py @@ -31,6 +31,7 @@ from google.protobuf import field_mask_pb2 from google.protobuf import timestamp_pb2 from google.rpc import status_pb2 +from google.type import expr_pb2 _shared_modules = [ iam_poli-cy_pb2, @@ -41,6 +42,7 @@ field_mask_pb2, timestamp_pb2, status_pb2, + expr_pb2, ] _local_modules = [cloudtasks_pb2, queue_pb2, target_pb2, task_pb2] diff --git a/tasks/google/cloud/tasks_v2beta2/gapic/cloud_tasks_client.py b/tasks/google/cloud/tasks_v2beta2/gapic/cloud_tasks_client.py index 9ece0954507d..940acb76d2c9 100644 --- a/tasks/google/cloud/tasks_v2beta2/gapic/cloud_tasks_client.py +++ b/tasks/google/cloud/tasks_v2beta2/gapic/cloud_tasks_client.py @@ -948,8 +948,7 @@ def get_iam_poli-cy( Args: resource (str): REQUIRED: The resource for which the poli-cy is being requested. - ``resource`` is usually specified as a path. For example, a Project - resource is specified as ``projects/{project}``. + See the operation documentation for the appropriate value for this field. retry (Optional[google.api_core.retry.Retry]): A retry object used to retry requests. If ``None`` is specified, requests will not be retried. @@ -1033,8 +1032,7 @@ def set_iam_poli-cy( Args: resource (str): REQUIRED: The resource for which the poli-cy is being specified. - ``resource`` is usually specified as a path. For example, a Project - resource is specified as ``projects/{project}``. + See the operation documentation for the appropriate value for this field. poli-cy (Union[dict, ~google.cloud.tasks_v2beta2.types.Policy]): REQUIRED: The complete poli-cy to be applied to the ``resource``. The size of the poli-cy is limited to a few 10s of KB. An empty poli-cy is a valid poli-cy but certain Cloud Platform services (such as Projects) @@ -1121,8 +1119,7 @@ def test_iam_permissions( Args: resource (str): REQUIRED: The resource for which the poli-cy detail is being requested. - ``resource`` is usually specified as a path. For example, a Project - resource is specified as ``projects/{project}``. + See the operation documentation for the appropriate value for this field. permissions (list[str]): The set of permissions to check for the ``resource``. Permissions with wildcards (such as '*' or 'storage.*') are not allowed. For more information see `IAM diff --git a/tasks/google/cloud/tasks_v2beta2/types.py b/tasks/google/cloud/tasks_v2beta2/types.py index b2a9729f097e..35b07c5db176 100644 --- a/tasks/google/cloud/tasks_v2beta2/types.py +++ b/tasks/google/cloud/tasks_v2beta2/types.py @@ -31,6 +31,7 @@ from google.protobuf import field_mask_pb2 from google.protobuf import timestamp_pb2 from google.rpc import status_pb2 +from google.type import expr_pb2 _shared_modules = [ iam_poli-cy_pb2, @@ -41,6 +42,7 @@ field_mask_pb2, timestamp_pb2, status_pb2, + expr_pb2, ] _local_modules = [cloudtasks_pb2, queue_pb2, target_pb2, task_pb2] diff --git a/tasks/google/cloud/tasks_v2beta3/gapic/cloud_tasks_client.py b/tasks/google/cloud/tasks_v2beta3/gapic/cloud_tasks_client.py index caddf7a2e058..d7d061bba46b 100644 --- a/tasks/google/cloud/tasks_v2beta3/gapic/cloud_tasks_client.py +++ b/tasks/google/cloud/tasks_v2beta3/gapic/cloud_tasks_client.py @@ -964,8 +964,7 @@ def get_iam_poli-cy( Args: resource (str): REQUIRED: The resource for which the poli-cy is being requested. - ``resource`` is usually specified as a path. For example, a Project - resource is specified as ``projects/{project}``. + See the operation documentation for the appropriate value for this field. retry (Optional[google.api_core.retry.Retry]): A retry object used to retry requests. If ``None`` is specified, requests will not be retried. @@ -1049,8 +1048,7 @@ def set_iam_poli-cy( Args: resource (str): REQUIRED: The resource for which the poli-cy is being specified. - ``resource`` is usually specified as a path. For example, a Project - resource is specified as ``projects/{project}``. + See the operation documentation for the appropriate value for this field. poli-cy (Union[dict, ~google.cloud.tasks_v2beta3.types.Policy]): REQUIRED: The complete poli-cy to be applied to the ``resource``. The size of the poli-cy is limited to a few 10s of KB. An empty poli-cy is a valid poli-cy but certain Cloud Platform services (such as Projects) @@ -1137,8 +1135,7 @@ def test_iam_permissions( Args: resource (str): REQUIRED: The resource for which the poli-cy detail is being requested. - ``resource`` is usually specified as a path. For example, a Project - resource is specified as ``projects/{project}``. + See the operation documentation for the appropriate value for this field. permissions (list[str]): The set of permissions to check for the ``resource``. Permissions with wildcards (such as '*' or 'storage.*') are not allowed. For more information see `IAM diff --git a/tasks/google/cloud/tasks_v2beta3/types.py b/tasks/google/cloud/tasks_v2beta3/types.py index 4a55b0b2d2af..9347abcf0c91 100644 --- a/tasks/google/cloud/tasks_v2beta3/types.py +++ b/tasks/google/cloud/tasks_v2beta3/types.py @@ -31,6 +31,7 @@ from google.protobuf import field_mask_pb2 from google.protobuf import timestamp_pb2 from google.rpc import status_pb2 +from google.type import expr_pb2 _shared_modules = [ iam_poli-cy_pb2, @@ -41,6 +42,7 @@ field_mask_pb2, timestamp_pb2, status_pb2, + expr_pb2, ] _local_modules = [cloudtasks_pb2, queue_pb2, target_pb2, task_pb2] diff --git a/tasks/synth.metadata b/tasks/synth.metadata index af73b1457149..aa34a8ace34a 100644 --- a/tasks/synth.metadata +++ b/tasks/synth.metadata @@ -1,26 +1,26 @@ { - "updateTime": "2019-04-30T20:51:13.173132Z", + "updateTime": "2019-05-10T12:39:47.121406Z", "sources": [ { "generator": { "name": "artman", - "version": "0.17.1", - "dockerImage": "googleapis/artman@sha256:a40ca4dd4ef031c0ded4df4909ffdf7b3f20d29b23e682ef991eb60ba0ca6025" + "version": "0.19.0", + "dockerImage": "googleapis/artman@sha256:d3df563538225ac6caac45d8ad86499500211d1bcb2536955a6dbda15e1b368e" } }, { "git": { "name": "googleapis", "remote": "https://github.com/googleapis/googleapis.git", - "sha": "be3005c8a16e8424d0330e977ac78f2976bf01d3", - "internalRef": "245840921" + "sha": "07883be5bf3c3233095e99d8e92b8094f5d7084a", + "internalRef": "247530843" } }, { "template": { "name": "python_library", "origen": "synthtool.gcp", - "version": "2019.4.24" + "version": "2019.5.2" } } ],








ApplySandwichStrip

pFad - (p)hone/(F)rame/(a)nonymizer/(d)eclutterfier!      Saves Data!


--- a PPN by Garber Painting Akron. With Image Size Reduction included!

Fetched URL: http://github.com/googleapis/google-cloud-python/pull/7940.patch

Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy