google-apis-serviceusage_v1 0.33.0 → 0.35.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: 55f577a1ce286fbc0aaba83800965ddad5d87c4860de84b776d9570d61c2ac87
|
4
|
+
data.tar.gz: 49bf1a4f404cb7c1f8de3205ba9b4290a24e483a3fb7036da4a0b688f1748ddc
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: ae50e92294bddff567d7e31b92b4788cfff4d89296608d90bd246043a28ee3babaaca1ad9b408ee2eb1ab187aa0286414359fc95ca1aebcd776cb4f26b7f040b
|
7
|
+
data.tar.gz: e9870e9342392096b1ce1c2130188c845011704eaeb411372b5c95eecc2958b2fbfc6ddb4dbf594db129a9e2467d5eb9a7dbdd07d342b44173acde8fab869143
|
data/CHANGELOG.md
CHANGED
@@ -1,5 +1,13 @@
|
|
1
1
|
# Release history for google-apis-serviceusage_v1
|
2
2
|
|
3
|
+
### v0.35.0 (2023-04-30)
|
4
|
+
|
5
|
+
* Regenerated from discovery document revision 20230426
|
6
|
+
|
7
|
+
### v0.34.0 (2023-04-16)
|
8
|
+
|
9
|
+
* Regenerated from discovery document revision 20230412
|
10
|
+
|
3
11
|
### v0.33.0 (2023-04-02)
|
4
12
|
|
5
13
|
* Regenerated from discovery document revision 20230329
|
@@ -772,6 +772,56 @@ module Google
|
|
772
772
|
end
|
773
773
|
end
|
774
774
|
|
775
|
+
# Consumer Policy is a set of rules that define what services or service groups
|
776
|
+
# can be used for a cloud resource hierarchy.
|
777
|
+
class ConsumerPolicy
|
778
|
+
include Google::Apis::Core::Hashable
|
779
|
+
|
780
|
+
# Optional. Annotations is an unstructured key-value map stored with a policy
|
781
|
+
# that may be set by external tools to store and retrieve arbitrary metadata.
|
782
|
+
# They are not queryable and should be preserved when modifying objects. [AIP-
|
783
|
+
# 128](https://google.aip.dev/128#annotations)
|
784
|
+
# Corresponds to the JSON property `annotations`
|
785
|
+
# @return [Hash<String,String>]
|
786
|
+
attr_accessor :annotations
|
787
|
+
|
788
|
+
# Enable rules define usable services and service groups.
|
789
|
+
# Corresponds to the JSON property `enableRules`
|
790
|
+
# @return [Array<Google::Apis::ServiceusageV1::EnableRule>]
|
791
|
+
attr_accessor :enable_rules
|
792
|
+
|
793
|
+
# An opaque tag indicating the current version of the policy, used for
|
794
|
+
# concurrency control.
|
795
|
+
# Corresponds to the JSON property `etag`
|
796
|
+
# @return [String]
|
797
|
+
attr_accessor :etag
|
798
|
+
|
799
|
+
# Output only. The resource name of the policy. For example, `projects/12345/
|
800
|
+
# consumerPolicy`, `folders/12345/consumerPolicy`, `organizations/12345/
|
801
|
+
# consumerPolicy`.
|
802
|
+
# Corresponds to the JSON property `name`
|
803
|
+
# @return [String]
|
804
|
+
attr_accessor :name
|
805
|
+
|
806
|
+
# The last-modified time.
|
807
|
+
# Corresponds to the JSON property `updateTime`
|
808
|
+
# @return [String]
|
809
|
+
attr_accessor :update_time
|
810
|
+
|
811
|
+
def initialize(**args)
|
812
|
+
update!(**args)
|
813
|
+
end
|
814
|
+
|
815
|
+
# Update properties of this object
|
816
|
+
def update!(**args)
|
817
|
+
@annotations = args[:annotations] if args.key?(:annotations)
|
818
|
+
@enable_rules = args[:enable_rules] if args.key?(:enable_rules)
|
819
|
+
@etag = args[:etag] if args.key?(:etag)
|
820
|
+
@name = args[:name] if args.key?(:name)
|
821
|
+
@update_time = args[:update_time] if args.key?(:update_time)
|
822
|
+
end
|
823
|
+
end
|
824
|
+
|
775
825
|
# `Context` defines which contexts an API requests. Example: context: rules: -
|
776
826
|
# selector: "*" requested: - google.rpc.context.ProjectContext - google.rpc.
|
777
827
|
# context.OriginContext The above specifies that all methods in the API request `
|
@@ -1154,6 +1204,12 @@ module Google
|
|
1154
1204
|
# @return [String]
|
1155
1205
|
attr_accessor :description
|
1156
1206
|
|
1207
|
+
# String of comma or space separated case-sensitive words for which method/field
|
1208
|
+
# name replacement will be disabled by go/api-docgen.
|
1209
|
+
# Corresponds to the JSON property `disableReplacementWords`
|
1210
|
+
# @return [String]
|
1211
|
+
attr_accessor :disable_replacement_words
|
1212
|
+
|
1157
1213
|
# The selector is a comma-separated list of patterns for any element such as a
|
1158
1214
|
# method, a field, an enum value. Each pattern is a qualified name of the
|
1159
1215
|
# element which may end in "*", indicating a wildcard. Wildcards are only
|
@@ -1173,6 +1229,7 @@ module Google
|
|
1173
1229
|
def update!(**args)
|
1174
1230
|
@deprecation_description = args[:deprecation_description] if args.key?(:deprecation_description)
|
1175
1231
|
@description = args[:description] if args.key?(:description)
|
1232
|
+
@disable_replacement_words = args[:disable_replacement_words] if args.key?(:disable_replacement_words)
|
1176
1233
|
@selector = args[:selector] if args.key?(:selector)
|
1177
1234
|
end
|
1178
1235
|
end
|
@@ -1278,6 +1335,47 @@ module Google
|
|
1278
1335
|
end
|
1279
1336
|
end
|
1280
1337
|
|
1338
|
+
# The consumer policy rule that defines usable services and service groups.
|
1339
|
+
class EnableRule
|
1340
|
+
include Google::Apis::Core::Hashable
|
1341
|
+
|
1342
|
+
# Client and resource project enable type.
|
1343
|
+
# Corresponds to the JSON property `enableType`
|
1344
|
+
# @return [String]
|
1345
|
+
attr_accessor :enable_type
|
1346
|
+
|
1347
|
+
# DEPRECATED: Please use field `values`. Service group should have prefix `
|
1348
|
+
# groups/`. The names of the service groups that are enabled (Not Implemented).
|
1349
|
+
# go/predefined-service-groups. Example: `groups/googleServices`.
|
1350
|
+
# Corresponds to the JSON property `groups`
|
1351
|
+
# @return [Array<String>]
|
1352
|
+
attr_accessor :groups
|
1353
|
+
|
1354
|
+
# DEPRECATED: Please use field `values`. Service should have prefix `services/`.
|
1355
|
+
# The names of the services that are enabled. Example: `storage.googleapis.com`.
|
1356
|
+
# Corresponds to the JSON property `services`
|
1357
|
+
# @return [Array<String>]
|
1358
|
+
attr_accessor :services
|
1359
|
+
|
1360
|
+
# The names of the services or service groups that are enabled. Example: `
|
1361
|
+
# services/storage.googleapis.com`, groups/googleServices`, groups/allServices`.
|
1362
|
+
# Corresponds to the JSON property `values`
|
1363
|
+
# @return [Array<String>]
|
1364
|
+
attr_accessor :values
|
1365
|
+
|
1366
|
+
def initialize(**args)
|
1367
|
+
update!(**args)
|
1368
|
+
end
|
1369
|
+
|
1370
|
+
# Update properties of this object
|
1371
|
+
def update!(**args)
|
1372
|
+
@enable_type = args[:enable_type] if args.key?(:enable_type)
|
1373
|
+
@groups = args[:groups] if args.key?(:groups)
|
1374
|
+
@services = args[:services] if args.key?(:services)
|
1375
|
+
@values = args[:values] if args.key?(:values)
|
1376
|
+
end
|
1377
|
+
end
|
1378
|
+
|
1281
1379
|
# Request message for the `EnableService` method.
|
1282
1380
|
class EnableServiceRequest
|
1283
1381
|
include Google::Apis::Core::Hashable
|
@@ -3620,7 +3718,7 @@ module Google
|
|
3620
3718
|
# @return [Array<Google::Apis::ServiceusageV1::MethodSettings>]
|
3621
3719
|
attr_accessor :method_settings
|
3622
3720
|
|
3623
|
-
# Link to a
|
3721
|
+
# Link to a *public* URI where users can report issues. Example: https://
|
3624
3722
|
# issuetracker.google.com/issues/new?component=190865&template=1161103
|
3625
3723
|
# Corresponds to the JSON property `newIssueUri`
|
3626
3724
|
# @return [String]
|
@@ -4192,6 +4290,19 @@ module Google
|
|
4192
4290
|
end
|
4193
4291
|
end
|
4194
4292
|
|
4293
|
+
# Metadata for the `UpdateConsumerPolicyLRO` method.
|
4294
|
+
class UpdateConsumerPolicyLroMetadata
|
4295
|
+
include Google::Apis::Core::Hashable
|
4296
|
+
|
4297
|
+
def initialize(**args)
|
4298
|
+
update!(**args)
|
4299
|
+
end
|
4300
|
+
|
4301
|
+
# Update properties of this object
|
4302
|
+
def update!(**args)
|
4303
|
+
end
|
4304
|
+
end
|
4305
|
+
|
4195
4306
|
# Configuration controlling usage of a service.
|
4196
4307
|
class Usage
|
4197
4308
|
include Google::Apis::Core::Hashable
|
@@ -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.
|
19
|
+
GEM_VERSION = "0.35.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
|
@@ -130,6 +130,12 @@ module Google
|
|
130
130
|
include Google::Apis::Core::JsonObjectSupport
|
131
131
|
end
|
132
132
|
|
133
|
+
class ConsumerPolicy
|
134
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
135
|
+
|
136
|
+
include Google::Apis::Core::JsonObjectSupport
|
137
|
+
end
|
138
|
+
|
133
139
|
class Context
|
134
140
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
135
141
|
|
@@ -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
|
|
@@ -604,6 +616,12 @@ module Google
|
|
604
616
|
include Google::Apis::Core::JsonObjectSupport
|
605
617
|
end
|
606
618
|
|
619
|
+
class UpdateConsumerPolicyLroMetadata
|
620
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
621
|
+
|
622
|
+
include Google::Apis::Core::JsonObjectSupport
|
623
|
+
end
|
624
|
+
|
607
625
|
class Usage
|
608
626
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
609
627
|
|
@@ -809,6 +827,18 @@ module Google
|
|
809
827
|
end
|
810
828
|
end
|
811
829
|
|
830
|
+
class ConsumerPolicy
|
831
|
+
# @private
|
832
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
833
|
+
hash :annotations, as: 'annotations'
|
834
|
+
collection :enable_rules, as: 'enableRules', class: Google::Apis::ServiceusageV1::EnableRule, decorator: Google::Apis::ServiceusageV1::EnableRule::Representation
|
835
|
+
|
836
|
+
property :etag, as: 'etag'
|
837
|
+
property :name, as: 'name'
|
838
|
+
property :update_time, as: 'updateTime'
|
839
|
+
end
|
840
|
+
end
|
841
|
+
|
812
842
|
class Context
|
813
843
|
# @private
|
814
844
|
class Representation < Google::Apis::Core::JsonRepresentation
|
@@ -915,6 +945,7 @@ module Google
|
|
915
945
|
class Representation < Google::Apis::Core::JsonRepresentation
|
916
946
|
property :deprecation_description, as: 'deprecationDescription'
|
917
947
|
property :description, as: 'description'
|
948
|
+
property :disable_replacement_words, as: 'disableReplacementWords'
|
918
949
|
property :selector, as: 'selector'
|
919
950
|
end
|
920
951
|
end
|
@@ -946,6 +977,16 @@ module Google
|
|
946
977
|
end
|
947
978
|
end
|
948
979
|
|
980
|
+
class EnableRule
|
981
|
+
# @private
|
982
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
983
|
+
property :enable_type, as: 'enableType'
|
984
|
+
collection :groups, as: 'groups'
|
985
|
+
collection :services, as: 'services'
|
986
|
+
collection :values, as: 'values'
|
987
|
+
end
|
988
|
+
end
|
989
|
+
|
949
990
|
class EnableServiceRequest
|
950
991
|
# @private
|
951
992
|
class Representation < Google::Apis::Core::JsonRepresentation
|
@@ -1615,6 +1656,12 @@ module Google
|
|
1615
1656
|
end
|
1616
1657
|
end
|
1617
1658
|
|
1659
|
+
class UpdateConsumerPolicyLroMetadata
|
1660
|
+
# @private
|
1661
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
1662
|
+
end
|
1663
|
+
end
|
1664
|
+
|
1618
1665
|
class Usage
|
1619
1666
|
# @private
|
1620
1667
|
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.
|
4
|
+
version: 0.35.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_v1/CHANGELOG.md
|
61
|
-
documentation_uri: https://googleapis.dev/ruby/google-apis-serviceusage_v1/v0.
|
61
|
+
documentation_uri: https://googleapis.dev/ruby/google-apis-serviceusage_v1/v0.35.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: []
|