google-apis-discovery_v1 0.17.0 → 0.18.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: db75036fde2705a46dc028c0104758ae33cc82839c1ebf8ae384326810d75f2f
4
- data.tar.gz: 90ff2abd5e2ef71e660fd1cbd785c81763863fd2be3fea6b79cf2e93438b781e
3
+ metadata.gz: 0356b6d1bf52a8f268d2263ce2c20b346269a059c15d8d97b7666513bce484c1
4
+ data.tar.gz: 6ba260ab0a91ad3658a9903c4f453054685d00c43db1421c1c0f6d649b497bbb
5
5
  SHA512:
6
- metadata.gz: 5125c6d4fbddf873ae978487c370e97b5849bd0e311e13f5da69a0357ea47e42d3aceb08c09b5219a1cad500aa7e928be30c8624ef73020425507794b950ee19
7
- data.tar.gz: 77ce48fd7f77c252d9610dca48e1f0290a18ddd92080cf71b82ce410bf9c1b8d958688bd3b541d92c4aded4c4a1d18020a78417bf49a609864d66c8ccec8008b
6
+ metadata.gz: 441da0b7a2b65a2f51c532f2b10a3374c038162b8303ce429f1118158d1d1ace5b30c3cbb6b45d20eafd90f370e19d304b275262ba274087e7032d6229174a72
7
+ data.tar.gz: a353579c1a7c973723c2d0cdabe3752f80355fb697c46fbd0daa98cb79f61287e2c4876f442356ae962dd31c71d3b065ac566a4782c1d133a009a9f3f2c54699
data/CHANGELOG.md CHANGED
@@ -1,5 +1,9 @@
1
1
  # Release history for google-apis-discovery_v1
2
2
 
3
+ ### v0.18.0 (2024-07-25)
4
+
5
+ * Unspecified changes
6
+
3
7
  ### v0.17.0 (2024-05-19)
4
8
 
5
9
  * Regenerated using generator version 0.15.0
@@ -190,6 +190,12 @@ module Google
190
190
  # @return [String]
191
191
  attr_accessor :default
192
192
 
193
+ # Whether the parameter is deprecated.
194
+ # Corresponds to the JSON property `deprecated`
195
+ # @return [Boolean]
196
+ attr_accessor :deprecated
197
+ alias_method :deprecated?, :deprecated
198
+
193
199
  # A description of this object.
194
200
  # Corresponds to the JSON property `description`
195
201
  # @return [String]
@@ -200,6 +206,12 @@ module Google
200
206
  # @return [Array<String>]
201
207
  attr_accessor :enum
202
208
 
209
+ # The deprecation status for the enums. Each position maps to the corresponding
210
+ # value in the "enum" array.
211
+ # Corresponds to the JSON property `enumDeprecated`
212
+ # @return [Array<Boolean>]
213
+ attr_accessor :enum_deprecated
214
+
203
215
  # The descriptions for the enums. Each position maps to the corresponding value
204
216
  # in the "enum" array.
205
217
  # Corresponds to the JSON property `enumDescriptions`
@@ -294,8 +306,10 @@ module Google
294
306
  @additional_properties = args[:additional_properties] if args.key?(:additional_properties)
295
307
  @annotations = args[:annotations] if args.key?(:annotations)
296
308
  @default = args[:default] if args.key?(:default)
309
+ @deprecated = args[:deprecated] if args.key?(:deprecated)
297
310
  @description = args[:description] if args.key?(:description)
298
311
  @enum = args[:enum] if args.key?(:enum)
312
+ @enum_deprecated = args[:enum_deprecated] if args.key?(:enum_deprecated)
299
313
  @enum_descriptions = args[:enum_descriptions] if args.key?(:enum_descriptions)
300
314
  @format = args[:format] if args.key?(:format)
301
315
  @id = args[:id] if args.key?(:id)
@@ -429,6 +443,12 @@ module Google
429
443
  # @return [String]
430
444
  attr_accessor :documentation_link
431
445
 
446
+ # A list of location-based endpoint objects for this API. Each object contains
447
+ # the endpoint URL, location, description and deprecation status.
448
+ # Corresponds to the JSON property `endpoints`
449
+ # @return [Array<Google::Apis::DiscoveryV1::RestDescription::Endpoint>]
450
+ attr_accessor :endpoints
451
+
432
452
  # The ETag for this response.
433
453
  # Corresponds to the JSON property `etag`
434
454
  # @return [String]
@@ -557,6 +577,7 @@ module Google
557
577
  @description = args[:description] if args.key?(:description)
558
578
  @discovery_version = args[:discovery_version] if args.key?(:discovery_version)
559
579
  @documentation_link = args[:documentation_link] if args.key?(:documentation_link)
580
+ @endpoints = args[:endpoints] if args.key?(:endpoints)
560
581
  @etag = args[:etag] if args.key?(:etag)
561
582
  @exponential_backoff_default = args[:exponential_backoff_default] if args.key?(:exponential_backoff_default)
562
583
  @features = args[:features] if args.key?(:features)
@@ -638,6 +659,44 @@ module Google
638
659
  end
639
660
  end
640
661
 
662
+ # A single endpoint object
663
+ class Endpoint
664
+ include Google::Apis::Core::Hashable
665
+
666
+ # Whether this endpoint is deprecated
667
+ # Corresponds to the JSON property `deprecated`
668
+ # @return [Boolean]
669
+ attr_accessor :deprecated
670
+ alias_method :deprecated?, :deprecated
671
+
672
+ # A string describing the host designated by the URL
673
+ # Corresponds to the JSON property `description`
674
+ # @return [String]
675
+ attr_accessor :description
676
+
677
+ # The URL of the endpoint target host
678
+ # Corresponds to the JSON property `endpointUrl`
679
+ # @return [String]
680
+ attr_accessor :endpoint_url
681
+
682
+ # The location of the endpoint
683
+ # Corresponds to the JSON property `location`
684
+ # @return [String]
685
+ attr_accessor :location
686
+
687
+ def initialize(**args)
688
+ update!(**args)
689
+ end
690
+
691
+ # Update properties of this object
692
+ def update!(**args)
693
+ @deprecated = args[:deprecated] if args.key?(:deprecated)
694
+ @description = args[:description] if args.key?(:description)
695
+ @endpoint_url = args[:endpoint_url] if args.key?(:endpoint_url)
696
+ @location = args[:location] if args.key?(:location)
697
+ end
698
+ end
699
+
641
700
  # Links to 16x16 and 32x32 icons representing the API.
642
701
  class Icons
643
702
  include Google::Apis::Core::Hashable
@@ -668,6 +727,18 @@ module Google
668
727
  class RestMethod
669
728
  include Google::Apis::Core::Hashable
670
729
 
730
+ # The API Version of this method, as passed in via the `X-Goog-Api-Version`
731
+ # header or `$apiVersion` query parameter.
732
+ # Corresponds to the JSON property `apiVersion`
733
+ # @return [String]
734
+ attr_accessor :api_version
735
+
736
+ # Whether this method is deprecated.
737
+ # Corresponds to the JSON property `deprecated`
738
+ # @return [Boolean]
739
+ attr_accessor :deprecated
740
+ alias_method :deprecated?, :deprecated
741
+
671
742
  # Description of this method.
672
743
  # Corresponds to the JSON property `description`
673
744
  # @return [String]
@@ -766,6 +837,8 @@ module Google
766
837
 
767
838
  # Update properties of this object
768
839
  def update!(**args)
840
+ @api_version = args[:api_version] if args.key?(:api_version)
841
+ @deprecated = args[:deprecated] if args.key?(:deprecated)
769
842
  @description = args[:description] if args.key?(:description)
770
843
  @etag_required = args[:etag_required] if args.key?(:etag_required)
771
844
  @flat_path = args[:flat_path] if args.key?(:flat_path)
@@ -943,6 +1016,12 @@ module Google
943
1016
  class RestResource
944
1017
  include Google::Apis::Core::Hashable
945
1018
 
1019
+ # Whether this resource is deprecated.
1020
+ # Corresponds to the JSON property `deprecated`
1021
+ # @return [Boolean]
1022
+ attr_accessor :deprecated
1023
+ alias_method :deprecated?, :deprecated
1024
+
946
1025
  # Methods on this resource.
947
1026
  # Corresponds to the JSON property `methods`
948
1027
  # @return [Hash<String,Google::Apis::DiscoveryV1::RestMethod>]
@@ -959,6 +1038,7 @@ module Google
959
1038
 
960
1039
  # Update properties of this object
961
1040
  def update!(**args)
1041
+ @deprecated = args[:deprecated] if args.key?(:deprecated)
962
1042
  @api_methods = args[:api_methods] if args.key?(:api_methods)
963
1043
  @resources = args[:resources] if args.key?(:resources)
964
1044
  end
@@ -16,7 +16,7 @@ module Google
16
16
  module Apis
17
17
  module DiscoveryV1
18
18
  # Version of the google-apis-discovery_v1 gem
19
- GEM_VERSION = "0.17.0"
19
+ GEM_VERSION = "0.18.0"
20
20
 
21
21
  # Version of the code generator used to generate this client
22
22
  GENERATOR_VERSION = "0.15.0"
@@ -85,6 +85,12 @@ module Google
85
85
  include Google::Apis::Core::JsonObjectSupport
86
86
  end
87
87
 
88
+ class Endpoint
89
+ class Representation < Google::Apis::Core::JsonRepresentation; end
90
+
91
+ include Google::Apis::Core::JsonObjectSupport
92
+ end
93
+
88
94
  class Icons
89
95
  class Representation < Google::Apis::Core::JsonRepresentation; end
90
96
 
@@ -188,8 +194,10 @@ module Google
188
194
  property :annotations, as: 'annotations', class: Google::Apis::DiscoveryV1::JsonSchema::Annotations, decorator: Google::Apis::DiscoveryV1::JsonSchema::Annotations::Representation
189
195
 
190
196
  property :default, as: 'default'
197
+ property :deprecated, as: 'deprecated'
191
198
  property :description, as: 'description'
192
199
  collection :enum, as: 'enum'
200
+ collection :enum_deprecated, as: 'enumDeprecated'
193
201
  collection :enum_descriptions, as: 'enumDescriptions'
194
202
  property :format, as: 'format'
195
203
  property :id, as: 'id'
@@ -246,6 +254,8 @@ module Google
246
254
  property :description, as: 'description'
247
255
  property :discovery_version, as: 'discoveryVersion'
248
256
  property :documentation_link, as: 'documentationLink'
257
+ collection :endpoints, as: 'endpoints', class: Google::Apis::DiscoveryV1::RestDescription::Endpoint, decorator: Google::Apis::DiscoveryV1::RestDescription::Endpoint::Representation
258
+
249
259
  property :etag, as: 'etag'
250
260
  property :exponential_backoff_default, as: 'exponentialBackoffDefault'
251
261
  collection :features, as: 'features'
@@ -298,6 +308,16 @@ module Google
298
308
  end
299
309
  end
300
310
 
311
+ class Endpoint
312
+ # @private
313
+ class Representation < Google::Apis::Core::JsonRepresentation
314
+ property :deprecated, as: 'deprecated'
315
+ property :description, as: 'description'
316
+ property :endpoint_url, as: 'endpointUrl'
317
+ property :location, as: 'location'
318
+ end
319
+ end
320
+
301
321
  class Icons
302
322
  # @private
303
323
  class Representation < Google::Apis::Core::JsonRepresentation
@@ -310,6 +330,8 @@ module Google
310
330
  class RestMethod
311
331
  # @private
312
332
  class Representation < Google::Apis::Core::JsonRepresentation
333
+ property :api_version, as: 'apiVersion'
334
+ property :deprecated, as: 'deprecated'
313
335
  property :description, as: 'description'
314
336
  property :etag_required, as: 'etagRequired'
315
337
  property :flat_path, as: 'flatPath'
@@ -387,6 +409,7 @@ module Google
387
409
  class RestResource
388
410
  # @private
389
411
  class Representation < Google::Apis::Core::JsonRepresentation
412
+ property :deprecated, as: 'deprecated'
390
413
  hash :api_methods, as: 'methods', class: Google::Apis::DiscoveryV1::RestMethod, decorator: Google::Apis::DiscoveryV1::RestMethod::Representation
391
414
 
392
415
  hash :resources, as: 'resources', class: Google::Apis::DiscoveryV1::RestResource, decorator: Google::Apis::DiscoveryV1::RestResource::Representation
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: google-apis-discovery_v1
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.17.0
4
+ version: 0.18.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-05-26 00:00:00.000000000 Z
11
+ date: 2024-07-25 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: google-apis-core
@@ -58,7 +58,7 @@ licenses:
58
58
  metadata:
59
59
  bug_tracker_uri: https://github.com/googleapis/google-api-ruby-client/issues
60
60
  changelog_uri: https://github.com/googleapis/google-api-ruby-client/tree/main/generated/google-apis-discovery_v1/CHANGELOG.md
61
- documentation_uri: https://googleapis.dev/ruby/google-apis-discovery_v1/v0.17.0
61
+ documentation_uri: https://googleapis.dev/ruby/google-apis-discovery_v1/v0.18.0
62
62
  source_code_uri: https://github.com/googleapis/google-api-ruby-client/tree/main/generated/google-apis-discovery_v1
63
63
  post_install_message:
64
64
  rdoc_options: []