google-cloud-support-v2 0.4.0 → 1.0.0

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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 53275d8902735ef6b25704e4b7a537358caee3e390434a8a4ad6b675466cef33
4
- data.tar.gz: b02ade1b7d4c68fbe760b1fb85eec9878586cba20838d94fd8b9fc2e61e3be87
3
+ metadata.gz: be4b0ce974cadf1c44ad7a19881a2d2899fd5aa4606122af48aec80c8b5bc37c
4
+ data.tar.gz: 1c7e49d6775beebe83dc3baae0075d2ff20566efb9baeb924ce549307bbb69ae
5
5
  SHA512:
6
- metadata.gz: 23735f9610f387b9fec7b42ff63b422b11b1924a4acc25f3421c56e770f1f1cfb838ff9583489973de8cef1f6bd1b079ed30df78f007be0e84740e1ab09d1eac
7
- data.tar.gz: 310a254d2f8339e7a4fa1be56f677cb5203cdb22f2efe5b715b04fb3338cf01840f43d2b0758d8b4bd5bd0de284338fde865d0a0466c8e20bf99c5501a250265
6
+ metadata.gz: 7925798ce6d3b4036f60c68c0d8cde8a48c9ce974f710be615e48fbfeb515fd3a88e5854ac2f31e2c4c1a2e6b4829e9d7b9176c79e6f8183b31cbda88f4adc44
7
+ data.tar.gz: 3fa2b32978d5a6ad9423636f67ee1adde115dc9b6d27d2123c5a460a7efbc4cc64e28c15c2a7ab4db78be1da96693434a134e61194da984ecd1aa76722a8bf80
@@ -30,6 +30,9 @@ module Google
30
30
  # A service to manage file attachment for Google Cloud support cases.
31
31
  #
32
32
  class Client
33
+ # @private
34
+ API_VERSION = ""
35
+
33
36
  # @private
34
37
  DEFAULT_ENDPOINT_TEMPLATE = "cloudsupport.$UNIVERSE_DOMAIN$"
35
38
 
@@ -232,10 +235,11 @@ module Google
232
235
  # Customize the options with defaults
233
236
  metadata = @config.rpcs.list_attachments.metadata.to_h
234
237
 
235
- # Set x-goog-api-client and x-goog-user-project headers
238
+ # Set x-goog-api-client, x-goog-user-project and x-goog-api-version headers
236
239
  metadata[:"x-goog-api-client"] ||= ::Gapic::Headers.x_goog_api_client \
237
240
  lib_name: @config.lib_name, lib_version: @config.lib_version,
238
241
  gapic_version: ::Google::Cloud::Support::V2::VERSION
242
+ metadata[:"x-goog-api-version"] = API_VERSION unless API_VERSION.empty?
239
243
  metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
240
244
 
241
245
  header_params = {}
@@ -30,6 +30,9 @@ module Google
30
30
  # A service to manage Google Cloud support cases.
31
31
  #
32
32
  class Client
33
+ # @private
34
+ API_VERSION = ""
35
+
33
36
  # @private
34
37
  DEFAULT_ENDPOINT_TEMPLATE = "cloudsupport.$UNIVERSE_DOMAIN$"
35
38
 
@@ -243,10 +246,11 @@ module Google
243
246
  # Customize the options with defaults
244
247
  metadata = @config.rpcs.get_case.metadata.to_h
245
248
 
246
- # Set x-goog-api-client and x-goog-user-project headers
249
+ # Set x-goog-api-client, x-goog-user-project and x-goog-api-version headers
247
250
  metadata[:"x-goog-api-client"] ||= ::Gapic::Headers.x_goog_api_client \
248
251
  lib_name: @config.lib_name, lib_version: @config.lib_version,
249
252
  gapic_version: ::Google::Cloud::Support::V2::VERSION
253
+ metadata[:"x-goog-api-version"] = API_VERSION unless API_VERSION.empty?
250
254
  metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
251
255
 
252
256
  header_params = {}
@@ -360,10 +364,11 @@ module Google
360
364
  # Customize the options with defaults
361
365
  metadata = @config.rpcs.list_cases.metadata.to_h
362
366
 
363
- # Set x-goog-api-client and x-goog-user-project headers
367
+ # Set x-goog-api-client, x-goog-user-project and x-goog-api-version headers
364
368
  metadata[:"x-goog-api-client"] ||= ::Gapic::Headers.x_goog_api_client \
365
369
  lib_name: @config.lib_name, lib_version: @config.lib_version,
366
370
  gapic_version: ::Google::Cloud::Support::V2::VERSION
371
+ metadata[:"x-goog-api-version"] = API_VERSION unless API_VERSION.empty?
367
372
  metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
368
373
 
369
374
  header_params = {}
@@ -492,10 +497,11 @@ module Google
492
497
  # Customize the options with defaults
493
498
  metadata = @config.rpcs.search_cases.metadata.to_h
494
499
 
495
- # Set x-goog-api-client and x-goog-user-project headers
500
+ # Set x-goog-api-client, x-goog-user-project and x-goog-api-version headers
496
501
  metadata[:"x-goog-api-client"] ||= ::Gapic::Headers.x_goog_api_client \
497
502
  lib_name: @config.lib_name, lib_version: @config.lib_version,
498
503
  gapic_version: ::Google::Cloud::Support::V2::VERSION
504
+ metadata[:"x-goog-api-version"] = API_VERSION unless API_VERSION.empty?
499
505
  metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
500
506
 
501
507
  header_params = {}
@@ -583,10 +589,11 @@ module Google
583
589
  # Customize the options with defaults
584
590
  metadata = @config.rpcs.create_case.metadata.to_h
585
591
 
586
- # Set x-goog-api-client and x-goog-user-project headers
592
+ # Set x-goog-api-client, x-goog-user-project and x-goog-api-version headers
587
593
  metadata[:"x-goog-api-client"] ||= ::Gapic::Headers.x_goog_api_client \
588
594
  lib_name: @config.lib_name, lib_version: @config.lib_version,
589
595
  gapic_version: ::Google::Cloud::Support::V2::VERSION
596
+ metadata[:"x-goog-api-version"] = API_VERSION unless API_VERSION.empty?
590
597
  metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
591
598
 
592
599
  header_params = {}
@@ -678,10 +685,11 @@ module Google
678
685
  # Customize the options with defaults
679
686
  metadata = @config.rpcs.update_case.metadata.to_h
680
687
 
681
- # Set x-goog-api-client and x-goog-user-project headers
688
+ # Set x-goog-api-client, x-goog-user-project and x-goog-api-version headers
682
689
  metadata[:"x-goog-api-client"] ||= ::Gapic::Headers.x_goog_api_client \
683
690
  lib_name: @config.lib_name, lib_version: @config.lib_version,
684
691
  gapic_version: ::Google::Cloud::Support::V2::VERSION
692
+ metadata[:"x-goog-api-version"] = API_VERSION unless API_VERSION.empty?
685
693
  metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
686
694
 
687
695
  header_params = {}
@@ -771,10 +779,11 @@ module Google
771
779
  # Customize the options with defaults
772
780
  metadata = @config.rpcs.escalate_case.metadata.to_h
773
781
 
774
- # Set x-goog-api-client and x-goog-user-project headers
782
+ # Set x-goog-api-client, x-goog-user-project and x-goog-api-version headers
775
783
  metadata[:"x-goog-api-client"] ||= ::Gapic::Headers.x_goog_api_client \
776
784
  lib_name: @config.lib_name, lib_version: @config.lib_version,
777
785
  gapic_version: ::Google::Cloud::Support::V2::VERSION
786
+ metadata[:"x-goog-api-version"] = API_VERSION unless API_VERSION.empty?
778
787
  metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
779
788
 
780
789
  header_params = {}
@@ -856,10 +865,11 @@ module Google
856
865
  # Customize the options with defaults
857
866
  metadata = @config.rpcs.close_case.metadata.to_h
858
867
 
859
- # Set x-goog-api-client and x-goog-user-project headers
868
+ # Set x-goog-api-client, x-goog-user-project and x-goog-api-version headers
860
869
  metadata[:"x-goog-api-client"] ||= ::Gapic::Headers.x_goog_api_client \
861
870
  lib_name: @config.lib_name, lib_version: @config.lib_version,
862
871
  gapic_version: ::Google::Cloud::Support::V2::VERSION
872
+ metadata[:"x-goog-api-version"] = API_VERSION unless API_VERSION.empty?
863
873
  metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
864
874
 
865
875
  header_params = {}
@@ -955,10 +965,11 @@ module Google
955
965
  # Customize the options with defaults
956
966
  metadata = @config.rpcs.search_case_classifications.metadata.to_h
957
967
 
958
- # Set x-goog-api-client and x-goog-user-project headers
968
+ # Set x-goog-api-client, x-goog-user-project and x-goog-api-version headers
959
969
  metadata[:"x-goog-api-client"] ||= ::Gapic::Headers.x_goog_api_client \
960
970
  lib_name: @config.lib_name, lib_version: @config.lib_version,
961
971
  gapic_version: ::Google::Cloud::Support::V2::VERSION
972
+ metadata[:"x-goog-api-version"] = API_VERSION unless API_VERSION.empty?
962
973
  metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
963
974
 
964
975
  options.apply_defaults timeout: @config.rpcs.search_case_classifications.timeout,
@@ -30,6 +30,9 @@ module Google
30
30
  # A service to manage comments on cases.
31
31
  #
32
32
  class Client
33
+ # @private
34
+ API_VERSION = ""
35
+
33
36
  # @private
34
37
  DEFAULT_ENDPOINT_TEMPLATE = "cloudsupport.$UNIVERSE_DOMAIN$"
35
38
 
@@ -232,10 +235,11 @@ module Google
232
235
  # Customize the options with defaults
233
236
  metadata = @config.rpcs.list_comments.metadata.to_h
234
237
 
235
- # Set x-goog-api-client and x-goog-user-project headers
238
+ # Set x-goog-api-client, x-goog-user-project and x-goog-api-version headers
236
239
  metadata[:"x-goog-api-client"] ||= ::Gapic::Headers.x_goog_api_client \
237
240
  lib_name: @config.lib_name, lib_version: @config.lib_version,
238
241
  gapic_version: ::Google::Cloud::Support::V2::VERSION
242
+ metadata[:"x-goog-api-version"] = API_VERSION unless API_VERSION.empty?
239
243
  metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
240
244
 
241
245
  header_params = {}
@@ -321,10 +325,11 @@ module Google
321
325
  # Customize the options with defaults
322
326
  metadata = @config.rpcs.create_comment.metadata.to_h
323
327
 
324
- # Set x-goog-api-client and x-goog-user-project headers
328
+ # Set x-goog-api-client, x-goog-user-project and x-goog-api-version headers
325
329
  metadata[:"x-goog-api-client"] ||= ::Gapic::Headers.x_goog_api_client \
326
330
  lib_name: @config.lib_name, lib_version: @config.lib_version,
327
331
  gapic_version: ::Google::Cloud::Support::V2::VERSION
332
+ metadata[:"x-goog-api-version"] = API_VERSION unless API_VERSION.empty?
328
333
  metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
329
334
 
330
335
  header_params = {}
@@ -21,7 +21,7 @@ module Google
21
21
  module Cloud
22
22
  module Support
23
23
  module V2
24
- VERSION = "0.4.0"
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-support-v2
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.4.0
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-26 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