google-apis-serviceusage_v1beta1 0.58.0 → 0.60.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: 5a8df6694d6f338ec9f63b8b495b1101eada91fbc58980fedf7e7f938c8ddd05
4
- data.tar.gz: 63e87160adca76b771247ac62daa560a204810946558d01f9d169e0110158efb
3
+ metadata.gz: 7f971c9f995bdad47eefc760e2ae38d4250958dbad9ea5f910b76c2baa3788f2
4
+ data.tar.gz: 5cdc55d975f1e670394e18ff1c446ca5463714cd7f2323f6caeea756f0bda8ee
5
5
  SHA512:
6
- metadata.gz: '088b996b9ad245ca0c3367ee3641411e5b6c18e0e47ffb53496e83562f178d20db596f60f3969b71ec68f53bb0f856745ef9a44b57fb0253cc6a3c1abd4d8e68'
7
- data.tar.gz: 9f0a53c19258af3996f9d57d6a391ef1265a3ef68955aa1f589aa439788e411cff1fcc4680689b7da0e0baa092bc026c32f84eea171268b050cd2b913e70fa68
6
+ metadata.gz: c85a937fa6f684ce13423fe4619cc5ac1a96c34e713c5e5a2df27630a78e6cc60488b329664ec8b4375c965dd50723d0c8cc3fc49f20b0d4f78b9ce460534990
7
+ data.tar.gz: 44d02059da3cbd091c50b05d26c3b84f1b94fabce39ae53c8358ddddfbdccdb11494f4fd0213a99ce0960f093c64db2c1651a76d4aaf2076c81eb440abb31862
data/CHANGELOG.md CHANGED
@@ -1,5 +1,14 @@
1
1
  # Release history for google-apis-serviceusage_v1beta1
2
2
 
3
+ ### v0.60.0 (2024-12-02)
4
+
5
+ * Regenerated from discovery document revision 20241115
6
+ * Regenerated using generator version 0.15.1
7
+
8
+ ### v0.59.0 (2024-07-25)
9
+
10
+ * Regenerated from discovery document revision 20240712
11
+
3
12
  ### v0.58.0 (2024-06-16)
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::ServiceusageV1beta1::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::ServiceusageV1beta1::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::ServiceusageV1beta1::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::ServiceusageV1beta1::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,
@@ -771,6 +871,12 @@ module Google
771
871
  # @return [String]
772
872
  attr_accessor :reference_docs_uri
773
873
 
874
+ # This message is used to configure the generation of a subset of the RPCs in a
875
+ # service for client libraries.
876
+ # Corresponds to the JSON property `selectiveGapicGeneration`
877
+ # @return [Google::Apis::ServiceusageV1beta1::SelectiveGapicGeneration]
878
+ attr_accessor :selective_gapic_generation
879
+
774
880
  def initialize(**args)
775
881
  update!(**args)
776
882
  end
@@ -779,6 +885,7 @@ module Google
779
885
  def update!(**args)
780
886
  @destinations = args[:destinations] if args.key?(:destinations)
781
887
  @reference_docs_uri = args[:reference_docs_uri] if args.key?(:reference_docs_uri)
888
+ @selective_gapic_generation = args[:selective_gapic_generation] if args.key?(:selective_gapic_generation)
782
889
  end
783
890
  end
784
891
 
@@ -1006,12 +1113,14 @@ module Google
1006
1113
  # @return [Array<String>]
1007
1114
  attr_accessor :allowed_response_extensions
1008
1115
 
1009
- # A list of full type names of provided contexts.
1116
+ # A list of full type names of provided contexts. It is used to support
1117
+ # propagating HTTP headers and ETags from the response extension.
1010
1118
  # Corresponds to the JSON property `provided`
1011
1119
  # @return [Array<String>]
1012
1120
  attr_accessor :provided
1013
1121
 
1014
- # A list of full type names of requested contexts.
1122
+ # A list of full type names of requested contexts, only the requested context
1123
+ # will be made available to the backend.
1015
1124
  # Corresponds to the JSON property `requested`
1016
1125
  # @return [Array<String>]
1017
1126
  attr_accessor :requested
@@ -1683,6 +1792,39 @@ module Google
1683
1792
  end
1684
1793
  end
1685
1794
 
1795
+ # Experimental features to be included during client library generation. These
1796
+ # fields will be deprecated once the feature graduates and is enabled by default.
1797
+ class ExperimentalFeatures
1798
+ include Google::Apis::Core::Hashable
1799
+
1800
+ # Enables generation of protobuf code using new types that are more Pythonic
1801
+ # which are included in `protobuf>=5.29.x`. This feature will be enabled by
1802
+ # default 1 month after launching the feature in preview packages.
1803
+ # Corresponds to the JSON property `protobufPythonicTypesEnabled`
1804
+ # @return [Boolean]
1805
+ attr_accessor :protobuf_pythonic_types_enabled
1806
+ alias_method :protobuf_pythonic_types_enabled?, :protobuf_pythonic_types_enabled
1807
+
1808
+ # Enables generation of asynchronous REST clients if `rest` transport is enabled.
1809
+ # By default, asynchronous REST clients will not be generated. This feature
1810
+ # will be enabled by default 1 month after launching the feature in preview
1811
+ # packages.
1812
+ # Corresponds to the JSON property `restAsyncIoEnabled`
1813
+ # @return [Boolean]
1814
+ attr_accessor :rest_async_io_enabled
1815
+ alias_method :rest_async_io_enabled?, :rest_async_io_enabled
1816
+
1817
+ def initialize(**args)
1818
+ update!(**args)
1819
+ end
1820
+
1821
+ # Update properties of this object
1822
+ def update!(**args)
1823
+ @protobuf_pythonic_types_enabled = args[:protobuf_pythonic_types_enabled] if args.key?(:protobuf_pythonic_types_enabled)
1824
+ @rest_async_io_enabled = args[:rest_async_io_enabled] if args.key?(:rest_async_io_enabled)
1825
+ end
1826
+ end
1827
+
1686
1828
  # A single field of a message type.
1687
1829
  class Field
1688
1830
  include Google::Apis::Core::Hashable
@@ -1851,6 +1993,13 @@ module Google
1851
1993
  # @return [Google::Apis::ServiceusageV1beta1::CommonLanguageSettings]
1852
1994
  attr_accessor :common
1853
1995
 
1996
+ # Map of service names to renamed services. Keys are the package relative
1997
+ # service names and values are the name to be used for the service client and
1998
+ # call options. publishing: go_settings: renamed_services: Publisher: TopicAdmin
1999
+ # Corresponds to the JSON property `renamedServices`
2000
+ # @return [Hash<String,String>]
2001
+ attr_accessor :renamed_services
2002
+
1854
2003
  def initialize(**args)
1855
2004
  update!(**args)
1856
2005
  end
@@ -1858,6 +2007,7 @@ module Google
1858
2007
  # Update properties of this object
1859
2008
  def update!(**args)
1860
2009
  @common = args[:common] if args.key?(:common)
2010
+ @renamed_services = args[:renamed_services] if args.key?(:renamed_services)
1861
2011
  end
1862
2012
  end
1863
2013
 
@@ -2545,6 +2695,223 @@ module Google
2545
2695
  end
2546
2696
  end
2547
2697
 
2698
+ # A message to group the analysis information.
2699
+ class GoogleApiServiceusageV2betaAnalysis
2700
+ include Google::Apis::Core::Hashable
2701
+
2702
+ # An analysis result including blockers and warnings.
2703
+ # Corresponds to the JSON property `analysis`
2704
+ # @return [Google::Apis::ServiceusageV1beta1::GoogleApiServiceusageV2betaAnalysisResult]
2705
+ attr_accessor :analysis
2706
+
2707
+ # Output only. The type of analysis.
2708
+ # Corresponds to the JSON property `analysisType`
2709
+ # @return [String]
2710
+ attr_accessor :analysis_type
2711
+
2712
+ # Output only. The user friendly display name of the analysis type. E.g. service
2713
+ # dependency analysis, service resource usage analysis, etc.
2714
+ # Corresponds to the JSON property `displayName`
2715
+ # @return [String]
2716
+ attr_accessor :display_name
2717
+
2718
+ # The names of the service that has analysis result of warnings or blockers.
2719
+ # Example: `services/storage.googleapis.com`.
2720
+ # Corresponds to the JSON property `service`
2721
+ # @return [String]
2722
+ attr_accessor :service
2723
+
2724
+ def initialize(**args)
2725
+ update!(**args)
2726
+ end
2727
+
2728
+ # Update properties of this object
2729
+ def update!(**args)
2730
+ @analysis = args[:analysis] if args.key?(:analysis)
2731
+ @analysis_type = args[:analysis_type] if args.key?(:analysis_type)
2732
+ @display_name = args[:display_name] if args.key?(:display_name)
2733
+ @service = args[:service] if args.key?(:service)
2734
+ end
2735
+ end
2736
+
2737
+ # An analysis result including blockers and warnings.
2738
+ class GoogleApiServiceusageV2betaAnalysisResult
2739
+ include Google::Apis::Core::Hashable
2740
+
2741
+ # Blocking information that would prevent the policy changes at runtime.
2742
+ # Corresponds to the JSON property `blockers`
2743
+ # @return [Array<Google::Apis::ServiceusageV1beta1::GoogleApiServiceusageV2betaImpact>]
2744
+ attr_accessor :blockers
2745
+
2746
+ # Warning information indicating that the policy changes might be unsafe, but
2747
+ # will not block the changes at runtime.
2748
+ # Corresponds to the JSON property `warnings`
2749
+ # @return [Array<Google::Apis::ServiceusageV1beta1::GoogleApiServiceusageV2betaImpact>]
2750
+ attr_accessor :warnings
2751
+
2752
+ def initialize(**args)
2753
+ update!(**args)
2754
+ end
2755
+
2756
+ # Update properties of this object
2757
+ def update!(**args)
2758
+ @blockers = args[:blockers] if args.key?(:blockers)
2759
+ @warnings = args[:warnings] if args.key?(:warnings)
2760
+ end
2761
+ end
2762
+
2763
+ # Metadata for the `AnalyzeConsumerPolicy` method.
2764
+ class GoogleApiServiceusageV2betaAnalyzeConsumerPolicyMetadata
2765
+ include Google::Apis::Core::Hashable
2766
+
2767
+ def initialize(**args)
2768
+ update!(**args)
2769
+ end
2770
+
2771
+ # Update properties of this object
2772
+ def update!(**args)
2773
+ end
2774
+ end
2775
+
2776
+ # The response of analyzing a consumer policy update.
2777
+ class GoogleApiServiceusageV2betaAnalyzeConsumerPolicyResponse
2778
+ include Google::Apis::Core::Hashable
2779
+
2780
+ # The list of analyses returned from performing the intended policy update
2781
+ # analysis. The analysis is grouped by service name and different analysis types.
2782
+ # The empty analysis list means that the consumer policy can be updated without
2783
+ # any warnings or blockers.
2784
+ # Corresponds to the JSON property `analysis`
2785
+ # @return [Array<Google::Apis::ServiceusageV1beta1::GoogleApiServiceusageV2betaAnalysis>]
2786
+ attr_accessor :analysis
2787
+
2788
+ def initialize(**args)
2789
+ update!(**args)
2790
+ end
2791
+
2792
+ # Update properties of this object
2793
+ def update!(**args)
2794
+ @analysis = args[:analysis] if args.key?(:analysis)
2795
+ end
2796
+ end
2797
+
2798
+ # Consumer Policy is a set of rules that define what services or service groups
2799
+ # can be used for a cloud resource hierarchy.
2800
+ class GoogleApiServiceusageV2betaConsumerPolicy
2801
+ include Google::Apis::Core::Hashable
2802
+
2803
+ # Optional. Annotations is an unstructured key-value map stored with a policy
2804
+ # that may be set by external tools to store and retrieve arbitrary metadata.
2805
+ # They are not queryable and should be preserved when modifying objects. [AIP-
2806
+ # 128](https://google.aip.dev/128#annotations)
2807
+ # Corresponds to the JSON property `annotations`
2808
+ # @return [Hash<String,String>]
2809
+ attr_accessor :annotations
2810
+
2811
+ # Output only. The time the policy was created. For singleton policies, this is
2812
+ # the first touch of the policy.
2813
+ # Corresponds to the JSON property `createTime`
2814
+ # @return [String]
2815
+ attr_accessor :create_time
2816
+
2817
+ # Enable rules define usable services, groups, and categories. There can
2818
+ # currently be at most one `EnableRule`. This restriction will be lifted in
2819
+ # later releases.
2820
+ # Corresponds to the JSON property `enableRules`
2821
+ # @return [Array<Google::Apis::ServiceusageV1beta1::GoogleApiServiceusageV2betaEnableRule>]
2822
+ attr_accessor :enable_rules
2823
+
2824
+ # Output only. An opaque tag indicating the current version of the policy, used
2825
+ # for concurrency control.
2826
+ # Corresponds to the JSON property `etag`
2827
+ # @return [String]
2828
+ attr_accessor :etag
2829
+
2830
+ # Output only. The resource name of the policy. Only the `default` policy is
2831
+ # supported: `projects/12345/consumerPolicies/default`, `folders/12345/
2832
+ # consumerPolicies/default`, `organizations/12345/consumerPolicies/default`.
2833
+ # Corresponds to the JSON property `name`
2834
+ # @return [String]
2835
+ attr_accessor :name
2836
+
2837
+ # Output only. The time the policy was last updated.
2838
+ # Corresponds to the JSON property `updateTime`
2839
+ # @return [String]
2840
+ attr_accessor :update_time
2841
+
2842
+ def initialize(**args)
2843
+ update!(**args)
2844
+ end
2845
+
2846
+ # Update properties of this object
2847
+ def update!(**args)
2848
+ @annotations = args[:annotations] if args.key?(:annotations)
2849
+ @create_time = args[:create_time] if args.key?(:create_time)
2850
+ @enable_rules = args[:enable_rules] if args.key?(:enable_rules)
2851
+ @etag = args[:etag] if args.key?(:etag)
2852
+ @name = args[:name] if args.key?(:name)
2853
+ @update_time = args[:update_time] if args.key?(:update_time)
2854
+ end
2855
+ end
2856
+
2857
+ # The consumer policy rule that defines enabled services, groups, and categories.
2858
+ class GoogleApiServiceusageV2betaEnableRule
2859
+ include Google::Apis::Core::Hashable
2860
+
2861
+ # The names of the services that are enabled. Example: `services/storage.
2862
+ # googleapis.com`.
2863
+ # Corresponds to the JSON property `services`
2864
+ # @return [Array<String>]
2865
+ attr_accessor :services
2866
+
2867
+ def initialize(**args)
2868
+ update!(**args)
2869
+ end
2870
+
2871
+ # Update properties of this object
2872
+ def update!(**args)
2873
+ @services = args[:services] if args.key?(:services)
2874
+ end
2875
+ end
2876
+
2877
+ # A message to group impacts of updating a policy.
2878
+ class GoogleApiServiceusageV2betaImpact
2879
+ include Google::Apis::Core::Hashable
2880
+
2881
+ # Output only. User friendly impact detail in a free form message.
2882
+ # Corresponds to the JSON property `detail`
2883
+ # @return [String]
2884
+ attr_accessor :detail
2885
+
2886
+ # Output only. The type of impact.
2887
+ # Corresponds to the JSON property `impactType`
2888
+ # @return [String]
2889
+ attr_accessor :impact_type
2890
+
2891
+ def initialize(**args)
2892
+ update!(**args)
2893
+ end
2894
+
2895
+ # Update properties of this object
2896
+ def update!(**args)
2897
+ @detail = args[:detail] if args.key?(:detail)
2898
+ @impact_type = args[:impact_type] if args.key?(:impact_type)
2899
+ end
2900
+ end
2901
+
2902
+ # Metadata for the `UpdateConsumerPolicy` method.
2903
+ class GoogleApiServiceusageV2betaUpdateConsumerPolicyMetadata
2904
+ include Google::Apis::Core::Hashable
2905
+
2906
+ def initialize(**args)
2907
+ update!(**args)
2908
+ end
2909
+
2910
+ # Update properties of this object
2911
+ def update!(**args)
2912
+ end
2913
+ end
2914
+
2548
2915
  # Defines the HTTP configuration for an API service. It contains a list of
2549
2916
  # HttpRule, each specifying the mapping of an RPC method to one or more HTTP
2550
2917
  # REST API methods.
@@ -2684,27 +3051,27 @@ module Google
2684
3051
  # effect as the proto annotation. This can be particularly useful if you have a
2685
3052
  # proto that is reused in multiple services. Note that any transcoding specified
2686
3053
  # in the service config will override any matching transcoding configuration in
2687
- # the proto. Example below selects a gRPC method and applies HttpRule to it.
2688
- # http: rules: - selector: example.v1.Messaging.GetMessage get: /v1/messages/`
2689
- # message_id`/`sub.subfield` Special notes When gRPC Transcoding is used to map
2690
- # a gRPC to JSON REST endpoints, the proto to JSON conversion must follow the [
2691
- # proto3 specification](https://developers.google.com/protocol-buffers/docs/
2692
- # proto3#json). While the single segment variable follows the semantics of [RFC
2693
- # 6570](https://tools.ietf.org/html/rfc6570) Section 3.2.2 Simple String
2694
- # Expansion, the multi segment variable **does not** follow RFC 6570 Section 3.2.
2695
- # 3 Reserved Expansion. The reason is that the Reserved Expansion does not
2696
- # expand special characters like `?` and `#`, which would lead to invalid URLs.
2697
- # As the result, gRPC Transcoding uses a custom encoding for multi segment
2698
- # variables. The path variables **must not** refer to any repeated or mapped
2699
- # field, because client libraries are not capable of handling such variable
2700
- # expansion. The path variables **must not** capture the leading "/" character.
2701
- # The reason is that the most common use case "`var`" does not capture the
2702
- # leading "/" character. For consistency, all path variables must share the same
2703
- # behavior. Repeated message fields must not be mapped to URL query parameters,
2704
- # because no client library can support such complicated mapping. If an API
2705
- # needs to use a JSON array for request or response body, it can map the request
2706
- # or response body to a repeated field. However, some gRPC Transcoding
2707
- # implementations may not support this feature.
3054
+ # the proto. The following example selects a gRPC method and applies an `
3055
+ # HttpRule` to it: http: rules: - selector: example.v1.Messaging.GetMessage get:
3056
+ # /v1/messages/`message_id`/`sub.subfield` Special notes When gRPC Transcoding
3057
+ # is used to map a gRPC to JSON REST endpoints, the proto to JSON conversion
3058
+ # must follow the [proto3 specification](https://developers.google.com/protocol-
3059
+ # buffers/docs/proto3#json). While the single segment variable follows the
3060
+ # semantics of [RFC 6570](https://tools.ietf.org/html/rfc6570) Section 3.2.2
3061
+ # Simple String Expansion, the multi segment variable **does not** follow RFC
3062
+ # 6570 Section 3.2.3 Reserved Expansion. The reason is that the Reserved
3063
+ # Expansion does not expand special characters like `?` and `#`, which would
3064
+ # lead to invalid URLs. As the result, gRPC Transcoding uses a custom encoding
3065
+ # for multi segment variables. The path variables **must not** refer to any
3066
+ # repeated or mapped field, because client libraries are not capable of handling
3067
+ # such variable expansion. The path variables **must not** capture the leading "/
3068
+ # " character. The reason is that the most common use case "`var`" does not
3069
+ # capture the leading "/" character. For consistency, all path variables must
3070
+ # share the same behavior. Repeated message fields must not be mapped to URL
3071
+ # query parameters, because no client library can support such complicated
3072
+ # mapping. If an API needs to use a JSON array for request or response body, it
3073
+ # can map the request or response body to a repeated field. However, some gRPC
3074
+ # Transcoding implementations may not support this feature.
2708
3075
  class HttpRule
2709
3076
  include Google::Apis::Core::Hashable
2710
3077
 
@@ -2786,6 +3153,31 @@ module Google
2786
3153
  end
2787
3154
  end
2788
3155
 
3156
+ # A message to group impacts of updating a policy.
3157
+ class Impact
3158
+ include Google::Apis::Core::Hashable
3159
+
3160
+ # Output only. User friendly impact detail in a free form message.
3161
+ # Corresponds to the JSON property `detail`
3162
+ # @return [String]
3163
+ attr_accessor :detail
3164
+
3165
+ # Output only. The type of impact.
3166
+ # Corresponds to the JSON property `impactType`
3167
+ # @return [String]
3168
+ attr_accessor :impact_type
3169
+
3170
+ def initialize(**args)
3171
+ update!(**args)
3172
+ end
3173
+
3174
+ # Update properties of this object
3175
+ def update!(**args)
3176
+ @detail = args[:detail] if args.key?(:detail)
3177
+ @impact_type = args[:impact_type] if args.key?(:impact_type)
3178
+ end
3179
+ end
3180
+
2789
3181
  # Metadata message that provides information such as progress, partial failures,
2790
3182
  # and similar information on each GetOperation call of LRO returned by
2791
3183
  # ImportAdminOverrides.
@@ -3661,6 +4053,11 @@ module Google
3661
4053
  # @return [String]
3662
4054
  attr_accessor :sample_period
3663
4055
 
4056
+ # The scope of the timeseries data of the metric.
4057
+ # Corresponds to the JSON property `timeSeriesResourceHierarchyLevel`
4058
+ # @return [Array<String>]
4059
+ attr_accessor :time_series_resource_hierarchy_level
4060
+
3664
4061
  def initialize(**args)
3665
4062
  update!(**args)
3666
4063
  end
@@ -3670,6 +4067,7 @@ module Google
3670
4067
  @ingest_delay = args[:ingest_delay] if args.key?(:ingest_delay)
3671
4068
  @launch_stage = args[:launch_stage] if args.key?(:launch_stage)
3672
4069
  @sample_period = args[:sample_period] if args.key?(:sample_period)
4070
+ @time_series_resource_hierarchy_level = args[:time_series_resource_hierarchy_level] if args.key?(:time_series_resource_hierarchy_level)
3673
4071
  end
3674
4072
  end
3675
4073
 
@@ -3722,7 +4120,7 @@ module Google
3722
4120
  # AccessControl The mixin construct implies that all methods in `AccessControl`
3723
4121
  # are also declared with same name and request/response types in `Storage`. A
3724
4122
  # documentation generator or annotation processor will see the effective `
3725
- # Storage.GetAcl` method after inherting documentation and annotations as
4123
+ # Storage.GetAcl` method after inheriting documentation and annotations as
3726
4124
  # follows: service Storage ` // Get the underlying ACL object. rpc GetAcl(
3727
4125
  # GetAclRequest) returns (Acl) ` option (google.api.http).get = "/v2/`resource=**
3728
4126
  # `:getAcl"; ` ... ` Note how the version in the path pattern changed from `v1`
@@ -4328,6 +4726,12 @@ module Google
4328
4726
  # @return [Google::Apis::ServiceusageV1beta1::CommonLanguageSettings]
4329
4727
  attr_accessor :common
4330
4728
 
4729
+ # Experimental features to be included during client library generation. These
4730
+ # fields will be deprecated once the feature graduates and is enabled by default.
4731
+ # Corresponds to the JSON property `experimentalFeatures`
4732
+ # @return [Google::Apis::ServiceusageV1beta1::ExperimentalFeatures]
4733
+ attr_accessor :experimental_features
4734
+
4331
4735
  def initialize(**args)
4332
4736
  update!(**args)
4333
4737
  end
@@ -4335,6 +4739,7 @@ module Google
4335
4739
  # Update properties of this object
4336
4740
  def update!(**args)
4337
4741
  @common = args[:common] if args.key?(:common)
4742
+ @experimental_features = args[:experimental_features] if args.key?(:experimental_features)
4338
4743
  end
4339
4744
  end
4340
4745
 
@@ -4523,11 +4928,11 @@ module Google
4523
4928
  # @return [String]
4524
4929
  attr_accessor :name
4525
4930
 
4526
- # Specify the unit of the quota limit. It uses the same syntax as Metric.unit.
4527
- # The supported unit kinds are determined by the quota backend system. Here are
4528
- # some examples: * "1/min/`project`" for quota per minute per project. Note: the
4529
- # order of unit components is insignificant. The "1" at the beginning is
4530
- # required to follow the metric unit syntax.
4931
+ # Specify the unit of the quota limit. It uses the same syntax as
4932
+ # MetricDescriptor.unit. The supported unit kinds are determined by the quota
4933
+ # backend system. Here are some examples: * "1/min/`project`" for quota per
4934
+ # minute per project. Note: the order of unit components is insignificant. The "
4935
+ # 1" at the beginning is required to follow the metric unit syntax.
4531
4936
  # Corresponds to the JSON property `unit`
4532
4937
  # @return [String]
4533
4938
  attr_accessor :unit
@@ -4712,6 +5117,27 @@ module Google
4712
5117
  end
4713
5118
  end
4714
5119
 
5120
+ # This message is used to configure the generation of a subset of the RPCs in a
5121
+ # service for client libraries.
5122
+ class SelectiveGapicGeneration
5123
+ include Google::Apis::Core::Hashable
5124
+
5125
+ # An allowlist of the fully qualified names of RPCs that should be included on
5126
+ # public client surfaces.
5127
+ # Corresponds to the JSON property `methods`
5128
+ # @return [Array<String>]
5129
+ attr_accessor :methods_prop
5130
+
5131
+ def initialize(**args)
5132
+ update!(**args)
5133
+ end
5134
+
5135
+ # Update properties of this object
5136
+ def update!(**args)
5137
+ @methods_prop = args[:methods_prop] if args.key?(:methods_prop)
5138
+ end
5139
+ end
5140
+
4715
5141
  # A service that is available for use by the consumer.
4716
5142
  class Service
4717
5143
  include Google::Apis::Core::Hashable
@@ -16,13 +16,13 @@ module Google
16
16
  module Apis
17
17
  module ServiceusageV1beta1
18
18
  # Version of the google-apis-serviceusage_v1beta1 gem
19
- GEM_VERSION = "0.58.0"
19
+ GEM_VERSION = "0.60.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 = "20241115"
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
 
@@ -364,6 +394,54 @@ module Google
364
394
  include Google::Apis::Core::JsonObjectSupport
365
395
  end
366
396
 
397
+ class GoogleApiServiceusageV2betaAnalysis
398
+ class Representation < Google::Apis::Core::JsonRepresentation; end
399
+
400
+ include Google::Apis::Core::JsonObjectSupport
401
+ end
402
+
403
+ class GoogleApiServiceusageV2betaAnalysisResult
404
+ class Representation < Google::Apis::Core::JsonRepresentation; end
405
+
406
+ include Google::Apis::Core::JsonObjectSupport
407
+ end
408
+
409
+ class GoogleApiServiceusageV2betaAnalyzeConsumerPolicyMetadata
410
+ class Representation < Google::Apis::Core::JsonRepresentation; end
411
+
412
+ include Google::Apis::Core::JsonObjectSupport
413
+ end
414
+
415
+ class GoogleApiServiceusageV2betaAnalyzeConsumerPolicyResponse
416
+ class Representation < Google::Apis::Core::JsonRepresentation; end
417
+
418
+ include Google::Apis::Core::JsonObjectSupport
419
+ end
420
+
421
+ class GoogleApiServiceusageV2betaConsumerPolicy
422
+ class Representation < Google::Apis::Core::JsonRepresentation; end
423
+
424
+ include Google::Apis::Core::JsonObjectSupport
425
+ end
426
+
427
+ class GoogleApiServiceusageV2betaEnableRule
428
+ class Representation < Google::Apis::Core::JsonRepresentation; end
429
+
430
+ include Google::Apis::Core::JsonObjectSupport
431
+ end
432
+
433
+ class GoogleApiServiceusageV2betaImpact
434
+ class Representation < Google::Apis::Core::JsonRepresentation; end
435
+
436
+ include Google::Apis::Core::JsonObjectSupport
437
+ end
438
+
439
+ class GoogleApiServiceusageV2betaUpdateConsumerPolicyMetadata
440
+ class Representation < Google::Apis::Core::JsonRepresentation; end
441
+
442
+ include Google::Apis::Core::JsonObjectSupport
443
+ end
444
+
367
445
  class Http
368
446
  class Representation < Google::Apis::Core::JsonRepresentation; end
369
447
 
@@ -376,6 +454,12 @@ module Google
376
454
  include Google::Apis::Core::JsonObjectSupport
377
455
  end
378
456
 
457
+ class Impact
458
+ class Representation < Google::Apis::Core::JsonRepresentation; end
459
+
460
+ include Google::Apis::Core::JsonObjectSupport
461
+ end
462
+
379
463
  class ImportAdminOverridesMetadata
380
464
  class Representation < Google::Apis::Core::JsonRepresentation; end
381
465
 
@@ -670,6 +754,12 @@ module Google
670
754
  include Google::Apis::Core::JsonObjectSupport
671
755
  end
672
756
 
757
+ class SelectiveGapicGeneration
758
+ class Representation < Google::Apis::Core::JsonRepresentation; end
759
+
760
+ include Google::Apis::Core::JsonObjectSupport
761
+ end
762
+
673
763
  class Service
674
764
  class Representation < Google::Apis::Core::JsonRepresentation; end
675
765
 
@@ -780,6 +870,41 @@ module Google
780
870
  end
781
871
  end
782
872
 
873
+ class Analysis
874
+ # @private
875
+ class Representation < Google::Apis::Core::JsonRepresentation
876
+ property :analysis, as: 'analysis', class: Google::Apis::ServiceusageV1beta1::AnalysisResult, decorator: Google::Apis::ServiceusageV1beta1::AnalysisResult::Representation
877
+
878
+ property :analysis_type, as: 'analysisType'
879
+ property :display_name, as: 'displayName'
880
+ property :service, as: 'service'
881
+ end
882
+ end
883
+
884
+ class AnalysisResult
885
+ # @private
886
+ class Representation < Google::Apis::Core::JsonRepresentation
887
+ collection :blockers, as: 'blockers', class: Google::Apis::ServiceusageV1beta1::Impact, decorator: Google::Apis::ServiceusageV1beta1::Impact::Representation
888
+
889
+ collection :warnings, as: 'warnings', class: Google::Apis::ServiceusageV1beta1::Impact, decorator: Google::Apis::ServiceusageV1beta1::Impact::Representation
890
+
891
+ end
892
+ end
893
+
894
+ class AnalyzeConsumerPolicyMetadata
895
+ # @private
896
+ class Representation < Google::Apis::Core::JsonRepresentation
897
+ end
898
+ end
899
+
900
+ class AnalyzeConsumerPolicyResponse
901
+ # @private
902
+ class Representation < Google::Apis::Core::JsonRepresentation
903
+ collection :analysis, as: 'analysis', class: Google::Apis::ServiceusageV1beta1::Analysis, decorator: Google::Apis::ServiceusageV1beta1::Analysis::Representation
904
+
905
+ end
906
+ end
907
+
783
908
  class Api
784
909
  # @private
785
910
  class Representation < Google::Apis::Core::JsonRepresentation
@@ -944,6 +1069,8 @@ module Google
944
1069
  class Representation < Google::Apis::Core::JsonRepresentation
945
1070
  collection :destinations, as: 'destinations'
946
1071
  property :reference_docs_uri, as: 'referenceDocsUri'
1072
+ property :selective_gapic_generation, as: 'selectiveGapicGeneration', class: Google::Apis::ServiceusageV1beta1::SelectiveGapicGeneration, decorator: Google::Apis::ServiceusageV1beta1::SelectiveGapicGeneration::Representation
1073
+
947
1074
  end
948
1075
  end
949
1076
 
@@ -1186,6 +1313,14 @@ module Google
1186
1313
  end
1187
1314
  end
1188
1315
 
1316
+ class ExperimentalFeatures
1317
+ # @private
1318
+ class Representation < Google::Apis::Core::JsonRepresentation
1319
+ property :protobuf_pythonic_types_enabled, as: 'protobufPythonicTypesEnabled'
1320
+ property :rest_async_io_enabled, as: 'restAsyncIoEnabled'
1321
+ end
1322
+ end
1323
+
1189
1324
  class Field
1190
1325
  # @private
1191
1326
  class Representation < Google::Apis::Core::JsonRepresentation
@@ -1232,6 +1367,7 @@ module Google
1232
1367
  class Representation < Google::Apis::Core::JsonRepresentation
1233
1368
  property :common, as: 'common', class: Google::Apis::ServiceusageV1beta1::CommonLanguageSettings, decorator: Google::Apis::ServiceusageV1beta1::CommonLanguageSettings::Representation
1234
1369
 
1370
+ hash :renamed_services, as: 'renamedServices'
1235
1371
  end
1236
1372
  end
1237
1373
 
@@ -1377,6 +1513,75 @@ module Google
1377
1513
  end
1378
1514
  end
1379
1515
 
1516
+ class GoogleApiServiceusageV2betaAnalysis
1517
+ # @private
1518
+ class Representation < Google::Apis::Core::JsonRepresentation
1519
+ property :analysis, as: 'analysis', class: Google::Apis::ServiceusageV1beta1::GoogleApiServiceusageV2betaAnalysisResult, decorator: Google::Apis::ServiceusageV1beta1::GoogleApiServiceusageV2betaAnalysisResult::Representation
1520
+
1521
+ property :analysis_type, as: 'analysisType'
1522
+ property :display_name, as: 'displayName'
1523
+ property :service, as: 'service'
1524
+ end
1525
+ end
1526
+
1527
+ class GoogleApiServiceusageV2betaAnalysisResult
1528
+ # @private
1529
+ class Representation < Google::Apis::Core::JsonRepresentation
1530
+ collection :blockers, as: 'blockers', class: Google::Apis::ServiceusageV1beta1::GoogleApiServiceusageV2betaImpact, decorator: Google::Apis::ServiceusageV1beta1::GoogleApiServiceusageV2betaImpact::Representation
1531
+
1532
+ collection :warnings, as: 'warnings', class: Google::Apis::ServiceusageV1beta1::GoogleApiServiceusageV2betaImpact, decorator: Google::Apis::ServiceusageV1beta1::GoogleApiServiceusageV2betaImpact::Representation
1533
+
1534
+ end
1535
+ end
1536
+
1537
+ class GoogleApiServiceusageV2betaAnalyzeConsumerPolicyMetadata
1538
+ # @private
1539
+ class Representation < Google::Apis::Core::JsonRepresentation
1540
+ end
1541
+ end
1542
+
1543
+ class GoogleApiServiceusageV2betaAnalyzeConsumerPolicyResponse
1544
+ # @private
1545
+ class Representation < Google::Apis::Core::JsonRepresentation
1546
+ collection :analysis, as: 'analysis', class: Google::Apis::ServiceusageV1beta1::GoogleApiServiceusageV2betaAnalysis, decorator: Google::Apis::ServiceusageV1beta1::GoogleApiServiceusageV2betaAnalysis::Representation
1547
+
1548
+ end
1549
+ end
1550
+
1551
+ class GoogleApiServiceusageV2betaConsumerPolicy
1552
+ # @private
1553
+ class Representation < Google::Apis::Core::JsonRepresentation
1554
+ hash :annotations, as: 'annotations'
1555
+ property :create_time, as: 'createTime'
1556
+ collection :enable_rules, as: 'enableRules', class: Google::Apis::ServiceusageV1beta1::GoogleApiServiceusageV2betaEnableRule, decorator: Google::Apis::ServiceusageV1beta1::GoogleApiServiceusageV2betaEnableRule::Representation
1557
+
1558
+ property :etag, as: 'etag'
1559
+ property :name, as: 'name'
1560
+ property :update_time, as: 'updateTime'
1561
+ end
1562
+ end
1563
+
1564
+ class GoogleApiServiceusageV2betaEnableRule
1565
+ # @private
1566
+ class Representation < Google::Apis::Core::JsonRepresentation
1567
+ collection :services, as: 'services'
1568
+ end
1569
+ end
1570
+
1571
+ class GoogleApiServiceusageV2betaImpact
1572
+ # @private
1573
+ class Representation < Google::Apis::Core::JsonRepresentation
1574
+ property :detail, as: 'detail'
1575
+ property :impact_type, as: 'impactType'
1576
+ end
1577
+ end
1578
+
1579
+ class GoogleApiServiceusageV2betaUpdateConsumerPolicyMetadata
1580
+ # @private
1581
+ class Representation < Google::Apis::Core::JsonRepresentation
1582
+ end
1583
+ end
1584
+
1380
1585
  class Http
1381
1586
  # @private
1382
1587
  class Representation < Google::Apis::Core::JsonRepresentation
@@ -1404,6 +1609,14 @@ module Google
1404
1609
  end
1405
1610
  end
1406
1611
 
1612
+ class Impact
1613
+ # @private
1614
+ class Representation < Google::Apis::Core::JsonRepresentation
1615
+ property :detail, as: 'detail'
1616
+ property :impact_type, as: 'impactType'
1617
+ end
1618
+ end
1619
+
1407
1620
  class ImportAdminOverridesMetadata
1408
1621
  # @private
1409
1622
  class Representation < Google::Apis::Core::JsonRepresentation
@@ -1637,6 +1850,7 @@ module Google
1637
1850
  property :ingest_delay, as: 'ingestDelay'
1638
1851
  property :launch_stage, as: 'launchStage'
1639
1852
  property :sample_period, as: 'samplePeriod'
1853
+ collection :time_series_resource_hierarchy_level, as: 'timeSeriesResourceHierarchyLevel'
1640
1854
  end
1641
1855
  end
1642
1856
 
@@ -1791,6 +2005,8 @@ module Google
1791
2005
  class Representation < Google::Apis::Core::JsonRepresentation
1792
2006
  property :common, as: 'common', class: Google::Apis::ServiceusageV1beta1::CommonLanguageSettings, decorator: Google::Apis::ServiceusageV1beta1::CommonLanguageSettings::Representation
1793
2007
 
2008
+ property :experimental_features, as: 'experimentalFeatures', class: Google::Apis::ServiceusageV1beta1::ExperimentalFeatures, decorator: Google::Apis::ServiceusageV1beta1::ExperimentalFeatures::Representation
2009
+
1794
2010
  end
1795
2011
  end
1796
2012
 
@@ -1880,6 +2096,13 @@ module Google
1880
2096
  end
1881
2097
  end
1882
2098
 
2099
+ class SelectiveGapicGeneration
2100
+ # @private
2101
+ class Representation < Google::Apis::Core::JsonRepresentation
2102
+ collection :methods_prop, as: 'methods'
2103
+ end
2104
+ end
2105
+
1883
2106
  class Service
1884
2107
  # @private
1885
2108
  class Representation < Google::Apis::Core::JsonRepresentation
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: google-apis-serviceusage_v1beta1
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.58.0
4
+ version: 0.60.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-16 00:00:00.000000000 Z
11
+ date: 2024-12-04 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_v1beta1/CHANGELOG.md
61
- documentation_uri: https://googleapis.dev/ruby/google-apis-serviceusage_v1beta1/v0.58.0
61
+ documentation_uri: https://googleapis.dev/ruby/google-apis-serviceusage_v1beta1/v0.60.0
62
62
  source_code_uri: https://github.com/googleapis/google-api-ruby-client/tree/main/generated/google-apis-serviceusage_v1beta1
63
63
  post_install_message:
64
64
  rdoc_options: []
@@ -75,7 +75,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
75
75
  - !ruby/object:Gem::Version
76
76
  version: '0'
77
77
  requirements: []
78
- rubygems_version: 3.5.6
78
+ rubygems_version: 3.5.22
79
79
  signing_key:
80
80
  specification_version: 4
81
81
  summary: Simple REST client for Service Usage API V1beta1