google-apis-serviceusage_v1 0.77.0 → 0.78.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: f982ff09fc8b26e32c26b8ae38e046bf02f24e1ee6f8c2a4a7de719d332fcecf
4
- data.tar.gz: c4fc38d96a346ad0edd47dced7bf69a983434d6ae131716bc8240d15a5eb27d1
3
+ metadata.gz: d0670bbfb32078f23e17cad16dbb950f07f992142f9c3882af53d3367e8f18f9
4
+ data.tar.gz: d1090846eaa3749e9a16eb54db5717f4bb886b2ab2d5da104bbc30ef6daaaf07
5
5
  SHA512:
6
- metadata.gz: 6969de84110f4373770a3ccea81a8129417d913c976f6491ba7a24daea5ae39aa65561fe4e9a44c7ef5fa4997f4ad2e40267dbdc00d0351e547ae23916852619
7
- data.tar.gz: 13789bb1854e3ee58a972a1195cdffef3cead7fcd9b300fb10827fc797d0c3183edef8a9cba32f7404ad39103245cc82ce81d48981b09a5a78720b03d443171d
6
+ metadata.gz: b6f7aca5f9dd6ff896751da708841f6d89fe0795d2d5847abe5df74734c9194ad74d8967ff845cfb6f248814c1e9434b42439fb9daa6c208a04dcd8ba446514d
7
+ data.tar.gz: 1470352f67bd878c8c3b830589a7b65ad6d22a88910058710bda5bc73b429e88dc5cb7ccea0ddc7222ea6298e8c7f73c1b59cb7b4e9b2b3d8ff21db16e781cc1
data/CHANGELOG.md CHANGED
@@ -1,5 +1,9 @@
1
1
  # Release history for google-apis-serviceusage_v1
2
2
 
3
+ ### v0.78.0 (2026-07-19)
4
+
5
+ * Regenerated from discovery document revision 20260713
6
+
3
7
  ### v0.77.0 (2026-06-14)
4
8
 
5
9
  * Regenerated from discovery document revision 20260423
@@ -132,9 +132,9 @@ module Google
132
132
  include Google::Apis::Core::Hashable
133
133
 
134
134
  # An analysis result including blockers and warnings.
135
- # Corresponds to the JSON property `analysis`
135
+ # Corresponds to the JSON property `analysisResult`
136
136
  # @return [Google::Apis::ServiceusageV1::AnalysisResult]
137
- attr_accessor :analysis
137
+ attr_accessor :analysis_result
138
138
 
139
139
  # Output only. The type of analysis.
140
140
  # Corresponds to the JSON property `analysisType`
@@ -159,7 +159,7 @@ module Google
159
159
 
160
160
  # Update properties of this object
161
161
  def update!(**args)
162
- @analysis = args[:analysis] if args.key?(:analysis)
162
+ @analysis_result = args[:analysis_result] if args.key?(:analysis_result)
163
163
  @analysis_type = args[:analysis_type] if args.key?(:analysis_type)
164
164
  @display_name = args[:display_name] if args.key?(:display_name)
165
165
  @service = args[:service] if args.key?(:service)
@@ -1140,15 +1140,14 @@ module Google
1140
1140
  class ConsumerPolicy
1141
1141
  include Google::Apis::Core::Hashable
1142
1142
 
1143
- # Optional. Annotations is an unstructured key-value map stored with a policy
1144
- # that may be set by external tools to store and retrieve arbitrary metadata.
1145
- # They are not queryable and should be preserved when modifying objects. [AIP-
1146
- # 128](https://google.aip.dev/128#annotations)
1147
- # Corresponds to the JSON property `annotations`
1148
- # @return [Hash<String,String>]
1149
- attr_accessor :annotations
1143
+ # Output only. The time the policy was created. For singleton policies, this is
1144
+ # the first touch of the policy.
1145
+ # Corresponds to the JSON property `createTime`
1146
+ # @return [String]
1147
+ attr_accessor :create_time
1150
1148
 
1151
- # Enable rules define usable services and service groups.
1149
+ # Enable rules define usable services and groups. There can currently be at most
1150
+ # one `EnableRule`. This restriction will be lifted in later releases.
1152
1151
  # Corresponds to the JSON property `enableRules`
1153
1152
  # @return [Array<Google::Apis::ServiceusageV1::EnableRule>]
1154
1153
  attr_accessor :enable_rules
@@ -1159,15 +1158,14 @@ module Google
1159
1158
  # @return [String]
1160
1159
  attr_accessor :etag
1161
1160
 
1162
- # Output only. The resource name of the policy. We only allow consumer policy
1163
- # name as `default` for now: `projects/12345/consumerPolicies/default`, `folders/
1164
- # 12345/consumerPolicies/default`, `organizations/12345/consumerPolicies/default`
1165
- # .
1161
+ # Output only. The resource name of the policy. Only the `default` policy is
1162
+ # supported: `projects/12345/consumerPolicies/default`, `folders/12345/
1163
+ # consumerPolicies/default`, `organizations/12345/consumerPolicies/default`.
1166
1164
  # Corresponds to the JSON property `name`
1167
1165
  # @return [String]
1168
1166
  attr_accessor :name
1169
1167
 
1170
- # The last-modified time.
1168
+ # Output only. The time the policy was last updated.
1171
1169
  # Corresponds to the JSON property `updateTime`
1172
1170
  # @return [String]
1173
1171
  attr_accessor :update_time
@@ -1178,7 +1176,7 @@ module Google
1178
1176
 
1179
1177
  # Update properties of this object
1180
1178
  def update!(**args)
1181
- @annotations = args[:annotations] if args.key?(:annotations)
1179
+ @create_time = args[:create_time] if args.key?(:create_time)
1182
1180
  @enable_rules = args[:enable_rules] if args.key?(:enable_rules)
1183
1181
  @etag = args[:etag] if args.key?(:etag)
1184
1182
  @name = args[:name] if args.key?(:name)
@@ -1793,7 +1791,7 @@ module Google
1793
1791
  end
1794
1792
  end
1795
1793
 
1796
- # The consumer policy rule that defines usable services and service groups.
1794
+ # The consumer policy rule that defines enabled services and groups.
1797
1795
  class EnableRule
1798
1796
  include Google::Apis::Core::Hashable
1799
1797
 
@@ -1802,15 +1800,8 @@ module Google
1802
1800
  # @return [String]
1803
1801
  attr_accessor :enable_type
1804
1802
 
1805
- # DEPRECATED: Please use field `values`. Service group should have prefix `
1806
- # groups/`. The names of the service groups that are enabled (Not Implemented).
1807
- # Example: `groups/googleServices`.
1808
- # Corresponds to the JSON property `groups`
1809
- # @return [Array<String>]
1810
- attr_accessor :groups
1811
-
1812
- # DEPRECATED: Please use field `values`. Service should have prefix `services/`.
1813
- # The names of the services that are enabled. Example: `storage.googleapis.com`.
1803
+ # The names of the services that are enabled. Example: `services/storage.
1804
+ # googleapis.com`.
1814
1805
  # Corresponds to the JSON property `services`
1815
1806
  # @return [Array<String>]
1816
1807
  attr_accessor :services
@@ -1829,7 +1820,6 @@ module Google
1829
1820
  # Update properties of this object
1830
1821
  def update!(**args)
1831
1822
  @enable_type = args[:enable_type] if args.key?(:enable_type)
1832
- @groups = args[:groups] if args.key?(:groups)
1833
1823
  @services = args[:services] if args.key?(:services)
1834
1824
  @values = args[:values] if args.key?(:values)
1835
1825
  end
@@ -2851,6 +2841,106 @@ module Google
2851
2841
  end
2852
2842
  end
2853
2843
 
2844
+ # A message to group the analysis information.
2845
+ class GoogleApiServiceusageV2alphaAnalysis
2846
+ include Google::Apis::Core::Hashable
2847
+
2848
+ # An analysis result including blockers and warnings.
2849
+ # Corresponds to the JSON property `analysisResult`
2850
+ # @return [Google::Apis::ServiceusageV1::GoogleApiServiceusageV2alphaAnalysisResult]
2851
+ attr_accessor :analysis_result
2852
+
2853
+ # Output only. The type of analysis.
2854
+ # Corresponds to the JSON property `analysisType`
2855
+ # @return [String]
2856
+ attr_accessor :analysis_type
2857
+
2858
+ # Output only. The user friendly display name of the analysis type. E.g. service
2859
+ # dependency analysis, service resource usage analysis, etc.
2860
+ # Corresponds to the JSON property `displayName`
2861
+ # @return [String]
2862
+ attr_accessor :display_name
2863
+
2864
+ # The names of the service that has analysis result of warnings or blockers.
2865
+ # Example: `services/storage.googleapis.com`.
2866
+ # Corresponds to the JSON property `service`
2867
+ # @return [String]
2868
+ attr_accessor :service
2869
+
2870
+ def initialize(**args)
2871
+ update!(**args)
2872
+ end
2873
+
2874
+ # Update properties of this object
2875
+ def update!(**args)
2876
+ @analysis_result = args[:analysis_result] if args.key?(:analysis_result)
2877
+ @analysis_type = args[:analysis_type] if args.key?(:analysis_type)
2878
+ @display_name = args[:display_name] if args.key?(:display_name)
2879
+ @service = args[:service] if args.key?(:service)
2880
+ end
2881
+ end
2882
+
2883
+ # An analysis result including blockers and warnings.
2884
+ class GoogleApiServiceusageV2alphaAnalysisResult
2885
+ include Google::Apis::Core::Hashable
2886
+
2887
+ # Blocking information that would prevent the policy changes at runtime.
2888
+ # Corresponds to the JSON property `blockers`
2889
+ # @return [Array<Google::Apis::ServiceusageV1::GoogleApiServiceusageV2alphaImpact>]
2890
+ attr_accessor :blockers
2891
+
2892
+ # Warning information indicating that the policy changes might be unsafe, but
2893
+ # will not block the changes at runtime.
2894
+ # Corresponds to the JSON property `warnings`
2895
+ # @return [Array<Google::Apis::ServiceusageV1::GoogleApiServiceusageV2alphaImpact>]
2896
+ attr_accessor :warnings
2897
+
2898
+ def initialize(**args)
2899
+ update!(**args)
2900
+ end
2901
+
2902
+ # Update properties of this object
2903
+ def update!(**args)
2904
+ @blockers = args[:blockers] if args.key?(:blockers)
2905
+ @warnings = args[:warnings] if args.key?(:warnings)
2906
+ end
2907
+ end
2908
+
2909
+ # Metadata for the `AnalyzeConsumerPolicy` method.
2910
+ class GoogleApiServiceusageV2alphaAnalyzeConsumerPolicyMetadata
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
+
2922
+ # The response of analyzing a consumer policy update.
2923
+ class GoogleApiServiceusageV2alphaAnalyzeConsumerPolicyResponse
2924
+ include Google::Apis::Core::Hashable
2925
+
2926
+ # The list of analyses returned from performing the intended policy update
2927
+ # analysis. The analysis is grouped by service name and different analysis types.
2928
+ # The empty analysis list means that the consumer policy can be updated without
2929
+ # any warnings or blockers.
2930
+ # Corresponds to the JSON property `analysis`
2931
+ # @return [Array<Google::Apis::ServiceusageV1::GoogleApiServiceusageV2alphaAnalysis>]
2932
+ attr_accessor :analysis
2933
+
2934
+ def initialize(**args)
2935
+ update!(**args)
2936
+ end
2937
+
2938
+ # Update properties of this object
2939
+ def update!(**args)
2940
+ @analysis = args[:analysis] if args.key?(:analysis)
2941
+ end
2942
+ end
2943
+
2854
2944
  # Consumer Policy is a set of rules that define what services or service groups
2855
2945
  # can be used for a cloud resource hierarchy.
2856
2946
  class GoogleApiServiceusageV2alphaConsumerPolicy
@@ -2930,6 +3020,44 @@ module Google
2930
3020
  end
2931
3021
  end
2932
3022
 
3023
+ # A message to group impacts of updating a policy.
3024
+ class GoogleApiServiceusageV2alphaImpact
3025
+ include Google::Apis::Core::Hashable
3026
+
3027
+ # Output only. User friendly impact detail in a free form message.
3028
+ # Corresponds to the JSON property `detail`
3029
+ # @return [String]
3030
+ attr_accessor :detail
3031
+
3032
+ # Output only. The type of impact.
3033
+ # Corresponds to the JSON property `impactType`
3034
+ # @return [String]
3035
+ attr_accessor :impact_type
3036
+
3037
+ # The parent resource that the analysis is based on and the service name that
3038
+ # the analysis is for. Example: `projects/100/services/compute.googleapis.com`,
3039
+ # folders/101/services/compute.googleapis.com` and `organizations/102/services/
3040
+ # compute.googleapis.com`. Usually, the parent resource here is same as the
3041
+ # parent resource of the analyzed policy. However, for some analysis types, the
3042
+ # parent can be different. For example, for resource existence analysis, if the
3043
+ # parent resource of the analyzed policy is a folder or an organization, the
3044
+ # parent resource here can still be the project that contains the resources.
3045
+ # Corresponds to the JSON property `parent`
3046
+ # @return [String]
3047
+ attr_accessor :parent
3048
+
3049
+ def initialize(**args)
3050
+ update!(**args)
3051
+ end
3052
+
3053
+ # Update properties of this object
3054
+ def update!(**args)
3055
+ @detail = args[:detail] if args.key?(:detail)
3056
+ @impact_type = args[:impact_type] if args.key?(:impact_type)
3057
+ @parent = args[:parent] if args.key?(:parent)
3058
+ end
3059
+ end
3060
+
2933
3061
  # Metadata for the `UpdateConsumerPolicy` method.
2934
3062
  class GoogleApiServiceusageV2alphaUpdateConsumerPolicyMetadata
2935
3063
  include Google::Apis::Core::Hashable
@@ -3516,17 +3644,13 @@ module Google
3516
3644
  # @return [String]
3517
3645
  attr_accessor :impact_type
3518
3646
 
3519
- # The parent resource that the analysis is based on and the service name that
3520
- # the analysis is for. Example: `projects/100/services/compute.googleapis.com`,
3521
- # folders/101/services/compute.googleapis.com` and `organizations/102/services/
3522
- # compute.googleapis.com`. Usually, the parent resource here is same as the
3523
- # parent resource of the analyzed policy. However, for some analysis types, the
3524
- # parent can be different. For example, for resource existence analysis, if the
3525
- # parent resource of the analyzed policy is a folder or an organization, the
3526
- # parent resource here can still be the project that contains the resources.
3527
- # Corresponds to the JSON property `parent`
3647
+ # Output only. This field will be populated only for the `
3648
+ # DEPENDENCY_MISSING_DEPENDENCIES` impact type. Example: `services/compute.
3649
+ # googleapis.com`. Impact.detail will be in format : `missing service dependency:
3650
+ # `missing_dependency`.`
3651
+ # Corresponds to the JSON property `missingDependency`
3528
3652
  # @return [String]
3529
- attr_accessor :parent
3653
+ attr_accessor :missing_dependency
3530
3654
 
3531
3655
  def initialize(**args)
3532
3656
  update!(**args)
@@ -3536,7 +3660,7 @@ module Google
3536
3660
  def update!(**args)
3537
3661
  @detail = args[:detail] if args.key?(:detail)
3538
3662
  @impact_type = args[:impact_type] if args.key?(:impact_type)
3539
- @parent = args[:parent] if args.key?(:parent)
3663
+ @missing_dependency = args[:missing_dependency] if args.key?(:missing_dependency)
3540
3664
  end
3541
3665
  end
3542
3666
 
@@ -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.77.0"
19
+ GEM_VERSION = "0.78.0"
20
20
 
21
21
  # Version of the code generator used to generate this client
22
22
  GENERATOR_VERSION = "0.19.0"
23
23
 
24
24
  # Revision of the discovery document this client was generated from
25
- REVISION = "20260423"
25
+ REVISION = "20260713"
26
26
  end
27
27
  end
28
28
  end
@@ -424,6 +424,30 @@ module Google
424
424
  include Google::Apis::Core::JsonObjectSupport
425
425
  end
426
426
 
427
+ class GoogleApiServiceusageV2alphaAnalysis
428
+ class Representation < Google::Apis::Core::JsonRepresentation; end
429
+
430
+ include Google::Apis::Core::JsonObjectSupport
431
+ end
432
+
433
+ class GoogleApiServiceusageV2alphaAnalysisResult
434
+ class Representation < Google::Apis::Core::JsonRepresentation; end
435
+
436
+ include Google::Apis::Core::JsonObjectSupport
437
+ end
438
+
439
+ class GoogleApiServiceusageV2alphaAnalyzeConsumerPolicyMetadata
440
+ class Representation < Google::Apis::Core::JsonRepresentation; end
441
+
442
+ include Google::Apis::Core::JsonObjectSupport
443
+ end
444
+
445
+ class GoogleApiServiceusageV2alphaAnalyzeConsumerPolicyResponse
446
+ class Representation < Google::Apis::Core::JsonRepresentation; end
447
+
448
+ include Google::Apis::Core::JsonObjectSupport
449
+ end
450
+
427
451
  class GoogleApiServiceusageV2alphaConsumerPolicy
428
452
  class Representation < Google::Apis::Core::JsonRepresentation; end
429
453
 
@@ -436,6 +460,12 @@ module Google
436
460
  include Google::Apis::Core::JsonObjectSupport
437
461
  end
438
462
 
463
+ class GoogleApiServiceusageV2alphaImpact
464
+ class Representation < Google::Apis::Core::JsonRepresentation; end
465
+
466
+ include Google::Apis::Core::JsonObjectSupport
467
+ end
468
+
439
469
  class GoogleApiServiceusageV2alphaUpdateConsumerPolicyMetadata
440
470
  class Representation < Google::Apis::Core::JsonRepresentation; end
441
471
 
@@ -885,7 +915,7 @@ module Google
885
915
  class Analysis
886
916
  # @private
887
917
  class Representation < Google::Apis::Core::JsonRepresentation
888
- property :analysis, as: 'analysis', class: Google::Apis::ServiceusageV1::AnalysisResult, decorator: Google::Apis::ServiceusageV1::AnalysisResult::Representation
918
+ property :analysis_result, as: 'analysisResult', class: Google::Apis::ServiceusageV1::AnalysisResult, decorator: Google::Apis::ServiceusageV1::AnalysisResult::Representation
889
919
 
890
920
  property :analysis_type, as: 'analysisType'
891
921
  property :display_name, as: 'displayName'
@@ -1156,7 +1186,7 @@ module Google
1156
1186
  class ConsumerPolicy
1157
1187
  # @private
1158
1188
  class Representation < Google::Apis::Core::JsonRepresentation
1159
- hash :annotations, as: 'annotations'
1189
+ property :create_time, as: 'createTime'
1160
1190
  collection :enable_rules, as: 'enableRules', class: Google::Apis::ServiceusageV1::EnableRule, decorator: Google::Apis::ServiceusageV1::EnableRule::Representation
1161
1191
 
1162
1192
  property :etag, as: 'etag'
@@ -1336,7 +1366,6 @@ module Google
1336
1366
  # @private
1337
1367
  class Representation < Google::Apis::Core::JsonRepresentation
1338
1368
  property :enable_type, as: 'enableType'
1339
- collection :groups, as: 'groups'
1340
1369
  collection :services, as: 'services'
1341
1370
  collection :values, as: 'values'
1342
1371
  end
@@ -1568,6 +1597,41 @@ module Google
1568
1597
  end
1569
1598
  end
1570
1599
 
1600
+ class GoogleApiServiceusageV2alphaAnalysis
1601
+ # @private
1602
+ class Representation < Google::Apis::Core::JsonRepresentation
1603
+ property :analysis_result, as: 'analysisResult', class: Google::Apis::ServiceusageV1::GoogleApiServiceusageV2alphaAnalysisResult, decorator: Google::Apis::ServiceusageV1::GoogleApiServiceusageV2alphaAnalysisResult::Representation
1604
+
1605
+ property :analysis_type, as: 'analysisType'
1606
+ property :display_name, as: 'displayName'
1607
+ property :service, as: 'service'
1608
+ end
1609
+ end
1610
+
1611
+ class GoogleApiServiceusageV2alphaAnalysisResult
1612
+ # @private
1613
+ class Representation < Google::Apis::Core::JsonRepresentation
1614
+ collection :blockers, as: 'blockers', class: Google::Apis::ServiceusageV1::GoogleApiServiceusageV2alphaImpact, decorator: Google::Apis::ServiceusageV1::GoogleApiServiceusageV2alphaImpact::Representation
1615
+
1616
+ collection :warnings, as: 'warnings', class: Google::Apis::ServiceusageV1::GoogleApiServiceusageV2alphaImpact, decorator: Google::Apis::ServiceusageV1::GoogleApiServiceusageV2alphaImpact::Representation
1617
+
1618
+ end
1619
+ end
1620
+
1621
+ class GoogleApiServiceusageV2alphaAnalyzeConsumerPolicyMetadata
1622
+ # @private
1623
+ class Representation < Google::Apis::Core::JsonRepresentation
1624
+ end
1625
+ end
1626
+
1627
+ class GoogleApiServiceusageV2alphaAnalyzeConsumerPolicyResponse
1628
+ # @private
1629
+ class Representation < Google::Apis::Core::JsonRepresentation
1630
+ collection :analysis, as: 'analysis', class: Google::Apis::ServiceusageV1::GoogleApiServiceusageV2alphaAnalysis, decorator: Google::Apis::ServiceusageV1::GoogleApiServiceusageV2alphaAnalysis::Representation
1631
+
1632
+ end
1633
+ end
1634
+
1571
1635
  class GoogleApiServiceusageV2alphaConsumerPolicy
1572
1636
  # @private
1573
1637
  class Representation < Google::Apis::Core::JsonRepresentation
@@ -1588,6 +1652,15 @@ module Google
1588
1652
  end
1589
1653
  end
1590
1654
 
1655
+ class GoogleApiServiceusageV2alphaImpact
1656
+ # @private
1657
+ class Representation < Google::Apis::Core::JsonRepresentation
1658
+ property :detail, as: 'detail'
1659
+ property :impact_type, as: 'impactType'
1660
+ property :parent, as: 'parent'
1661
+ end
1662
+ end
1663
+
1591
1664
  class GoogleApiServiceusageV2alphaUpdateConsumerPolicyMetadata
1592
1665
  # @private
1593
1666
  class Representation < Google::Apis::Core::JsonRepresentation
@@ -1728,7 +1801,7 @@ module Google
1728
1801
  class Representation < Google::Apis::Core::JsonRepresentation
1729
1802
  property :detail, as: 'detail'
1730
1803
  property :impact_type, as: 'impactType'
1731
- property :parent, as: 'parent'
1804
+ property :missing_dependency, as: 'missingDependency'
1732
1805
  end
1733
1806
  end
1734
1807
 
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: google-apis-serviceusage_v1
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.77.0
4
+ version: 0.78.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - Google LLC
@@ -57,7 +57,7 @@ licenses:
57
57
  metadata:
58
58
  bug_tracker_uri: https://github.com/googleapis/google-api-ruby-client/issues
59
59
  changelog_uri: https://github.com/googleapis/google-api-ruby-client/tree/main/generated/google-apis-serviceusage_v1/CHANGELOG.md
60
- documentation_uri: https://googleapis.dev/ruby/google-apis-serviceusage_v1/v0.77.0
60
+ documentation_uri: https://googleapis.dev/ruby/google-apis-serviceusage_v1/v0.78.0
61
61
  source_code_uri: https://github.com/googleapis/google-api-ruby-client/tree/main/generated/google-apis-serviceusage_v1
62
62
  rdoc_options: []
63
63
  require_paths: