google-cloud-advisory_notifications-v1 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/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 +14 -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: 3be8e82a34456d392807faf2f2b390aec9060c76d6ef6a9f2385673c5c733aa9
|
|
4
|
+
data.tar.gz: 3a47e94a07a7573e92dba8dbff421a25e5692f0480daf357826ec4dac74cdc00
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: 6e20710a78d91499ea406613530e07dfac7176969ccb5ade9ded4847c0374e332a1482f86adfd579a427a70fb4dac0df0ab8282259951de7a781d44cfff5321d
|
|
7
|
+
data.tar.gz: 4d8c595c0eb53542015b9b6431b8761ecf8162871a2a9954310b5b1e0e181dbf0e14cba88492701f01c01021ab8458c69b6ef2b5cc2e8f154ed93da0cbe76b48
|
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,
|
|
@@ -290,6 +290,13 @@ module Google
|
|
|
290
290
|
# @return [::String]
|
|
291
291
|
# The fully qualified name of the method, for which the options below apply.
|
|
292
292
|
# This is used to find the method to apply the options.
|
|
293
|
+
#
|
|
294
|
+
# Example:
|
|
295
|
+
#
|
|
296
|
+
# publishing:
|
|
297
|
+
# method_settings:
|
|
298
|
+
# - selector: google.storage.control.v2.StorageControl.CreateFolder
|
|
299
|
+
# # method settings for CreateFolder...
|
|
293
300
|
# @!attribute [rw] long_running
|
|
294
301
|
# @return [::Google::Api::MethodSettings::LongRunning]
|
|
295
302
|
# Describes settings to use for long-running operations when generating
|
|
@@ -298,17 +305,14 @@ module Google
|
|
|
298
305
|
#
|
|
299
306
|
# Example of a YAML configuration::
|
|
300
307
|
#
|
|
301
|
-
#
|
|
302
|
-
#
|
|
308
|
+
# publishing:
|
|
309
|
+
# method_settings:
|
|
303
310
|
# - selector: google.cloud.speech.v2.Speech.BatchRecognize
|
|
304
311
|
# long_running:
|
|
305
|
-
# initial_poll_delay:
|
|
306
|
-
# seconds: 60 # 1 minute
|
|
312
|
+
# initial_poll_delay: 60s # 1 minute
|
|
307
313
|
# poll_delay_multiplier: 1.5
|
|
308
|
-
# max_poll_delay:
|
|
309
|
-
#
|
|
310
|
-
# total_poll_timeout:
|
|
311
|
-
# seconds: 54000 # 90 minutes
|
|
314
|
+
# max_poll_delay: 360s # 6 minutes
|
|
315
|
+
# total_poll_timeout: 54000s # 90 minutes
|
|
312
316
|
# @!attribute [rw] auto_populated_fields
|
|
313
317
|
# @return [::Array<::String>]
|
|
314
318
|
# List of top-level fields of the request message, that should be
|
|
@@ -317,8 +321,8 @@ module Google
|
|
|
317
321
|
#
|
|
318
322
|
# Example of a YAML configuration:
|
|
319
323
|
#
|
|
320
|
-
#
|
|
321
|
-
#
|
|
324
|
+
# publishing:
|
|
325
|
+
# method_settings:
|
|
322
326
|
# - selector: google.example.v1.ExampleService.CreateExample
|
|
323
327
|
# auto_populated_fields:
|
|
324
328
|
# - 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.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-09 00:00:00.000000000 Z
|
|
12
12
|
dependencies:
|
|
13
13
|
- !ruby/object:Gem::Dependency
|
|
14
14
|
name: gapic-common
|