google-apis-serviceusage_v1 0.54.0 → 0.55.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: 35dfc01a3dab09288fbd7db9979fdf5ec0966e6eb0d1dba129cb5b987f53d11e
4
- data.tar.gz: 674b030fd883eccee57f0b99e691b7a78aa5fc516ae9b4d482e0bf186fee4824
3
+ metadata.gz: d27808555ec052bdb88d02c7eebf33d935ab558724c9b710cbd8801e607ee8a1
4
+ data.tar.gz: 7df273e02eb36c9450099e8bca0fb1ce0cd10c497a12e8edb3fffbe89287306e
5
5
  SHA512:
6
- metadata.gz: 9712b4b3dbbeaa9fc1fb0160bfa81962bbff7c7fdb0fb542ae450cf8f1a20fb474d768dc720328710167499ab3227b523e648e026fd4b6bd9c8b78a5e98f8dea
7
- data.tar.gz: 71899103ef5e874327bfa14001720c7fbf4968d07eca832e0c4d8af3eb9754a555b733aae2252313448809693dd54955e56c2cadf647c2bca00ec3afe02607df
6
+ metadata.gz: ee6d918314cf205219d111fd682f95191d8e64d177370a52776b3c1ba44b232f5d1384d7db7448803676a23d1e9231358696741c5a59b0a203d23cf2e713c2c5
7
+ data.tar.gz: 4c7c3995ea48b9aa6104597ab72ba40d6f6014c9835b2952c3448676486418c8a6d7667dace5e955e32a96948da21e0f628bd43b1dd5230ac887b5375333253d
data/CHANGELOG.md CHANGED
@@ -1,5 +1,10 @@
1
1
  # Release history for google-apis-serviceusage_v1
2
2
 
3
+ ### v0.55.0 (2024-08-18)
4
+
5
+ * Regenerated from discovery document revision 20240811
6
+ * Regenerated using generator version 0.15.1
7
+
3
8
  ### v0.54.0 (2024-07-25)
4
9
 
5
10
  * 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,
@@ -2710,6 +2810,31 @@ module Google
2710
2810
  end
2711
2811
  end
2712
2812
 
2813
+ # A message to group impacts of updating a policy.
2814
+ class Impact
2815
+ include Google::Apis::Core::Hashable
2816
+
2817
+ # Output only. User friendly impact detail in a free form message.
2818
+ # Corresponds to the JSON property `detail`
2819
+ # @return [String]
2820
+ attr_accessor :detail
2821
+
2822
+ # Output only. The type of impact.
2823
+ # Corresponds to the JSON property `impactType`
2824
+ # @return [String]
2825
+ attr_accessor :impact_type
2826
+
2827
+ def initialize(**args)
2828
+ update!(**args)
2829
+ end
2830
+
2831
+ # Update properties of this object
2832
+ def update!(**args)
2833
+ @detail = args[:detail] if args.key?(:detail)
2834
+ @impact_type = args[:impact_type] if args.key?(:impact_type)
2835
+ end
2836
+ end
2837
+
2713
2838
  # Metadata message that provides information such as progress, partial failures,
2714
2839
  # and similar information on each GetOperation call of LRO returned by
2715
2840
  # ImportAdminOverrides.
@@ -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.55.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 = "20240811"
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
 
@@ -376,6 +400,12 @@ module Google
376
400
  include Google::Apis::Core::JsonObjectSupport
377
401
  end
378
402
 
403
+ class Impact
404
+ class Representation < Google::Apis::Core::JsonRepresentation; end
405
+
406
+ include Google::Apis::Core::JsonObjectSupport
407
+ end
408
+
379
409
  class ImportAdminOverridesMetadata
380
410
  class Representation < Google::Apis::Core::JsonRepresentation; end
381
411
 
@@ -714,6 +744,41 @@ module Google
714
744
  end
715
745
  end
716
746
 
747
+ class Analysis
748
+ # @private
749
+ class Representation < Google::Apis::Core::JsonRepresentation
750
+ property :analysis, as: 'analysis', class: Google::Apis::ServiceusageV1::AnalysisResult, decorator: Google::Apis::ServiceusageV1::AnalysisResult::Representation
751
+
752
+ property :analysis_type, as: 'analysisType'
753
+ property :display_name, as: 'displayName'
754
+ property :service, as: 'service'
755
+ end
756
+ end
757
+
758
+ class AnalysisResult
759
+ # @private
760
+ class Representation < Google::Apis::Core::JsonRepresentation
761
+ collection :blockers, as: 'blockers', class: Google::Apis::ServiceusageV1::Impact, decorator: Google::Apis::ServiceusageV1::Impact::Representation
762
+
763
+ collection :warnings, as: 'warnings', class: Google::Apis::ServiceusageV1::Impact, decorator: Google::Apis::ServiceusageV1::Impact::Representation
764
+
765
+ end
766
+ end
767
+
768
+ class AnalyzeConsumerPolicyMetadata
769
+ # @private
770
+ class Representation < Google::Apis::Core::JsonRepresentation
771
+ end
772
+ end
773
+
774
+ class AnalyzeConsumerPolicyResponse
775
+ # @private
776
+ class Representation < Google::Apis::Core::JsonRepresentation
777
+ collection :analysis, as: 'analysis', class: Google::Apis::ServiceusageV1::Analysis, decorator: Google::Apis::ServiceusageV1::Analysis::Representation
778
+
779
+ end
780
+ end
781
+
717
782
  class Api
718
783
  # @private
719
784
  class Representation < Google::Apis::Core::JsonRepresentation
@@ -1326,6 +1391,14 @@ module Google
1326
1391
  end
1327
1392
  end
1328
1393
 
1394
+ class Impact
1395
+ # @private
1396
+ class Representation < Google::Apis::Core::JsonRepresentation
1397
+ property :detail, as: 'detail'
1398
+ property :impact_type, as: 'impactType'
1399
+ end
1400
+ end
1401
+
1329
1402
  class ImportAdminOverridesMetadata
1330
1403
  # @private
1331
1404
  class Representation < Google::Apis::Core::JsonRepresentation
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.55.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-08-18 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.55.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: []