google-apis-serviceusage_v1beta1 0.45.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: a04e96f88ca404ccd2c876ae6b9f7e6d8707c6879b65e6ff679aec904626afb3
4
- data.tar.gz: 1cb8a90253e644cf452daefb92034d55fe07478030ab9f6848c083cca8501397
3
+ metadata.gz: f2a170c658a6f9c85491b1d977ca81ffdc84b4ad0ad62adfe00249cd77a150b4
4
+ data.tar.gz: '0140862ef180ffa5c71992cf7b6a29b2ae54c581136e061c3297590617de7b22'
5
5
  SHA512:
6
- metadata.gz: 03726abbaf720f36e2d95fda1eba0be1107d7853063c3ad30dd261b46ca9f1fdbc512555be08d80aaaeee684135307a55d9d0f2a1c8efed815dc1e1c53ae2c71
7
- data.tar.gz: 04bb85790110f5592b32d3f86cb6285cc8d446eff1ffb088b15c0827f0fe9a01f4c3b7471e84a89e97e93aa79de837f7c2dac5cbe9f77838643ccbc793c4170b
6
+ metadata.gz: '03895fc547c366aef925327adbab80839d0319a1c75c497a1d0c95a9f63434efec7c82135a8c707ba95d10436b57ba040e34a5d7c03ad5f8175756dcd952664b'
7
+ data.tar.gz: 6055f95b332d3ed83720a6a7c2113f59ba43db11ff3699c8a4b0c51a1dfa0b99ee5248f5a5b1e91cadb6818f9efebd9e56419df059a0050c6dc12b438fd8773a
data/CHANGELOG.md CHANGED
@@ -1,5 +1,13 @@
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
+
7
+ ### v0.46.0 (2023-09-10)
8
+
9
+ * Regenerated from discovery document revision 20230907
10
+
3
11
  ### v0.45.0 (2023-08-27)
4
12
 
5
13
  * Regenerated from discovery document revision 20230815
@@ -35,7 +35,7 @@ module Google
35
35
  end
36
36
  end
37
37
 
38
- # The response message of "AddEnableRules" method.
38
+ # The response message of `AddEnableRules` method.
39
39
  class AddEnableRulesResponse
40
40
  include Google::Apis::Core::Hashable
41
41
 
@@ -806,10 +806,10 @@ module Google
806
806
  # @return [String]
807
807
  attr_accessor :etag
808
808
 
809
- # Output only. The resource name of the policy. For example, We only allow
810
- # consumer policy name as "default" for now: `projects/12345/consumerPolicies/
811
- # default`, `folders/12345/consumerPolicies/default`, `organizations/12345/
812
- # consumerPolicies/default`. Legacy format: `projects/12345/consumerPoly`
809
+ # Output only. The resource name of the policy. We only allow consumer policy
810
+ # name as `default` for now: `projects/12345/consumerPolicies/default`, `folders/
811
+ # 12345/consumerPolicies/default`, `organizations/12345/consumerPolicies/default`
812
+ # .
813
813
  # Corresponds to the JSON property `name`
814
814
  # @return [String]
815
815
  attr_accessor :name
@@ -1479,7 +1479,7 @@ module Google
1479
1479
 
1480
1480
  # DEPRECATED: Please use field `values`. Service group should have prefix `
1481
1481
  # groups/`. The names of the service groups that are enabled (Not Implemented).
1482
- # go/predefined-service-groups. Example: `groups/googleServices`.
1482
+ # Example: `groups/googleServices`.
1483
1483
  # Corresponds to the JSON property `groups`
1484
1484
  # @return [Array<String>]
1485
1485
  attr_accessor :groups
@@ -1491,7 +1491,8 @@ module Google
1491
1491
  attr_accessor :services
1492
1492
 
1493
1493
  # The names of the services or service groups that are enabled. Example: `
1494
- # services/storage.googleapis.com`, groups/googleServices`, groups/allServices`.
1494
+ # services/storage.googleapis.com`, `groups/googleServices`, `groups/allServices`
1495
+ # .
1495
1496
  # Corresponds to the JSON property `values`
1496
1497
  # @return [Array<String>]
1497
1498
  attr_accessor :values
@@ -2452,6 +2453,112 @@ module Google
2452
2453
  end
2453
2454
  end
2454
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
+
2455
2562
  # Defines the HTTP configuration for an API service. It contains a list of
2456
2563
  # HttpRule, each specifying the mapping of an RPC method to one or more HTTP
2457
2564
  # REST API methods.
@@ -4521,7 +4628,7 @@ module Google
4521
4628
  end
4522
4629
  end
4523
4630
 
4524
- # The response message of "RemoveEnableRules" method.
4631
+ # The response message of `RemoveEnableRules` method.
4525
4632
  class RemoveEnableRulesResponse
4526
4633
  include Google::Apis::Core::Hashable
4527
4634
 
@@ -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.45.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 = "20230815"
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.45.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-08-27 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.45.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: []