google-apis-serviceusage_v1beta1 0.46.0 → 0.48.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:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: b1cc1be350be72062ad776266c8f83cab35f6e5dde9f9b6283576bd6a83baab5
|
4
|
+
data.tar.gz: b31616fa238958118a7274d5067d610ede8de45fe71d585325d24374f16cb31c
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: d758a7ea5b6b1c717078f1ed044bc49817eaf2407ab493bdc13d9ca30dfebb7a8650f1d24b5e44b270c1bd8030ec0e8df0e997c2c2d4172b2309afa481202869
|
7
|
+
data.tar.gz: 7d337f6fd24f124bcec7febb39836a5ab6959ef0fc41f054bd29fbbf077074a7902fbd897b424cb0a7d2bb5839753d1b9f84c09dc90d526ce79f5d435b111fa6
|
data/CHANGELOG.md
CHANGED
@@ -1,5 +1,13 @@
|
|
1
1
|
# Release history for google-apis-serviceusage_v1beta1
|
2
2
|
|
3
|
+
### v0.48.0 (2023-12-03)
|
4
|
+
|
5
|
+
* Regenerated from discovery document revision 20231128
|
6
|
+
|
7
|
+
### v0.47.0 (2023-11-19)
|
8
|
+
|
9
|
+
* Regenerated from discovery document revision 20231113
|
10
|
+
|
3
11
|
### v0.46.0 (2023-09-10)
|
4
12
|
|
5
13
|
* 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.
|
@@ -3357,6 +3463,15 @@ module Google
|
|
3357
3463
|
class MethodSettings
|
3358
3464
|
include Google::Apis::Core::Hashable
|
3359
3465
|
|
3466
|
+
# List of top-level fields of the request message, that should be automatically
|
3467
|
+
# populated by the client libraries based on their (google.api.field_info).
|
3468
|
+
# format. Currently supported format: UUID4. Example of a YAML configuration:
|
3469
|
+
# publishing: method_settings: - selector: google.example.v1.ExampleService.
|
3470
|
+
# CreateExample auto_populated_fields: - request_id
|
3471
|
+
# Corresponds to the JSON property `autoPopulatedFields`
|
3472
|
+
# @return [Array<String>]
|
3473
|
+
attr_accessor :auto_populated_fields
|
3474
|
+
|
3360
3475
|
# Describes settings to use when generating API methods that use the long-
|
3361
3476
|
# running operation pattern. All default values below are from those used in the
|
3362
3477
|
# client library generators (e.g. [Java](https://github.com/googleapis/gapic-
|
@@ -3378,6 +3493,7 @@ module Google
|
|
3378
3493
|
|
3379
3494
|
# Update properties of this object
|
3380
3495
|
def update!(**args)
|
3496
|
+
@auto_populated_fields = args[:auto_populated_fields] if args.key?(:auto_populated_fields)
|
3381
3497
|
@long_running = args[:long_running] if args.key?(:long_running)
|
3382
3498
|
@selector = args[:selector] if args.key?(:selector)
|
3383
3499
|
end
|
@@ -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.
|
19
|
+
GEM_VERSION = "0.48.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 = "
|
25
|
+
REVISION = "20231128"
|
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
|
@@ -1555,6 +1601,7 @@ module Google
|
|
1555
1601
|
class MethodSettings
|
1556
1602
|
# @private
|
1557
1603
|
class Representation < Google::Apis::Core::JsonRepresentation
|
1604
|
+
collection :auto_populated_fields, as: 'autoPopulatedFields'
|
1558
1605
|
property :long_running, as: 'longRunning', class: Google::Apis::ServiceusageV1beta1::LongRunning, decorator: Google::Apis::ServiceusageV1beta1::LongRunning::Representation
|
1559
1606
|
|
1560
1607
|
property :selector, as: 'selector'
|
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.
|
4
|
+
version: 0.48.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-
|
11
|
+
date: 2023-12-03 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.
|
61
|
+
documentation_uri: https://googleapis.dev/ruby/google-apis-serviceusage_v1beta1/v0.48.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: []
|