google-apis-serviceusage_v1beta1 0.35.0 → 0.36.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: '080bd06867170db8df543b8ca446bd4e16c60ebcbac188a94e6d880f839ade55'
4
- data.tar.gz: cc940a0195ec3381fdea12d62163122e3446ef5db2b947450697d37c7f4de2c0
3
+ metadata.gz: 1319905475e8c511746310fdeaf5b11b110bcf6ac950cac26d98ae828d751bbd
4
+ data.tar.gz: 14fef51348143c1e59983cc1ef3090a3ef6910330be09988821d77a0ac1b2627
5
5
  SHA512:
6
- metadata.gz: 4c94f320dfa5237e33366ad098ce591ed4301e2cd03279ceb569f84c3b250ff64cf89e0b5f908a0dbd60312a43b1aa4011fc317710c845ab5eaa7de655fb5532
7
- data.tar.gz: 0d51135d88407621722cbc0b39cfad2f4dfdad994c9436f2e12ce459c26ca4602f46e55d68347e83e4976f109cff787ff8c1ff512e85af047a6cb9e14c1d2233
6
+ metadata.gz: c7d083688e29364e46446beb0a3b6aeb8b0a35e8a48c0403680829b21352e69bbba54c60ed4da2e0627d61b08d05cf776fa7ec47da88d5f2f582d11920193732
7
+ data.tar.gz: 243d8d70c74a1dc9ea77c95ece218e06960771aebeea31e119c65d42ab085c3a194e6ed7b0af1462d3268758b4785a00d111df021b6bad9a2580001fb2f56739
data/CHANGELOG.md CHANGED
@@ -1,5 +1,9 @@
1
1
  # Release history for google-apis-serviceusage_v1beta1
2
2
 
3
+ ### v0.36.0 (2023-04-16)
4
+
5
+ * Regenerated from discovery document revision 20230412
6
+
3
7
  ### v0.35.0 (2023-04-02)
4
8
 
5
9
  * Regenerated from discovery document revision 20230329
@@ -742,6 +742,56 @@ module Google
742
742
  end
743
743
  end
744
744
 
745
+ # Consumer Policy is a set of rules that define what services or service groups
746
+ # can be used for a cloud resource hierarchy.
747
+ class ConsumerPolicy
748
+ include Google::Apis::Core::Hashable
749
+
750
+ # Optional. Annotations is an unstructured key-value map stored with a policy
751
+ # that may be set by external tools to store and retrieve arbitrary metadata.
752
+ # They are not queryable and should be preserved when modifying objects. [AIP-
753
+ # 128](https://google.aip.dev/128#annotations)
754
+ # Corresponds to the JSON property `annotations`
755
+ # @return [Hash<String,String>]
756
+ attr_accessor :annotations
757
+
758
+ # Enable rules define usable services and service groups.
759
+ # Corresponds to the JSON property `enableRules`
760
+ # @return [Array<Google::Apis::ServiceusageV1beta1::EnableRule>]
761
+ attr_accessor :enable_rules
762
+
763
+ # An opaque tag indicating the current version of the policy, used for
764
+ # concurrency control.
765
+ # Corresponds to the JSON property `etag`
766
+ # @return [String]
767
+ attr_accessor :etag
768
+
769
+ # Output only. The resource name of the policy. For example, `projects/12345/
770
+ # consumerPolicy`, `folders/12345/consumerPolicy`, `organizations/12345/
771
+ # consumerPolicy`.
772
+ # Corresponds to the JSON property `name`
773
+ # @return [String]
774
+ attr_accessor :name
775
+
776
+ # The last-modified time.
777
+ # Corresponds to the JSON property `updateTime`
778
+ # @return [String]
779
+ attr_accessor :update_time
780
+
781
+ def initialize(**args)
782
+ update!(**args)
783
+ end
784
+
785
+ # Update properties of this object
786
+ def update!(**args)
787
+ @annotations = args[:annotations] if args.key?(:annotations)
788
+ @enable_rules = args[:enable_rules] if args.key?(:enable_rules)
789
+ @etag = args[:etag] if args.key?(:etag)
790
+ @name = args[:name] if args.key?(:name)
791
+ @update_time = args[:update_time] if args.key?(:update_time)
792
+ end
793
+ end
794
+
745
795
  # Consumer quota settings for a quota limit.
746
796
  class ConsumerQuotaLimit
747
797
  include Google::Apis::Core::Hashable
@@ -1356,6 +1406,47 @@ module Google
1356
1406
  end
1357
1407
  end
1358
1408
 
1409
+ # The consumer policy rule that defines usable services and service groups.
1410
+ class EnableRule
1411
+ include Google::Apis::Core::Hashable
1412
+
1413
+ # Client and resource project enable type.
1414
+ # Corresponds to the JSON property `enableType`
1415
+ # @return [String]
1416
+ attr_accessor :enable_type
1417
+
1418
+ # DEPRECATED: Please use field `values`. Service group should have prefix `
1419
+ # groups/`. The names of the service groups that are enabled (Not Implemented).
1420
+ # go/predefined-service-groups. Example: `groups/googleServices`.
1421
+ # Corresponds to the JSON property `groups`
1422
+ # @return [Array<String>]
1423
+ attr_accessor :groups
1424
+
1425
+ # DEPRECATED: Please use field `values`. Service should have prefix `services/`.
1426
+ # The names of the services that are enabled. Example: `storage.googleapis.com`.
1427
+ # Corresponds to the JSON property `services`
1428
+ # @return [Array<String>]
1429
+ attr_accessor :services
1430
+
1431
+ # The names of the services or service groups that are enabled. Example: `
1432
+ # services/storage.googleapis.com`, groups/googleServices`, groups/allServices`.
1433
+ # Corresponds to the JSON property `values`
1434
+ # @return [Array<String>]
1435
+ attr_accessor :values
1436
+
1437
+ def initialize(**args)
1438
+ update!(**args)
1439
+ end
1440
+
1441
+ # Update properties of this object
1442
+ def update!(**args)
1443
+ @enable_type = args[:enable_type] if args.key?(:enable_type)
1444
+ @groups = args[:groups] if args.key?(:groups)
1445
+ @services = args[:services] if args.key?(:services)
1446
+ @values = args[:values] if args.key?(:values)
1447
+ end
1448
+ end
1449
+
1359
1450
  # Request message for the `EnableService` method.
1360
1451
  class EnableServiceRequest
1361
1452
  include Google::Apis::Core::Hashable
@@ -3868,7 +3959,7 @@ module Google
3868
3959
  # @return [Array<Google::Apis::ServiceusageV1beta1::MethodSettings>]
3869
3960
  attr_accessor :method_settings
3870
3961
 
3871
- # Link to a place that API users can report issues. Example: https://
3962
+ # Link to a *public* URI where users can report issues. Example: https://
3872
3963
  # issuetracker.google.com/issues/new?component=190865&template=1161103
3873
3964
  # Corresponds to the JSON property `newIssueUri`
3874
3965
  # @return [String]
@@ -4682,6 +4773,19 @@ module Google
4682
4773
  end
4683
4774
  end
4684
4775
 
4776
+ # Metadata for the `UpdateConsumerPolicyLRO` method.
4777
+ class UpdateConsumerPolicyLroMetadata
4778
+ include Google::Apis::Core::Hashable
4779
+
4780
+ def initialize(**args)
4781
+ update!(**args)
4782
+ end
4783
+
4784
+ # Update properties of this object
4785
+ def update!(**args)
4786
+ end
4787
+ end
4788
+
4685
4789
  # Configuration controlling usage of a service.
4686
4790
  class Usage
4687
4791
  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.35.0"
19
+ GEM_VERSION = "0.36.0"
20
20
 
21
21
  # Version of the code generator used to generate this client
22
22
  GENERATOR_VERSION = "0.12.0"
23
23
 
24
24
  # Revision of the discovery document this client was generated from
25
- REVISION = "20230329"
25
+ REVISION = "20230412"
26
26
  end
27
27
  end
28
28
  end
@@ -118,6 +118,12 @@ module Google
118
118
  include Google::Apis::Core::JsonObjectSupport
119
119
  end
120
120
 
121
+ class ConsumerPolicy
122
+ class Representation < Google::Apis::Core::JsonRepresentation; end
123
+
124
+ include Google::Apis::Core::JsonObjectSupport
125
+ end
126
+
121
127
  class ConsumerQuotaLimit
122
128
  class Representation < Google::Apis::Core::JsonRepresentation; end
123
129
 
@@ -226,6 +232,12 @@ module Google
226
232
  include Google::Apis::Core::JsonObjectSupport
227
233
  end
228
234
 
235
+ class EnableRule
236
+ class Representation < Google::Apis::Core::JsonRepresentation; end
237
+
238
+ include Google::Apis::Core::JsonObjectSupport
239
+ end
240
+
229
241
  class EnableServiceRequest
230
242
  class Representation < Google::Apis::Core::JsonRepresentation; end
231
243
 
@@ -658,6 +670,12 @@ module Google
658
670
  include Google::Apis::Core::JsonObjectSupport
659
671
  end
660
672
 
673
+ class UpdateConsumerPolicyLroMetadata
674
+ class Representation < Google::Apis::Core::JsonRepresentation; end
675
+
676
+ include Google::Apis::Core::JsonObjectSupport
677
+ end
678
+
661
679
  class Usage
662
680
  class Representation < Google::Apis::Core::JsonRepresentation; end
663
681
 
@@ -849,6 +867,18 @@ module Google
849
867
  end
850
868
  end
851
869
 
870
+ class ConsumerPolicy
871
+ # @private
872
+ class Representation < Google::Apis::Core::JsonRepresentation
873
+ hash :annotations, as: 'annotations'
874
+ collection :enable_rules, as: 'enableRules', class: Google::Apis::ServiceusageV1beta1::EnableRule, decorator: Google::Apis::ServiceusageV1beta1::EnableRule::Representation
875
+
876
+ property :etag, as: 'etag'
877
+ property :name, as: 'name'
878
+ property :update_time, as: 'updateTime'
879
+ end
880
+ end
881
+
852
882
  class ConsumerQuotaLimit
853
883
  # @private
854
884
  class Representation < Google::Apis::Core::JsonRepresentation
@@ -1012,6 +1042,16 @@ module Google
1012
1042
  end
1013
1043
  end
1014
1044
 
1045
+ class EnableRule
1046
+ # @private
1047
+ class Representation < Google::Apis::Core::JsonRepresentation
1048
+ property :enable_type, as: 'enableType'
1049
+ collection :groups, as: 'groups'
1050
+ collection :services, as: 'services'
1051
+ collection :values, as: 'values'
1052
+ end
1053
+ end
1054
+
1015
1055
  class EnableServiceRequest
1016
1056
  # @private
1017
1057
  class Representation < Google::Apis::Core::JsonRepresentation
@@ -1786,6 +1826,12 @@ module Google
1786
1826
  end
1787
1827
  end
1788
1828
 
1829
+ class UpdateConsumerPolicyLroMetadata
1830
+ # @private
1831
+ class Representation < Google::Apis::Core::JsonRepresentation
1832
+ end
1833
+ end
1834
+
1789
1835
  class Usage
1790
1836
  # @private
1791
1837
  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.35.0
4
+ version: 0.36.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: 2023-04-02 00:00:00.000000000 Z
11
+ date: 2023-04-16 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.35.0
61
+ documentation_uri: https://googleapis.dev/ruby/google-apis-serviceusage_v1beta1/v0.36.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: []