google-apis-serviceusage_v1beta1 0.34.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: 6189dc4ad244bd5050bbebaca1262b323895891ca4c333c05059a8ff52dfe759
4
- data.tar.gz: 89bc668b4b1b512724b482436aabcc1cb8339e888aaff6af8d39dbe10ee149f4
3
+ metadata.gz: 1319905475e8c511746310fdeaf5b11b110bcf6ac950cac26d98ae828d751bbd
4
+ data.tar.gz: 14fef51348143c1e59983cc1ef3090a3ef6910330be09988821d77a0ac1b2627
5
5
  SHA512:
6
- metadata.gz: baa85640316a1c12ce2eeee84b39768eddd1760ab1f9463c2e4832543a8a37c01b83960e949f01711d33fb882c80c65febe93f51674ee2512ed65662c83ac318
7
- data.tar.gz: 5fda3444fa952eb73c215dd0e1fd5605e8cab4159e089c5fd9227f5ddd12ed8499c3ca7c525abc08d4dad4c9f385c4d93575f0d5ad7cbf3ba943f7c9a6c17d03
6
+ metadata.gz: c7d083688e29364e46446beb0a3b6aeb8b0a35e8a48c0403680829b21352e69bbba54c60ed4da2e0627d61b08d05cf776fa7ec47da88d5f2f582d11920193732
7
+ data.tar.gz: 243d8d70c74a1dc9ea77c95ece218e06960771aebeea31e119c65d42ab085c3a194e6ed7b0af1462d3268758b4785a00d111df021b6bad9a2580001fb2f56739
data/CHANGELOG.md CHANGED
@@ -1,5 +1,13 @@
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
+
7
+ ### v0.35.0 (2023-04-02)
8
+
9
+ * Regenerated from discovery document revision 20230329
10
+
3
11
  ### v0.34.0 (2023-03-26)
4
12
 
5
13
  * Regenerated from discovery document revision 20230322
@@ -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
@@ -1264,6 +1314,42 @@ module Google
1264
1314
  # @return [Google::Apis::ServiceusageV1beta1::CommonLanguageSettings]
1265
1315
  attr_accessor :common
1266
1316
 
1317
+ # Namespaces which must be aliased in snippets due to a known (but non-generator-
1318
+ # predictable) naming collision
1319
+ # Corresponds to the JSON property `forcedNamespaceAliases`
1320
+ # @return [Array<String>]
1321
+ attr_accessor :forced_namespace_aliases
1322
+
1323
+ # Method signatures (in the form "service.method(signature)") which are provided
1324
+ # separately, so shouldn't be generated. Snippets *calling* these methods are
1325
+ # still generated, however.
1326
+ # Corresponds to the JSON property `handwrittenSignatures`
1327
+ # @return [Array<String>]
1328
+ attr_accessor :handwritten_signatures
1329
+
1330
+ # List of full resource types to ignore during generation. This is typically
1331
+ # used for API-specific Location resources, which should be handled by the
1332
+ # generator as if they were actually the common Location resources. Example
1333
+ # entry: "documentai.googleapis.com/Location"
1334
+ # Corresponds to the JSON property `ignoredResources`
1335
+ # @return [Array<String>]
1336
+ attr_accessor :ignored_resources
1337
+
1338
+ # Map from full resource types to the effective short name for the resource.
1339
+ # This is used when otherwise resource named from different services would cause
1340
+ # naming collisions. Example entry: "datalabeling.googleapis.com/Dataset": "
1341
+ # DataLabelingDataset"
1342
+ # Corresponds to the JSON property `renamedResources`
1343
+ # @return [Hash<String,String>]
1344
+ attr_accessor :renamed_resources
1345
+
1346
+ # Map from original service names to renamed versions. This is used when the
1347
+ # default generated types would cause a naming conflict. (Neither name is fully-
1348
+ # qualified.) Example: Subscriber to SubscriberServiceApi.
1349
+ # Corresponds to the JSON property `renamedServices`
1350
+ # @return [Hash<String,String>]
1351
+ attr_accessor :renamed_services
1352
+
1267
1353
  def initialize(**args)
1268
1354
  update!(**args)
1269
1355
  end
@@ -1271,6 +1357,11 @@ module Google
1271
1357
  # Update properties of this object
1272
1358
  def update!(**args)
1273
1359
  @common = args[:common] if args.key?(:common)
1360
+ @forced_namespace_aliases = args[:forced_namespace_aliases] if args.key?(:forced_namespace_aliases)
1361
+ @handwritten_signatures = args[:handwritten_signatures] if args.key?(:handwritten_signatures)
1362
+ @ignored_resources = args[:ignored_resources] if args.key?(:ignored_resources)
1363
+ @renamed_resources = args[:renamed_resources] if args.key?(:renamed_resources)
1364
+ @renamed_services = args[:renamed_services] if args.key?(:renamed_services)
1274
1365
  end
1275
1366
  end
1276
1367
 
@@ -1315,6 +1406,47 @@ module Google
1315
1406
  end
1316
1407
  end
1317
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
+
1318
1450
  # Request message for the `EnableService` method.
1319
1451
  class EnableServiceRequest
1320
1452
  include Google::Apis::Core::Hashable
@@ -3827,7 +3959,7 @@ module Google
3827
3959
  # @return [Array<Google::Apis::ServiceusageV1beta1::MethodSettings>]
3828
3960
  attr_accessor :method_settings
3829
3961
 
3830
- # 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://
3831
3963
  # issuetracker.google.com/issues/new?component=190865&template=1161103
3832
3964
  # Corresponds to the JSON property `newIssueUri`
3833
3965
  # @return [String]
@@ -4641,6 +4773,19 @@ module Google
4641
4773
  end
4642
4774
  end
4643
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
+
4644
4789
  # Configuration controlling usage of a service.
4645
4790
  class Usage
4646
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.34.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 = "20230322"
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
@@ -990,6 +1020,11 @@ module Google
990
1020
  class Representation < Google::Apis::Core::JsonRepresentation
991
1021
  property :common, as: 'common', class: Google::Apis::ServiceusageV1beta1::CommonLanguageSettings, decorator: Google::Apis::ServiceusageV1beta1::CommonLanguageSettings::Representation
992
1022
 
1023
+ collection :forced_namespace_aliases, as: 'forcedNamespaceAliases'
1024
+ collection :handwritten_signatures, as: 'handwrittenSignatures'
1025
+ collection :ignored_resources, as: 'ignoredResources'
1026
+ hash :renamed_resources, as: 'renamedResources'
1027
+ hash :renamed_services, as: 'renamedServices'
993
1028
  end
994
1029
  end
995
1030
 
@@ -1007,6 +1042,16 @@ module Google
1007
1042
  end
1008
1043
  end
1009
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
+
1010
1055
  class EnableServiceRequest
1011
1056
  # @private
1012
1057
  class Representation < Google::Apis::Core::JsonRepresentation
@@ -1781,6 +1826,12 @@ module Google
1781
1826
  end
1782
1827
  end
1783
1828
 
1829
+ class UpdateConsumerPolicyLroMetadata
1830
+ # @private
1831
+ class Representation < Google::Apis::Core::JsonRepresentation
1832
+ end
1833
+ end
1834
+
1784
1835
  class Usage
1785
1836
  # @private
1786
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.34.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-03-26 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.34.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: []