google-apis-serviceusage_v1beta1 0.35.0 → 0.37.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: '
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: '078dbd62d48c6bb0fc8fc3e556f4c8dfcf30616c8641c514d2ff0dff25ffd4f4'
|
4
|
+
data.tar.gz: 6d91f51d9f651eb263686cce9e44c64a7b5729a9ece60fdc49a44f8d518de22e
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: e792645901a38212972cd765700fb306d9d6ce9edb8dad54c5d810d429b129084a39c08ef5203e969a0a8a7ee878c5e0363881fb0dce8c2775f1b25f28cedc7d
|
7
|
+
data.tar.gz: f073984b808f25a2b93f3903ddcf90b4858cdbc4bd359508f610c822c1f47617f2842b761517947b5dda36cbb60df2e24a5adbf2f2a49b402f9029ccb8b3b627
|
data/CHANGELOG.md
CHANGED
@@ -1,5 +1,13 @@
|
|
1
1
|
# Release history for google-apis-serviceusage_v1beta1
|
2
2
|
|
3
|
+
### v0.37.0 (2023-04-30)
|
4
|
+
|
5
|
+
* Regenerated from discovery document revision 20230426
|
6
|
+
|
7
|
+
### v0.36.0 (2023-04-16)
|
8
|
+
|
9
|
+
* Regenerated from discovery document revision 20230412
|
10
|
+
|
3
11
|
### v0.35.0 (2023-04-02)
|
4
12
|
|
5
13
|
* Regenerated from discovery document revision 20230329
|
@@ -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
|
@@ -1232,6 +1282,12 @@ module Google
|
|
1232
1282
|
# @return [String]
|
1233
1283
|
attr_accessor :description
|
1234
1284
|
|
1285
|
+
# String of comma or space separated case-sensitive words for which method/field
|
1286
|
+
# name replacement will be disabled by go/api-docgen.
|
1287
|
+
# Corresponds to the JSON property `disableReplacementWords`
|
1288
|
+
# @return [String]
|
1289
|
+
attr_accessor :disable_replacement_words
|
1290
|
+
|
1235
1291
|
# The selector is a comma-separated list of patterns for any element such as a
|
1236
1292
|
# method, a field, an enum value. Each pattern is a qualified name of the
|
1237
1293
|
# element which may end in "*", indicating a wildcard. Wildcards are only
|
@@ -1251,6 +1307,7 @@ module Google
|
|
1251
1307
|
def update!(**args)
|
1252
1308
|
@deprecation_description = args[:deprecation_description] if args.key?(:deprecation_description)
|
1253
1309
|
@description = args[:description] if args.key?(:description)
|
1310
|
+
@disable_replacement_words = args[:disable_replacement_words] if args.key?(:disable_replacement_words)
|
1254
1311
|
@selector = args[:selector] if args.key?(:selector)
|
1255
1312
|
end
|
1256
1313
|
end
|
@@ -1356,6 +1413,47 @@ module Google
|
|
1356
1413
|
end
|
1357
1414
|
end
|
1358
1415
|
|
1416
|
+
# The consumer policy rule that defines usable services and service groups.
|
1417
|
+
class EnableRule
|
1418
|
+
include Google::Apis::Core::Hashable
|
1419
|
+
|
1420
|
+
# Client and resource project enable type.
|
1421
|
+
# Corresponds to the JSON property `enableType`
|
1422
|
+
# @return [String]
|
1423
|
+
attr_accessor :enable_type
|
1424
|
+
|
1425
|
+
# DEPRECATED: Please use field `values`. Service group should have prefix `
|
1426
|
+
# groups/`. The names of the service groups that are enabled (Not Implemented).
|
1427
|
+
# go/predefined-service-groups. Example: `groups/googleServices`.
|
1428
|
+
# Corresponds to the JSON property `groups`
|
1429
|
+
# @return [Array<String>]
|
1430
|
+
attr_accessor :groups
|
1431
|
+
|
1432
|
+
# DEPRECATED: Please use field `values`. Service should have prefix `services/`.
|
1433
|
+
# The names of the services that are enabled. Example: `storage.googleapis.com`.
|
1434
|
+
# Corresponds to the JSON property `services`
|
1435
|
+
# @return [Array<String>]
|
1436
|
+
attr_accessor :services
|
1437
|
+
|
1438
|
+
# The names of the services or service groups that are enabled. Example: `
|
1439
|
+
# services/storage.googleapis.com`, groups/googleServices`, groups/allServices`.
|
1440
|
+
# Corresponds to the JSON property `values`
|
1441
|
+
# @return [Array<String>]
|
1442
|
+
attr_accessor :values
|
1443
|
+
|
1444
|
+
def initialize(**args)
|
1445
|
+
update!(**args)
|
1446
|
+
end
|
1447
|
+
|
1448
|
+
# Update properties of this object
|
1449
|
+
def update!(**args)
|
1450
|
+
@enable_type = args[:enable_type] if args.key?(:enable_type)
|
1451
|
+
@groups = args[:groups] if args.key?(:groups)
|
1452
|
+
@services = args[:services] if args.key?(:services)
|
1453
|
+
@values = args[:values] if args.key?(:values)
|
1454
|
+
end
|
1455
|
+
end
|
1456
|
+
|
1359
1457
|
# Request message for the `EnableService` method.
|
1360
1458
|
class EnableServiceRequest
|
1361
1459
|
include Google::Apis::Core::Hashable
|
@@ -3868,7 +3966,7 @@ module Google
|
|
3868
3966
|
# @return [Array<Google::Apis::ServiceusageV1beta1::MethodSettings>]
|
3869
3967
|
attr_accessor :method_settings
|
3870
3968
|
|
3871
|
-
# Link to a
|
3969
|
+
# Link to a *public* URI where users can report issues. Example: https://
|
3872
3970
|
# issuetracker.google.com/issues/new?component=190865&template=1161103
|
3873
3971
|
# Corresponds to the JSON property `newIssueUri`
|
3874
3972
|
# @return [String]
|
@@ -4682,6 +4780,19 @@ module Google
|
|
4682
4780
|
end
|
4683
4781
|
end
|
4684
4782
|
|
4783
|
+
# Metadata for the `UpdateConsumerPolicyLRO` method.
|
4784
|
+
class UpdateConsumerPolicyLroMetadata
|
4785
|
+
include Google::Apis::Core::Hashable
|
4786
|
+
|
4787
|
+
def initialize(**args)
|
4788
|
+
update!(**args)
|
4789
|
+
end
|
4790
|
+
|
4791
|
+
# Update properties of this object
|
4792
|
+
def update!(**args)
|
4793
|
+
end
|
4794
|
+
end
|
4795
|
+
|
4685
4796
|
# Configuration controlling usage of a service.
|
4686
4797
|
class Usage
|
4687
4798
|
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.
|
19
|
+
GEM_VERSION = "0.37.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 = "20230426"
|
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
|
@@ -981,6 +1011,7 @@ module Google
|
|
981
1011
|
class Representation < Google::Apis::Core::JsonRepresentation
|
982
1012
|
property :deprecation_description, as: 'deprecationDescription'
|
983
1013
|
property :description, as: 'description'
|
1014
|
+
property :disable_replacement_words, as: 'disableReplacementWords'
|
984
1015
|
property :selector, as: 'selector'
|
985
1016
|
end
|
986
1017
|
end
|
@@ -1012,6 +1043,16 @@ module Google
|
|
1012
1043
|
end
|
1013
1044
|
end
|
1014
1045
|
|
1046
|
+
class EnableRule
|
1047
|
+
# @private
|
1048
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
1049
|
+
property :enable_type, as: 'enableType'
|
1050
|
+
collection :groups, as: 'groups'
|
1051
|
+
collection :services, as: 'services'
|
1052
|
+
collection :values, as: 'values'
|
1053
|
+
end
|
1054
|
+
end
|
1055
|
+
|
1015
1056
|
class EnableServiceRequest
|
1016
1057
|
# @private
|
1017
1058
|
class Representation < Google::Apis::Core::JsonRepresentation
|
@@ -1786,6 +1827,12 @@ module Google
|
|
1786
1827
|
end
|
1787
1828
|
end
|
1788
1829
|
|
1830
|
+
class UpdateConsumerPolicyLroMetadata
|
1831
|
+
# @private
|
1832
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
1833
|
+
end
|
1834
|
+
end
|
1835
|
+
|
1789
1836
|
class Usage
|
1790
1837
|
# @private
|
1791
1838
|
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.
|
4
|
+
version: 0.37.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-04-
|
11
|
+
date: 2023-04-30 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.37.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: []
|