google-apis-serviceusage_v1 0.54.0 → 0.56.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: 35dfc01a3dab09288fbd7db9979fdf5ec0966e6eb0d1dba129cb5b987f53d11e
4
- data.tar.gz: 674b030fd883eccee57f0b99e691b7a78aa5fc516ae9b4d482e0bf186fee4824
3
+ metadata.gz: 8d5cbb97f7f74e6da32128669f4d7527974657e4e71eec3b1a878390fdabc9e4
4
+ data.tar.gz: c5bc28a71bd3f56fed437e7f628e015fb1a5a8e8337bd51bffa43c56c91511d8
5
5
  SHA512:
6
- metadata.gz: 9712b4b3dbbeaa9fc1fb0160bfa81962bbff7c7fdb0fb542ae450cf8f1a20fb474d768dc720328710167499ab3227b523e648e026fd4b6bd9c8b78a5e98f8dea
7
- data.tar.gz: 71899103ef5e874327bfa14001720c7fbf4968d07eca832e0c4d8af3eb9754a555b733aae2252313448809693dd54955e56c2cadf647c2bca00ec3afe02607df
6
+ metadata.gz: cfad87d7aaf7427e51a6c1aff34b0a9a092b20b752f7815c358d009b8c69a66921ada55915530ee3b4f4b631541896de5605f1898c61db82b65d6f12383ace6a
7
+ data.tar.gz: 9065d3c0b4fa9c06c8c6aa12d26baf67275b9f6cbb7ba57280cdd8e925f7c4f4b4d5bf4d3ca91bbd25f260d34a2559f892bc3560c2fad271630d71c2aae2f46e
data/CHANGELOG.md CHANGED
@@ -1,5 +1,14 @@
1
1
  # Release history for google-apis-serviceusage_v1
2
2
 
3
+ ### v0.56.0 (2024-09-15)
4
+
5
+ * Regenerated from discovery document revision 20240905
6
+
7
+ ### v0.55.0 (2024-08-18)
8
+
9
+ * Regenerated from discovery document revision 20240811
10
+ * Regenerated using generator version 0.15.1
11
+
3
12
  ### v0.54.0 (2024-07-25)
4
13
 
5
14
  * Regenerated from discovery document revision 20240712
@@ -127,6 +127,106 @@ module Google
127
127
  end
128
128
  end
129
129
 
130
+ # A message to group the analysis information.
131
+ class Analysis
132
+ include Google::Apis::Core::Hashable
133
+
134
+ # An analysis result including blockers and warnings.
135
+ # Corresponds to the JSON property `analysis`
136
+ # @return [Google::Apis::ServiceusageV1::AnalysisResult]
137
+ attr_accessor :analysis
138
+
139
+ # Output only. The type of analysis.
140
+ # Corresponds to the JSON property `analysisType`
141
+ # @return [String]
142
+ attr_accessor :analysis_type
143
+
144
+ # Output only. The user friendly display name of the analysis type. E.g. service
145
+ # dependency analysis, service resource usage analysis, etc.
146
+ # Corresponds to the JSON property `displayName`
147
+ # @return [String]
148
+ attr_accessor :display_name
149
+
150
+ # The names of the service that has analysis result of warnings or blockers.
151
+ # Example: `services/storage.googleapis.com`.
152
+ # Corresponds to the JSON property `service`
153
+ # @return [String]
154
+ attr_accessor :service
155
+
156
+ def initialize(**args)
157
+ update!(**args)
158
+ end
159
+
160
+ # Update properties of this object
161
+ def update!(**args)
162
+ @analysis = args[:analysis] if args.key?(:analysis)
163
+ @analysis_type = args[:analysis_type] if args.key?(:analysis_type)
164
+ @display_name = args[:display_name] if args.key?(:display_name)
165
+ @service = args[:service] if args.key?(:service)
166
+ end
167
+ end
168
+
169
+ # An analysis result including blockers and warnings.
170
+ class AnalysisResult
171
+ include Google::Apis::Core::Hashable
172
+
173
+ # Blocking information that would prevent the policy changes at runtime.
174
+ # Corresponds to the JSON property `blockers`
175
+ # @return [Array<Google::Apis::ServiceusageV1::Impact>]
176
+ attr_accessor :blockers
177
+
178
+ # Warning information indicating that the policy changes might be unsafe, but
179
+ # will not block the changes at runtime.
180
+ # Corresponds to the JSON property `warnings`
181
+ # @return [Array<Google::Apis::ServiceusageV1::Impact>]
182
+ attr_accessor :warnings
183
+
184
+ def initialize(**args)
185
+ update!(**args)
186
+ end
187
+
188
+ # Update properties of this object
189
+ def update!(**args)
190
+ @blockers = args[:blockers] if args.key?(:blockers)
191
+ @warnings = args[:warnings] if args.key?(:warnings)
192
+ end
193
+ end
194
+
195
+ # Metadata for the `AnalyzeConsumerPolicy` method.
196
+ class AnalyzeConsumerPolicyMetadata
197
+ include Google::Apis::Core::Hashable
198
+
199
+ def initialize(**args)
200
+ update!(**args)
201
+ end
202
+
203
+ # Update properties of this object
204
+ def update!(**args)
205
+ end
206
+ end
207
+
208
+ # The response of analyzing a consumer policy update.
209
+ class AnalyzeConsumerPolicyResponse
210
+ include Google::Apis::Core::Hashable
211
+
212
+ # The list of analyses returned from performing the intended policy update
213
+ # analysis. The analysis is grouped by service name and different analysis types.
214
+ # The empty analysis list means that the consumer policy can be updated without
215
+ # any warnings or blockers.
216
+ # Corresponds to the JSON property `analysis`
217
+ # @return [Array<Google::Apis::ServiceusageV1::Analysis>]
218
+ attr_accessor :analysis
219
+
220
+ def initialize(**args)
221
+ update!(**args)
222
+ end
223
+
224
+ # Update properties of this object
225
+ def update!(**args)
226
+ @analysis = args[:analysis] if args.key?(:analysis)
227
+ end
228
+ end
229
+
130
230
  # Api is a light-weight descriptor for an API Interface. Interfaces are also
131
231
  # described as "protocol buffer services" in some contexts, such as by the "
132
232
  # service" keyword in a .proto file, but they are different from API Services,
@@ -1607,6 +1707,30 @@ module Google
1607
1707
  end
1608
1708
  end
1609
1709
 
1710
+ # Experimental features to be included during client library generation. These
1711
+ # fields will be deprecated once the feature graduates and is enabled by default.
1712
+ class ExperimentalFeatures
1713
+ include Google::Apis::Core::Hashable
1714
+
1715
+ # Enables generation of asynchronous REST clients if `rest` transport is enabled.
1716
+ # By default, asynchronous REST clients will not be generated. This feature
1717
+ # will be enabled by default 1 month after launching the feature in preview
1718
+ # packages.
1719
+ # Corresponds to the JSON property `restAsyncIoEnabled`
1720
+ # @return [Boolean]
1721
+ attr_accessor :rest_async_io_enabled
1722
+ alias_method :rest_async_io_enabled?, :rest_async_io_enabled
1723
+
1724
+ def initialize(**args)
1725
+ update!(**args)
1726
+ end
1727
+
1728
+ # Update properties of this object
1729
+ def update!(**args)
1730
+ @rest_async_io_enabled = args[:rest_async_io_enabled] if args.key?(:rest_async_io_enabled)
1731
+ end
1732
+ end
1733
+
1610
1734
  # A single field of a message type.
1611
1735
  class Field
1612
1736
  include Google::Apis::Core::Hashable
@@ -2710,6 +2834,31 @@ module Google
2710
2834
  end
2711
2835
  end
2712
2836
 
2837
+ # A message to group impacts of updating a policy.
2838
+ class Impact
2839
+ include Google::Apis::Core::Hashable
2840
+
2841
+ # Output only. User friendly impact detail in a free form message.
2842
+ # Corresponds to the JSON property `detail`
2843
+ # @return [String]
2844
+ attr_accessor :detail
2845
+
2846
+ # Output only. The type of impact.
2847
+ # Corresponds to the JSON property `impactType`
2848
+ # @return [String]
2849
+ attr_accessor :impact_type
2850
+
2851
+ def initialize(**args)
2852
+ update!(**args)
2853
+ end
2854
+
2855
+ # Update properties of this object
2856
+ def update!(**args)
2857
+ @detail = args[:detail] if args.key?(:detail)
2858
+ @impact_type = args[:impact_type] if args.key?(:impact_type)
2859
+ end
2860
+ end
2861
+
2713
2862
  # Metadata message that provides information such as progress, partial failures,
2714
2863
  # and similar information on each GetOperation call of LRO returned by
2715
2864
  # ImportAdminOverrides.
@@ -3428,6 +3577,11 @@ module Google
3428
3577
  # @return [String]
3429
3578
  attr_accessor :sample_period
3430
3579
 
3580
+ # The scope of the timeseries data of the metric.
3581
+ # Corresponds to the JSON property `timeSeriesResourceHierarchyLevel`
3582
+ # @return [Array<String>]
3583
+ attr_accessor :time_series_resource_hierarchy_level
3584
+
3431
3585
  def initialize(**args)
3432
3586
  update!(**args)
3433
3587
  end
@@ -3437,6 +3591,7 @@ module Google
3437
3591
  @ingest_delay = args[:ingest_delay] if args.key?(:ingest_delay)
3438
3592
  @launch_stage = args[:launch_stage] if args.key?(:launch_stage)
3439
3593
  @sample_period = args[:sample_period] if args.key?(:sample_period)
3594
+ @time_series_resource_hierarchy_level = args[:time_series_resource_hierarchy_level] if args.key?(:time_series_resource_hierarchy_level)
3440
3595
  end
3441
3596
  end
3442
3597
 
@@ -4003,6 +4158,12 @@ module Google
4003
4158
  # @return [Google::Apis::ServiceusageV1::CommonLanguageSettings]
4004
4159
  attr_accessor :common
4005
4160
 
4161
+ # Experimental features to be included during client library generation. These
4162
+ # fields will be deprecated once the feature graduates and is enabled by default.
4163
+ # Corresponds to the JSON property `experimentalFeatures`
4164
+ # @return [Google::Apis::ServiceusageV1::ExperimentalFeatures]
4165
+ attr_accessor :experimental_features
4166
+
4006
4167
  def initialize(**args)
4007
4168
  update!(**args)
4008
4169
  end
@@ -4010,6 +4171,7 @@ module Google
4010
4171
  # Update properties of this object
4011
4172
  def update!(**args)
4012
4173
  @common = args[:common] if args.key?(:common)
4174
+ @experimental_features = args[:experimental_features] if args.key?(:experimental_features)
4013
4175
  end
4014
4176
  end
4015
4177
 
@@ -16,13 +16,13 @@ module Google
16
16
  module Apis
17
17
  module ServiceusageV1
18
18
  # Version of the google-apis-serviceusage_v1 gem
19
- GEM_VERSION = "0.54.0"
19
+ GEM_VERSION = "0.56.0"
20
20
 
21
21
  # Version of the code generator used to generate this client
22
- GENERATOR_VERSION = "0.15.0"
22
+ GENERATOR_VERSION = "0.15.1"
23
23
 
24
24
  # Revision of the discovery document this client was generated from
25
- REVISION = "20240712"
25
+ REVISION = "20240905"
26
26
  end
27
27
  end
28
28
  end
@@ -40,6 +40,30 @@ module Google
40
40
  include Google::Apis::Core::JsonObjectSupport
41
41
  end
42
42
 
43
+ class Analysis
44
+ class Representation < Google::Apis::Core::JsonRepresentation; end
45
+
46
+ include Google::Apis::Core::JsonObjectSupport
47
+ end
48
+
49
+ class AnalysisResult
50
+ class Representation < Google::Apis::Core::JsonRepresentation; end
51
+
52
+ include Google::Apis::Core::JsonObjectSupport
53
+ end
54
+
55
+ class AnalyzeConsumerPolicyMetadata
56
+ class Representation < Google::Apis::Core::JsonRepresentation; end
57
+
58
+ include Google::Apis::Core::JsonObjectSupport
59
+ end
60
+
61
+ class AnalyzeConsumerPolicyResponse
62
+ class Representation < Google::Apis::Core::JsonRepresentation; end
63
+
64
+ include Google::Apis::Core::JsonObjectSupport
65
+ end
66
+
43
67
  class Api
44
68
  class Representation < Google::Apis::Core::JsonRepresentation; end
45
69
 
@@ -280,6 +304,12 @@ module Google
280
304
  include Google::Apis::Core::JsonObjectSupport
281
305
  end
282
306
 
307
+ class ExperimentalFeatures
308
+ class Representation < Google::Apis::Core::JsonRepresentation; end
309
+
310
+ include Google::Apis::Core::JsonObjectSupport
311
+ end
312
+
283
313
  class Field
284
314
  class Representation < Google::Apis::Core::JsonRepresentation; end
285
315
 
@@ -376,6 +406,12 @@ module Google
376
406
  include Google::Apis::Core::JsonObjectSupport
377
407
  end
378
408
 
409
+ class Impact
410
+ class Representation < Google::Apis::Core::JsonRepresentation; end
411
+
412
+ include Google::Apis::Core::JsonObjectSupport
413
+ end
414
+
379
415
  class ImportAdminOverridesMetadata
380
416
  class Representation < Google::Apis::Core::JsonRepresentation; end
381
417
 
@@ -714,6 +750,41 @@ module Google
714
750
  end
715
751
  end
716
752
 
753
+ class Analysis
754
+ # @private
755
+ class Representation < Google::Apis::Core::JsonRepresentation
756
+ property :analysis, as: 'analysis', class: Google::Apis::ServiceusageV1::AnalysisResult, decorator: Google::Apis::ServiceusageV1::AnalysisResult::Representation
757
+
758
+ property :analysis_type, as: 'analysisType'
759
+ property :display_name, as: 'displayName'
760
+ property :service, as: 'service'
761
+ end
762
+ end
763
+
764
+ class AnalysisResult
765
+ # @private
766
+ class Representation < Google::Apis::Core::JsonRepresentation
767
+ collection :blockers, as: 'blockers', class: Google::Apis::ServiceusageV1::Impact, decorator: Google::Apis::ServiceusageV1::Impact::Representation
768
+
769
+ collection :warnings, as: 'warnings', class: Google::Apis::ServiceusageV1::Impact, decorator: Google::Apis::ServiceusageV1::Impact::Representation
770
+
771
+ end
772
+ end
773
+
774
+ class AnalyzeConsumerPolicyMetadata
775
+ # @private
776
+ class Representation < Google::Apis::Core::JsonRepresentation
777
+ end
778
+ end
779
+
780
+ class AnalyzeConsumerPolicyResponse
781
+ # @private
782
+ class Representation < Google::Apis::Core::JsonRepresentation
783
+ collection :analysis, as: 'analysis', class: Google::Apis::ServiceusageV1::Analysis, decorator: Google::Apis::ServiceusageV1::Analysis::Representation
784
+
785
+ end
786
+ end
787
+
717
788
  class Api
718
789
  # @private
719
790
  class Representation < Google::Apis::Core::JsonRepresentation
@@ -1108,6 +1179,13 @@ module Google
1108
1179
  end
1109
1180
  end
1110
1181
 
1182
+ class ExperimentalFeatures
1183
+ # @private
1184
+ class Representation < Google::Apis::Core::JsonRepresentation
1185
+ property :rest_async_io_enabled, as: 'restAsyncIoEnabled'
1186
+ end
1187
+ end
1188
+
1111
1189
  class Field
1112
1190
  # @private
1113
1191
  class Representation < Google::Apis::Core::JsonRepresentation
@@ -1326,6 +1404,14 @@ module Google
1326
1404
  end
1327
1405
  end
1328
1406
 
1407
+ class Impact
1408
+ # @private
1409
+ class Representation < Google::Apis::Core::JsonRepresentation
1410
+ property :detail, as: 'detail'
1411
+ property :impact_type, as: 'impactType'
1412
+ end
1413
+ end
1414
+
1329
1415
  class ImportAdminOverridesMetadata
1330
1416
  # @private
1331
1417
  class Representation < Google::Apis::Core::JsonRepresentation
@@ -1512,6 +1598,7 @@ module Google
1512
1598
  property :ingest_delay, as: 'ingestDelay'
1513
1599
  property :launch_stage, as: 'launchStage'
1514
1600
  property :sample_period, as: 'samplePeriod'
1601
+ collection :time_series_resource_hierarchy_level, as: 'timeSeriesResourceHierarchyLevel'
1515
1602
  end
1516
1603
  end
1517
1604
 
@@ -1646,6 +1733,8 @@ module Google
1646
1733
  class Representation < Google::Apis::Core::JsonRepresentation
1647
1734
  property :common, as: 'common', class: Google::Apis::ServiceusageV1::CommonLanguageSettings, decorator: Google::Apis::ServiceusageV1::CommonLanguageSettings::Representation
1648
1735
 
1736
+ property :experimental_features, as: 'experimentalFeatures', class: Google::Apis::ServiceusageV1::ExperimentalFeatures, decorator: Google::Apis::ServiceusageV1::ExperimentalFeatures::Representation
1737
+
1649
1738
  end
1650
1739
  end
1651
1740
 
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: google-apis-serviceusage_v1
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.54.0
4
+ version: 0.56.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-07-25 00:00:00.000000000 Z
11
+ date: 2024-09-15 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-serviceusage_v1/CHANGELOG.md
61
- documentation_uri: https://googleapis.dev/ruby/google-apis-serviceusage_v1/v0.54.0
61
+ documentation_uri: https://googleapis.dev/ruby/google-apis-serviceusage_v1/v0.56.0
62
62
  source_code_uri: https://github.com/googleapis/google-api-ruby-client/tree/main/generated/google-apis-serviceusage_v1
63
63
  post_install_message:
64
64
  rdoc_options: []