google-apis-serviceusage_v1 0.53.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: 5a7064b8d6fc9a010e6b2528207e0c71669c1072600e8de72ae06fc0083d450c
4
- data.tar.gz: 28ac8621a506a018b0cfdc122abcf436791e3cb8d1b648c445c79b5318265e9c
3
+ metadata.gz: d27808555ec052bdb88d02c7eebf33d935ab558724c9b710cbd8801e607ee8a1
4
+ data.tar.gz: 7df273e02eb36c9450099e8bca0fb1ce0cd10c497a12e8edb3fffbe89287306e
5
5
  SHA512:
6
- metadata.gz: d1e54871562faf2a297c03089631569761ae93b655a29e41e28d8987e6223584ef9e5b1e4e47b630ee285330ba6f51f974bf075f8dca1786879f41638108e3f6
7
- data.tar.gz: fa094c708428622cbc0193110a17e5164297ae40ad31f17cf44dde5c78de0dc75aab8bcc7710570c1042cb66a2e668510709d2d3868c171b8d71ec701a0a1242
6
+ metadata.gz: ee6d918314cf205219d111fd682f95191d8e64d177370a52776b3c1ba44b232f5d1384d7db7448803676a23d1e9231358696741c5a59b0a203d23cf2e713c2c5
7
+ data.tar.gz: 4c7c3995ea48b9aa6104597ab72ba40d6f6014c9835b2952c3448676486418c8a6d7667dace5e955e32a96948da21e0f628bd43b1dd5230ac887b5375333253d
data/CHANGELOG.md CHANGED
@@ -1,5 +1,14 @@
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
+
8
+ ### v0.54.0 (2024-07-25)
9
+
10
+ * Regenerated from discovery document revision 20240712
11
+
3
12
  ### v0.53.0 (2024-06-09)
4
13
 
5
14
  * Regenerated from discovery document revision 20240602
@@ -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,
@@ -912,12 +1012,14 @@ module Google
912
1012
  # @return [Array<String>]
913
1013
  attr_accessor :allowed_response_extensions
914
1014
 
915
- # A list of full type names of provided contexts.
1015
+ # A list of full type names of provided contexts. It is used to support
1016
+ # propagating HTTP headers and ETags from the response extension.
916
1017
  # Corresponds to the JSON property `provided`
917
1018
  # @return [Array<String>]
918
1019
  attr_accessor :provided
919
1020
 
920
- # A list of full type names of requested contexts.
1021
+ # A list of full type names of requested contexts, only the requested context
1022
+ # will be made available to the backend.
921
1023
  # Corresponds to the JSON property `requested`
922
1024
  # @return [Array<String>]
923
1025
  attr_accessor :requested
@@ -2606,27 +2708,27 @@ module Google
2606
2708
  # effect as the proto annotation. This can be particularly useful if you have a
2607
2709
  # proto that is reused in multiple services. Note that any transcoding specified
2608
2710
  # in the service config will override any matching transcoding configuration in
2609
- # the proto. Example below selects a gRPC method and applies HttpRule to it.
2610
- # http: rules: - selector: example.v1.Messaging.GetMessage get: /v1/messages/`
2611
- # message_id`/`sub.subfield` Special notes When gRPC Transcoding is used to map
2612
- # a gRPC to JSON REST endpoints, the proto to JSON conversion must follow the [
2613
- # proto3 specification](https://developers.google.com/protocol-buffers/docs/
2614
- # proto3#json). While the single segment variable follows the semantics of [RFC
2615
- # 6570](https://tools.ietf.org/html/rfc6570) Section 3.2.2 Simple String
2616
- # Expansion, the multi segment variable **does not** follow RFC 6570 Section 3.2.
2617
- # 3 Reserved Expansion. The reason is that the Reserved Expansion does not
2618
- # expand special characters like `?` and `#`, which would lead to invalid URLs.
2619
- # As the result, gRPC Transcoding uses a custom encoding for multi segment
2620
- # variables. The path variables **must not** refer to any repeated or mapped
2621
- # field, because client libraries are not capable of handling such variable
2622
- # expansion. The path variables **must not** capture the leading "/" character.
2623
- # The reason is that the most common use case "`var`" does not capture the
2624
- # leading "/" character. For consistency, all path variables must share the same
2625
- # behavior. Repeated message fields must not be mapped to URL query parameters,
2626
- # because no client library can support such complicated mapping. If an API
2627
- # needs to use a JSON array for request or response body, it can map the request
2628
- # or response body to a repeated field. However, some gRPC Transcoding
2629
- # implementations may not support this feature.
2711
+ # the proto. The following example selects a gRPC method and applies an `
2712
+ # HttpRule` to it: http: rules: - selector: example.v1.Messaging.GetMessage get:
2713
+ # /v1/messages/`message_id`/`sub.subfield` Special notes When gRPC Transcoding
2714
+ # is used to map a gRPC to JSON REST endpoints, the proto to JSON conversion
2715
+ # must follow the [proto3 specification](https://developers.google.com/protocol-
2716
+ # buffers/docs/proto3#json). While the single segment variable follows the
2717
+ # semantics of [RFC 6570](https://tools.ietf.org/html/rfc6570) Section 3.2.2
2718
+ # Simple String Expansion, the multi segment variable **does not** follow RFC
2719
+ # 6570 Section 3.2.3 Reserved Expansion. The reason is that the Reserved
2720
+ # Expansion does not expand special characters like `?` and `#`, which would
2721
+ # lead to invalid URLs. As the result, gRPC Transcoding uses a custom encoding
2722
+ # for multi segment variables. The path variables **must not** refer to any
2723
+ # repeated or mapped field, because client libraries are not capable of handling
2724
+ # such variable expansion. The path variables **must not** capture the leading "/
2725
+ # " character. The reason is that the most common use case "`var`" does not
2726
+ # capture the leading "/" character. For consistency, all path variables must
2727
+ # share the same behavior. Repeated message fields must not be mapped to URL
2728
+ # query parameters, because no client library can support such complicated
2729
+ # mapping. If an API needs to use a JSON array for request or response body, it
2730
+ # can map the request or response body to a repeated field. However, some gRPC
2731
+ # Transcoding implementations may not support this feature.
2630
2732
  class HttpRule
2631
2733
  include Google::Apis::Core::Hashable
2632
2734
 
@@ -2708,6 +2810,31 @@ module Google
2708
2810
  end
2709
2811
  end
2710
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
+
2711
2838
  # Metadata message that provides information such as progress, partial failures,
2712
2839
  # and similar information on each GetOperation call of LRO returned by
2713
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.53.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 = "20240602"
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.53.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-06-09 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.53.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: []