google-apis-serviceusage_v1beta1 0.59.0 → 0.61.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: d84c1d418a3052690fe4407dd850c37dbec266b1c428f10777ab7b5e5e592aa1
4
- data.tar.gz: 7f0d66462839ba6477503bdba5fbd3ef75d5c6c3801dace0fc971ea17cedb8dd
3
+ metadata.gz: 8fa91cd51798b95f768e7b6d0c004f196312d696cf9f5e9c9ed181949abc03d8
4
+ data.tar.gz: 8f0b9a811176d2ccbb4b1c1977eea6011e66c91953108a6108e919690531f815
5
5
  SHA512:
6
- metadata.gz: 26bd3fd3164544da4aad664181f3ca75e8b2fb0e6b6579cf9ce5291cf79e78867709a225435f241549e7669e56b33edc7f1e3dd7172ad835313ae001eb569de9
7
- data.tar.gz: 13fce8d2ef91c2b85e12886ef682f7de9a1b842fa359119ad906ba369a0c415d83d4bb9fb37e953779674d5440895f10fce3055ffe25332adfae52c7bbf69fcc
6
+ metadata.gz: 64f463d57b34b3816c4459ee132eec6fdc5c49ec92952c21b5d5bd95b0d28423395300daede15f3d56c69cfeee7890694fba897cd39bd7b0f421e277c665bb16
7
+ data.tar.gz: 565d04488743e472e2b3f19a943aa72fd750fb3008289175584057342a9ce30fd4e4eb04261a911d590c219706e513534a06290ea435dc3e73dd522bba3d6b44
data/CHANGELOG.md CHANGED
@@ -1,5 +1,14 @@
1
1
  # Release history for google-apis-serviceusage_v1beta1
2
2
 
3
+ ### v0.61.0 (2024-12-15)
4
+
5
+ * Regenerated from discovery document revision 20241205
6
+
7
+ ### v0.60.0 (2024-12-02)
8
+
9
+ * Regenerated from discovery document revision 20241115
10
+ * Regenerated using generator version 0.15.1
11
+
3
12
  ### v0.59.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::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
 
@@ -1260,6 +1367,12 @@ module Google
1260
1367
  class Documentation
1261
1368
  include Google::Apis::Core::Hashable
1262
1369
 
1370
+ # Optional information about the IAM configuration. This is typically used to
1371
+ # link to documentation about a product's IAM roles and permissions.
1372
+ # Corresponds to the JSON property `additionalIamInfo`
1373
+ # @return [String]
1374
+ attr_accessor :additional_iam_info
1375
+
1263
1376
  # The URL to the root of documentation.
1264
1377
  # Corresponds to the JSON property `documentationRootUrl`
1265
1378
  # @return [String]
@@ -1312,6 +1425,7 @@ module Google
1312
1425
 
1313
1426
  # Update properties of this object
1314
1427
  def update!(**args)
1428
+ @additional_iam_info = args[:additional_iam_info] if args.key?(:additional_iam_info)
1315
1429
  @documentation_root_url = args[:documentation_root_url] if args.key?(:documentation_root_url)
1316
1430
  @overview = args[:overview] if args.key?(:overview)
1317
1431
  @pages = args[:pages] if args.key?(:pages)
@@ -1685,6 +1799,39 @@ module Google
1685
1799
  end
1686
1800
  end
1687
1801
 
1802
+ # Experimental features to be included during client library generation. These
1803
+ # fields will be deprecated once the feature graduates and is enabled by default.
1804
+ class ExperimentalFeatures
1805
+ include Google::Apis::Core::Hashable
1806
+
1807
+ # Enables generation of protobuf code using new types that are more Pythonic
1808
+ # which are included in `protobuf>=5.29.x`. This feature will be enabled by
1809
+ # default 1 month after launching the feature in preview packages.
1810
+ # Corresponds to the JSON property `protobufPythonicTypesEnabled`
1811
+ # @return [Boolean]
1812
+ attr_accessor :protobuf_pythonic_types_enabled
1813
+ alias_method :protobuf_pythonic_types_enabled?, :protobuf_pythonic_types_enabled
1814
+
1815
+ # Enables generation of asynchronous REST clients if `rest` transport is enabled.
1816
+ # By default, asynchronous REST clients will not be generated. This feature
1817
+ # will be enabled by default 1 month after launching the feature in preview
1818
+ # packages.
1819
+ # Corresponds to the JSON property `restAsyncIoEnabled`
1820
+ # @return [Boolean]
1821
+ attr_accessor :rest_async_io_enabled
1822
+ alias_method :rest_async_io_enabled?, :rest_async_io_enabled
1823
+
1824
+ def initialize(**args)
1825
+ update!(**args)
1826
+ end
1827
+
1828
+ # Update properties of this object
1829
+ def update!(**args)
1830
+ @protobuf_pythonic_types_enabled = args[:protobuf_pythonic_types_enabled] if args.key?(:protobuf_pythonic_types_enabled)
1831
+ @rest_async_io_enabled = args[:rest_async_io_enabled] if args.key?(:rest_async_io_enabled)
1832
+ end
1833
+ end
1834
+
1688
1835
  # A single field of a message type.
1689
1836
  class Field
1690
1837
  include Google::Apis::Core::Hashable
@@ -1853,6 +2000,13 @@ module Google
1853
2000
  # @return [Google::Apis::ServiceusageV1beta1::CommonLanguageSettings]
1854
2001
  attr_accessor :common
1855
2002
 
2003
+ # Map of service names to renamed services. Keys are the package relative
2004
+ # service names and values are the name to be used for the service client and
2005
+ # call options. publishing: go_settings: renamed_services: Publisher: TopicAdmin
2006
+ # Corresponds to the JSON property `renamedServices`
2007
+ # @return [Hash<String,String>]
2008
+ attr_accessor :renamed_services
2009
+
1856
2010
  def initialize(**args)
1857
2011
  update!(**args)
1858
2012
  end
@@ -1860,6 +2014,7 @@ module Google
1860
2014
  # Update properties of this object
1861
2015
  def update!(**args)
1862
2016
  @common = args[:common] if args.key?(:common)
2017
+ @renamed_services = args[:renamed_services] if args.key?(:renamed_services)
1863
2018
  end
1864
2019
  end
1865
2020
 
@@ -2547,6 +2702,223 @@ module Google
2547
2702
  end
2548
2703
  end
2549
2704
 
2705
+ # A message to group the analysis information.
2706
+ class GoogleApiServiceusageV2betaAnalysis
2707
+ include Google::Apis::Core::Hashable
2708
+
2709
+ # An analysis result including blockers and warnings.
2710
+ # Corresponds to the JSON property `analysis`
2711
+ # @return [Google::Apis::ServiceusageV1beta1::GoogleApiServiceusageV2betaAnalysisResult]
2712
+ attr_accessor :analysis
2713
+
2714
+ # Output only. The type of analysis.
2715
+ # Corresponds to the JSON property `analysisType`
2716
+ # @return [String]
2717
+ attr_accessor :analysis_type
2718
+
2719
+ # Output only. The user friendly display name of the analysis type. E.g. service
2720
+ # dependency analysis, service resource usage analysis, etc.
2721
+ # Corresponds to the JSON property `displayName`
2722
+ # @return [String]
2723
+ attr_accessor :display_name
2724
+
2725
+ # The names of the service that has analysis result of warnings or blockers.
2726
+ # Example: `services/storage.googleapis.com`.
2727
+ # Corresponds to the JSON property `service`
2728
+ # @return [String]
2729
+ attr_accessor :service
2730
+
2731
+ def initialize(**args)
2732
+ update!(**args)
2733
+ end
2734
+
2735
+ # Update properties of this object
2736
+ def update!(**args)
2737
+ @analysis = args[:analysis] if args.key?(:analysis)
2738
+ @analysis_type = args[:analysis_type] if args.key?(:analysis_type)
2739
+ @display_name = args[:display_name] if args.key?(:display_name)
2740
+ @service = args[:service] if args.key?(:service)
2741
+ end
2742
+ end
2743
+
2744
+ # An analysis result including blockers and warnings.
2745
+ class GoogleApiServiceusageV2betaAnalysisResult
2746
+ include Google::Apis::Core::Hashable
2747
+
2748
+ # Blocking information that would prevent the policy changes at runtime.
2749
+ # Corresponds to the JSON property `blockers`
2750
+ # @return [Array<Google::Apis::ServiceusageV1beta1::GoogleApiServiceusageV2betaImpact>]
2751
+ attr_accessor :blockers
2752
+
2753
+ # Warning information indicating that the policy changes might be unsafe, but
2754
+ # will not block the changes at runtime.
2755
+ # Corresponds to the JSON property `warnings`
2756
+ # @return [Array<Google::Apis::ServiceusageV1beta1::GoogleApiServiceusageV2betaImpact>]
2757
+ attr_accessor :warnings
2758
+
2759
+ def initialize(**args)
2760
+ update!(**args)
2761
+ end
2762
+
2763
+ # Update properties of this object
2764
+ def update!(**args)
2765
+ @blockers = args[:blockers] if args.key?(:blockers)
2766
+ @warnings = args[:warnings] if args.key?(:warnings)
2767
+ end
2768
+ end
2769
+
2770
+ # Metadata for the `AnalyzeConsumerPolicy` method.
2771
+ class GoogleApiServiceusageV2betaAnalyzeConsumerPolicyMetadata
2772
+ include Google::Apis::Core::Hashable
2773
+
2774
+ def initialize(**args)
2775
+ update!(**args)
2776
+ end
2777
+
2778
+ # Update properties of this object
2779
+ def update!(**args)
2780
+ end
2781
+ end
2782
+
2783
+ # The response of analyzing a consumer policy update.
2784
+ class GoogleApiServiceusageV2betaAnalyzeConsumerPolicyResponse
2785
+ include Google::Apis::Core::Hashable
2786
+
2787
+ # The list of analyses returned from performing the intended policy update
2788
+ # analysis. The analysis is grouped by service name and different analysis types.
2789
+ # The empty analysis list means that the consumer policy can be updated without
2790
+ # any warnings or blockers.
2791
+ # Corresponds to the JSON property `analysis`
2792
+ # @return [Array<Google::Apis::ServiceusageV1beta1::GoogleApiServiceusageV2betaAnalysis>]
2793
+ attr_accessor :analysis
2794
+
2795
+ def initialize(**args)
2796
+ update!(**args)
2797
+ end
2798
+
2799
+ # Update properties of this object
2800
+ def update!(**args)
2801
+ @analysis = args[:analysis] if args.key?(:analysis)
2802
+ end
2803
+ end
2804
+
2805
+ # Consumer Policy is a set of rules that define what services or service groups
2806
+ # can be used for a cloud resource hierarchy.
2807
+ class GoogleApiServiceusageV2betaConsumerPolicy
2808
+ include Google::Apis::Core::Hashable
2809
+
2810
+ # Optional. Annotations is an unstructured key-value map stored with a policy
2811
+ # that may be set by external tools to store and retrieve arbitrary metadata.
2812
+ # They are not queryable and should be preserved when modifying objects. [AIP-
2813
+ # 128](https://google.aip.dev/128#annotations)
2814
+ # Corresponds to the JSON property `annotations`
2815
+ # @return [Hash<String,String>]
2816
+ attr_accessor :annotations
2817
+
2818
+ # Output only. The time the policy was created. For singleton policies, this is
2819
+ # the first touch of the policy.
2820
+ # Corresponds to the JSON property `createTime`
2821
+ # @return [String]
2822
+ attr_accessor :create_time
2823
+
2824
+ # Enable rules define usable services, groups, and categories. There can
2825
+ # currently be at most one `EnableRule`. This restriction will be lifted in
2826
+ # later releases.
2827
+ # Corresponds to the JSON property `enableRules`
2828
+ # @return [Array<Google::Apis::ServiceusageV1beta1::GoogleApiServiceusageV2betaEnableRule>]
2829
+ attr_accessor :enable_rules
2830
+
2831
+ # Output only. An opaque tag indicating the current version of the policy, used
2832
+ # for concurrency control.
2833
+ # Corresponds to the JSON property `etag`
2834
+ # @return [String]
2835
+ attr_accessor :etag
2836
+
2837
+ # Output only. The resource name of the policy. Only the `default` policy is
2838
+ # supported: `projects/12345/consumerPolicies/default`, `folders/12345/
2839
+ # consumerPolicies/default`, `organizations/12345/consumerPolicies/default`.
2840
+ # Corresponds to the JSON property `name`
2841
+ # @return [String]
2842
+ attr_accessor :name
2843
+
2844
+ # Output only. The time the policy was last updated.
2845
+ # Corresponds to the JSON property `updateTime`
2846
+ # @return [String]
2847
+ attr_accessor :update_time
2848
+
2849
+ def initialize(**args)
2850
+ update!(**args)
2851
+ end
2852
+
2853
+ # Update properties of this object
2854
+ def update!(**args)
2855
+ @annotations = args[:annotations] if args.key?(:annotations)
2856
+ @create_time = args[:create_time] if args.key?(:create_time)
2857
+ @enable_rules = args[:enable_rules] if args.key?(:enable_rules)
2858
+ @etag = args[:etag] if args.key?(:etag)
2859
+ @name = args[:name] if args.key?(:name)
2860
+ @update_time = args[:update_time] if args.key?(:update_time)
2861
+ end
2862
+ end
2863
+
2864
+ # The consumer policy rule that defines enabled services, groups, and categories.
2865
+ class GoogleApiServiceusageV2betaEnableRule
2866
+ include Google::Apis::Core::Hashable
2867
+
2868
+ # The names of the services that are enabled. Example: `services/storage.
2869
+ # googleapis.com`.
2870
+ # Corresponds to the JSON property `services`
2871
+ # @return [Array<String>]
2872
+ attr_accessor :services
2873
+
2874
+ def initialize(**args)
2875
+ update!(**args)
2876
+ end
2877
+
2878
+ # Update properties of this object
2879
+ def update!(**args)
2880
+ @services = args[:services] if args.key?(:services)
2881
+ end
2882
+ end
2883
+
2884
+ # A message to group impacts of updating a policy.
2885
+ class GoogleApiServiceusageV2betaImpact
2886
+ include Google::Apis::Core::Hashable
2887
+
2888
+ # Output only. User friendly impact detail in a free form message.
2889
+ # Corresponds to the JSON property `detail`
2890
+ # @return [String]
2891
+ attr_accessor :detail
2892
+
2893
+ # Output only. The type of impact.
2894
+ # Corresponds to the JSON property `impactType`
2895
+ # @return [String]
2896
+ attr_accessor :impact_type
2897
+
2898
+ def initialize(**args)
2899
+ update!(**args)
2900
+ end
2901
+
2902
+ # Update properties of this object
2903
+ def update!(**args)
2904
+ @detail = args[:detail] if args.key?(:detail)
2905
+ @impact_type = args[:impact_type] if args.key?(:impact_type)
2906
+ end
2907
+ end
2908
+
2909
+ # Metadata for the `UpdateConsumerPolicy` method.
2910
+ class GoogleApiServiceusageV2betaUpdateConsumerPolicyMetadata
2911
+ include Google::Apis::Core::Hashable
2912
+
2913
+ def initialize(**args)
2914
+ update!(**args)
2915
+ end
2916
+
2917
+ # Update properties of this object
2918
+ def update!(**args)
2919
+ end
2920
+ end
2921
+
2550
2922
  # Defines the HTTP configuration for an API service. It contains a list of
2551
2923
  # HttpRule, each specifying the mapping of an RPC method to one or more HTTP
2552
2924
  # REST API methods.
@@ -2788,6 +3160,31 @@ module Google
2788
3160
  end
2789
3161
  end
2790
3162
 
3163
+ # A message to group impacts of updating a policy.
3164
+ class Impact
3165
+ include Google::Apis::Core::Hashable
3166
+
3167
+ # Output only. User friendly impact detail in a free form message.
3168
+ # Corresponds to the JSON property `detail`
3169
+ # @return [String]
3170
+ attr_accessor :detail
3171
+
3172
+ # Output only. The type of impact.
3173
+ # Corresponds to the JSON property `impactType`
3174
+ # @return [String]
3175
+ attr_accessor :impact_type
3176
+
3177
+ def initialize(**args)
3178
+ update!(**args)
3179
+ end
3180
+
3181
+ # Update properties of this object
3182
+ def update!(**args)
3183
+ @detail = args[:detail] if args.key?(:detail)
3184
+ @impact_type = args[:impact_type] if args.key?(:impact_type)
3185
+ end
3186
+ end
3187
+
2791
3188
  # Metadata message that provides information such as progress, partial failures,
2792
3189
  # and similar information on each GetOperation call of LRO returned by
2793
3190
  # ImportAdminOverrides.
@@ -3663,6 +4060,11 @@ module Google
3663
4060
  # @return [String]
3664
4061
  attr_accessor :sample_period
3665
4062
 
4063
+ # The scope of the timeseries data of the metric.
4064
+ # Corresponds to the JSON property `timeSeriesResourceHierarchyLevel`
4065
+ # @return [Array<String>]
4066
+ attr_accessor :time_series_resource_hierarchy_level
4067
+
3666
4068
  def initialize(**args)
3667
4069
  update!(**args)
3668
4070
  end
@@ -3672,6 +4074,7 @@ module Google
3672
4074
  @ingest_delay = args[:ingest_delay] if args.key?(:ingest_delay)
3673
4075
  @launch_stage = args[:launch_stage] if args.key?(:launch_stage)
3674
4076
  @sample_period = args[:sample_period] if args.key?(:sample_period)
4077
+ @time_series_resource_hierarchy_level = args[:time_series_resource_hierarchy_level] if args.key?(:time_series_resource_hierarchy_level)
3675
4078
  end
3676
4079
  end
3677
4080
 
@@ -3724,7 +4127,7 @@ module Google
3724
4127
  # AccessControl The mixin construct implies that all methods in `AccessControl`
3725
4128
  # are also declared with same name and request/response types in `Storage`. A
3726
4129
  # documentation generator or annotation processor will see the effective `
3727
- # Storage.GetAcl` method after inherting documentation and annotations as
4130
+ # Storage.GetAcl` method after inheriting documentation and annotations as
3728
4131
  # follows: service Storage ` // Get the underlying ACL object. rpc GetAcl(
3729
4132
  # GetAclRequest) returns (Acl) ` option (google.api.http).get = "/v2/`resource=**
3730
4133
  # `:getAcl"; ` ... ` Note how the version in the path pattern changed from `v1`
@@ -4330,6 +4733,12 @@ module Google
4330
4733
  # @return [Google::Apis::ServiceusageV1beta1::CommonLanguageSettings]
4331
4734
  attr_accessor :common
4332
4735
 
4736
+ # Experimental features to be included during client library generation. These
4737
+ # fields will be deprecated once the feature graduates and is enabled by default.
4738
+ # Corresponds to the JSON property `experimentalFeatures`
4739
+ # @return [Google::Apis::ServiceusageV1beta1::ExperimentalFeatures]
4740
+ attr_accessor :experimental_features
4741
+
4333
4742
  def initialize(**args)
4334
4743
  update!(**args)
4335
4744
  end
@@ -4337,6 +4746,7 @@ module Google
4337
4746
  # Update properties of this object
4338
4747
  def update!(**args)
4339
4748
  @common = args[:common] if args.key?(:common)
4749
+ @experimental_features = args[:experimental_features] if args.key?(:experimental_features)
4340
4750
  end
4341
4751
  end
4342
4752
 
@@ -4525,11 +4935,11 @@ module Google
4525
4935
  # @return [String]
4526
4936
  attr_accessor :name
4527
4937
 
4528
- # Specify the unit of the quota limit. It uses the same syntax as Metric.unit.
4529
- # The supported unit kinds are determined by the quota backend system. Here are
4530
- # some examples: * "1/min/`project`" for quota per minute per project. Note: the
4531
- # order of unit components is insignificant. The "1" at the beginning is
4532
- # required to follow the metric unit syntax.
4938
+ # Specify the unit of the quota limit. It uses the same syntax as
4939
+ # MetricDescriptor.unit. The supported unit kinds are determined by the quota
4940
+ # backend system. Here are some examples: * "1/min/`project`" for quota per
4941
+ # minute per project. Note: the order of unit components is insignificant. The "
4942
+ # 1" at the beginning is required to follow the metric unit syntax.
4533
4943
  # Corresponds to the JSON property `unit`
4534
4944
  # @return [String]
4535
4945
  attr_accessor :unit
@@ -4714,6 +5124,27 @@ module Google
4714
5124
  end
4715
5125
  end
4716
5126
 
5127
+ # This message is used to configure the generation of a subset of the RPCs in a
5128
+ # service for client libraries.
5129
+ class SelectiveGapicGeneration
5130
+ include Google::Apis::Core::Hashable
5131
+
5132
+ # An allowlist of the fully qualified names of RPCs that should be included on
5133
+ # public client surfaces.
5134
+ # Corresponds to the JSON property `methods`
5135
+ # @return [Array<String>]
5136
+ attr_accessor :methods_prop
5137
+
5138
+ def initialize(**args)
5139
+ update!(**args)
5140
+ end
5141
+
5142
+ # Update properties of this object
5143
+ def update!(**args)
5144
+ @methods_prop = args[:methods_prop] if args.key?(:methods_prop)
5145
+ end
5146
+ end
5147
+
4717
5148
  # A service that is available for use by the consumer.
4718
5149
  class Service
4719
5150
  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.59.0"
19
+ GEM_VERSION = "0.61.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 = "20241205"
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
 
@@ -1077,6 +1204,7 @@ module Google
1077
1204
  class Documentation
1078
1205
  # @private
1079
1206
  class Representation < Google::Apis::Core::JsonRepresentation
1207
+ property :additional_iam_info, as: 'additionalIamInfo'
1080
1208
  property :documentation_root_url, as: 'documentationRootUrl'
1081
1209
  property :overview, as: 'overview'
1082
1210
  collection :pages, as: 'pages', class: Google::Apis::ServiceusageV1beta1::Page, decorator: Google::Apis::ServiceusageV1beta1::Page::Representation
@@ -1186,6 +1314,14 @@ module Google
1186
1314
  end
1187
1315
  end
1188
1316
 
1317
+ class ExperimentalFeatures
1318
+ # @private
1319
+ class Representation < Google::Apis::Core::JsonRepresentation
1320
+ property :protobuf_pythonic_types_enabled, as: 'protobufPythonicTypesEnabled'
1321
+ property :rest_async_io_enabled, as: 'restAsyncIoEnabled'
1322
+ end
1323
+ end
1324
+
1189
1325
  class Field
1190
1326
  # @private
1191
1327
  class Representation < Google::Apis::Core::JsonRepresentation
@@ -1232,6 +1368,7 @@ module Google
1232
1368
  class Representation < Google::Apis::Core::JsonRepresentation
1233
1369
  property :common, as: 'common', class: Google::Apis::ServiceusageV1beta1::CommonLanguageSettings, decorator: Google::Apis::ServiceusageV1beta1::CommonLanguageSettings::Representation
1234
1370
 
1371
+ hash :renamed_services, as: 'renamedServices'
1235
1372
  end
1236
1373
  end
1237
1374
 
@@ -1377,6 +1514,75 @@ module Google
1377
1514
  end
1378
1515
  end
1379
1516
 
1517
+ class GoogleApiServiceusageV2betaAnalysis
1518
+ # @private
1519
+ class Representation < Google::Apis::Core::JsonRepresentation
1520
+ property :analysis, as: 'analysis', class: Google::Apis::ServiceusageV1beta1::GoogleApiServiceusageV2betaAnalysisResult, decorator: Google::Apis::ServiceusageV1beta1::GoogleApiServiceusageV2betaAnalysisResult::Representation
1521
+
1522
+ property :analysis_type, as: 'analysisType'
1523
+ property :display_name, as: 'displayName'
1524
+ property :service, as: 'service'
1525
+ end
1526
+ end
1527
+
1528
+ class GoogleApiServiceusageV2betaAnalysisResult
1529
+ # @private
1530
+ class Representation < Google::Apis::Core::JsonRepresentation
1531
+ collection :blockers, as: 'blockers', class: Google::Apis::ServiceusageV1beta1::GoogleApiServiceusageV2betaImpact, decorator: Google::Apis::ServiceusageV1beta1::GoogleApiServiceusageV2betaImpact::Representation
1532
+
1533
+ collection :warnings, as: 'warnings', class: Google::Apis::ServiceusageV1beta1::GoogleApiServiceusageV2betaImpact, decorator: Google::Apis::ServiceusageV1beta1::GoogleApiServiceusageV2betaImpact::Representation
1534
+
1535
+ end
1536
+ end
1537
+
1538
+ class GoogleApiServiceusageV2betaAnalyzeConsumerPolicyMetadata
1539
+ # @private
1540
+ class Representation < Google::Apis::Core::JsonRepresentation
1541
+ end
1542
+ end
1543
+
1544
+ class GoogleApiServiceusageV2betaAnalyzeConsumerPolicyResponse
1545
+ # @private
1546
+ class Representation < Google::Apis::Core::JsonRepresentation
1547
+ collection :analysis, as: 'analysis', class: Google::Apis::ServiceusageV1beta1::GoogleApiServiceusageV2betaAnalysis, decorator: Google::Apis::ServiceusageV1beta1::GoogleApiServiceusageV2betaAnalysis::Representation
1548
+
1549
+ end
1550
+ end
1551
+
1552
+ class GoogleApiServiceusageV2betaConsumerPolicy
1553
+ # @private
1554
+ class Representation < Google::Apis::Core::JsonRepresentation
1555
+ hash :annotations, as: 'annotations'
1556
+ property :create_time, as: 'createTime'
1557
+ collection :enable_rules, as: 'enableRules', class: Google::Apis::ServiceusageV1beta1::GoogleApiServiceusageV2betaEnableRule, decorator: Google::Apis::ServiceusageV1beta1::GoogleApiServiceusageV2betaEnableRule::Representation
1558
+
1559
+ property :etag, as: 'etag'
1560
+ property :name, as: 'name'
1561
+ property :update_time, as: 'updateTime'
1562
+ end
1563
+ end
1564
+
1565
+ class GoogleApiServiceusageV2betaEnableRule
1566
+ # @private
1567
+ class Representation < Google::Apis::Core::JsonRepresentation
1568
+ collection :services, as: 'services'
1569
+ end
1570
+ end
1571
+
1572
+ class GoogleApiServiceusageV2betaImpact
1573
+ # @private
1574
+ class Representation < Google::Apis::Core::JsonRepresentation
1575
+ property :detail, as: 'detail'
1576
+ property :impact_type, as: 'impactType'
1577
+ end
1578
+ end
1579
+
1580
+ class GoogleApiServiceusageV2betaUpdateConsumerPolicyMetadata
1581
+ # @private
1582
+ class Representation < Google::Apis::Core::JsonRepresentation
1583
+ end
1584
+ end
1585
+
1380
1586
  class Http
1381
1587
  # @private
1382
1588
  class Representation < Google::Apis::Core::JsonRepresentation
@@ -1404,6 +1610,14 @@ module Google
1404
1610
  end
1405
1611
  end
1406
1612
 
1613
+ class Impact
1614
+ # @private
1615
+ class Representation < Google::Apis::Core::JsonRepresentation
1616
+ property :detail, as: 'detail'
1617
+ property :impact_type, as: 'impactType'
1618
+ end
1619
+ end
1620
+
1407
1621
  class ImportAdminOverridesMetadata
1408
1622
  # @private
1409
1623
  class Representation < Google::Apis::Core::JsonRepresentation
@@ -1637,6 +1851,7 @@ module Google
1637
1851
  property :ingest_delay, as: 'ingestDelay'
1638
1852
  property :launch_stage, as: 'launchStage'
1639
1853
  property :sample_period, as: 'samplePeriod'
1854
+ collection :time_series_resource_hierarchy_level, as: 'timeSeriesResourceHierarchyLevel'
1640
1855
  end
1641
1856
  end
1642
1857
 
@@ -1791,6 +2006,8 @@ module Google
1791
2006
  class Representation < Google::Apis::Core::JsonRepresentation
1792
2007
  property :common, as: 'common', class: Google::Apis::ServiceusageV1beta1::CommonLanguageSettings, decorator: Google::Apis::ServiceusageV1beta1::CommonLanguageSettings::Representation
1793
2008
 
2009
+ property :experimental_features, as: 'experimentalFeatures', class: Google::Apis::ServiceusageV1beta1::ExperimentalFeatures, decorator: Google::Apis::ServiceusageV1beta1::ExperimentalFeatures::Representation
2010
+
1794
2011
  end
1795
2012
  end
1796
2013
 
@@ -1880,6 +2097,13 @@ module Google
1880
2097
  end
1881
2098
  end
1882
2099
 
2100
+ class SelectiveGapicGeneration
2101
+ # @private
2102
+ class Representation < Google::Apis::Core::JsonRepresentation
2103
+ collection :methods_prop, as: 'methods'
2104
+ end
2105
+ end
2106
+
1883
2107
  class Service
1884
2108
  # @private
1885
2109
  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.59.0
4
+ version: 0.61.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-12-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_v1beta1/CHANGELOG.md
61
- documentation_uri: https://googleapis.dev/ruby/google-apis-serviceusage_v1beta1/v0.59.0
61
+ documentation_uri: https://googleapis.dev/ruby/google-apis-serviceusage_v1beta1/v0.61.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.23
79
79
  signing_key:
80
80
  specification_version: 4
81
81
  summary: Simple REST client for Service Usage API V1beta1