google-apis-serviceusage_v1 0.32.0 → 0.34.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: 83a40e2d06fdead07fed10b2579d59ebdc1f49043331053ad2590ffe40885cc1
|
4
|
+
data.tar.gz: fe18ced5c90bf2bcd41e57432b45a78f0ef14d5800a7dc9e4e990f3ac403dfd1
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: eb0d010591f0b6088c5f7adb20cd349090a27c8cc008fd2c4c026d5f2c8a1a829acf9e3763bac78eabbbab75aaec69235075e8cd8c7d4bc1084be2b8e51da283
|
7
|
+
data.tar.gz: d05adb43dea80b49cb620f6a07c3037d814fbe1fc92db63ddcd4c2c2ef9ca63654432b9c1e5f9d841f2b8ed9d947624f58f909744b4d73a4d7405f058c3b0516
|
data/CHANGELOG.md
CHANGED
@@ -1,5 +1,13 @@
|
|
1
1
|
# Release history for google-apis-serviceusage_v1
|
2
2
|
|
3
|
+
### v0.34.0 (2023-04-16)
|
4
|
+
|
5
|
+
* Regenerated from discovery document revision 20230412
|
6
|
+
|
7
|
+
### v0.33.0 (2023-04-02)
|
8
|
+
|
9
|
+
* Regenerated from discovery document revision 20230329
|
10
|
+
|
3
11
|
### v0.32.0 (2023-03-12)
|
4
12
|
|
5
13
|
* Regenerated from discovery document revision 20230309
|
@@ -719,7 +719,9 @@ module Google
|
|
719
719
|
# @return [Google::Apis::ServiceusageV1::RubySettings]
|
720
720
|
attr_accessor :ruby_settings
|
721
721
|
|
722
|
-
# Version of the API to apply these settings to.
|
722
|
+
# Version of the API to apply these settings to. This is the full protobuf
|
723
|
+
# package for the API, ending in the version element. Examples: "google.cloud.
|
724
|
+
# speech.v1" and "google.spanner.admin.database.v1".
|
723
725
|
# Corresponds to the JSON property `version`
|
724
726
|
# @return [String]
|
725
727
|
attr_accessor :version
|
@@ -770,6 +772,56 @@ module Google
|
|
770
772
|
end
|
771
773
|
end
|
772
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
|
+
|
773
825
|
# `Context` defines which contexts an API requests. Example: context: rules: -
|
774
826
|
# selector: "*" requested: - google.rpc.context.ProjectContext - google.rpc.
|
775
827
|
# context.OriginContext The above specifies that all methods in the API request `
|
@@ -1184,6 +1236,42 @@ module Google
|
|
1184
1236
|
# @return [Google::Apis::ServiceusageV1::CommonLanguageSettings]
|
1185
1237
|
attr_accessor :common
|
1186
1238
|
|
1239
|
+
# Namespaces which must be aliased in snippets due to a known (but non-generator-
|
1240
|
+
# predictable) naming collision
|
1241
|
+
# Corresponds to the JSON property `forcedNamespaceAliases`
|
1242
|
+
# @return [Array<String>]
|
1243
|
+
attr_accessor :forced_namespace_aliases
|
1244
|
+
|
1245
|
+
# Method signatures (in the form "service.method(signature)") which are provided
|
1246
|
+
# separately, so shouldn't be generated. Snippets *calling* these methods are
|
1247
|
+
# still generated, however.
|
1248
|
+
# Corresponds to the JSON property `handwrittenSignatures`
|
1249
|
+
# @return [Array<String>]
|
1250
|
+
attr_accessor :handwritten_signatures
|
1251
|
+
|
1252
|
+
# List of full resource types to ignore during generation. This is typically
|
1253
|
+
# used for API-specific Location resources, which should be handled by the
|
1254
|
+
# generator as if they were actually the common Location resources. Example
|
1255
|
+
# entry: "documentai.googleapis.com/Location"
|
1256
|
+
# Corresponds to the JSON property `ignoredResources`
|
1257
|
+
# @return [Array<String>]
|
1258
|
+
attr_accessor :ignored_resources
|
1259
|
+
|
1260
|
+
# Map from full resource types to the effective short name for the resource.
|
1261
|
+
# This is used when otherwise resource named from different services would cause
|
1262
|
+
# naming collisions. Example entry: "datalabeling.googleapis.com/Dataset": "
|
1263
|
+
# DataLabelingDataset"
|
1264
|
+
# Corresponds to the JSON property `renamedResources`
|
1265
|
+
# @return [Hash<String,String>]
|
1266
|
+
attr_accessor :renamed_resources
|
1267
|
+
|
1268
|
+
# Map from original service names to renamed versions. This is used when the
|
1269
|
+
# default generated types would cause a naming conflict. (Neither name is fully-
|
1270
|
+
# qualified.) Example: Subscriber to SubscriberServiceApi.
|
1271
|
+
# Corresponds to the JSON property `renamedServices`
|
1272
|
+
# @return [Hash<String,String>]
|
1273
|
+
attr_accessor :renamed_services
|
1274
|
+
|
1187
1275
|
def initialize(**args)
|
1188
1276
|
update!(**args)
|
1189
1277
|
end
|
@@ -1191,6 +1279,11 @@ module Google
|
|
1191
1279
|
# Update properties of this object
|
1192
1280
|
def update!(**args)
|
1193
1281
|
@common = args[:common] if args.key?(:common)
|
1282
|
+
@forced_namespace_aliases = args[:forced_namespace_aliases] if args.key?(:forced_namespace_aliases)
|
1283
|
+
@handwritten_signatures = args[:handwritten_signatures] if args.key?(:handwritten_signatures)
|
1284
|
+
@ignored_resources = args[:ignored_resources] if args.key?(:ignored_resources)
|
1285
|
+
@renamed_resources = args[:renamed_resources] if args.key?(:renamed_resources)
|
1286
|
+
@renamed_services = args[:renamed_services] if args.key?(:renamed_services)
|
1194
1287
|
end
|
1195
1288
|
end
|
1196
1289
|
|
@@ -1235,6 +1328,47 @@ module Google
|
|
1235
1328
|
end
|
1236
1329
|
end
|
1237
1330
|
|
1331
|
+
# The consumer policy rule that defines usable services and service groups.
|
1332
|
+
class EnableRule
|
1333
|
+
include Google::Apis::Core::Hashable
|
1334
|
+
|
1335
|
+
# Client and resource project enable type.
|
1336
|
+
# Corresponds to the JSON property `enableType`
|
1337
|
+
# @return [String]
|
1338
|
+
attr_accessor :enable_type
|
1339
|
+
|
1340
|
+
# DEPRECATED: Please use field `values`. Service group should have prefix `
|
1341
|
+
# groups/`. The names of the service groups that are enabled (Not Implemented).
|
1342
|
+
# go/predefined-service-groups. Example: `groups/googleServices`.
|
1343
|
+
# Corresponds to the JSON property `groups`
|
1344
|
+
# @return [Array<String>]
|
1345
|
+
attr_accessor :groups
|
1346
|
+
|
1347
|
+
# DEPRECATED: Please use field `values`. Service should have prefix `services/`.
|
1348
|
+
# The names of the services that are enabled. Example: `storage.googleapis.com`.
|
1349
|
+
# Corresponds to the JSON property `services`
|
1350
|
+
# @return [Array<String>]
|
1351
|
+
attr_accessor :services
|
1352
|
+
|
1353
|
+
# The names of the services or service groups that are enabled. Example: `
|
1354
|
+
# services/storage.googleapis.com`, groups/googleServices`, groups/allServices`.
|
1355
|
+
# Corresponds to the JSON property `values`
|
1356
|
+
# @return [Array<String>]
|
1357
|
+
attr_accessor :values
|
1358
|
+
|
1359
|
+
def initialize(**args)
|
1360
|
+
update!(**args)
|
1361
|
+
end
|
1362
|
+
|
1363
|
+
# Update properties of this object
|
1364
|
+
def update!(**args)
|
1365
|
+
@enable_type = args[:enable_type] if args.key?(:enable_type)
|
1366
|
+
@groups = args[:groups] if args.key?(:groups)
|
1367
|
+
@services = args[:services] if args.key?(:services)
|
1368
|
+
@values = args[:values] if args.key?(:values)
|
1369
|
+
end
|
1370
|
+
end
|
1371
|
+
|
1238
1372
|
# Request message for the `EnableService` method.
|
1239
1373
|
class EnableServiceRequest
|
1240
1374
|
include Google::Apis::Core::Hashable
|
@@ -3115,7 +3249,7 @@ module Google
|
|
3115
3249
|
# AccessControl The mixin construct implies that all methods in `AccessControl`
|
3116
3250
|
# are also declared with same name and request/response types in `Storage`. A
|
3117
3251
|
# documentation generator or annotation processor will see the effective `
|
3118
|
-
# Storage.GetAcl` method after
|
3252
|
+
# Storage.GetAcl` method after inherting documentation and annotations as
|
3119
3253
|
# follows: service Storage ` // Get the underlying ACL object. rpc GetAcl(
|
3120
3254
|
# GetAclRequest) returns (Acl) ` option (google.api.http).get = "/v2/`resource=**
|
3121
3255
|
# `:getAcl"; ` ... ` Note how the version in the path pattern changed from `v1`
|
@@ -3577,7 +3711,7 @@ module Google
|
|
3577
3711
|
# @return [Array<Google::Apis::ServiceusageV1::MethodSettings>]
|
3578
3712
|
attr_accessor :method_settings
|
3579
3713
|
|
3580
|
-
# Link to a
|
3714
|
+
# Link to a *public* URI where users can report issues. Example: https://
|
3581
3715
|
# issuetracker.google.com/issues/new?component=190865&template=1161103
|
3582
3716
|
# Corresponds to the JSON property `newIssueUri`
|
3583
3717
|
# @return [String]
|
@@ -4149,6 +4283,19 @@ module Google
|
|
4149
4283
|
end
|
4150
4284
|
end
|
4151
4285
|
|
4286
|
+
# Metadata for the `UpdateConsumerPolicyLRO` method.
|
4287
|
+
class UpdateConsumerPolicyLroMetadata
|
4288
|
+
include Google::Apis::Core::Hashable
|
4289
|
+
|
4290
|
+
def initialize(**args)
|
4291
|
+
update!(**args)
|
4292
|
+
end
|
4293
|
+
|
4294
|
+
# Update properties of this object
|
4295
|
+
def update!(**args)
|
4296
|
+
end
|
4297
|
+
end
|
4298
|
+
|
4152
4299
|
# Configuration controlling usage of a service.
|
4153
4300
|
class Usage
|
4154
4301
|
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.34.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 = "20230412"
|
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
|
@@ -924,6 +954,11 @@ module Google
|
|
924
954
|
class Representation < Google::Apis::Core::JsonRepresentation
|
925
955
|
property :common, as: 'common', class: Google::Apis::ServiceusageV1::CommonLanguageSettings, decorator: Google::Apis::ServiceusageV1::CommonLanguageSettings::Representation
|
926
956
|
|
957
|
+
collection :forced_namespace_aliases, as: 'forcedNamespaceAliases'
|
958
|
+
collection :handwritten_signatures, as: 'handwrittenSignatures'
|
959
|
+
collection :ignored_resources, as: 'ignoredResources'
|
960
|
+
hash :renamed_resources, as: 'renamedResources'
|
961
|
+
hash :renamed_services, as: 'renamedServices'
|
927
962
|
end
|
928
963
|
end
|
929
964
|
|
@@ -941,6 +976,16 @@ module Google
|
|
941
976
|
end
|
942
977
|
end
|
943
978
|
|
979
|
+
class EnableRule
|
980
|
+
# @private
|
981
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
982
|
+
property :enable_type, as: 'enableType'
|
983
|
+
collection :groups, as: 'groups'
|
984
|
+
collection :services, as: 'services'
|
985
|
+
collection :values, as: 'values'
|
986
|
+
end
|
987
|
+
end
|
988
|
+
|
944
989
|
class EnableServiceRequest
|
945
990
|
# @private
|
946
991
|
class Representation < Google::Apis::Core::JsonRepresentation
|
@@ -1610,6 +1655,12 @@ module Google
|
|
1610
1655
|
end
|
1611
1656
|
end
|
1612
1657
|
|
1658
|
+
class UpdateConsumerPolicyLroMetadata
|
1659
|
+
# @private
|
1660
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
1661
|
+
end
|
1662
|
+
end
|
1663
|
+
|
1613
1664
|
class Usage
|
1614
1665
|
# @private
|
1615
1666
|
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.34.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-04-16 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.34.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: []
|