google-apis-serviceusage_v1beta1 0.46.0 → 0.47.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: eb1b27ccabcc6f89b09f9f1baaa92fd52a69812feadc410ca047e5af84c923d9
4
- data.tar.gz: 3da362aaa1b07d05682ebb9b3e03e406bfd5527683a650ad9535554d6915ff60
3
+ metadata.gz: f2a170c658a6f9c85491b1d977ca81ffdc84b4ad0ad62adfe00249cd77a150b4
4
+ data.tar.gz: '0140862ef180ffa5c71992cf7b6a29b2ae54c581136e061c3297590617de7b22'
5
5
  SHA512:
6
- metadata.gz: 1b4a748a617b3b1c48f5b9cdc65b18affedd334bc3ed1e1f5913e1024ffeb4753e0ba46825983729db9b01e880571c3b4dfcd5541a7b94c0c7cc4b42bab12544
7
- data.tar.gz: 2d3d8403fa0dc74ba00c45df3ab3274cda3457fab985a6d28a58ad1ac33b0e28fe8e957e09370d34b8bce93587a13391ec538c07c50a9204b52bcaf7d78b908a
6
+ metadata.gz: '03895fc547c366aef925327adbab80839d0319a1c75c497a1d0c95a9f63434efec7c82135a8c707ba95d10436b57ba040e34a5d7c03ad5f8175756dcd952664b'
7
+ data.tar.gz: 6055f95b332d3ed83720a6a7c2113f59ba43db11ff3699c8a4b0c51a1dfa0b99ee5248f5a5b1e91cadb6818f9efebd9e56419df059a0050c6dc12b438fd8773a
data/CHANGELOG.md CHANGED
@@ -1,5 +1,9 @@
1
1
  # Release history for google-apis-serviceusage_v1beta1
2
2
 
3
+ ### v0.47.0 (2023-11-19)
4
+
5
+ * Regenerated from discovery document revision 20231113
6
+
3
7
  ### v0.46.0 (2023-09-10)
4
8
 
5
9
  * Regenerated from discovery document revision 20230907
@@ -2453,6 +2453,112 @@ module Google
2453
2453
  end
2454
2454
  end
2455
2455
 
2456
+ # Consumer Policy is a set of rules that define what services or service groups
2457
+ # can be used for a cloud resource hierarchy.
2458
+ class GoogleApiServiceusageV2alphaConsumerPolicy
2459
+ include Google::Apis::Core::Hashable
2460
+
2461
+ # Optional. Annotations is an unstructured key-value map stored with a policy
2462
+ # that may be set by external tools to store and retrieve arbitrary metadata.
2463
+ # They are not queryable and should be preserved when modifying objects. [AIP-
2464
+ # 128](https://google.aip.dev/128#annotations)
2465
+ # Corresponds to the JSON property `annotations`
2466
+ # @return [Hash<String,String>]
2467
+ attr_accessor :annotations
2468
+
2469
+ # Output only. The time the policy was created. For singleton policies, this is
2470
+ # the first touch of the policy.
2471
+ # Corresponds to the JSON property `createTime`
2472
+ # @return [String]
2473
+ attr_accessor :create_time
2474
+
2475
+ # Enable rules define usable services, groups, and categories. There can
2476
+ # currently be at most one `EnableRule`. This restriction will be lifted in
2477
+ # later releases.
2478
+ # Corresponds to the JSON property `enableRules`
2479
+ # @return [Array<Google::Apis::ServiceusageV1beta1::GoogleApiServiceusageV2alphaEnableRule>]
2480
+ attr_accessor :enable_rules
2481
+
2482
+ # Output only. An opaque tag indicating the current version of the policy, used
2483
+ # for concurrency control.
2484
+ # Corresponds to the JSON property `etag`
2485
+ # @return [String]
2486
+ attr_accessor :etag
2487
+
2488
+ # Output only. The resource name of the policy. Only the `default` policy is
2489
+ # supported: `projects/12345/consumerPolicies/default`, `folders/12345/
2490
+ # consumerPolicies/default`, `organizations/12345/consumerPolicies/default`.
2491
+ # Corresponds to the JSON property `name`
2492
+ # @return [String]
2493
+ attr_accessor :name
2494
+
2495
+ # Output only. The time the policy was last updated.
2496
+ # Corresponds to the JSON property `updateTime`
2497
+ # @return [String]
2498
+ attr_accessor :update_time
2499
+
2500
+ def initialize(**args)
2501
+ update!(**args)
2502
+ end
2503
+
2504
+ # Update properties of this object
2505
+ def update!(**args)
2506
+ @annotations = args[:annotations] if args.key?(:annotations)
2507
+ @create_time = args[:create_time] if args.key?(:create_time)
2508
+ @enable_rules = args[:enable_rules] if args.key?(:enable_rules)
2509
+ @etag = args[:etag] if args.key?(:etag)
2510
+ @name = args[:name] if args.key?(:name)
2511
+ @update_time = args[:update_time] if args.key?(:update_time)
2512
+ end
2513
+ end
2514
+
2515
+ # The consumer policy rule that defines enabled services, groups, and categories.
2516
+ class GoogleApiServiceusageV2alphaEnableRule
2517
+ include Google::Apis::Core::Hashable
2518
+
2519
+ # The names of the categories that are enabled. Example: `categories/
2520
+ # googleServices`.
2521
+ # Corresponds to the JSON property `categories`
2522
+ # @return [Array<String>]
2523
+ attr_accessor :categories
2524
+
2525
+ # The names of the service groups that are enabled. Example: `services/container.
2526
+ # googleapis.com/groups/dependencies`.
2527
+ # Corresponds to the JSON property `groups`
2528
+ # @return [Array<String>]
2529
+ attr_accessor :groups
2530
+
2531
+ # The names of the services that are enabled. Example: `services/storage.
2532
+ # googleapis.com`.
2533
+ # Corresponds to the JSON property `services`
2534
+ # @return [Array<String>]
2535
+ attr_accessor :services
2536
+
2537
+ def initialize(**args)
2538
+ update!(**args)
2539
+ end
2540
+
2541
+ # Update properties of this object
2542
+ def update!(**args)
2543
+ @categories = args[:categories] if args.key?(:categories)
2544
+ @groups = args[:groups] if args.key?(:groups)
2545
+ @services = args[:services] if args.key?(:services)
2546
+ end
2547
+ end
2548
+
2549
+ # Metadata for the `UpdateConsumerPolicy` method.
2550
+ class GoogleApiServiceusageV2alphaUpdateConsumerPolicyMetadata
2551
+ include Google::Apis::Core::Hashable
2552
+
2553
+ def initialize(**args)
2554
+ update!(**args)
2555
+ end
2556
+
2557
+ # Update properties of this object
2558
+ def update!(**args)
2559
+ end
2560
+ end
2561
+
2456
2562
  # Defines the HTTP configuration for an API service. It contains a list of
2457
2563
  # HttpRule, each specifying the mapping of an RPC method to one or more HTTP
2458
2564
  # REST API methods.
@@ -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.46.0"
19
+ GEM_VERSION = "0.47.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 = "20230907"
25
+ REVISION = "20231113"
26
26
  end
27
27
  end
28
28
  end
@@ -346,6 +346,24 @@ module Google
346
346
  include Google::Apis::Core::JsonObjectSupport
347
347
  end
348
348
 
349
+ class GoogleApiServiceusageV2alphaConsumerPolicy
350
+ class Representation < Google::Apis::Core::JsonRepresentation; end
351
+
352
+ include Google::Apis::Core::JsonObjectSupport
353
+ end
354
+
355
+ class GoogleApiServiceusageV2alphaEnableRule
356
+ class Representation < Google::Apis::Core::JsonRepresentation; end
357
+
358
+ include Google::Apis::Core::JsonObjectSupport
359
+ end
360
+
361
+ class GoogleApiServiceusageV2alphaUpdateConsumerPolicyMetadata
362
+ class Representation < Google::Apis::Core::JsonRepresentation; end
363
+
364
+ include Google::Apis::Core::JsonObjectSupport
365
+ end
366
+
349
367
  class Http
350
368
  class Representation < Google::Apis::Core::JsonRepresentation; end
351
369
 
@@ -1327,6 +1345,34 @@ module Google
1327
1345
  end
1328
1346
  end
1329
1347
 
1348
+ class GoogleApiServiceusageV2alphaConsumerPolicy
1349
+ # @private
1350
+ class Representation < Google::Apis::Core::JsonRepresentation
1351
+ hash :annotations, as: 'annotations'
1352
+ property :create_time, as: 'createTime'
1353
+ collection :enable_rules, as: 'enableRules', class: Google::Apis::ServiceusageV1beta1::GoogleApiServiceusageV2alphaEnableRule, decorator: Google::Apis::ServiceusageV1beta1::GoogleApiServiceusageV2alphaEnableRule::Representation
1354
+
1355
+ property :etag, as: 'etag'
1356
+ property :name, as: 'name'
1357
+ property :update_time, as: 'updateTime'
1358
+ end
1359
+ end
1360
+
1361
+ class GoogleApiServiceusageV2alphaEnableRule
1362
+ # @private
1363
+ class Representation < Google::Apis::Core::JsonRepresentation
1364
+ collection :categories, as: 'categories'
1365
+ collection :groups, as: 'groups'
1366
+ collection :services, as: 'services'
1367
+ end
1368
+ end
1369
+
1370
+ class GoogleApiServiceusageV2alphaUpdateConsumerPolicyMetadata
1371
+ # @private
1372
+ class Representation < Google::Apis::Core::JsonRepresentation
1373
+ end
1374
+ end
1375
+
1330
1376
  class Http
1331
1377
  # @private
1332
1378
  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.46.0
4
+ version: 0.47.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-09-17 00:00:00.000000000 Z
11
+ date: 2023-11-19 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.46.0
61
+ documentation_uri: https://googleapis.dev/ruby/google-apis-serviceusage_v1beta1/v0.47.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: []