google-cloud-advisory_notifications-v1 0.10.0 → 0.10.2
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/README.md +0 -1
- data/lib/google/cloud/advisory_notifications/v1/advisory_notifications_service/client.rb +11 -4
- data/lib/google/cloud/advisory_notifications/v1/advisory_notifications_service/rest/client.rb +11 -4
- data/lib/google/cloud/advisory_notifications/v1/version.rb +1 -1
- data/proto_docs/google/api/client.rb +31 -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: fb995a1e6265cc6cf918dd9c61f293055cf2ab1a0a77fa22bee527a7f3c65677
|
4
|
+
data.tar.gz: 811af4d450450c573fa6f26a2837403418103624eb364efd7959d2089afe7f7c
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: ba05833eb265fdfd92e41becb911e60fe4e9c4e061861d0540a222af3b30a6d3f183d2fe5c2c272a988b415c1d9e16312f90454f068b288e23b8254b04359d53
|
7
|
+
data.tar.gz: b9b0b633a5023e132024b4406fb6ea461c7bd9613e62a5c1bffd5a5d3a7c1a819eeae09119f6ffb43039e2710877dd93e6c9deac1703c6c7952c6c6a20d8a764
|
data/README.md
CHANGED
@@ -30,6 +30,9 @@ module Google
|
|
30
30
|
# Service to manage Security and Privacy Notifications.
|
31
31
|
#
|
32
32
|
class Client
|
33
|
+
# @private
|
34
|
+
API_VERSION = ""
|
35
|
+
|
33
36
|
# @private
|
34
37
|
DEFAULT_ENDPOINT_TEMPLATE = "advisorynotifications.$UNIVERSE_DOMAIN$"
|
35
38
|
|
@@ -249,10 +252,11 @@ module Google
|
|
249
252
|
# Customize the options with defaults
|
250
253
|
metadata = @config.rpcs.list_notifications.metadata.to_h
|
251
254
|
|
252
|
-
# Set x-goog-api-client
|
255
|
+
# Set x-goog-api-client, x-goog-user-project and x-goog-api-version headers
|
253
256
|
metadata[:"x-goog-api-client"] ||= ::Gapic::Headers.x_goog_api_client \
|
254
257
|
lib_name: @config.lib_name, lib_version: @config.lib_version,
|
255
258
|
gapic_version: ::Google::Cloud::AdvisoryNotifications::V1::VERSION
|
259
|
+
metadata[:"x-goog-api-version"] = API_VERSION unless API_VERSION.empty?
|
256
260
|
metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
|
257
261
|
|
258
262
|
header_params = {}
|
@@ -344,10 +348,11 @@ module Google
|
|
344
348
|
# Customize the options with defaults
|
345
349
|
metadata = @config.rpcs.get_notification.metadata.to_h
|
346
350
|
|
347
|
-
# Set x-goog-api-client
|
351
|
+
# Set x-goog-api-client, x-goog-user-project and x-goog-api-version headers
|
348
352
|
metadata[:"x-goog-api-client"] ||= ::Gapic::Headers.x_goog_api_client \
|
349
353
|
lib_name: @config.lib_name, lib_version: @config.lib_version,
|
350
354
|
gapic_version: ::Google::Cloud::AdvisoryNotifications::V1::VERSION
|
355
|
+
metadata[:"x-goog-api-version"] = API_VERSION unless API_VERSION.empty?
|
351
356
|
metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
|
352
357
|
|
353
358
|
header_params = {}
|
@@ -432,10 +437,11 @@ module Google
|
|
432
437
|
# Customize the options with defaults
|
433
438
|
metadata = @config.rpcs.get_settings.metadata.to_h
|
434
439
|
|
435
|
-
# Set x-goog-api-client
|
440
|
+
# Set x-goog-api-client, x-goog-user-project and x-goog-api-version headers
|
436
441
|
metadata[:"x-goog-api-client"] ||= ::Gapic::Headers.x_goog_api_client \
|
437
442
|
lib_name: @config.lib_name, lib_version: @config.lib_version,
|
438
443
|
gapic_version: ::Google::Cloud::AdvisoryNotifications::V1::VERSION
|
444
|
+
metadata[:"x-goog-api-version"] = API_VERSION unless API_VERSION.empty?
|
439
445
|
metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
|
440
446
|
|
441
447
|
header_params = {}
|
@@ -517,10 +523,11 @@ module Google
|
|
517
523
|
# Customize the options with defaults
|
518
524
|
metadata = @config.rpcs.update_settings.metadata.to_h
|
519
525
|
|
520
|
-
# Set x-goog-api-client
|
526
|
+
# Set x-goog-api-client, x-goog-user-project and x-goog-api-version headers
|
521
527
|
metadata[:"x-goog-api-client"] ||= ::Gapic::Headers.x_goog_api_client \
|
522
528
|
lib_name: @config.lib_name, lib_version: @config.lib_version,
|
523
529
|
gapic_version: ::Google::Cloud::AdvisoryNotifications::V1::VERSION
|
530
|
+
metadata[:"x-goog-api-version"] = API_VERSION unless API_VERSION.empty?
|
524
531
|
metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
|
525
532
|
|
526
533
|
header_params = {}
|
data/lib/google/cloud/advisory_notifications/v1/advisory_notifications_service/rest/client.rb
CHANGED
@@ -32,6 +32,9 @@ module Google
|
|
32
32
|
# Service to manage Security and Privacy Notifications.
|
33
33
|
#
|
34
34
|
class Client
|
35
|
+
# @private
|
36
|
+
API_VERSION = ""
|
37
|
+
|
35
38
|
# @private
|
36
39
|
DEFAULT_ENDPOINT_TEMPLATE = "advisorynotifications.$UNIVERSE_DOMAIN$"
|
37
40
|
|
@@ -241,12 +244,13 @@ module Google
|
|
241
244
|
# Customize the options with defaults
|
242
245
|
call_metadata = @config.rpcs.list_notifications.metadata.to_h
|
243
246
|
|
244
|
-
# Set x-goog-api-client
|
247
|
+
# Set x-goog-api-client, x-goog-user-project and x-goog-api-version headers
|
245
248
|
call_metadata[:"x-goog-api-client"] ||= ::Gapic::Headers.x_goog_api_client \
|
246
249
|
lib_name: @config.lib_name, lib_version: @config.lib_version,
|
247
250
|
gapic_version: ::Google::Cloud::AdvisoryNotifications::V1::VERSION,
|
248
251
|
transports_version_send: [:rest]
|
249
252
|
|
253
|
+
call_metadata[:"x-goog-api-version"] = API_VERSION unless API_VERSION.empty?
|
250
254
|
call_metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
|
251
255
|
|
252
256
|
options.apply_defaults timeout: @config.rpcs.list_notifications.timeout,
|
@@ -329,12 +333,13 @@ module Google
|
|
329
333
|
# Customize the options with defaults
|
330
334
|
call_metadata = @config.rpcs.get_notification.metadata.to_h
|
331
335
|
|
332
|
-
# Set x-goog-api-client
|
336
|
+
# Set x-goog-api-client, x-goog-user-project and x-goog-api-version headers
|
333
337
|
call_metadata[:"x-goog-api-client"] ||= ::Gapic::Headers.x_goog_api_client \
|
334
338
|
lib_name: @config.lib_name, lib_version: @config.lib_version,
|
335
339
|
gapic_version: ::Google::Cloud::AdvisoryNotifications::V1::VERSION,
|
336
340
|
transports_version_send: [:rest]
|
337
341
|
|
342
|
+
call_metadata[:"x-goog-api-version"] = API_VERSION unless API_VERSION.empty?
|
338
343
|
call_metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
|
339
344
|
|
340
345
|
options.apply_defaults timeout: @config.rpcs.get_notification.timeout,
|
@@ -410,12 +415,13 @@ module Google
|
|
410
415
|
# Customize the options with defaults
|
411
416
|
call_metadata = @config.rpcs.get_settings.metadata.to_h
|
412
417
|
|
413
|
-
# Set x-goog-api-client
|
418
|
+
# Set x-goog-api-client, x-goog-user-project and x-goog-api-version headers
|
414
419
|
call_metadata[:"x-goog-api-client"] ||= ::Gapic::Headers.x_goog_api_client \
|
415
420
|
lib_name: @config.lib_name, lib_version: @config.lib_version,
|
416
421
|
gapic_version: ::Google::Cloud::AdvisoryNotifications::V1::VERSION,
|
417
422
|
transports_version_send: [:rest]
|
418
423
|
|
424
|
+
call_metadata[:"x-goog-api-version"] = API_VERSION unless API_VERSION.empty?
|
419
425
|
call_metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
|
420
426
|
|
421
427
|
options.apply_defaults timeout: @config.rpcs.get_settings.timeout,
|
@@ -488,12 +494,13 @@ module Google
|
|
488
494
|
# Customize the options with defaults
|
489
495
|
call_metadata = @config.rpcs.update_settings.metadata.to_h
|
490
496
|
|
491
|
-
# Set x-goog-api-client
|
497
|
+
# Set x-goog-api-client, x-goog-user-project and x-goog-api-version headers
|
492
498
|
call_metadata[:"x-goog-api-client"] ||= ::Gapic::Headers.x_goog_api_client \
|
493
499
|
lib_name: @config.lib_name, lib_version: @config.lib_version,
|
494
500
|
gapic_version: ::Google::Cloud::AdvisoryNotifications::V1::VERSION,
|
495
501
|
transports_version_send: [:rest]
|
496
502
|
|
503
|
+
call_metadata[:"x-goog-api-version"] = API_VERSION unless API_VERSION.empty?
|
497
504
|
call_metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
|
498
505
|
|
499
506
|
options.apply_defaults timeout: @config.rpcs.update_settings.timeout,
|
@@ -196,9 +196,26 @@ module Google
|
|
196
196
|
# @!attribute [rw] common
|
197
197
|
# @return [::Google::Api::CommonLanguageSettings]
|
198
198
|
# Some settings.
|
199
|
+
# @!attribute [rw] experimental_features
|
200
|
+
# @return [::Google::Api::PythonSettings::ExperimentalFeatures]
|
201
|
+
# Experimental features to be included during client library generation.
|
199
202
|
class PythonSettings
|
200
203
|
include ::Google::Protobuf::MessageExts
|
201
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
|
202
219
|
end
|
203
220
|
|
204
221
|
# Settings for Node client libraries.
|
@@ -290,6 +307,13 @@ module Google
|
|
290
307
|
# @return [::String]
|
291
308
|
# The fully qualified name of the method, for which the options below apply.
|
292
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...
|
293
317
|
# @!attribute [rw] long_running
|
294
318
|
# @return [::Google::Api::MethodSettings::LongRunning]
|
295
319
|
# Describes settings to use for long-running operations when generating
|
@@ -298,17 +322,14 @@ module Google
|
|
298
322
|
#
|
299
323
|
# Example of a YAML configuration::
|
300
324
|
#
|
301
|
-
#
|
302
|
-
#
|
325
|
+
# publishing:
|
326
|
+
# method_settings:
|
303
327
|
# - selector: google.cloud.speech.v2.Speech.BatchRecognize
|
304
328
|
# long_running:
|
305
|
-
# initial_poll_delay:
|
306
|
-
# seconds: 60 # 1 minute
|
329
|
+
# initial_poll_delay: 60s # 1 minute
|
307
330
|
# poll_delay_multiplier: 1.5
|
308
|
-
# max_poll_delay:
|
309
|
-
#
|
310
|
-
# total_poll_timeout:
|
311
|
-
# seconds: 54000 # 90 minutes
|
331
|
+
# max_poll_delay: 360s # 6 minutes
|
332
|
+
# total_poll_timeout: 54000s # 90 minutes
|
312
333
|
# @!attribute [rw] auto_populated_fields
|
313
334
|
# @return [::Array<::String>]
|
314
335
|
# List of top-level fields of the request message, that should be
|
@@ -317,8 +338,8 @@ module Google
|
|
317
338
|
#
|
318
339
|
# Example of a YAML configuration:
|
319
340
|
#
|
320
|
-
#
|
321
|
-
#
|
341
|
+
# publishing:
|
342
|
+
# method_settings:
|
322
343
|
# - selector: google.example.v1.ExampleService.CreateExample
|
323
344
|
# auto_populated_fields:
|
324
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-advisory_notifications-v1
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.10.
|
4
|
+
version: 0.10.2
|
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
|