google-cloud-service_health-v1 0.1.2 → 1.0.0

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 800dce11b16f04a27db5f9be3ed455c5334520949f81aea61378ffba4cf7993e
4
- data.tar.gz: 8fadfb880d3e9705594e2dcf3dd0e99d5fba053a2bdbff2d57a00c6530fe2b0e
3
+ metadata.gz: 5636defd300a46d4e78943414f261f0698a6621fc9be2087b2456be1fd6ae401
4
+ data.tar.gz: 2d6d661ec3b13f09ee1809bdc92e42bd34e97ca91ffeec9d1bcf2ac40ac4ccce
5
5
  SHA512:
6
- metadata.gz: c70f09dcaffa5e4cc8bd252a8e699186a53a4456790bcb3e9f1b889b785c46546204b6df5ac193c0c6c3d61389a345e8aab53c1ec573aea01be0b2b4f0b78282
7
- data.tar.gz: d453799027a06d5f757e9d2aa4d8d337886d4c9f5cbf908be206546d43ad5210dddc597ebec43ddc51a4dffd9cbc5baed472be88506ff388aa2ed994acdd8ea4
6
+ metadata.gz: 48dd5f76f37645fb942cac141d3267383d1d5df87de1fc878f6c629ca97e81be1f7d36da1d2d9ada37f0d57f70bbf6281c0af08d28d15a292bea218742674c2a
7
+ data.tar.gz: 9f8f371420182950a5b02f61d92703b689b48e89f566378f714acc89bbf2e04d9340285f18a55aa8a64ac44046a14924a30cb17e24368550ccf0520df4dac17c
data/README.md CHANGED
@@ -76,7 +76,7 @@ To browse ready to use code samples check [Google Cloud Samples](https://cloud.g
76
76
 
77
77
  ## Supported Ruby Versions
78
78
 
79
- This library is supported on Ruby 2.6+.
79
+ This library is supported on Ruby 2.7+.
80
80
 
81
81
  Google provides official support for Ruby versions that are actively supported
82
82
  by Ruby Core—that is, Ruby versions that are either in normal maintenance or
@@ -31,6 +31,9 @@ module Google
31
31
  # Request service health events relevant to your Google Cloud project.
32
32
  #
33
33
  class Client
34
+ # @private
35
+ API_VERSION = ""
36
+
34
37
  # @private
35
38
  DEFAULT_ENDPOINT_TEMPLATE = "servicehealth.$UNIVERSE_DOMAIN$"
36
39
 
@@ -300,10 +303,11 @@ module Google
300
303
  # Customize the options with defaults
301
304
  metadata = @config.rpcs.list_events.metadata.to_h
302
305
 
303
- # Set x-goog-api-client and x-goog-user-project headers
306
+ # Set x-goog-api-client, x-goog-user-project and x-goog-api-version headers
304
307
  metadata[:"x-goog-api-client"] ||= ::Gapic::Headers.x_goog_api_client \
305
308
  lib_name: @config.lib_name, lib_version: @config.lib_version,
306
309
  gapic_version: ::Google::Cloud::ServiceHealth::V1::VERSION
310
+ metadata[:"x-goog-api-version"] = API_VERSION unless API_VERSION.empty?
307
311
  metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
308
312
 
309
313
  header_params = {}
@@ -392,10 +396,11 @@ module Google
392
396
  # Customize the options with defaults
393
397
  metadata = @config.rpcs.get_event.metadata.to_h
394
398
 
395
- # Set x-goog-api-client and x-goog-user-project headers
399
+ # Set x-goog-api-client, x-goog-user-project and x-goog-api-version headers
396
400
  metadata[:"x-goog-api-client"] ||= ::Gapic::Headers.x_goog_api_client \
397
401
  lib_name: @config.lib_name, lib_version: @config.lib_version,
398
402
  gapic_version: ::Google::Cloud::ServiceHealth::V1::VERSION
403
+ metadata[:"x-goog-api-version"] = API_VERSION unless API_VERSION.empty?
399
404
  metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
400
405
 
401
406
  header_params = {}
@@ -523,10 +528,11 @@ module Google
523
528
  # Customize the options with defaults
524
529
  metadata = @config.rpcs.list_organization_events.metadata.to_h
525
530
 
526
- # Set x-goog-api-client and x-goog-user-project headers
531
+ # Set x-goog-api-client, x-goog-user-project and x-goog-api-version headers
527
532
  metadata[:"x-goog-api-client"] ||= ::Gapic::Headers.x_goog_api_client \
528
533
  lib_name: @config.lib_name, lib_version: @config.lib_version,
529
534
  gapic_version: ::Google::Cloud::ServiceHealth::V1::VERSION
535
+ metadata[:"x-goog-api-version"] = API_VERSION unless API_VERSION.empty?
530
536
  metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
531
537
 
532
538
  header_params = {}
@@ -618,10 +624,11 @@ module Google
618
624
  # Customize the options with defaults
619
625
  metadata = @config.rpcs.get_organization_event.metadata.to_h
620
626
 
621
- # Set x-goog-api-client and x-goog-user-project headers
627
+ # Set x-goog-api-client, x-goog-user-project and x-goog-api-version headers
622
628
  metadata[:"x-goog-api-client"] ||= ::Gapic::Headers.x_goog_api_client \
623
629
  lib_name: @config.lib_name, lib_version: @config.lib_version,
624
630
  gapic_version: ::Google::Cloud::ServiceHealth::V1::VERSION
631
+ metadata[:"x-goog-api-version"] = API_VERSION unless API_VERSION.empty?
625
632
  metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
626
633
 
627
634
  header_params = {}
@@ -748,10 +755,11 @@ module Google
748
755
  # Customize the options with defaults
749
756
  metadata = @config.rpcs.list_organization_impacts.metadata.to_h
750
757
 
751
- # Set x-goog-api-client and x-goog-user-project headers
758
+ # Set x-goog-api-client, x-goog-user-project and x-goog-api-version headers
752
759
  metadata[:"x-goog-api-client"] ||= ::Gapic::Headers.x_goog_api_client \
753
760
  lib_name: @config.lib_name, lib_version: @config.lib_version,
754
761
  gapic_version: ::Google::Cloud::ServiceHealth::V1::VERSION
762
+ metadata[:"x-goog-api-version"] = API_VERSION unless API_VERSION.empty?
755
763
  metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
756
764
 
757
765
  header_params = {}
@@ -843,10 +851,11 @@ module Google
843
851
  # Customize the options with defaults
844
852
  metadata = @config.rpcs.get_organization_impact.metadata.to_h
845
853
 
846
- # Set x-goog-api-client and x-goog-user-project headers
854
+ # Set x-goog-api-client, x-goog-user-project and x-goog-api-version headers
847
855
  metadata[:"x-goog-api-client"] ||= ::Gapic::Headers.x_goog_api_client \
848
856
  lib_name: @config.lib_name, lib_version: @config.lib_version,
849
857
  gapic_version: ::Google::Cloud::ServiceHealth::V1::VERSION
858
+ metadata[:"x-goog-api-version"] = API_VERSION unless API_VERSION.empty?
850
859
  metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
851
860
 
852
861
  header_params = {}
@@ -33,6 +33,9 @@ module Google
33
33
  # Request service health events relevant to your Google Cloud project.
34
34
  #
35
35
  class Client
36
+ # @private
37
+ API_VERSION = ""
38
+
36
39
  # @private
37
40
  DEFAULT_ENDPOINT_TEMPLATE = "servicehealth.$UNIVERSE_DOMAIN$"
38
41
 
@@ -293,12 +296,13 @@ module Google
293
296
  # Customize the options with defaults
294
297
  call_metadata = @config.rpcs.list_events.metadata.to_h
295
298
 
296
- # Set x-goog-api-client and x-goog-user-project headers
299
+ # Set x-goog-api-client, x-goog-user-project and x-goog-api-version headers
297
300
  call_metadata[:"x-goog-api-client"] ||= ::Gapic::Headers.x_goog_api_client \
298
301
  lib_name: @config.lib_name, lib_version: @config.lib_version,
299
302
  gapic_version: ::Google::Cloud::ServiceHealth::V1::VERSION,
300
303
  transports_version_send: [:rest]
301
304
 
305
+ call_metadata[:"x-goog-api-version"] = API_VERSION unless API_VERSION.empty?
302
306
  call_metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
303
307
 
304
308
  options.apply_defaults timeout: @config.rpcs.list_events.timeout,
@@ -377,12 +381,13 @@ module Google
377
381
  # Customize the options with defaults
378
382
  call_metadata = @config.rpcs.get_event.metadata.to_h
379
383
 
380
- # Set x-goog-api-client and x-goog-user-project headers
384
+ # Set x-goog-api-client, x-goog-user-project and x-goog-api-version headers
381
385
  call_metadata[:"x-goog-api-client"] ||= ::Gapic::Headers.x_goog_api_client \
382
386
  lib_name: @config.lib_name, lib_version: @config.lib_version,
383
387
  gapic_version: ::Google::Cloud::ServiceHealth::V1::VERSION,
384
388
  transports_version_send: [:rest]
385
389
 
390
+ call_metadata[:"x-goog-api-version"] = API_VERSION unless API_VERSION.empty?
386
391
  call_metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
387
392
 
388
393
  options.apply_defaults timeout: @config.rpcs.get_event.timeout,
@@ -501,12 +506,13 @@ module Google
501
506
  # Customize the options with defaults
502
507
  call_metadata = @config.rpcs.list_organization_events.metadata.to_h
503
508
 
504
- # Set x-goog-api-client and x-goog-user-project headers
509
+ # Set x-goog-api-client, x-goog-user-project and x-goog-api-version headers
505
510
  call_metadata[:"x-goog-api-client"] ||= ::Gapic::Headers.x_goog_api_client \
506
511
  lib_name: @config.lib_name, lib_version: @config.lib_version,
507
512
  gapic_version: ::Google::Cloud::ServiceHealth::V1::VERSION,
508
513
  transports_version_send: [:rest]
509
514
 
515
+ call_metadata[:"x-goog-api-version"] = API_VERSION unless API_VERSION.empty?
510
516
  call_metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
511
517
 
512
518
  options.apply_defaults timeout: @config.rpcs.list_organization_events.timeout,
@@ -588,12 +594,13 @@ module Google
588
594
  # Customize the options with defaults
589
595
  call_metadata = @config.rpcs.get_organization_event.metadata.to_h
590
596
 
591
- # Set x-goog-api-client and x-goog-user-project headers
597
+ # Set x-goog-api-client, x-goog-user-project and x-goog-api-version headers
592
598
  call_metadata[:"x-goog-api-client"] ||= ::Gapic::Headers.x_goog_api_client \
593
599
  lib_name: @config.lib_name, lib_version: @config.lib_version,
594
600
  gapic_version: ::Google::Cloud::ServiceHealth::V1::VERSION,
595
601
  transports_version_send: [:rest]
596
602
 
603
+ call_metadata[:"x-goog-api-version"] = API_VERSION unless API_VERSION.empty?
597
604
  call_metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
598
605
 
599
606
  options.apply_defaults timeout: @config.rpcs.get_organization_event.timeout,
@@ -711,12 +718,13 @@ module Google
711
718
  # Customize the options with defaults
712
719
  call_metadata = @config.rpcs.list_organization_impacts.metadata.to_h
713
720
 
714
- # Set x-goog-api-client and x-goog-user-project headers
721
+ # Set x-goog-api-client, x-goog-user-project and x-goog-api-version headers
715
722
  call_metadata[:"x-goog-api-client"] ||= ::Gapic::Headers.x_goog_api_client \
716
723
  lib_name: @config.lib_name, lib_version: @config.lib_version,
717
724
  gapic_version: ::Google::Cloud::ServiceHealth::V1::VERSION,
718
725
  transports_version_send: [:rest]
719
726
 
727
+ call_metadata[:"x-goog-api-version"] = API_VERSION unless API_VERSION.empty?
720
728
  call_metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
721
729
 
722
730
  options.apply_defaults timeout: @config.rpcs.list_organization_impacts.timeout,
@@ -798,12 +806,13 @@ module Google
798
806
  # Customize the options with defaults
799
807
  call_metadata = @config.rpcs.get_organization_impact.metadata.to_h
800
808
 
801
- # Set x-goog-api-client and x-goog-user-project headers
809
+ # Set x-goog-api-client, x-goog-user-project and x-goog-api-version headers
802
810
  call_metadata[:"x-goog-api-client"] ||= ::Gapic::Headers.x_goog_api_client \
803
811
  lib_name: @config.lib_name, lib_version: @config.lib_version,
804
812
  gapic_version: ::Google::Cloud::ServiceHealth::V1::VERSION,
805
813
  transports_version_send: [:rest]
806
814
 
815
+ call_metadata[:"x-goog-api-version"] = API_VERSION unless API_VERSION.empty?
807
816
  call_metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
808
817
 
809
818
  options.apply_defaults timeout: @config.rpcs.get_organization_impact.timeout,
@@ -21,7 +21,7 @@ module Google
21
21
  module Cloud
22
22
  module ServiceHealth
23
23
  module V1
24
- VERSION = "0.1.2"
24
+ VERSION = "1.0.0"
25
25
  end
26
26
  end
27
27
  end
@@ -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
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: google-cloud-service_health-v1
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.1.2
4
+ version: 1.0.0
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-02-16 00:00:00.000000000 Z
11
+ date: 2024-07-10 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: gapic-common
@@ -64,118 +64,6 @@ dependencies:
64
64
  - - "<"
65
65
  - !ruby/object:Gem::Version
66
66
  version: 2.a
67
- - !ruby/object:Gem::Dependency
68
- name: google-style
69
- requirement: !ruby/object:Gem::Requirement
70
- requirements:
71
- - - "~>"
72
- - !ruby/object:Gem::Version
73
- version: 1.26.3
74
- type: :development
75
- prerelease: false
76
- version_requirements: !ruby/object:Gem::Requirement
77
- requirements:
78
- - - "~>"
79
- - !ruby/object:Gem::Version
80
- version: 1.26.3
81
- - !ruby/object:Gem::Dependency
82
- name: minitest
83
- requirement: !ruby/object:Gem::Requirement
84
- requirements:
85
- - - "~>"
86
- - !ruby/object:Gem::Version
87
- version: '5.16'
88
- type: :development
89
- prerelease: false
90
- version_requirements: !ruby/object:Gem::Requirement
91
- requirements:
92
- - - "~>"
93
- - !ruby/object:Gem::Version
94
- version: '5.16'
95
- - !ruby/object:Gem::Dependency
96
- name: minitest-focus
97
- requirement: !ruby/object:Gem::Requirement
98
- requirements:
99
- - - "~>"
100
- - !ruby/object:Gem::Version
101
- version: '1.1'
102
- type: :development
103
- prerelease: false
104
- version_requirements: !ruby/object:Gem::Requirement
105
- requirements:
106
- - - "~>"
107
- - !ruby/object:Gem::Version
108
- version: '1.1'
109
- - !ruby/object:Gem::Dependency
110
- name: minitest-rg
111
- requirement: !ruby/object:Gem::Requirement
112
- requirements:
113
- - - "~>"
114
- - !ruby/object:Gem::Version
115
- version: '5.2'
116
- type: :development
117
- prerelease: false
118
- version_requirements: !ruby/object:Gem::Requirement
119
- requirements:
120
- - - "~>"
121
- - !ruby/object:Gem::Version
122
- version: '5.2'
123
- - !ruby/object:Gem::Dependency
124
- name: rake
125
- requirement: !ruby/object:Gem::Requirement
126
- requirements:
127
- - - ">="
128
- - !ruby/object:Gem::Version
129
- version: '13.0'
130
- type: :development
131
- prerelease: false
132
- version_requirements: !ruby/object:Gem::Requirement
133
- requirements:
134
- - - ">="
135
- - !ruby/object:Gem::Version
136
- version: '13.0'
137
- - !ruby/object:Gem::Dependency
138
- name: redcarpet
139
- requirement: !ruby/object:Gem::Requirement
140
- requirements:
141
- - - "~>"
142
- - !ruby/object:Gem::Version
143
- version: '3.0'
144
- type: :development
145
- prerelease: false
146
- version_requirements: !ruby/object:Gem::Requirement
147
- requirements:
148
- - - "~>"
149
- - !ruby/object:Gem::Version
150
- version: '3.0'
151
- - !ruby/object:Gem::Dependency
152
- name: simplecov
153
- requirement: !ruby/object:Gem::Requirement
154
- requirements:
155
- - - "~>"
156
- - !ruby/object:Gem::Version
157
- version: '0.18'
158
- type: :development
159
- prerelease: false
160
- version_requirements: !ruby/object:Gem::Requirement
161
- requirements:
162
- - - "~>"
163
- - !ruby/object:Gem::Version
164
- version: '0.18'
165
- - !ruby/object:Gem::Dependency
166
- name: yard
167
- requirement: !ruby/object:Gem::Requirement
168
- requirements:
169
- - - "~>"
170
- - !ruby/object:Gem::Version
171
- version: '0.9'
172
- type: :development
173
- prerelease: false
174
- version_requirements: !ruby/object:Gem::Requirement
175
- requirements:
176
- - - "~>"
177
- - !ruby/object:Gem::Version
178
- version: '0.9'
179
67
  description: Personalized Service Health helps you gain visibility into disruptive
180
68
  events impacting Google Cloud products. Note that google-cloud-service_health-v1
181
69
  is a version-specific client library. For most uses, we recommend installing the
@@ -226,14 +114,14 @@ required_ruby_version: !ruby/object:Gem::Requirement
226
114
  requirements:
227
115
  - - ">="
228
116
  - !ruby/object:Gem::Version
229
- version: '2.6'
117
+ version: '2.7'
230
118
  required_rubygems_version: !ruby/object:Gem::Requirement
231
119
  requirements:
232
120
  - - ">="
233
121
  - !ruby/object:Gem::Version
234
122
  version: '0'
235
123
  requirements: []
236
- rubygems_version: 3.5.3
124
+ rubygems_version: 3.5.6
237
125
  signing_key:
238
126
  specification_version: 4
239
127
  summary: Personalized Service Health helps you gain visibility into disruptive events