google-cloud-web_risk-v1beta1 0.10.0 → 0.10.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- checksums.yaml +4 -4
- data/lib/google/cloud/web_risk/v1beta1/version.rb +1 -1
- data/lib/google/cloud/web_risk/v1beta1/web_risk_service/client.rb +9 -3
- data/lib/google/cloud/web_risk/v1beta1/web_risk_service/rest/client.rb +9 -3
- data/lib/google/cloud/webrisk/v1beta1/webrisk_services_pb.rb +1 -1
- 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: e91fd425c96acc319974252bff9711cfd4ae99da933dcda4c7d5981a1116c0cd
|
|
4
|
+
data.tar.gz: d14f6a6807e4ef723e0c185dae1df23226a4f7d7214979e48fe8739780ab5214
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: f1cb8ec77384613131c7972f19d6c2da6aac5f7693e755eca2cb06a46f33f144b88fa01125fd5dae701533e9f2bd8b12bd751bcd499ec82f74c8fd8ed47db13a
|
|
7
|
+
data.tar.gz: f4d4165ac22dd766b89beabad7a70d3c36e32ae896f156283d9d83d4f64ecb76ac865bf6ee75a82550fb8cc3dfbecbb47acce49ab3c80c06e6456c808150e607
|
|
@@ -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
|
|
|
@@ -234,10 +237,11 @@ module Google
|
|
|
234
237
|
# Customize the options with defaults
|
|
235
238
|
metadata = @config.rpcs.compute_threat_list_diff.metadata.to_h
|
|
236
239
|
|
|
237
|
-
# Set x-goog-api-client
|
|
240
|
+
# Set x-goog-api-client, x-goog-user-project and x-goog-api-version headers
|
|
238
241
|
metadata[:"x-goog-api-client"] ||= ::Gapic::Headers.x_goog_api_client \
|
|
239
242
|
lib_name: @config.lib_name, lib_version: @config.lib_version,
|
|
240
243
|
gapic_version: ::Google::Cloud::WebRisk::V1beta1::VERSION
|
|
244
|
+
metadata[:"x-goog-api-version"] = API_VERSION unless API_VERSION.empty?
|
|
241
245
|
metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
|
|
242
246
|
|
|
243
247
|
options.apply_defaults timeout: @config.rpcs.compute_threat_list_diff.timeout,
|
|
@@ -313,10 +317,11 @@ module Google
|
|
|
313
317
|
# Customize the options with defaults
|
|
314
318
|
metadata = @config.rpcs.search_uris.metadata.to_h
|
|
315
319
|
|
|
316
|
-
# Set x-goog-api-client
|
|
320
|
+
# Set x-goog-api-client, x-goog-user-project and x-goog-api-version headers
|
|
317
321
|
metadata[:"x-goog-api-client"] ||= ::Gapic::Headers.x_goog_api_client \
|
|
318
322
|
lib_name: @config.lib_name, lib_version: @config.lib_version,
|
|
319
323
|
gapic_version: ::Google::Cloud::WebRisk::V1beta1::VERSION
|
|
324
|
+
metadata[:"x-goog-api-version"] = API_VERSION unless API_VERSION.empty?
|
|
320
325
|
metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
|
|
321
326
|
|
|
322
327
|
options.apply_defaults timeout: @config.rpcs.search_uris.timeout,
|
|
@@ -397,10 +402,11 @@ module Google
|
|
|
397
402
|
# Customize the options with defaults
|
|
398
403
|
metadata = @config.rpcs.search_hashes.metadata.to_h
|
|
399
404
|
|
|
400
|
-
# Set x-goog-api-client
|
|
405
|
+
# Set x-goog-api-client, x-goog-user-project and x-goog-api-version headers
|
|
401
406
|
metadata[:"x-goog-api-client"] ||= ::Gapic::Headers.x_goog_api_client \
|
|
402
407
|
lib_name: @config.lib_name, lib_version: @config.lib_version,
|
|
403
408
|
gapic_version: ::Google::Cloud::WebRisk::V1beta1::VERSION
|
|
409
|
+
metadata[:"x-goog-api-version"] = API_VERSION unless API_VERSION.empty?
|
|
404
410
|
metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
|
|
405
411
|
|
|
406
412
|
options.apply_defaults timeout: @config.rpcs.search_hashes.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
|
|
|
@@ -226,12 +229,13 @@ module Google
|
|
|
226
229
|
# Customize the options with defaults
|
|
227
230
|
call_metadata = @config.rpcs.compute_threat_list_diff.metadata.to_h
|
|
228
231
|
|
|
229
|
-
# Set x-goog-api-client
|
|
232
|
+
# Set x-goog-api-client, x-goog-user-project and x-goog-api-version headers
|
|
230
233
|
call_metadata[:"x-goog-api-client"] ||= ::Gapic::Headers.x_goog_api_client \
|
|
231
234
|
lib_name: @config.lib_name, lib_version: @config.lib_version,
|
|
232
235
|
gapic_version: ::Google::Cloud::WebRisk::V1beta1::VERSION,
|
|
233
236
|
transports_version_send: [:rest]
|
|
234
237
|
|
|
238
|
+
call_metadata[:"x-goog-api-version"] = API_VERSION unless API_VERSION.empty?
|
|
235
239
|
call_metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
|
|
236
240
|
|
|
237
241
|
options.apply_defaults timeout: @config.rpcs.compute_threat_list_diff.timeout,
|
|
@@ -306,12 +310,13 @@ module Google
|
|
|
306
310
|
# Customize the options with defaults
|
|
307
311
|
call_metadata = @config.rpcs.search_uris.metadata.to_h
|
|
308
312
|
|
|
309
|
-
# Set x-goog-api-client
|
|
313
|
+
# Set x-goog-api-client, x-goog-user-project and x-goog-api-version headers
|
|
310
314
|
call_metadata[:"x-goog-api-client"] ||= ::Gapic::Headers.x_goog_api_client \
|
|
311
315
|
lib_name: @config.lib_name, lib_version: @config.lib_version,
|
|
312
316
|
gapic_version: ::Google::Cloud::WebRisk::V1beta1::VERSION,
|
|
313
317
|
transports_version_send: [:rest]
|
|
314
318
|
|
|
319
|
+
call_metadata[:"x-goog-api-version"] = API_VERSION unless API_VERSION.empty?
|
|
315
320
|
call_metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
|
|
316
321
|
|
|
317
322
|
options.apply_defaults timeout: @config.rpcs.search_uris.timeout,
|
|
@@ -391,12 +396,13 @@ module Google
|
|
|
391
396
|
# Customize the options with defaults
|
|
392
397
|
call_metadata = @config.rpcs.search_hashes.metadata.to_h
|
|
393
398
|
|
|
394
|
-
# Set x-goog-api-client
|
|
399
|
+
# Set x-goog-api-client, x-goog-user-project and x-goog-api-version headers
|
|
395
400
|
call_metadata[:"x-goog-api-client"] ||= ::Gapic::Headers.x_goog_api_client \
|
|
396
401
|
lib_name: @config.lib_name, lib_version: @config.lib_version,
|
|
397
402
|
gapic_version: ::Google::Cloud::WebRisk::V1beta1::VERSION,
|
|
398
403
|
transports_version_send: [:rest]
|
|
399
404
|
|
|
405
|
+
call_metadata[:"x-goog-api-version"] = API_VERSION unless API_VERSION.empty?
|
|
400
406
|
call_metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
|
|
401
407
|
|
|
402
408
|
options.apply_defaults timeout: @config.rpcs.search_hashes.timeout,
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
# Generated by the protocol buffer compiler. DO NOT EDIT!
|
|
2
2
|
# Source: google/cloud/webrisk/v1beta1/webrisk.proto for package 'Google.Cloud.WebRisk.V1beta1'
|
|
3
3
|
# Original file comments:
|
|
4
|
-
# Copyright
|
|
4
|
+
# Copyright 2024 Google LLC
|
|
5
5
|
#
|
|
6
6
|
# Licensed under the Apache License, Version 2.0 (the "License");
|
|
7
7
|
# you may not use this file except in compliance with the License.
|
|
@@ -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-v1beta1
|
|
3
3
|
version: !ruby/object:Gem::Version
|
|
4
|
-
version: 0.10.
|
|
4
|
+
version: 0.10.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
|