google-apis-serviceusage_v1beta1 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: 50b9a0ac771063d085ab5e1ae2d4b3ee96a2e88bf6a8ac59ae0840954eda10e2
4
- data.tar.gz: da7948aa7cc8ea39401f360cc41a6dc95ab93d4c334d8233cedd5062a27010c5
3
+ metadata.gz: 5ca5fe44247f31d006ae75c15d12e78f00c23edfa8bbf1a11efa120e7b012c43
4
+ data.tar.gz: 890bdcb5ce8d774ef858e4138d007b8650f65e7cedd150587442318d5058ba07
5
5
  SHA512:
6
- metadata.gz: 44a32e8df200922607e3e5fa4182ea09ee987290a7beff8fe7f9cf68aec8f3873c598a73a131a536533582d5462231dca7890298ce268a61a2577864c194ccaa
7
- data.tar.gz: d65a126d7f99f732a591f855c6634e5ea696dfcffa3fb1cd4179a599eb5eed00258f04c1ba57800e323dd333a279f397ac3591fb4c695bef7407e1154bfc0c9f
6
+ metadata.gz: 1ff200589f296f282216842aca1a84244ceae9df01ee3b2940ce92c0a51bc70d42871e7fdf23b4bdf054d97024338a4116f0552fc915492ae22dcc6d040588fe
7
+ data.tar.gz: fcf1cf457c42698a51babf147ec5759ee031a538dc42925502ebcdfb38f94097e9afa97df5adf88b3eccb8bfb2c2de3490de6d6e3e1b75ab91e731a98989e4d0
data/CHANGELOG.md CHANGED
@@ -1,5 +1,9 @@
1
1
  # Release history for google-apis-serviceusage_v1beta1
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::ServiceusageV1beta1::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)
@@ -1110,15 +1110,14 @@ module Google
1110
1110
  class ConsumerPolicy
1111
1111
  include Google::Apis::Core::Hashable
1112
1112
 
1113
- # Optional. Annotations is an unstructured key-value map stored with a policy
1114
- # that may be set by external tools to store and retrieve arbitrary metadata.
1115
- # They are not queryable and should be preserved when modifying objects. [AIP-
1116
- # 128](https://google.aip.dev/128#annotations)
1117
- # Corresponds to the JSON property `annotations`
1118
- # @return [Hash<String,String>]
1119
- attr_accessor :annotations
1113
+ # Output only. The time the policy was created. For singleton policies, this is
1114
+ # the first touch of the policy.
1115
+ # Corresponds to the JSON property `createTime`
1116
+ # @return [String]
1117
+ attr_accessor :create_time
1120
1118
 
1121
- # Enable rules define usable services and service groups.
1119
+ # Enable rules define usable services and groups. There can currently be at most
1120
+ # one `EnableRule`. This restriction will be lifted in later releases.
1122
1121
  # Corresponds to the JSON property `enableRules`
1123
1122
  # @return [Array<Google::Apis::ServiceusageV1beta1::EnableRule>]
1124
1123
  attr_accessor :enable_rules
@@ -1129,15 +1128,14 @@ module Google
1129
1128
  # @return [String]
1130
1129
  attr_accessor :etag
1131
1130
 
1132
- # Output only. The resource name of the policy. We only allow consumer policy
1133
- # name as `default` for now: `projects/12345/consumerPolicies/default`, `folders/
1134
- # 12345/consumerPolicies/default`, `organizations/12345/consumerPolicies/default`
1135
- # .
1131
+ # Output only. The resource name of the policy. Only the `default` policy is
1132
+ # supported: `projects/12345/consumerPolicies/default`, `folders/12345/
1133
+ # consumerPolicies/default`, `organizations/12345/consumerPolicies/default`.
1136
1134
  # Corresponds to the JSON property `name`
1137
1135
  # @return [String]
1138
1136
  attr_accessor :name
1139
1137
 
1140
- # The last-modified time.
1138
+ # Output only. The time the policy was last updated.
1141
1139
  # Corresponds to the JSON property `updateTime`
1142
1140
  # @return [String]
1143
1141
  attr_accessor :update_time
@@ -1148,7 +1146,7 @@ module Google
1148
1146
 
1149
1147
  # Update properties of this object
1150
1148
  def update!(**args)
1151
- @annotations = args[:annotations] if args.key?(:annotations)
1149
+ @create_time = args[:create_time] if args.key?(:create_time)
1152
1150
  @enable_rules = args[:enable_rules] if args.key?(:enable_rules)
1153
1151
  @etag = args[:etag] if args.key?(:etag)
1154
1152
  @name = args[:name] if args.key?(:name)
@@ -1871,7 +1869,7 @@ module Google
1871
1869
  end
1872
1870
  end
1873
1871
 
1874
- # The consumer policy rule that defines usable services and service groups.
1872
+ # The consumer policy rule that defines enabled services and groups.
1875
1873
  class EnableRule
1876
1874
  include Google::Apis::Core::Hashable
1877
1875
 
@@ -1880,15 +1878,8 @@ module Google
1880
1878
  # @return [String]
1881
1879
  attr_accessor :enable_type
1882
1880
 
1883
- # DEPRECATED: Please use field `values`. Service group should have prefix `
1884
- # groups/`. The names of the service groups that are enabled (Not Implemented).
1885
- # Example: `groups/googleServices`.
1886
- # Corresponds to the JSON property `groups`
1887
- # @return [Array<String>]
1888
- attr_accessor :groups
1889
-
1890
- # DEPRECATED: Please use field `values`. Service should have prefix `services/`.
1891
- # The names of the services that are enabled. Example: `storage.googleapis.com`.
1881
+ # The names of the services that are enabled. Example: `services/storage.
1882
+ # googleapis.com`.
1892
1883
  # Corresponds to the JSON property `services`
1893
1884
  # @return [Array<String>]
1894
1885
  attr_accessor :services
@@ -1907,7 +1898,6 @@ module Google
1907
1898
  # Update properties of this object
1908
1899
  def update!(**args)
1909
1900
  @enable_type = args[:enable_type] if args.key?(:enable_type)
1910
- @groups = args[:groups] if args.key?(:groups)
1911
1901
  @services = args[:services] if args.key?(:services)
1912
1902
  @values = args[:values] if args.key?(:values)
1913
1903
  end
@@ -2929,6 +2919,106 @@ module Google
2929
2919
  end
2930
2920
  end
2931
2921
 
2922
+ # A message to group the analysis information.
2923
+ class GoogleApiServiceusageV2alphaAnalysis
2924
+ include Google::Apis::Core::Hashable
2925
+
2926
+ # An analysis result including blockers and warnings.
2927
+ # Corresponds to the JSON property `analysisResult`
2928
+ # @return [Google::Apis::ServiceusageV1beta1::GoogleApiServiceusageV2alphaAnalysisResult]
2929
+ attr_accessor :analysis_result
2930
+
2931
+ # Output only. The type of analysis.
2932
+ # Corresponds to the JSON property `analysisType`
2933
+ # @return [String]
2934
+ attr_accessor :analysis_type
2935
+
2936
+ # Output only. The user friendly display name of the analysis type. E.g. service
2937
+ # dependency analysis, service resource usage analysis, etc.
2938
+ # Corresponds to the JSON property `displayName`
2939
+ # @return [String]
2940
+ attr_accessor :display_name
2941
+
2942
+ # The names of the service that has analysis result of warnings or blockers.
2943
+ # Example: `services/storage.googleapis.com`.
2944
+ # Corresponds to the JSON property `service`
2945
+ # @return [String]
2946
+ attr_accessor :service
2947
+
2948
+ def initialize(**args)
2949
+ update!(**args)
2950
+ end
2951
+
2952
+ # Update properties of this object
2953
+ def update!(**args)
2954
+ @analysis_result = args[:analysis_result] if args.key?(:analysis_result)
2955
+ @analysis_type = args[:analysis_type] if args.key?(:analysis_type)
2956
+ @display_name = args[:display_name] if args.key?(:display_name)
2957
+ @service = args[:service] if args.key?(:service)
2958
+ end
2959
+ end
2960
+
2961
+ # An analysis result including blockers and warnings.
2962
+ class GoogleApiServiceusageV2alphaAnalysisResult
2963
+ include Google::Apis::Core::Hashable
2964
+
2965
+ # Blocking information that would prevent the policy changes at runtime.
2966
+ # Corresponds to the JSON property `blockers`
2967
+ # @return [Array<Google::Apis::ServiceusageV1beta1::GoogleApiServiceusageV2alphaImpact>]
2968
+ attr_accessor :blockers
2969
+
2970
+ # Warning information indicating that the policy changes might be unsafe, but
2971
+ # will not block the changes at runtime.
2972
+ # Corresponds to the JSON property `warnings`
2973
+ # @return [Array<Google::Apis::ServiceusageV1beta1::GoogleApiServiceusageV2alphaImpact>]
2974
+ attr_accessor :warnings
2975
+
2976
+ def initialize(**args)
2977
+ update!(**args)
2978
+ end
2979
+
2980
+ # Update properties of this object
2981
+ def update!(**args)
2982
+ @blockers = args[:blockers] if args.key?(:blockers)
2983
+ @warnings = args[:warnings] if args.key?(:warnings)
2984
+ end
2985
+ end
2986
+
2987
+ # Metadata for the `AnalyzeConsumerPolicy` method.
2988
+ class GoogleApiServiceusageV2alphaAnalyzeConsumerPolicyMetadata
2989
+ include Google::Apis::Core::Hashable
2990
+
2991
+ def initialize(**args)
2992
+ update!(**args)
2993
+ end
2994
+
2995
+ # Update properties of this object
2996
+ def update!(**args)
2997
+ end
2998
+ end
2999
+
3000
+ # The response of analyzing a consumer policy update.
3001
+ class GoogleApiServiceusageV2alphaAnalyzeConsumerPolicyResponse
3002
+ include Google::Apis::Core::Hashable
3003
+
3004
+ # The list of analyses returned from performing the intended policy update
3005
+ # analysis. The analysis is grouped by service name and different analysis types.
3006
+ # The empty analysis list means that the consumer policy can be updated without
3007
+ # any warnings or blockers.
3008
+ # Corresponds to the JSON property `analysis`
3009
+ # @return [Array<Google::Apis::ServiceusageV1beta1::GoogleApiServiceusageV2alphaAnalysis>]
3010
+ attr_accessor :analysis
3011
+
3012
+ def initialize(**args)
3013
+ update!(**args)
3014
+ end
3015
+
3016
+ # Update properties of this object
3017
+ def update!(**args)
3018
+ @analysis = args[:analysis] if args.key?(:analysis)
3019
+ end
3020
+ end
3021
+
2932
3022
  # Consumer Policy is a set of rules that define what services or service groups
2933
3023
  # can be used for a cloud resource hierarchy.
2934
3024
  class GoogleApiServiceusageV2alphaConsumerPolicy
@@ -3008,6 +3098,44 @@ module Google
3008
3098
  end
3009
3099
  end
3010
3100
 
3101
+ # A message to group impacts of updating a policy.
3102
+ class GoogleApiServiceusageV2alphaImpact
3103
+ include Google::Apis::Core::Hashable
3104
+
3105
+ # Output only. User friendly impact detail in a free form message.
3106
+ # Corresponds to the JSON property `detail`
3107
+ # @return [String]
3108
+ attr_accessor :detail
3109
+
3110
+ # Output only. The type of impact.
3111
+ # Corresponds to the JSON property `impactType`
3112
+ # @return [String]
3113
+ attr_accessor :impact_type
3114
+
3115
+ # The parent resource that the analysis is based on and the service name that
3116
+ # the analysis is for. Example: `projects/100/services/compute.googleapis.com`,
3117
+ # folders/101/services/compute.googleapis.com` and `organizations/102/services/
3118
+ # compute.googleapis.com`. Usually, the parent resource here is same as the
3119
+ # parent resource of the analyzed policy. However, for some analysis types, the
3120
+ # parent can be different. For example, for resource existence analysis, if the
3121
+ # parent resource of the analyzed policy is a folder or an organization, the
3122
+ # parent resource here can still be the project that contains the resources.
3123
+ # Corresponds to the JSON property `parent`
3124
+ # @return [String]
3125
+ attr_accessor :parent
3126
+
3127
+ def initialize(**args)
3128
+ update!(**args)
3129
+ end
3130
+
3131
+ # Update properties of this object
3132
+ def update!(**args)
3133
+ @detail = args[:detail] if args.key?(:detail)
3134
+ @impact_type = args[:impact_type] if args.key?(:impact_type)
3135
+ @parent = args[:parent] if args.key?(:parent)
3136
+ end
3137
+ end
3138
+
3011
3139
  # Metadata for the `UpdateConsumerPolicy` method.
3012
3140
  class GoogleApiServiceusageV2alphaUpdateConsumerPolicyMetadata
3013
3141
  include Google::Apis::Core::Hashable
@@ -3594,17 +3722,13 @@ module Google
3594
3722
  # @return [String]
3595
3723
  attr_accessor :impact_type
3596
3724
 
3597
- # The parent resource that the analysis is based on and the service name that
3598
- # the analysis is for. Example: `projects/100/services/compute.googleapis.com`,
3599
- # folders/101/services/compute.googleapis.com` and `organizations/102/services/
3600
- # compute.googleapis.com`. Usually, the parent resource here is same as the
3601
- # parent resource of the analyzed policy. However, for some analysis types, the
3602
- # parent can be different. For example, for resource existence analysis, if the
3603
- # parent resource of the analyzed policy is a folder or an organization, the
3604
- # parent resource here can still be the project that contains the resources.
3605
- # Corresponds to the JSON property `parent`
3725
+ # Output only. This field will be populated only for the `
3726
+ # DEPENDENCY_MISSING_DEPENDENCIES` impact type. Example: `services/compute.
3727
+ # googleapis.com`. Impact.detail will be in format : `missing service dependency:
3728
+ # `missing_dependency`.`
3729
+ # Corresponds to the JSON property `missingDependency`
3606
3730
  # @return [String]
3607
- attr_accessor :parent
3731
+ attr_accessor :missing_dependency
3608
3732
 
3609
3733
  def initialize(**args)
3610
3734
  update!(**args)
@@ -3614,7 +3738,7 @@ module Google
3614
3738
  def update!(**args)
3615
3739
  @detail = args[:detail] if args.key?(:detail)
3616
3740
  @impact_type = args[:impact_type] if args.key?(:impact_type)
3617
- @parent = args[:parent] if args.key?(:parent)
3741
+ @missing_dependency = args[:missing_dependency] if args.key?(:missing_dependency)
3618
3742
  end
3619
3743
  end
3620
3744
 
@@ -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.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
 
@@ -951,7 +981,7 @@ module Google
951
981
  class Analysis
952
982
  # @private
953
983
  class Representation < Google::Apis::Core::JsonRepresentation
954
- property :analysis, as: 'analysis', class: Google::Apis::ServiceusageV1beta1::AnalysisResult, decorator: Google::Apis::ServiceusageV1beta1::AnalysisResult::Representation
984
+ property :analysis_result, as: 'analysisResult', class: Google::Apis::ServiceusageV1beta1::AnalysisResult, decorator: Google::Apis::ServiceusageV1beta1::AnalysisResult::Representation
955
985
 
956
986
  property :analysis_type, as: 'analysisType'
957
987
  property :display_name, as: 'displayName'
@@ -1208,7 +1238,7 @@ module Google
1208
1238
  class ConsumerPolicy
1209
1239
  # @private
1210
1240
  class Representation < Google::Apis::Core::JsonRepresentation
1211
- hash :annotations, as: 'annotations'
1241
+ property :create_time, as: 'createTime'
1212
1242
  collection :enable_rules, as: 'enableRules', class: Google::Apis::ServiceusageV1beta1::EnableRule, decorator: Google::Apis::ServiceusageV1beta1::EnableRule::Representation
1213
1243
 
1214
1244
  property :etag, as: 'etag'
@@ -1414,7 +1444,6 @@ module Google
1414
1444
  # @private
1415
1445
  class Representation < Google::Apis::Core::JsonRepresentation
1416
1446
  property :enable_type, as: 'enableType'
1417
- collection :groups, as: 'groups'
1418
1447
  collection :services, as: 'services'
1419
1448
  collection :values, as: 'values'
1420
1449
  end
@@ -1646,6 +1675,41 @@ module Google
1646
1675
  end
1647
1676
  end
1648
1677
 
1678
+ class GoogleApiServiceusageV2alphaAnalysis
1679
+ # @private
1680
+ class Representation < Google::Apis::Core::JsonRepresentation
1681
+ property :analysis_result, as: 'analysisResult', class: Google::Apis::ServiceusageV1beta1::GoogleApiServiceusageV2alphaAnalysisResult, decorator: Google::Apis::ServiceusageV1beta1::GoogleApiServiceusageV2alphaAnalysisResult::Representation
1682
+
1683
+ property :analysis_type, as: 'analysisType'
1684
+ property :display_name, as: 'displayName'
1685
+ property :service, as: 'service'
1686
+ end
1687
+ end
1688
+
1689
+ class GoogleApiServiceusageV2alphaAnalysisResult
1690
+ # @private
1691
+ class Representation < Google::Apis::Core::JsonRepresentation
1692
+ collection :blockers, as: 'blockers', class: Google::Apis::ServiceusageV1beta1::GoogleApiServiceusageV2alphaImpact, decorator: Google::Apis::ServiceusageV1beta1::GoogleApiServiceusageV2alphaImpact::Representation
1693
+
1694
+ collection :warnings, as: 'warnings', class: Google::Apis::ServiceusageV1beta1::GoogleApiServiceusageV2alphaImpact, decorator: Google::Apis::ServiceusageV1beta1::GoogleApiServiceusageV2alphaImpact::Representation
1695
+
1696
+ end
1697
+ end
1698
+
1699
+ class GoogleApiServiceusageV2alphaAnalyzeConsumerPolicyMetadata
1700
+ # @private
1701
+ class Representation < Google::Apis::Core::JsonRepresentation
1702
+ end
1703
+ end
1704
+
1705
+ class GoogleApiServiceusageV2alphaAnalyzeConsumerPolicyResponse
1706
+ # @private
1707
+ class Representation < Google::Apis::Core::JsonRepresentation
1708
+ collection :analysis, as: 'analysis', class: Google::Apis::ServiceusageV1beta1::GoogleApiServiceusageV2alphaAnalysis, decorator: Google::Apis::ServiceusageV1beta1::GoogleApiServiceusageV2alphaAnalysis::Representation
1709
+
1710
+ end
1711
+ end
1712
+
1649
1713
  class GoogleApiServiceusageV2alphaConsumerPolicy
1650
1714
  # @private
1651
1715
  class Representation < Google::Apis::Core::JsonRepresentation
@@ -1666,6 +1730,15 @@ module Google
1666
1730
  end
1667
1731
  end
1668
1732
 
1733
+ class GoogleApiServiceusageV2alphaImpact
1734
+ # @private
1735
+ class Representation < Google::Apis::Core::JsonRepresentation
1736
+ property :detail, as: 'detail'
1737
+ property :impact_type, as: 'impactType'
1738
+ property :parent, as: 'parent'
1739
+ end
1740
+ end
1741
+
1669
1742
  class GoogleApiServiceusageV2alphaUpdateConsumerPolicyMetadata
1670
1743
  # @private
1671
1744
  class Representation < Google::Apis::Core::JsonRepresentation
@@ -1806,7 +1879,7 @@ module Google
1806
1879
  class Representation < Google::Apis::Core::JsonRepresentation
1807
1880
  property :detail, as: 'detail'
1808
1881
  property :impact_type, as: 'impactType'
1809
- property :parent, as: 'parent'
1882
+ property :missing_dependency, as: 'missingDependency'
1810
1883
  end
1811
1884
  end
1812
1885
 
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: google-apis-serviceusage_v1beta1
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_v1beta1/CHANGELOG.md
60
- documentation_uri: https://googleapis.dev/ruby/google-apis-serviceusage_v1beta1/v0.77.0
60
+ documentation_uri: https://googleapis.dev/ruby/google-apis-serviceusage_v1beta1/v0.78.0
61
61
  source_code_uri: https://github.com/googleapis/google-api-ruby-client/tree/main/generated/google-apis-serviceusage_v1beta1
62
62
  rdoc_options: []
63
63
  require_paths: