google-cloud-web_risk-v1 0.12.0 → 1.0.1
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/google/cloud/web_risk/v1/version.rb +1 -1
- data/lib/google/cloud/web_risk/v1/web_risk_service/client.rb +13 -5
- data/lib/google/cloud/web_risk/v1/web_risk_service/operations.rb +13 -5
- data/lib/google/cloud/web_risk/v1/web_risk_service/rest/client.rb +13 -5
- data/lib/google/cloud/web_risk/v1/web_risk_service/rest/operations.rb +11 -4
- data/proto_docs/google/api/client.rb +35 -10
- data/proto_docs/google/api/resource.rb +7 -2
- metadata +2 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: ae9f871325ea1b7bb5b30b6dfd264f5531b7cf2fc782c32bd5df7938de5ff328
|
4
|
+
data.tar.gz: f7d3a74406a2069e83e8a2e7c0549a2e3630a01a8d107ca4c0f1ad4570ef308e
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 91522bc96d46eab3ba18dbd607f3c36a4e2bc764884ae4fc1976e2da0ccffaf25e4197f1ac9bd94761e5bb180043d0906a3d80f09e777345f3caca3d75075f84
|
7
|
+
data.tar.gz: 299e8f2edac8d963bb117a9b5ec788602e97504ddf1b32969e8abe29b79bd66712b025430c5fa3267ef930851683025c4f24a7ded7d6ce1b6fce839b179b1517
|
@@ -31,6 +31,9 @@ module Google
|
|
31
31
|
# website and in client applications.
|
32
32
|
#
|
33
33
|
class Client
|
34
|
+
# @private
|
35
|
+
API_VERSION = ""
|
36
|
+
|
34
37
|
# @private
|
35
38
|
DEFAULT_ENDPOINT_TEMPLATE = "webrisk.$UNIVERSE_DOMAIN$"
|
36
39
|
|
@@ -262,10 +265,11 @@ module Google
|
|
262
265
|
# Customize the options with defaults
|
263
266
|
metadata = @config.rpcs.compute_threat_list_diff.metadata.to_h
|
264
267
|
|
265
|
-
# Set x-goog-api-client
|
268
|
+
# Set x-goog-api-client, x-goog-user-project and x-goog-api-version headers
|
266
269
|
metadata[:"x-goog-api-client"] ||= ::Gapic::Headers.x_goog_api_client \
|
267
270
|
lib_name: @config.lib_name, lib_version: @config.lib_version,
|
268
271
|
gapic_version: ::Google::Cloud::WebRisk::V1::VERSION
|
272
|
+
metadata[:"x-goog-api-version"] = API_VERSION unless API_VERSION.empty?
|
269
273
|
metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
|
270
274
|
|
271
275
|
options.apply_defaults timeout: @config.rpcs.compute_threat_list_diff.timeout,
|
@@ -346,10 +350,11 @@ module Google
|
|
346
350
|
# Customize the options with defaults
|
347
351
|
metadata = @config.rpcs.search_uris.metadata.to_h
|
348
352
|
|
349
|
-
# Set x-goog-api-client
|
353
|
+
# Set x-goog-api-client, x-goog-user-project and x-goog-api-version headers
|
350
354
|
metadata[:"x-goog-api-client"] ||= ::Gapic::Headers.x_goog_api_client \
|
351
355
|
lib_name: @config.lib_name, lib_version: @config.lib_version,
|
352
356
|
gapic_version: ::Google::Cloud::WebRisk::V1::VERSION
|
357
|
+
metadata[:"x-goog-api-version"] = API_VERSION unless API_VERSION.empty?
|
353
358
|
metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
|
354
359
|
|
355
360
|
options.apply_defaults timeout: @config.rpcs.search_uris.timeout,
|
@@ -433,10 +438,11 @@ module Google
|
|
433
438
|
# Customize the options with defaults
|
434
439
|
metadata = @config.rpcs.search_hashes.metadata.to_h
|
435
440
|
|
436
|
-
# Set x-goog-api-client
|
441
|
+
# Set x-goog-api-client, x-goog-user-project and x-goog-api-version headers
|
437
442
|
metadata[:"x-goog-api-client"] ||= ::Gapic::Headers.x_goog_api_client \
|
438
443
|
lib_name: @config.lib_name, lib_version: @config.lib_version,
|
439
444
|
gapic_version: ::Google::Cloud::WebRisk::V1::VERSION
|
445
|
+
metadata[:"x-goog-api-version"] = API_VERSION unless API_VERSION.empty?
|
440
446
|
metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
|
441
447
|
|
442
448
|
options.apply_defaults timeout: @config.rpcs.search_hashes.timeout,
|
@@ -519,10 +525,11 @@ module Google
|
|
519
525
|
# Customize the options with defaults
|
520
526
|
metadata = @config.rpcs.create_submission.metadata.to_h
|
521
527
|
|
522
|
-
# Set x-goog-api-client
|
528
|
+
# Set x-goog-api-client, x-goog-user-project and x-goog-api-version headers
|
523
529
|
metadata[:"x-goog-api-client"] ||= ::Gapic::Headers.x_goog_api_client \
|
524
530
|
lib_name: @config.lib_name, lib_version: @config.lib_version,
|
525
531
|
gapic_version: ::Google::Cloud::WebRisk::V1::VERSION
|
532
|
+
metadata[:"x-goog-api-version"] = API_VERSION unless API_VERSION.empty?
|
526
533
|
metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
|
527
534
|
|
528
535
|
header_params = {}
|
@@ -627,10 +634,11 @@ module Google
|
|
627
634
|
# Customize the options with defaults
|
628
635
|
metadata = @config.rpcs.submit_uri.metadata.to_h
|
629
636
|
|
630
|
-
# Set x-goog-api-client
|
637
|
+
# Set x-goog-api-client, x-goog-user-project and x-goog-api-version headers
|
631
638
|
metadata[:"x-goog-api-client"] ||= ::Gapic::Headers.x_goog_api_client \
|
632
639
|
lib_name: @config.lib_name, lib_version: @config.lib_version,
|
633
640
|
gapic_version: ::Google::Cloud::WebRisk::V1::VERSION
|
641
|
+
metadata[:"x-goog-api-version"] = API_VERSION unless API_VERSION.empty?
|
634
642
|
metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
|
635
643
|
|
636
644
|
header_params = {}
|
@@ -26,6 +26,9 @@ module Google
|
|
26
26
|
module WebRiskService
|
27
27
|
# Service that implements Longrunning Operations API.
|
28
28
|
class Operations
|
29
|
+
# @private
|
30
|
+
API_VERSION = ""
|
31
|
+
|
29
32
|
# @private
|
30
33
|
DEFAULT_ENDPOINT_TEMPLATE = "webrisk.$UNIVERSE_DOMAIN$"
|
31
34
|
|
@@ -191,10 +194,11 @@ module Google
|
|
191
194
|
# Customize the options with defaults
|
192
195
|
metadata = @config.rpcs.list_operations.metadata.to_h
|
193
196
|
|
194
|
-
# Set x-goog-api-client
|
197
|
+
# Set x-goog-api-client, x-goog-user-project and x-goog-api-version headers
|
195
198
|
metadata[:"x-goog-api-client"] ||= ::Gapic::Headers.x_goog_api_client \
|
196
199
|
lib_name: @config.lib_name, lib_version: @config.lib_version,
|
197
200
|
gapic_version: ::Google::Cloud::WebRisk::V1::VERSION
|
201
|
+
metadata[:"x-goog-api-version"] = API_VERSION unless API_VERSION.empty?
|
198
202
|
metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
|
199
203
|
|
200
204
|
header_params = {}
|
@@ -287,10 +291,11 @@ module Google
|
|
287
291
|
# Customize the options with defaults
|
288
292
|
metadata = @config.rpcs.get_operation.metadata.to_h
|
289
293
|
|
290
|
-
# Set x-goog-api-client
|
294
|
+
# Set x-goog-api-client, x-goog-user-project and x-goog-api-version headers
|
291
295
|
metadata[:"x-goog-api-client"] ||= ::Gapic::Headers.x_goog_api_client \
|
292
296
|
lib_name: @config.lib_name, lib_version: @config.lib_version,
|
293
297
|
gapic_version: ::Google::Cloud::WebRisk::V1::VERSION
|
298
|
+
metadata[:"x-goog-api-version"] = API_VERSION unless API_VERSION.empty?
|
294
299
|
metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
|
295
300
|
|
296
301
|
header_params = {}
|
@@ -376,10 +381,11 @@ module Google
|
|
376
381
|
# Customize the options with defaults
|
377
382
|
metadata = @config.rpcs.delete_operation.metadata.to_h
|
378
383
|
|
379
|
-
# Set x-goog-api-client
|
384
|
+
# Set x-goog-api-client, x-goog-user-project and x-goog-api-version headers
|
380
385
|
metadata[:"x-goog-api-client"] ||= ::Gapic::Headers.x_goog_api_client \
|
381
386
|
lib_name: @config.lib_name, lib_version: @config.lib_version,
|
382
387
|
gapic_version: ::Google::Cloud::WebRisk::V1::VERSION
|
388
|
+
metadata[:"x-goog-api-version"] = API_VERSION unless API_VERSION.empty?
|
383
389
|
metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
|
384
390
|
|
385
391
|
header_params = {}
|
@@ -470,10 +476,11 @@ module Google
|
|
470
476
|
# Customize the options with defaults
|
471
477
|
metadata = @config.rpcs.cancel_operation.metadata.to_h
|
472
478
|
|
473
|
-
# Set x-goog-api-client
|
479
|
+
# Set x-goog-api-client, x-goog-user-project and x-goog-api-version headers
|
474
480
|
metadata[:"x-goog-api-client"] ||= ::Gapic::Headers.x_goog_api_client \
|
475
481
|
lib_name: @config.lib_name, lib_version: @config.lib_version,
|
476
482
|
gapic_version: ::Google::Cloud::WebRisk::V1::VERSION
|
483
|
+
metadata[:"x-goog-api-version"] = API_VERSION unless API_VERSION.empty?
|
477
484
|
metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
|
478
485
|
|
479
486
|
header_params = {}
|
@@ -574,10 +581,11 @@ module Google
|
|
574
581
|
# Customize the options with defaults
|
575
582
|
metadata = @config.rpcs.wait_operation.metadata.to_h
|
576
583
|
|
577
|
-
# Set x-goog-api-client
|
584
|
+
# Set x-goog-api-client, x-goog-user-project and x-goog-api-version headers
|
578
585
|
metadata[:"x-goog-api-client"] ||= ::Gapic::Headers.x_goog_api_client \
|
579
586
|
lib_name: @config.lib_name, lib_version: @config.lib_version,
|
580
587
|
gapic_version: ::Google::Cloud::WebRisk::V1::VERSION
|
588
|
+
metadata[:"x-goog-api-version"] = API_VERSION unless API_VERSION.empty?
|
581
589
|
metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
|
582
590
|
|
583
591
|
options.apply_defaults timeout: @config.rpcs.wait_operation.timeout,
|
@@ -33,6 +33,9 @@ module Google
|
|
33
33
|
# website and in client applications.
|
34
34
|
#
|
35
35
|
class Client
|
36
|
+
# @private
|
37
|
+
API_VERSION = ""
|
38
|
+
|
36
39
|
# @private
|
37
40
|
DEFAULT_ENDPOINT_TEMPLATE = "webrisk.$UNIVERSE_DOMAIN$"
|
38
41
|
|
@@ -254,12 +257,13 @@ module Google
|
|
254
257
|
# Customize the options with defaults
|
255
258
|
call_metadata = @config.rpcs.compute_threat_list_diff.metadata.to_h
|
256
259
|
|
257
|
-
# Set x-goog-api-client
|
260
|
+
# Set x-goog-api-client, x-goog-user-project and x-goog-api-version headers
|
258
261
|
call_metadata[:"x-goog-api-client"] ||= ::Gapic::Headers.x_goog_api_client \
|
259
262
|
lib_name: @config.lib_name, lib_version: @config.lib_version,
|
260
263
|
gapic_version: ::Google::Cloud::WebRisk::V1::VERSION,
|
261
264
|
transports_version_send: [:rest]
|
262
265
|
|
266
|
+
call_metadata[:"x-goog-api-version"] = API_VERSION unless API_VERSION.empty?
|
263
267
|
call_metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
|
264
268
|
|
265
269
|
options.apply_defaults timeout: @config.rpcs.compute_threat_list_diff.timeout,
|
@@ -339,12 +343,13 @@ module Google
|
|
339
343
|
# Customize the options with defaults
|
340
344
|
call_metadata = @config.rpcs.search_uris.metadata.to_h
|
341
345
|
|
342
|
-
# Set x-goog-api-client
|
346
|
+
# Set x-goog-api-client, x-goog-user-project and x-goog-api-version headers
|
343
347
|
call_metadata[:"x-goog-api-client"] ||= ::Gapic::Headers.x_goog_api_client \
|
344
348
|
lib_name: @config.lib_name, lib_version: @config.lib_version,
|
345
349
|
gapic_version: ::Google::Cloud::WebRisk::V1::VERSION,
|
346
350
|
transports_version_send: [:rest]
|
347
351
|
|
352
|
+
call_metadata[:"x-goog-api-version"] = API_VERSION unless API_VERSION.empty?
|
348
353
|
call_metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
|
349
354
|
|
350
355
|
options.apply_defaults timeout: @config.rpcs.search_uris.timeout,
|
@@ -427,12 +432,13 @@ module Google
|
|
427
432
|
# Customize the options with defaults
|
428
433
|
call_metadata = @config.rpcs.search_hashes.metadata.to_h
|
429
434
|
|
430
|
-
# Set x-goog-api-client
|
435
|
+
# Set x-goog-api-client, x-goog-user-project and x-goog-api-version headers
|
431
436
|
call_metadata[:"x-goog-api-client"] ||= ::Gapic::Headers.x_goog_api_client \
|
432
437
|
lib_name: @config.lib_name, lib_version: @config.lib_version,
|
433
438
|
gapic_version: ::Google::Cloud::WebRisk::V1::VERSION,
|
434
439
|
transports_version_send: [:rest]
|
435
440
|
|
441
|
+
call_metadata[:"x-goog-api-version"] = API_VERSION unless API_VERSION.empty?
|
436
442
|
call_metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
|
437
443
|
|
438
444
|
options.apply_defaults timeout: @config.rpcs.search_hashes.timeout,
|
@@ -514,12 +520,13 @@ module Google
|
|
514
520
|
# Customize the options with defaults
|
515
521
|
call_metadata = @config.rpcs.create_submission.metadata.to_h
|
516
522
|
|
517
|
-
# Set x-goog-api-client
|
523
|
+
# Set x-goog-api-client, x-goog-user-project and x-goog-api-version headers
|
518
524
|
call_metadata[:"x-goog-api-client"] ||= ::Gapic::Headers.x_goog_api_client \
|
519
525
|
lib_name: @config.lib_name, lib_version: @config.lib_version,
|
520
526
|
gapic_version: ::Google::Cloud::WebRisk::V1::VERSION,
|
521
527
|
transports_version_send: [:rest]
|
522
528
|
|
529
|
+
call_metadata[:"x-goog-api-version"] = API_VERSION unless API_VERSION.empty?
|
523
530
|
call_metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
|
524
531
|
|
525
532
|
options.apply_defaults timeout: @config.rpcs.create_submission.timeout,
|
@@ -615,12 +622,13 @@ module Google
|
|
615
622
|
# Customize the options with defaults
|
616
623
|
call_metadata = @config.rpcs.submit_uri.metadata.to_h
|
617
624
|
|
618
|
-
# Set x-goog-api-client
|
625
|
+
# Set x-goog-api-client, x-goog-user-project and x-goog-api-version headers
|
619
626
|
call_metadata[:"x-goog-api-client"] ||= ::Gapic::Headers.x_goog_api_client \
|
620
627
|
lib_name: @config.lib_name, lib_version: @config.lib_version,
|
621
628
|
gapic_version: ::Google::Cloud::WebRisk::V1::VERSION,
|
622
629
|
transports_version_send: [:rest]
|
623
630
|
|
631
|
+
call_metadata[:"x-goog-api-version"] = API_VERSION unless API_VERSION.empty?
|
624
632
|
call_metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
|
625
633
|
|
626
634
|
options.apply_defaults timeout: @config.rpcs.submit_uri.timeout,
|
@@ -26,6 +26,9 @@ module Google
|
|
26
26
|
module Rest
|
27
27
|
# Service that implements Longrunning Operations API.
|
28
28
|
class Operations
|
29
|
+
# @private
|
30
|
+
API_VERSION = ""
|
31
|
+
|
29
32
|
# @private
|
30
33
|
DEFAULT_ENDPOINT_TEMPLATE = "webrisk.$UNIVERSE_DOMAIN$"
|
31
34
|
|
@@ -181,12 +184,13 @@ module Google
|
|
181
184
|
# Customize the options with defaults
|
182
185
|
call_metadata = @config.rpcs.list_operations.metadata.to_h
|
183
186
|
|
184
|
-
# Set x-goog-api-client
|
187
|
+
# Set x-goog-api-client, x-goog-user-project and x-goog-api-version headers
|
185
188
|
call_metadata[:"x-goog-api-client"] ||= ::Gapic::Headers.x_goog_api_client \
|
186
189
|
lib_name: @config.lib_name, lib_version: @config.lib_version,
|
187
190
|
gapic_version: ::Google::Cloud::WebRisk::V1::VERSION,
|
188
191
|
transports_version_send: [:rest]
|
189
192
|
|
193
|
+
call_metadata[:"x-goog-api-version"] = API_VERSION unless API_VERSION.empty?
|
190
194
|
call_metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
|
191
195
|
|
192
196
|
options.apply_defaults timeout: @config.rpcs.list_operations.timeout,
|
@@ -269,12 +273,13 @@ module Google
|
|
269
273
|
# Customize the options with defaults
|
270
274
|
call_metadata = @config.rpcs.get_operation.metadata.to_h
|
271
275
|
|
272
|
-
# Set x-goog-api-client
|
276
|
+
# Set x-goog-api-client, x-goog-user-project and x-goog-api-version headers
|
273
277
|
call_metadata[:"x-goog-api-client"] ||= ::Gapic::Headers.x_goog_api_client \
|
274
278
|
lib_name: @config.lib_name, lib_version: @config.lib_version,
|
275
279
|
gapic_version: ::Google::Cloud::WebRisk::V1::VERSION,
|
276
280
|
transports_version_send: [:rest]
|
277
281
|
|
282
|
+
call_metadata[:"x-goog-api-version"] = API_VERSION unless API_VERSION.empty?
|
278
283
|
call_metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
|
279
284
|
|
280
285
|
options.apply_defaults timeout: @config.rpcs.get_operation.timeout,
|
@@ -351,12 +356,13 @@ module Google
|
|
351
356
|
# Customize the options with defaults
|
352
357
|
call_metadata = @config.rpcs.delete_operation.metadata.to_h
|
353
358
|
|
354
|
-
# Set x-goog-api-client
|
359
|
+
# Set x-goog-api-client, x-goog-user-project and x-goog-api-version headers
|
355
360
|
call_metadata[:"x-goog-api-client"] ||= ::Gapic::Headers.x_goog_api_client \
|
356
361
|
lib_name: @config.lib_name, lib_version: @config.lib_version,
|
357
362
|
gapic_version: ::Google::Cloud::WebRisk::V1::VERSION,
|
358
363
|
transports_version_send: [:rest]
|
359
364
|
|
365
|
+
call_metadata[:"x-goog-api-version"] = API_VERSION unless API_VERSION.empty?
|
360
366
|
call_metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
|
361
367
|
|
362
368
|
options.apply_defaults timeout: @config.rpcs.delete_operation.timeout,
|
@@ -438,12 +444,13 @@ module Google
|
|
438
444
|
# Customize the options with defaults
|
439
445
|
call_metadata = @config.rpcs.cancel_operation.metadata.to_h
|
440
446
|
|
441
|
-
# Set x-goog-api-client
|
447
|
+
# Set x-goog-api-client, x-goog-user-project and x-goog-api-version headers
|
442
448
|
call_metadata[:"x-goog-api-client"] ||= ::Gapic::Headers.x_goog_api_client \
|
443
449
|
lib_name: @config.lib_name, lib_version: @config.lib_version,
|
444
450
|
gapic_version: ::Google::Cloud::WebRisk::V1::VERSION,
|
445
451
|
transports_version_send: [:rest]
|
446
452
|
|
453
|
+
call_metadata[:"x-goog-api-version"] = API_VERSION unless API_VERSION.empty?
|
447
454
|
call_metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
|
448
455
|
|
449
456
|
options.apply_defaults timeout: @config.rpcs.cancel_operation.timeout,
|
@@ -118,6 +118,10 @@ module Google
|
|
118
118
|
# @return [::String]
|
119
119
|
# Optional link to proto reference documentation. Example:
|
120
120
|
# https://cloud.google.com/pubsub/lite/docs/reference/rpc
|
121
|
+
# @!attribute [rw] rest_reference_documentation_uri
|
122
|
+
# @return [::String]
|
123
|
+
# Optional link to REST reference documentation. Example:
|
124
|
+
# https://cloud.google.com/pubsub/lite/docs/reference/rest
|
121
125
|
class Publishing
|
122
126
|
include ::Google::Protobuf::MessageExts
|
123
127
|
extend ::Google::Protobuf::MessageExts::ClassMethods
|
@@ -192,9 +196,26 @@ module Google
|
|
192
196
|
# @!attribute [rw] common
|
193
197
|
# @return [::Google::Api::CommonLanguageSettings]
|
194
198
|
# Some settings.
|
199
|
+
# @!attribute [rw] experimental_features
|
200
|
+
# @return [::Google::Api::PythonSettings::ExperimentalFeatures]
|
201
|
+
# Experimental features to be included during client library generation.
|
195
202
|
class PythonSettings
|
196
203
|
include ::Google::Protobuf::MessageExts
|
197
204
|
extend ::Google::Protobuf::MessageExts::ClassMethods
|
205
|
+
|
206
|
+
# Experimental features to be included during client library generation.
|
207
|
+
# These fields will be deprecated once the feature graduates and is enabled
|
208
|
+
# by default.
|
209
|
+
# @!attribute [rw] rest_async_io_enabled
|
210
|
+
# @return [::Boolean]
|
211
|
+
# Enables generation of asynchronous REST clients if `rest` transport is
|
212
|
+
# enabled. By default, asynchronous REST clients will not be generated.
|
213
|
+
# This feature will be enabled by default 1 month after launching the
|
214
|
+
# feature in preview packages.
|
215
|
+
class ExperimentalFeatures
|
216
|
+
include ::Google::Protobuf::MessageExts
|
217
|
+
extend ::Google::Protobuf::MessageExts::ClassMethods
|
218
|
+
end
|
198
219
|
end
|
199
220
|
|
200
221
|
# Settings for Node client libraries.
|
@@ -286,6 +307,13 @@ module Google
|
|
286
307
|
# @return [::String]
|
287
308
|
# The fully qualified name of the method, for which the options below apply.
|
288
309
|
# This is used to find the method to apply the options.
|
310
|
+
#
|
311
|
+
# Example:
|
312
|
+
#
|
313
|
+
# publishing:
|
314
|
+
# method_settings:
|
315
|
+
# - selector: google.storage.control.v2.StorageControl.CreateFolder
|
316
|
+
# # method settings for CreateFolder...
|
289
317
|
# @!attribute [rw] long_running
|
290
318
|
# @return [::Google::Api::MethodSettings::LongRunning]
|
291
319
|
# Describes settings to use for long-running operations when generating
|
@@ -294,17 +322,14 @@ module Google
|
|
294
322
|
#
|
295
323
|
# Example of a YAML configuration::
|
296
324
|
#
|
297
|
-
#
|
298
|
-
#
|
325
|
+
# publishing:
|
326
|
+
# method_settings:
|
299
327
|
# - selector: google.cloud.speech.v2.Speech.BatchRecognize
|
300
328
|
# long_running:
|
301
|
-
# initial_poll_delay:
|
302
|
-
# seconds: 60 # 1 minute
|
329
|
+
# initial_poll_delay: 60s # 1 minute
|
303
330
|
# poll_delay_multiplier: 1.5
|
304
|
-
# max_poll_delay:
|
305
|
-
#
|
306
|
-
# total_poll_timeout:
|
307
|
-
# seconds: 54000 # 90 minutes
|
331
|
+
# max_poll_delay: 360s # 6 minutes
|
332
|
+
# total_poll_timeout: 54000s # 90 minutes
|
308
333
|
# @!attribute [rw] auto_populated_fields
|
309
334
|
# @return [::Array<::String>]
|
310
335
|
# List of top-level fields of the request message, that should be
|
@@ -313,8 +338,8 @@ module Google
|
|
313
338
|
#
|
314
339
|
# Example of a YAML configuration:
|
315
340
|
#
|
316
|
-
#
|
317
|
-
#
|
341
|
+
# publishing:
|
342
|
+
# method_settings:
|
318
343
|
# - selector: google.example.v1.ExampleService.CreateExample
|
319
344
|
# auto_populated_fields:
|
320
345
|
# - request_id
|
@@ -124,8 +124,13 @@ module Google
|
|
124
124
|
# @return [::String]
|
125
125
|
# The plural name used in the resource name and permission names, such as
|
126
126
|
# 'projects' for the resource name of 'projects/\\{project}' and the permission
|
127
|
-
# name of 'cloudresourcemanager.googleapis.com/projects.get'.
|
128
|
-
#
|
127
|
+
# name of 'cloudresourcemanager.googleapis.com/projects.get'. One exception
|
128
|
+
# to this is for Nested Collections that have stuttering names, as defined
|
129
|
+
# in [AIP-122](https://google.aip.dev/122#nested-collections), where the
|
130
|
+
# collection ID in the resource name pattern does not necessarily directly
|
131
|
+
# match the `plural` value.
|
132
|
+
#
|
133
|
+
# It is the same concept of the `plural` field in k8s CRD spec
|
129
134
|
# https://kubernetes.io/docs/tasks/access-kubernetes-api/custom-resources/custom-resource-definitions/
|
130
135
|
#
|
131
136
|
# Note: The plural form is required even for singleton resources. See
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: google-cloud-web_risk-v1
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.
|
4
|
+
version: 1.0.1
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Google LLC
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2024-
|
11
|
+
date: 2024-08-30 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: gapic-common
|