Skip to content

Commit 04fca56

Browse files
chore: [Many APIs] Update gapic-generator-python to v1.23.2 (googleapis#13574)
- [ ] Regenerate this pull request now. PiperOrigin-RevId: 732281673 Source-Link: googleapis/googleapis@2f37e0a Source-Link: https://github.com/googleapis/googleapis-gen/commit/016b7538ba5a798f2ae423d4ccd7f82b06cdf6d2 Copy-Tag: eyJwIjoicGFja2FnZXMvZ29vZ2xlLWNsb3VkLWFzc2V0Ly5Pd2xCb3QueWFtbCIsImgiOiIwMTZiNzUzOGJhNWE3OThmMmFlNDIzZDRjY2Q3ZjgyYjA2Y2RmNmQyIn0= Copy-Tag: eyJwIjoicGFja2FnZXMvZ29vZ2xlLWNsb3VkLWFzc3VyZWQtd29ya2xvYWRzLy5Pd2xCb3QueWFtbCIsImgiOiIwMTZiNzUzOGJhNWE3OThmMmFlNDIzZDRjY2Q3ZjgyYjA2Y2RmNmQyIn0= Copy-Tag: eyJwIjoicGFja2FnZXMvZ29vZ2xlLWNsb3VkLWF1dG9tbC8uT3dsQm90LnlhbWwiLCJoIjoiMDE2Yjc1MzhiYTVhNzk4ZjJhZTQyM2Q0Y2NkN2Y4MmIwNmNkZjZkMiJ9 Copy-Tag: eyJwIjoicGFja2FnZXMvZ29vZ2xlLWNsb3VkLWJhY2t1cGRyLy5Pd2xCb3QueWFtbCIsImgiOiIwMTZiNzUzOGJhNWE3OThmMmFlNDIzZDRjY2Q3ZjgyYjA2Y2RmNmQyIn0= Copy-Tag: eyJwIjoicGFja2FnZXMvZ29vZ2xlLWNsb3VkLWJhcmUtbWV0YWwtc29sdXRpb24vLk93bEJvdC55YW1sIiwiaCI6IjAxNmI3NTM4YmE1YTc5OGYyYWU0MjNkNGNjZDdmODJiMDZjZGY2ZDIifQ== Copy-Tag: eyJwIjoicGFja2FnZXMvZ29vZ2xlLWNsb3VkLWJhdGNoLy5Pd2xCb3QueWFtbCIsImgiOiIwMTZiNzUzOGJhNWE3OThmMmFlNDIzZDRjY2Q3ZjgyYjA2Y2RmNmQyI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NDIzZDRjY2Q3ZjgyYjA2Y2RmNmQyIn0= Copy-Tag: eyJwIjoicGFja2FnZXMvZ29vZ2xlLWNsb3VkLWJpbGxpbmctYnVkZ2V0cy8uT3dsQm90LnlhbWwiLCJoIjoiMDE2Yjc1MzhiYTVhNzk4ZjJhZTQyM2Q0Y2NkN2Y4MmIwNmNkZjZkMiJ9 --------- Co-authored-by: Owl Bot <gcf-owl-bot[bot]@users.noreply.github.com> Co-authored-by: Anthonios Partheniou <[email protected]>
1 parent e262c10 commit 04fca56

File tree

151 files changed

+3019
-767
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

151 files changed

+3019
-767
lines changed

packages/google-cloud-asset/google/cloud/asset/gapic_version.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,4 +13,4 @@
1313
# See the License for the specific language governing permissions and
1414
# limitations under the License.
1515
#
16-
__version__ = "3.29.1" # {x-release-please-version}
16+
__version__ = "0.0.0" # {x-release-please-version}

packages/google-cloud-asset/google/cloud/asset_v1/gapic_version.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,4 +13,4 @@
1313
# See the License for the specific language governing permissions and
1414
# limitations under the License.
1515
#
16-
__version__ = "3.29.1" # {x-release-please-version}
16+
__version__ = "0.0.0" # {x-release-please-version}

packages/google-cloud-asset/google/cloud/asset_v1/services/asset_service/async_client.py

Lines changed: 64 additions & 16 deletions
Original file line numberDiff line numberDiff line change
@@ -496,7 +496,10 @@ async def sample_list_assets():
496496
# Create or coerce a protobuf request object.
497497
# - Quick check: If we got a request object, we should *not* have
498498
# gotten any keyword arguments that map to the request.
499-
has_flattened_params = any([parent])
499+
flattened_params = [parent]
500+
has_flattened_params = (
501+
len([param for param in flattened_params if param is not None]) > 0
502+
)
500503
if request is not None and has_flattened_params:
501504
raise ValueError(
502505
"If the `request` argument is set, then none of "
@@ -725,7 +728,10 @@ async def sample_create_feed():
725728
# Create or coerce a protobuf request object.
726729
# - Quick check: If we got a request object, we should *not* have
727730
# gotten any keyword arguments that map to the request.
728-
has_flattened_params = any([parent])
731+
flattened_params = [parent]
732+
has_flattened_params = (
733+
len([param for param in flattened_params if param is not None]) > 0
734+
)
729735
if request is not None and has_flattened_params:
730736
raise ValueError(
731737
"If the `request` argument is set, then none of "
@@ -840,7 +846,10 @@ async def sample_get_feed():
840846
# Create or coerce a protobuf request object.
841847
# - Quick check: If we got a request object, we should *not* have
842848
# gotten any keyword arguments that map to the request.
843-
has_flattened_params = any([name])
849+
flattened_params = [name]
850+
has_flattened_params = (
851+
len([param for param in flattened_params if param is not None]) > 0
852+
)
844853
if request is not None and has_flattened_params:
845854
raise ValueError(
846855
"If the `request` argument is set, then none of "
@@ -948,7 +957,10 @@ async def sample_list_feeds():
948957
# Create or coerce a protobuf request object.
949958
# - Quick check: If we got a request object, we should *not* have
950959
# gotten any keyword arguments that map to the request.
951-
has_flattened_params = any([parent])
960+
flattened_params = [parent]
961+
has_flattened_params = (
962+
len([param for param in flattened_params if param is not None]) > 0
963+
)
952964
if request is not None and has_flattened_params:
953965
raise ValueError(
954966
"If the `request` argument is set, then none of "
@@ -1067,7 +1079,10 @@ async def sample_update_feed():
10671079
# Create or coerce a protobuf request object.
10681080
# - Quick check: If we got a request object, we should *not* have
10691081
# gotten any keyword arguments that map to the request.
1070-
has_flattened_params = any([feed])
1082+
flattened_params = [feed]
1083+
has_flattened_params = (
1084+
len([param for param in flattened_params if param is not None]) > 0
1085+
)
10711086
if request is not None and has_flattened_params:
10721087
raise ValueError(
10731088
"If the `request` argument is set, then none of "
@@ -1169,7 +1184,10 @@ async def sample_delete_feed():
11691184
# Create or coerce a protobuf request object.
11701185
# - Quick check: If we got a request object, we should *not* have
11711186
# gotten any keyword arguments that map to the request.
1172-
has_flattened_params = any([name])
1187+
flattened_params = [name]
1188+
has_flattened_params = (
1189+
len([param for param in flattened_params if param is not None]) > 0
1190+
)
11731191
if request is not None and has_flattened_params:
11741192
raise ValueError(
11751193
"If the `request` argument is set, then none of "
@@ -1421,7 +1439,10 @@ async def sample_search_all_resources():
14211439
# Create or coerce a protobuf request object.
14221440
# - Quick check: If we got a request object, we should *not* have
14231441
# gotten any keyword arguments that map to the request.
1424-
has_flattened_params = any([scope, query, asset_types])
1442+
flattened_params = [scope, query, asset_types]
1443+
has_flattened_params = (
1444+
len([param for param in flattened_params if param is not None]) > 0
1445+
)
14251446
if request is not None and has_flattened_params:
14261447
raise ValueError(
14271448
"If the `request` argument is set, then none of "
@@ -1621,7 +1642,10 @@ async def sample_search_all_iam_policies():
16211642
# Create or coerce a protobuf request object.
16221643
# - Quick check: If we got a request object, we should *not* have
16231644
# gotten any keyword arguments that map to the request.
1624-
has_flattened_params = any([scope, query])
1645+
flattened_params = [scope, query]
1646+
has_flattened_params = (
1647+
len([param for param in flattened_params if param is not None]) > 0
1648+
)
16251649
if request is not None and has_flattened_params:
16261650
raise ValueError(
16271651
"If the `request` argument is set, then none of "
@@ -2178,7 +2202,10 @@ async def sample_create_saved_query():
21782202
# Create or coerce a protobuf request object.
21792203
# - Quick check: If we got a request object, we should *not* have
21802204
# gotten any keyword arguments that map to the request.
2181-
has_flattened_params = any([parent, saved_query, saved_query_id])
2205+
flattened_params = [parent, saved_query, saved_query_id]
2206+
has_flattened_params = (
2207+
len([param for param in flattened_params if param is not None]) > 0
2208+
)
21822209
if request is not None and has_flattened_params:
21832210
raise ValueError(
21842211
"If the `request` argument is set, then none of "
@@ -2293,7 +2320,10 @@ async def sample_get_saved_query():
22932320
# Create or coerce a protobuf request object.
22942321
# - Quick check: If we got a request object, we should *not* have
22952322
# gotten any keyword arguments that map to the request.
2296-
has_flattened_params = any([name])
2323+
flattened_params = [name]
2324+
has_flattened_params = (
2325+
len([param for param in flattened_params if param is not None]) > 0
2326+
)
22972327
if request is not None and has_flattened_params:
22982328
raise ValueError(
22992329
"If the `request` argument is set, then none of "
@@ -2410,7 +2440,10 @@ async def sample_list_saved_queries():
24102440
# Create or coerce a protobuf request object.
24112441
# - Quick check: If we got a request object, we should *not* have
24122442
# gotten any keyword arguments that map to the request.
2413-
has_flattened_params = any([parent])
2443+
flattened_params = [parent]
2444+
has_flattened_params = (
2445+
len([param for param in flattened_params if param is not None]) > 0
2446+
)
24142447
if request is not None and has_flattened_params:
24152448
raise ValueError(
24162449
"If the `request` argument is set, then none of "
@@ -2541,7 +2574,10 @@ async def sample_update_saved_query():
25412574
# Create or coerce a protobuf request object.
25422575
# - Quick check: If we got a request object, we should *not* have
25432576
# gotten any keyword arguments that map to the request.
2544-
has_flattened_params = any([saved_query, update_mask])
2577+
flattened_params = [saved_query, update_mask]
2578+
has_flattened_params = (
2579+
len([param for param in flattened_params if param is not None]) > 0
2580+
)
25452581
if request is not None and has_flattened_params:
25462582
raise ValueError(
25472583
"If the `request` argument is set, then none of "
@@ -2647,7 +2683,10 @@ async def sample_delete_saved_query():
26472683
# Create or coerce a protobuf request object.
26482684
# - Quick check: If we got a request object, we should *not* have
26492685
# gotten any keyword arguments that map to the request.
2650-
has_flattened_params = any([name])
2686+
flattened_params = [name]
2687+
has_flattened_params = (
2688+
len([param for param in flattened_params if param is not None]) > 0
2689+
)
26512690
if request is not None and has_flattened_params:
26522691
raise ValueError(
26532692
"If the `request` argument is set, then none of "
@@ -2879,7 +2918,10 @@ async def sample_analyze_org_policies():
28792918
# Create or coerce a protobuf request object.
28802919
# - Quick check: If we got a request object, we should *not* have
28812920
# gotten any keyword arguments that map to the request.
2882-
has_flattened_params = any([scope, constraint, filter])
2921+
flattened_params = [scope, constraint, filter]
2922+
has_flattened_params = (
2923+
len([param for param in flattened_params if param is not None]) > 0
2924+
)
28832925
if request is not None and has_flattened_params:
28842926
raise ValueError(
28852927
"If the `request` argument is set, then none of "
@@ -3043,7 +3085,10 @@ async def sample_analyze_org_policy_governed_containers():
30433085
# Create or coerce a protobuf request object.
30443086
# - Quick check: If we got a request object, we should *not* have
30453087
# gotten any keyword arguments that map to the request.
3046-
has_flattened_params = any([scope, constraint, filter])
3088+
flattened_params = [scope, constraint, filter]
3089+
has_flattened_params = (
3090+
len([param for param in flattened_params if param is not None]) > 0
3091+
)
30473092
if request is not None and has_flattened_params:
30483093
raise ValueError(
30493094
"If the `request` argument is set, then none of "
@@ -3280,7 +3325,10 @@ async def sample_analyze_org_policy_governed_assets():
32803325
# Create or coerce a protobuf request object.
32813326
# - Quick check: If we got a request object, we should *not* have
32823327
# gotten any keyword arguments that map to the request.
3283-
has_flattened_params = any([scope, constraint, filter])
3328+
flattened_params = [scope, constraint, filter]
3329+
has_flattened_params = (
3330+
len([param for param in flattened_params if param is not None]) > 0
3331+
)
32843332
if request is not None and has_flattened_params:
32853333
raise ValueError(
32863334
"If the `request` argument is set, then none of "

0 commit comments

Comments
 (0)