google-apis-serviceusage_v1 0.43.0 → 0.44.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: 989df56645458e51ce021805c1dc993b9fdc378dbfd9c9a85dc1730cbf4dfd99
4
- data.tar.gz: 8fe083b79659f3c4b46ff7b07c5bd3f668de7911ebb472249bec7f24205480f2
3
+ metadata.gz: b45a8422878b28c61ecbc79c5f5a1fc03c04de223ca47416bd23b584afdeb34b
4
+ data.tar.gz: 4fe2eba01e584635c20cc9891252ed57d5489cc0bf9770697c8477445651d179
5
5
  SHA512:
6
- metadata.gz: 7669ab3cf67c81b119570d65fa4bf798bdca6216892bdee350812a64d5513c029bc78290b5032808476467d06c100d0981cf39b865e9a502f1a3992cc6aaa110
7
- data.tar.gz: f595a34bc0396cd4f0bc7fdec385e997f610554bedd0ddb0fbf61aaca57263028136866955102759383e7fddf5c77df66e8f084cc4a7a834ada9c84993ce2fa0
6
+ metadata.gz: 6cb2f2c7dab0c36d836b14ee5e6b4d5cd2608ca4cb00a1e5734d054fb8d9d0dff9603963c7f0c8a720fdd413db81ed088657f26dff4a531f57c93c42440abf5f
7
+ data.tar.gz: 464f480b5e274aed73d9d83e43ef0ff2ea81a25481f2a78a3d8e52975f30c41cdb901abf6161420f3e41020dcae82ff984f3b4bc3a6b2457868a22008efbf46c
data/CHANGELOG.md CHANGED
@@ -1,5 +1,9 @@
1
1
  # Release history for google-apis-serviceusage_v1
2
2
 
3
+ ### v0.44.0 (2023-11-19)
4
+
5
+ * Regenerated from discovery document revision 20231113
6
+
3
7
  ### v0.43.0 (2023-09-10)
4
8
 
5
9
  * Regenerated from discovery document revision 20230907
@@ -2375,6 +2375,112 @@ module Google
2375
2375
  end
2376
2376
  end
2377
2377
 
2378
+ # Consumer Policy is a set of rules that define what services or service groups
2379
+ # can be used for a cloud resource hierarchy.
2380
+ class GoogleApiServiceusageV2alphaConsumerPolicy
2381
+ include Google::Apis::Core::Hashable
2382
+
2383
+ # Optional. Annotations is an unstructured key-value map stored with a policy
2384
+ # that may be set by external tools to store and retrieve arbitrary metadata.
2385
+ # They are not queryable and should be preserved when modifying objects. [AIP-
2386
+ # 128](https://google.aip.dev/128#annotations)
2387
+ # Corresponds to the JSON property `annotations`
2388
+ # @return [Hash<String,String>]
2389
+ attr_accessor :annotations
2390
+
2391
+ # Output only. The time the policy was created. For singleton policies, this is
2392
+ # the first touch of the policy.
2393
+ # Corresponds to the JSON property `createTime`
2394
+ # @return [String]
2395
+ attr_accessor :create_time
2396
+
2397
+ # Enable rules define usable services, groups, and categories. There can
2398
+ # currently be at most one `EnableRule`. This restriction will be lifted in
2399
+ # later releases.
2400
+ # Corresponds to the JSON property `enableRules`
2401
+ # @return [Array<Google::Apis::ServiceusageV1::GoogleApiServiceusageV2alphaEnableRule>]
2402
+ attr_accessor :enable_rules
2403
+
2404
+ # Output only. An opaque tag indicating the current version of the policy, used
2405
+ # for concurrency control.
2406
+ # Corresponds to the JSON property `etag`
2407
+ # @return [String]
2408
+ attr_accessor :etag
2409
+
2410
+ # Output only. The resource name of the policy. Only the `default` policy is
2411
+ # supported: `projects/12345/consumerPolicies/default`, `folders/12345/
2412
+ # consumerPolicies/default`, `organizations/12345/consumerPolicies/default`.
2413
+ # Corresponds to the JSON property `name`
2414
+ # @return [String]
2415
+ attr_accessor :name
2416
+
2417
+ # Output only. The time the policy was last updated.
2418
+ # Corresponds to the JSON property `updateTime`
2419
+ # @return [String]
2420
+ attr_accessor :update_time
2421
+
2422
+ def initialize(**args)
2423
+ update!(**args)
2424
+ end
2425
+
2426
+ # Update properties of this object
2427
+ def update!(**args)
2428
+ @annotations = args[:annotations] if args.key?(:annotations)
2429
+ @create_time = args[:create_time] if args.key?(:create_time)
2430
+ @enable_rules = args[:enable_rules] if args.key?(:enable_rules)
2431
+ @etag = args[:etag] if args.key?(:etag)
2432
+ @name = args[:name] if args.key?(:name)
2433
+ @update_time = args[:update_time] if args.key?(:update_time)
2434
+ end
2435
+ end
2436
+
2437
+ # The consumer policy rule that defines enabled services, groups, and categories.
2438
+ class GoogleApiServiceusageV2alphaEnableRule
2439
+ include Google::Apis::Core::Hashable
2440
+
2441
+ # The names of the categories that are enabled. Example: `categories/
2442
+ # googleServices`.
2443
+ # Corresponds to the JSON property `categories`
2444
+ # @return [Array<String>]
2445
+ attr_accessor :categories
2446
+
2447
+ # The names of the service groups that are enabled. Example: `services/container.
2448
+ # googleapis.com/groups/dependencies`.
2449
+ # Corresponds to the JSON property `groups`
2450
+ # @return [Array<String>]
2451
+ attr_accessor :groups
2452
+
2453
+ # The names of the services that are enabled. Example: `services/storage.
2454
+ # googleapis.com`.
2455
+ # Corresponds to the JSON property `services`
2456
+ # @return [Array<String>]
2457
+ attr_accessor :services
2458
+
2459
+ def initialize(**args)
2460
+ update!(**args)
2461
+ end
2462
+
2463
+ # Update properties of this object
2464
+ def update!(**args)
2465
+ @categories = args[:categories] if args.key?(:categories)
2466
+ @groups = args[:groups] if args.key?(:groups)
2467
+ @services = args[:services] if args.key?(:services)
2468
+ end
2469
+ end
2470
+
2471
+ # Metadata for the `UpdateConsumerPolicy` method.
2472
+ class GoogleApiServiceusageV2alphaUpdateConsumerPolicyMetadata
2473
+ include Google::Apis::Core::Hashable
2474
+
2475
+ def initialize(**args)
2476
+ update!(**args)
2477
+ end
2478
+
2479
+ # Update properties of this object
2480
+ def update!(**args)
2481
+ end
2482
+ end
2483
+
2378
2484
  # Defines the HTTP configuration for an API service. It contains a list of
2379
2485
  # HttpRule, each specifying the mapping of an RPC method to one or more HTTP
2380
2486
  # REST API methods.
@@ -16,13 +16,13 @@ module Google
16
16
  module Apis
17
17
  module ServiceusageV1
18
18
  # Version of the google-apis-serviceusage_v1 gem
19
- GEM_VERSION = "0.43.0"
19
+ GEM_VERSION = "0.44.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
 
@@ -1255,6 +1273,34 @@ module Google
1255
1273
  end
1256
1274
  end
1257
1275
 
1276
+ class GoogleApiServiceusageV2alphaConsumerPolicy
1277
+ # @private
1278
+ class Representation < Google::Apis::Core::JsonRepresentation
1279
+ hash :annotations, as: 'annotations'
1280
+ property :create_time, as: 'createTime'
1281
+ collection :enable_rules, as: 'enableRules', class: Google::Apis::ServiceusageV1::GoogleApiServiceusageV2alphaEnableRule, decorator: Google::Apis::ServiceusageV1::GoogleApiServiceusageV2alphaEnableRule::Representation
1282
+
1283
+ property :etag, as: 'etag'
1284
+ property :name, as: 'name'
1285
+ property :update_time, as: 'updateTime'
1286
+ end
1287
+ end
1288
+
1289
+ class GoogleApiServiceusageV2alphaEnableRule
1290
+ # @private
1291
+ class Representation < Google::Apis::Core::JsonRepresentation
1292
+ collection :categories, as: 'categories'
1293
+ collection :groups, as: 'groups'
1294
+ collection :services, as: 'services'
1295
+ end
1296
+ end
1297
+
1298
+ class GoogleApiServiceusageV2alphaUpdateConsumerPolicyMetadata
1299
+ # @private
1300
+ class Representation < Google::Apis::Core::JsonRepresentation
1301
+ end
1302
+ end
1303
+
1258
1304
  class Http
1259
1305
  # @private
1260
1306
  class Representation < Google::Apis::Core::JsonRepresentation
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: google-apis-serviceusage_v1
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.43.0
4
+ version: 0.44.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-10 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_v1/CHANGELOG.md
61
- documentation_uri: https://googleapis.dev/ruby/google-apis-serviceusage_v1/v0.43.0
61
+ documentation_uri: https://googleapis.dev/ruby/google-apis-serviceusage_v1/v0.44.0
62
62
  source_code_uri: https://github.com/googleapis/google-api-ruby-client/tree/main/generated/google-apis-serviceusage_v1
63
63
  post_install_message:
64
64
  rdoc_options: []