google-apis-serviceusage_v1beta1 0.6.0 → 0.11.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/CHANGELOG.md +20 -0
- data/lib/google/apis/serviceusage_v1beta1/classes.rb +174 -72
- data/lib/google/apis/serviceusage_v1beta1/gem_version.rb +3 -3
- data/lib/google/apis/serviceusage_v1beta1/representations.rb +84 -2
- data/lib/google/apis/serviceusage_v1beta1/service.rb +20 -18
- metadata +14 -8
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 9cdcf52cdc27fd900e984aa1cea9cdbf2926f216c951b220947b0675eb3610ea
|
4
|
+
data.tar.gz: 8b124184afba406d52584decd99fb594b9e765915cb79502d97101bbfe31e630
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: bc9f060db37e9154dca20185d7c0d402575a33c9dfd3b2852c5ca8fb3d80b2126178ac18e233a0f62ad3b217311d6ee785c8ea2a2f6ebea9cbbdd4489895944c
|
7
|
+
data.tar.gz: 213a0f1b4cafd385512d7586284019680ed90df4430d0039a40cdb54adab22bb8177c760af02efe0dd9840669eae703ff6e22ee642126e59760d04119df11df9
|
data/CHANGELOG.md
CHANGED
@@ -1,5 +1,25 @@
|
|
1
1
|
# Release history for google-apis-serviceusage_v1beta1
|
2
2
|
|
3
|
+
### v0.11.0 (2021-06-24)
|
4
|
+
|
5
|
+
* Regenerated using generator version 0.3.0
|
6
|
+
|
7
|
+
### v0.10.0 (2021-05-27)
|
8
|
+
|
9
|
+
* Regenerated from discovery document revision 20210525
|
10
|
+
|
11
|
+
### v0.9.0 (2021-05-20)
|
12
|
+
|
13
|
+
* Unspecified changes
|
14
|
+
|
15
|
+
### v0.8.0 (2021-05-08)
|
16
|
+
|
17
|
+
* Regenerated from discovery document revision 20210501
|
18
|
+
|
19
|
+
### v0.7.0 (2021-03-30)
|
20
|
+
|
21
|
+
* Regenerated from discovery document revision 20210326
|
22
|
+
|
3
23
|
### v0.6.0 (2021-03-23)
|
4
24
|
|
5
25
|
* Regenerated from discovery document revision 20210319
|
@@ -27,19 +27,19 @@ module Google
|
|
27
27
|
include Google::Apis::Core::Hashable
|
28
28
|
|
29
29
|
# The cloud resource container at which the quota policy is created. The format
|
30
|
-
# is
|
30
|
+
# is ``container_type`/`container_number``
|
31
31
|
# Corresponds to the JSON property `container`
|
32
32
|
# @return [String]
|
33
33
|
attr_accessor :container
|
34
34
|
|
35
35
|
# If this map is nonempty, then this policy applies only to specific values for
|
36
36
|
# dimensions defined in the limit unit. For example, an policy on a limit with
|
37
|
-
# the unit 1/`project`/`region
|
38
|
-
# the value
|
39
|
-
# region. This map has the following restrictions: * If
|
40
|
-
# key, its value must be a valid Cloud region. * If
|
41
|
-
# value must be a valid Cloud zone. * Keys other than
|
42
|
-
# valid.
|
37
|
+
# the unit `1/`project`/`region`` could contain an entry with the key `region`
|
38
|
+
# and the value `us-east-1`; the policy is only applied to quota consumed in
|
39
|
+
# that region. This map has the following restrictions: * If `region` appears as
|
40
|
+
# a key, its value must be a valid Cloud region. * If `zone` appears as a key,
|
41
|
+
# its value must be a valid Cloud zone. * Keys other than `region` or `zone` are
|
42
|
+
# not valid.
|
43
43
|
# Corresponds to the JSON property `dimensions`
|
44
44
|
# @return [Hash<String,String>]
|
45
45
|
attr_accessor :dimensions
|
@@ -273,11 +273,13 @@ module Google
|
|
273
273
|
end
|
274
274
|
end
|
275
275
|
|
276
|
-
# `Authentication` defines the authentication configuration for
|
277
|
-
#
|
276
|
+
# `Authentication` defines the authentication configuration for API methods
|
277
|
+
# provided by an API service. Example: name: calendar.googleapis.com
|
278
278
|
# authentication: providers: - id: google_calendar_auth jwks_uri: https://www.
|
279
279
|
# googleapis.com/oauth2/v1/certs issuer: https://securetoken.google.com rules: -
|
280
|
-
# selector: "*" requirements: provider_id: google_calendar_auth
|
280
|
+
# selector: "*" requirements: provider_id: google_calendar_auth - selector:
|
281
|
+
# google.calendar.Delegate oauth: canonical_scopes: https://www.googleapis.com/
|
282
|
+
# auth/calendar.read
|
281
283
|
class Authentication
|
282
284
|
include Google::Apis::Core::Hashable
|
283
285
|
|
@@ -416,12 +418,6 @@ module Google
|
|
416
418
|
# @return [String]
|
417
419
|
attr_accessor :jwt_audience
|
418
420
|
|
419
|
-
# Minimum deadline in seconds needed for this method. Calls having deadline
|
420
|
-
# value lower than this will be rejected.
|
421
|
-
# Corresponds to the JSON property `minDeadline`
|
422
|
-
# @return [Float]
|
423
|
-
attr_accessor :min_deadline
|
424
|
-
|
425
421
|
# The number of seconds to wait for the completion of a long running operation.
|
426
422
|
# The default is no deadline.
|
427
423
|
# Corresponds to the JSON property `operationDeadline`
|
@@ -462,7 +458,6 @@ module Google
|
|
462
458
|
@deadline = args[:deadline] if args.key?(:deadline)
|
463
459
|
@disable_auth = args[:disable_auth] if args.key?(:disable_auth)
|
464
460
|
@jwt_audience = args[:jwt_audience] if args.key?(:jwt_audience)
|
465
|
-
@min_deadline = args[:min_deadline] if args.key?(:min_deadline)
|
466
461
|
@operation_deadline = args[:operation_deadline] if args.key?(:operation_deadline)
|
467
462
|
@path_translation = args[:path_translation] if args.key?(:path_translation)
|
468
463
|
@protocol = args[:protocol] if args.key?(:protocol)
|
@@ -703,7 +698,7 @@ module Google
|
|
703
698
|
# @return [Array<Google::Apis::ServiceusageV1beta1::ConsumerQuotaLimit>]
|
704
699
|
attr_accessor :descendant_consumer_quota_limits
|
705
700
|
|
706
|
-
# The display name of the metric. An example name would be:
|
701
|
+
# The display name of the metric. An example name would be: `CPUs`
|
707
702
|
# Corresponds to the JSON property `displayName`
|
708
703
|
# @return [String]
|
709
704
|
attr_accessor :display_name
|
@@ -715,7 +710,7 @@ module Google
|
|
715
710
|
|
716
711
|
# The resource name of the quota settings on this metric for this consumer. An
|
717
712
|
# example name would be: `projects/123/services/compute.googleapis.com/
|
718
|
-
# consumerQuotaMetrics/compute.googleapis.com%2Fcpus The resource name is
|
713
|
+
# consumerQuotaMetrics/compute.googleapis.com%2Fcpus` The resource name is
|
719
714
|
# intended to be opaque and should not be parsed for its component strings,
|
720
715
|
# since its representation could change in the future.
|
721
716
|
# Corresponds to the JSON property `name`
|
@@ -843,6 +838,21 @@ module Google
|
|
843
838
|
end
|
844
839
|
end
|
845
840
|
|
841
|
+
# Metadata message that provides information such as progress, partial failures,
|
842
|
+
# and similar information on each GetOperation call of LRO returned by
|
843
|
+
# CreateAdminQuotaPolicy.
|
844
|
+
class CreateAdminQuotaPolicyMetadata
|
845
|
+
include Google::Apis::Core::Hashable
|
846
|
+
|
847
|
+
def initialize(**args)
|
848
|
+
update!(**args)
|
849
|
+
end
|
850
|
+
|
851
|
+
# Update properties of this object
|
852
|
+
def update!(**args)
|
853
|
+
end
|
854
|
+
end
|
855
|
+
|
846
856
|
# Customize service error responses. For example, list any service specific
|
847
857
|
# protobuf types that can appear in error detail lists of error responses.
|
848
858
|
# Example: custom_error: types: - google.foo.v1.CustomError - google.foo.v1.
|
@@ -925,6 +935,21 @@ module Google
|
|
925
935
|
end
|
926
936
|
end
|
927
937
|
|
938
|
+
# Metadata message that provides information such as progress, partial failures,
|
939
|
+
# and similar information on each GetOperation call of LRO returned by
|
940
|
+
# DeleteAdminQuotaPolicy.
|
941
|
+
class DeleteAdminQuotaPolicyMetadata
|
942
|
+
include Google::Apis::Core::Hashable
|
943
|
+
|
944
|
+
def initialize(**args)
|
945
|
+
update!(**args)
|
946
|
+
end
|
947
|
+
|
948
|
+
# Update properties of this object
|
949
|
+
def update!(**args)
|
950
|
+
end
|
951
|
+
end
|
952
|
+
|
928
953
|
# Request message for the `DisableService` method.
|
929
954
|
class DisableServiceRequest
|
930
955
|
include Google::Apis::Core::Hashable
|
@@ -1153,26 +1178,21 @@ module Google
|
|
1153
1178
|
end
|
1154
1179
|
end
|
1155
1180
|
|
1156
|
-
# `Endpoint` describes a network
|
1157
|
-
# It is commonly known as a service endpoint. A service may expose any number
|
1158
|
-
#
|
1159
|
-
#
|
1160
|
-
#
|
1161
|
-
#
|
1162
|
-
#
|
1163
|
-
#
|
1164
|
-
#
|
1165
|
-
#
|
1181
|
+
# `Endpoint` describes a network address of a service that serves a set of APIs.
|
1182
|
+
# It is commonly known as a service endpoint. A service may expose any number of
|
1183
|
+
# service endpoints, and all service endpoints share the same service definition,
|
1184
|
+
# such as quota limits and monitoring metrics. Example: type: google.api.
|
1185
|
+
# Service name: library-example.googleapis.com endpoints: # Declares network
|
1186
|
+
# address `https://library-example.googleapis.com` # for service `library-
|
1187
|
+
# example.googleapis.com`. The `https` scheme # is implicit for all service
|
1188
|
+
# endpoints. Other schemes may be # supported in the future. - name: library-
|
1189
|
+
# example.googleapis.com allow_cors: false - name: content-staging-library-
|
1190
|
+
# example.googleapis.com # Allows HTTP OPTIONS calls to be passed to the API
|
1191
|
+
# frontend, for it # to decide whether the subsequent cross-origin request is
|
1192
|
+
# allowed # to proceed. allow_cors: true
|
1166
1193
|
class Endpoint
|
1167
1194
|
include Google::Apis::Core::Hashable
|
1168
1195
|
|
1169
|
-
# DEPRECATED: This field is no longer supported. Instead of using aliases,
|
1170
|
-
# please specify multiple google.api.Endpoint for each of the intended aliases.
|
1171
|
-
# Additional names that this endpoint will be hosted on.
|
1172
|
-
# Corresponds to the JSON property `aliases`
|
1173
|
-
# @return [Array<String>]
|
1174
|
-
attr_accessor :aliases
|
1175
|
-
|
1176
1196
|
# Allowing [CORS](https://en.wikipedia.org/wiki/Cross-origin_resource_sharing),
|
1177
1197
|
# aka cross-domain traffic, would allow the backends served from this endpoint
|
1178
1198
|
# to receive and respond to HTTP OPTIONS requests. The response will be used by
|
@@ -1202,7 +1222,6 @@ module Google
|
|
1202
1222
|
|
1203
1223
|
# Update properties of this object
|
1204
1224
|
def update!(**args)
|
1205
|
-
@aliases = args[:aliases] if args.key?(:aliases)
|
1206
1225
|
@allow_cors = args[:allow_cors] if args.key?(:allow_cors)
|
1207
1226
|
@name = args[:name] if args.key?(:name)
|
1208
1227
|
@target = args[:target] if args.key?(:target)
|
@@ -1360,6 +1379,19 @@ module Google
|
|
1360
1379
|
end
|
1361
1380
|
end
|
1362
1381
|
|
1382
|
+
# Metadata for the `GetServiceIdentity` method.
|
1383
|
+
class GetServiceIdentityMetadata
|
1384
|
+
include Google::Apis::Core::Hashable
|
1385
|
+
|
1386
|
+
def initialize(**args)
|
1387
|
+
update!(**args)
|
1388
|
+
end
|
1389
|
+
|
1390
|
+
# Update properties of this object
|
1391
|
+
def update!(**args)
|
1392
|
+
end
|
1393
|
+
end
|
1394
|
+
|
1363
1395
|
# Response message for getting service identity.
|
1364
1396
|
class GetServiceIdentityResponse
|
1365
1397
|
include Google::Apis::Core::Hashable
|
@@ -1386,13 +1418,16 @@ module Google
|
|
1386
1418
|
end
|
1387
1419
|
end
|
1388
1420
|
|
1389
|
-
# `Service` is the root object of Google service configuration
|
1390
|
-
# describes basic information about a service, such as
|
1391
|
-
# and delegates other aspects to sub-
|
1392
|
-
#
|
1393
|
-
#
|
1394
|
-
# google.api.Service name:
|
1395
|
-
#
|
1421
|
+
# `Service` is the root object of Google API service configuration (service
|
1422
|
+
# config). It describes the basic information about a logical service, such as
|
1423
|
+
# the service name and the user-facing title, and delegates other aspects to sub-
|
1424
|
+
# sections. Each sub-section is either a proto message or a repeated proto
|
1425
|
+
# message that configures a specific aspect, such as auth. For more information,
|
1426
|
+
# see each proto message definition. Example: type: google.api.Service name:
|
1427
|
+
# calendar.googleapis.com title: Google Calendar API apis: - name: google.
|
1428
|
+
# calendar.v3.Calendar visibility: rules: - selector: "google.calendar.v3.*"
|
1429
|
+
# restriction: PREVIEW backend: rules: - selector: "google.calendar.v3.*"
|
1430
|
+
# address: calendar.example.com authentication: providers: - id:
|
1396
1431
|
# google_calendar_auth jwks_uri: https://www.googleapis.com/oauth2/v1/certs
|
1397
1432
|
# issuer: https://securetoken.google.com rules: - selector: "*" requirements:
|
1398
1433
|
# provider_id: google_calendar_auth
|
@@ -1408,11 +1443,13 @@ module Google
|
|
1408
1443
|
# @return [Array<Google::Apis::ServiceusageV1beta1::Api>]
|
1409
1444
|
attr_accessor :apis
|
1410
1445
|
|
1411
|
-
# `Authentication` defines the authentication configuration for
|
1412
|
-
#
|
1446
|
+
# `Authentication` defines the authentication configuration for API methods
|
1447
|
+
# provided by an API service. Example: name: calendar.googleapis.com
|
1413
1448
|
# authentication: providers: - id: google_calendar_auth jwks_uri: https://www.
|
1414
1449
|
# googleapis.com/oauth2/v1/certs issuer: https://securetoken.google.com rules: -
|
1415
|
-
# selector: "*" requirements: provider_id: google_calendar_auth
|
1450
|
+
# selector: "*" requirements: provider_id: google_calendar_auth - selector:
|
1451
|
+
# google.calendar.Delegate oauth: canonical_scopes: https://www.googleapis.com/
|
1452
|
+
# auth/calendar.read
|
1416
1453
|
# Corresponds to the JSON property `authentication`
|
1417
1454
|
# @return [Google::Apis::ServiceusageV1beta1::Authentication]
|
1418
1455
|
attr_accessor :authentication
|
@@ -1441,7 +1478,8 @@ module Google
|
|
1441
1478
|
# @return [Google::Apis::ServiceusageV1beta1::Billing]
|
1442
1479
|
attr_accessor :billing
|
1443
1480
|
|
1444
|
-
#
|
1481
|
+
# Obsolete. Do not use. This field has no semantic meaning. The service config
|
1482
|
+
# compiler always sets this field to `3`.
|
1445
1483
|
# Corresponds to the JSON property `configVersion`
|
1446
1484
|
# @return [Fixnum]
|
1447
1485
|
attr_accessor :config_version
|
@@ -1773,11 +1811,13 @@ module Google
|
|
1773
1811
|
# @return [Array<Google::Apis::ServiceusageV1beta1::Api>]
|
1774
1812
|
attr_accessor :apis
|
1775
1813
|
|
1776
|
-
# `Authentication` defines the authentication configuration for
|
1777
|
-
#
|
1814
|
+
# `Authentication` defines the authentication configuration for API methods
|
1815
|
+
# provided by an API service. Example: name: calendar.googleapis.com
|
1778
1816
|
# authentication: providers: - id: google_calendar_auth jwks_uri: https://www.
|
1779
1817
|
# googleapis.com/oauth2/v1/certs issuer: https://securetoken.google.com rules: -
|
1780
|
-
# selector: "*" requirements: provider_id: google_calendar_auth
|
1818
|
+
# selector: "*" requirements: provider_id: google_calendar_auth - selector:
|
1819
|
+
# google.calendar.Delegate oauth: canonical_scopes: https://www.googleapis.com/
|
1820
|
+
# auth/calendar.read
|
1781
1821
|
# Corresponds to the JSON property `authentication`
|
1782
1822
|
# @return [Google::Apis::ServiceusageV1beta1::Authentication]
|
1783
1823
|
attr_accessor :authentication
|
@@ -2204,6 +2244,21 @@ module Google
|
|
2204
2244
|
end
|
2205
2245
|
end
|
2206
2246
|
|
2247
|
+
# Metadata message that provides information such as progress, partial failures,
|
2248
|
+
# and similar information on each GetOperation call of LRO returned by
|
2249
|
+
# ImportAdminOverrides.
|
2250
|
+
class ImportAdminOverridesMetadata
|
2251
|
+
include Google::Apis::Core::Hashable
|
2252
|
+
|
2253
|
+
def initialize(**args)
|
2254
|
+
update!(**args)
|
2255
|
+
end
|
2256
|
+
|
2257
|
+
# Update properties of this object
|
2258
|
+
def update!(**args)
|
2259
|
+
end
|
2260
|
+
end
|
2261
|
+
|
2207
2262
|
# Request message for ImportAdminOverrides
|
2208
2263
|
class ImportAdminOverridesRequest
|
2209
2264
|
include Google::Apis::Core::Hashable
|
@@ -2260,6 +2315,21 @@ module Google
|
|
2260
2315
|
end
|
2261
2316
|
end
|
2262
2317
|
|
2318
|
+
# Metadata message that provides information such as progress, partial failures,
|
2319
|
+
# and similar information on each GetOperation call of LRO returned by
|
2320
|
+
# ImportAdminQuotaPolicies.
|
2321
|
+
class ImportAdminQuotaPoliciesMetadata
|
2322
|
+
include Google::Apis::Core::Hashable
|
2323
|
+
|
2324
|
+
def initialize(**args)
|
2325
|
+
update!(**args)
|
2326
|
+
end
|
2327
|
+
|
2328
|
+
# Update properties of this object
|
2329
|
+
def update!(**args)
|
2330
|
+
end
|
2331
|
+
end
|
2332
|
+
|
2263
2333
|
# Response message for ImportAdminQuotaPolicies
|
2264
2334
|
class ImportAdminQuotaPoliciesResponse
|
2265
2335
|
include Google::Apis::Core::Hashable
|
@@ -2279,6 +2349,21 @@ module Google
|
|
2279
2349
|
end
|
2280
2350
|
end
|
2281
2351
|
|
2352
|
+
# Metadata message that provides information such as progress, partial failures,
|
2353
|
+
# and similar information on each GetOperation call of LRO returned by
|
2354
|
+
# ImportConsumerOverrides.
|
2355
|
+
class ImportConsumerOverridesMetadata
|
2356
|
+
include Google::Apis::Core::Hashable
|
2357
|
+
|
2358
|
+
def initialize(**args)
|
2359
|
+
update!(**args)
|
2360
|
+
end
|
2361
|
+
|
2362
|
+
# Update properties of this object
|
2363
|
+
def update!(**args)
|
2364
|
+
end
|
2365
|
+
end
|
2366
|
+
|
2282
2367
|
# Request message for ImportConsumerOverrides
|
2283
2368
|
class ImportConsumerOverridesRequest
|
2284
2369
|
include Google::Apis::Core::Hashable
|
@@ -3386,8 +3471,8 @@ module Google
|
|
3386
3471
|
# bucket, which is the default quota value applied to all requests that do not
|
3387
3472
|
# have a more specific override. If this map is nonempty, the default limit,
|
3388
3473
|
# effective limit, and quota overrides apply only to requests that have the
|
3389
|
-
# dimensions given in the map. For example, if the map has key
|
3390
|
-
# value
|
3474
|
+
# dimensions given in the map. For example, if the map has key `region` and
|
3475
|
+
# value `us-east-1`, then the specified effective limit is only effective in
|
3391
3476
|
# that region, and the specified overrides apply only in that region.
|
3392
3477
|
# Corresponds to the JSON property `dimensions`
|
3393
3478
|
# @return [Hash<String,String>]
|
@@ -3530,25 +3615,25 @@ module Google
|
|
3530
3615
|
class QuotaOverride
|
3531
3616
|
include Google::Apis::Core::Hashable
|
3532
3617
|
|
3533
|
-
# The resource name of the ancestor that requested the override. For example:
|
3534
|
-
# organizations/12345
|
3618
|
+
# The resource name of the ancestor that requested the override. For example: `
|
3619
|
+
# organizations/12345` or `folders/67890`. Used by admin overrides only.
|
3535
3620
|
# Corresponds to the JSON property `adminOverrideAncestor`
|
3536
3621
|
# @return [String]
|
3537
3622
|
attr_accessor :admin_override_ancestor
|
3538
3623
|
|
3539
3624
|
# If this map is nonempty, then this override applies only to specific values
|
3540
3625
|
# for dimensions defined in the limit unit. For example, an override on a limit
|
3541
|
-
# with the unit 1/`project`/`region
|
3542
|
-
# and the value
|
3543
|
-
# that region. This map has the following restrictions: * Keys that
|
3544
|
-
# defined in the limit's unit are not valid keys. Any string appearing
|
3545
|
-
# brackets
|
3546
|
-
# project
|
3547
|
-
# resource name. *
|
3548
|
-
# overrides that apply only to a specific user. * If
|
3549
|
-
# its value must be a valid Cloud region. * If
|
3550
|
-
# value must be a valid Cloud zone. * If any valid key other than
|
3551
|
-
# zone
|
3626
|
+
# with the unit `1/`project`/`region`` could contain an entry with the key `
|
3627
|
+
# region` and the value `us-east-1`; the override is only applied to quota
|
3628
|
+
# consumed in that region. This map has the following restrictions: * Keys that
|
3629
|
+
# are not defined in the limit's unit are not valid keys. Any string appearing
|
3630
|
+
# in ``brackets`` in the unit (besides ``project`` or ``user``) is a defined key.
|
3631
|
+
# * `project` is not a valid key; the project is already specified in the
|
3632
|
+
# parent resource name. * `user` is not a valid key; the API does not support
|
3633
|
+
# quota overrides that apply only to a specific user. * If `region` appears as a
|
3634
|
+
# key, its value must be a valid Cloud region. * If `zone` appears as a key, its
|
3635
|
+
# value must be a valid Cloud zone. * If any valid key other than `region` or `
|
3636
|
+
# zone` appears in the map, then all valid keys other than `region` or `zone`
|
3552
3637
|
# must also appear in the map.
|
3553
3638
|
# Corresponds to the JSON property `dimensions`
|
3554
3639
|
# @return [Hash<String,String>]
|
@@ -3610,13 +3695,13 @@ module Google
|
|
3610
3695
|
# @return [Google::Apis::ServiceusageV1beta1::ServiceConfig]
|
3611
3696
|
attr_accessor :config
|
3612
3697
|
|
3613
|
-
# The resource name of the consumer and service. A valid name would be: -
|
3614
|
-
# projects/123/services/serviceusage.googleapis.com
|
3698
|
+
# The resource name of the consumer and service. A valid name would be: - `
|
3699
|
+
# projects/123/services/serviceusage.googleapis.com`
|
3615
3700
|
# Corresponds to the JSON property `name`
|
3616
3701
|
# @return [String]
|
3617
3702
|
attr_accessor :name
|
3618
3703
|
|
3619
|
-
# The resource name of the consumer. A valid name would be: - projects/123
|
3704
|
+
# The resource name of the consumer. A valid name would be: - `projects/123`
|
3620
3705
|
# Corresponds to the JSON property `parent`
|
3621
3706
|
# @return [String]
|
3622
3707
|
attr_accessor :parent
|
@@ -3649,11 +3734,13 @@ module Google
|
|
3649
3734
|
# @return [Array<Google::Apis::ServiceusageV1beta1::Api>]
|
3650
3735
|
attr_accessor :apis
|
3651
3736
|
|
3652
|
-
# `Authentication` defines the authentication configuration for
|
3653
|
-
#
|
3737
|
+
# `Authentication` defines the authentication configuration for API methods
|
3738
|
+
# provided by an API service. Example: name: calendar.googleapis.com
|
3654
3739
|
# authentication: providers: - id: google_calendar_auth jwks_uri: https://www.
|
3655
3740
|
# googleapis.com/oauth2/v1/certs issuer: https://securetoken.google.com rules: -
|
3656
|
-
# selector: "*" requirements: provider_id: google_calendar_auth
|
3741
|
+
# selector: "*" requirements: provider_id: google_calendar_auth - selector:
|
3742
|
+
# google.calendar.Delegate oauth: canonical_scopes: https://www.googleapis.com/
|
3743
|
+
# auth/calendar.read
|
3657
3744
|
# Corresponds to the JSON property `authentication`
|
3658
3745
|
# @return [Google::Apis::ServiceusageV1beta1::Authentication]
|
3659
3746
|
attr_accessor :authentication
|
@@ -4035,6 +4122,21 @@ module Google
|
|
4035
4122
|
end
|
4036
4123
|
end
|
4037
4124
|
|
4125
|
+
# Metadata message that provides information such as progress, partial failures,
|
4126
|
+
# and similar information on each GetOperation call of LRO returned by
|
4127
|
+
# UpdateAdminQuotaPolicy.
|
4128
|
+
class UpdateAdminQuotaPolicyMetadata
|
4129
|
+
include Google::Apis::Core::Hashable
|
4130
|
+
|
4131
|
+
def initialize(**args)
|
4132
|
+
update!(**args)
|
4133
|
+
end
|
4134
|
+
|
4135
|
+
# Update properties of this object
|
4136
|
+
def update!(**args)
|
4137
|
+
end
|
4138
|
+
end
|
4139
|
+
|
4038
4140
|
# Configuration controlling usage of a service.
|
4039
4141
|
class Usage
|
4040
4142
|
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.11.0"
|
20
20
|
|
21
21
|
# Version of the code generator used to generate this client
|
22
|
-
GENERATOR_VERSION = "0.
|
22
|
+
GENERATOR_VERSION = "0.3.0"
|
23
23
|
|
24
24
|
# Revision of the discovery document this client was generated from
|
25
|
-
REVISION = "
|
25
|
+
REVISION = "20210525"
|
26
26
|
end
|
27
27
|
end
|
28
28
|
end
|
@@ -136,6 +136,12 @@ module Google
|
|
136
136
|
include Google::Apis::Core::JsonObjectSupport
|
137
137
|
end
|
138
138
|
|
139
|
+
class CreateAdminQuotaPolicyMetadata
|
140
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
141
|
+
|
142
|
+
include Google::Apis::Core::JsonObjectSupport
|
143
|
+
end
|
144
|
+
|
139
145
|
class CustomError
|
140
146
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
141
147
|
|
@@ -154,6 +160,12 @@ module Google
|
|
154
160
|
include Google::Apis::Core::JsonObjectSupport
|
155
161
|
end
|
156
162
|
|
163
|
+
class DeleteAdminQuotaPolicyMetadata
|
164
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
165
|
+
|
166
|
+
include Google::Apis::Core::JsonObjectSupport
|
167
|
+
end
|
168
|
+
|
157
169
|
class DisableServiceRequest
|
158
170
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
159
171
|
|
@@ -226,6 +238,12 @@ module Google
|
|
226
238
|
include Google::Apis::Core::JsonObjectSupport
|
227
239
|
end
|
228
240
|
|
241
|
+
class GetServiceIdentityMetadata
|
242
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
243
|
+
|
244
|
+
include Google::Apis::Core::JsonObjectSupport
|
245
|
+
end
|
246
|
+
|
229
247
|
class GetServiceIdentityResponse
|
230
248
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
231
249
|
|
@@ -280,6 +298,12 @@ module Google
|
|
280
298
|
include Google::Apis::Core::JsonObjectSupport
|
281
299
|
end
|
282
300
|
|
301
|
+
class ImportAdminOverridesMetadata
|
302
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
303
|
+
|
304
|
+
include Google::Apis::Core::JsonObjectSupport
|
305
|
+
end
|
306
|
+
|
283
307
|
class ImportAdminOverridesRequest
|
284
308
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
285
309
|
|
@@ -292,12 +316,24 @@ module Google
|
|
292
316
|
include Google::Apis::Core::JsonObjectSupport
|
293
317
|
end
|
294
318
|
|
319
|
+
class ImportAdminQuotaPoliciesMetadata
|
320
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
321
|
+
|
322
|
+
include Google::Apis::Core::JsonObjectSupport
|
323
|
+
end
|
324
|
+
|
295
325
|
class ImportAdminQuotaPoliciesResponse
|
296
326
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
297
327
|
|
298
328
|
include Google::Apis::Core::JsonObjectSupport
|
299
329
|
end
|
300
330
|
|
331
|
+
class ImportConsumerOverridesMetadata
|
332
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
333
|
+
|
334
|
+
include Google::Apis::Core::JsonObjectSupport
|
335
|
+
end
|
336
|
+
|
301
337
|
class ImportConsumerOverridesRequest
|
302
338
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
303
339
|
|
@@ -538,6 +574,12 @@ module Google
|
|
538
574
|
include Google::Apis::Core::JsonObjectSupport
|
539
575
|
end
|
540
576
|
|
577
|
+
class UpdateAdminQuotaPolicyMetadata
|
578
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
579
|
+
|
580
|
+
include Google::Apis::Core::JsonObjectSupport
|
581
|
+
end
|
582
|
+
|
541
583
|
class Usage
|
542
584
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
543
585
|
|
@@ -637,7 +679,6 @@ module Google
|
|
637
679
|
property :deadline, as: 'deadline'
|
638
680
|
property :disable_auth, as: 'disableAuth'
|
639
681
|
property :jwt_audience, as: 'jwtAudience'
|
640
|
-
property :min_deadline, as: 'minDeadline'
|
641
682
|
property :operation_deadline, as: 'operationDeadline'
|
642
683
|
property :path_translation, as: 'pathTranslation'
|
643
684
|
property :protocol, as: 'protocol'
|
@@ -747,6 +788,12 @@ module Google
|
|
747
788
|
end
|
748
789
|
end
|
749
790
|
|
791
|
+
class CreateAdminQuotaPolicyMetadata
|
792
|
+
# @private
|
793
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
794
|
+
end
|
795
|
+
end
|
796
|
+
|
750
797
|
class CustomError
|
751
798
|
# @private
|
752
799
|
class Representation < Google::Apis::Core::JsonRepresentation
|
@@ -772,6 +819,12 @@ module Google
|
|
772
819
|
end
|
773
820
|
end
|
774
821
|
|
822
|
+
class DeleteAdminQuotaPolicyMetadata
|
823
|
+
# @private
|
824
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
825
|
+
end
|
826
|
+
end
|
827
|
+
|
775
828
|
class DisableServiceRequest
|
776
829
|
# @private
|
777
830
|
class Representation < Google::Apis::Core::JsonRepresentation
|
@@ -840,7 +893,6 @@ module Google
|
|
840
893
|
class Endpoint
|
841
894
|
# @private
|
842
895
|
class Representation < Google::Apis::Core::JsonRepresentation
|
843
|
-
collection :aliases, as: 'aliases'
|
844
896
|
property :allow_cors, as: 'allowCors'
|
845
897
|
property :name, as: 'name'
|
846
898
|
property :target, as: 'target'
|
@@ -888,6 +940,12 @@ module Google
|
|
888
940
|
end
|
889
941
|
end
|
890
942
|
|
943
|
+
class GetServiceIdentityMetadata
|
944
|
+
# @private
|
945
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
946
|
+
end
|
947
|
+
end
|
948
|
+
|
891
949
|
class GetServiceIdentityResponse
|
892
950
|
# @private
|
893
951
|
class Representation < Google::Apis::Core::JsonRepresentation
|
@@ -1038,6 +1096,12 @@ module Google
|
|
1038
1096
|
end
|
1039
1097
|
end
|
1040
1098
|
|
1099
|
+
class ImportAdminOverridesMetadata
|
1100
|
+
# @private
|
1101
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
1102
|
+
end
|
1103
|
+
end
|
1104
|
+
|
1041
1105
|
class ImportAdminOverridesRequest
|
1042
1106
|
# @private
|
1043
1107
|
class Representation < Google::Apis::Core::JsonRepresentation
|
@@ -1056,6 +1120,12 @@ module Google
|
|
1056
1120
|
end
|
1057
1121
|
end
|
1058
1122
|
|
1123
|
+
class ImportAdminQuotaPoliciesMetadata
|
1124
|
+
# @private
|
1125
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
1126
|
+
end
|
1127
|
+
end
|
1128
|
+
|
1059
1129
|
class ImportAdminQuotaPoliciesResponse
|
1060
1130
|
# @private
|
1061
1131
|
class Representation < Google::Apis::Core::JsonRepresentation
|
@@ -1064,6 +1134,12 @@ module Google
|
|
1064
1134
|
end
|
1065
1135
|
end
|
1066
1136
|
|
1137
|
+
class ImportConsumerOverridesMetadata
|
1138
|
+
# @private
|
1139
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
1140
|
+
end
|
1141
|
+
end
|
1142
|
+
|
1067
1143
|
class ImportConsumerOverridesRequest
|
1068
1144
|
# @private
|
1069
1145
|
class Representation < Google::Apis::Core::JsonRepresentation
|
@@ -1475,6 +1551,12 @@ module Google
|
|
1475
1551
|
end
|
1476
1552
|
end
|
1477
1553
|
|
1554
|
+
class UpdateAdminQuotaPolicyMetadata
|
1555
|
+
# @private
|
1556
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
1557
|
+
end
|
1558
|
+
end
|
1559
|
+
|
1478
1560
|
class Usage
|
1479
1561
|
# @private
|
1480
1562
|
class Representation < Google::Apis::Core::JsonRepresentation
|
@@ -128,9 +128,9 @@ module Google
|
|
128
128
|
execute_or_queue_command(command, &block)
|
129
129
|
end
|
130
130
|
|
131
|
-
#
|
131
|
+
# Enables multiple services on a project. The operation is atomic: if enabling
|
132
132
|
# any service fails, then the entire batch fails, and no state changes occur.
|
133
|
-
# Operation
|
133
|
+
# Operation response type: `google.protobuf.Empty`
|
134
134
|
# @param [String] parent
|
135
135
|
# Parent to enable services on. An example name would be: `projects/123` where `
|
136
136
|
# 123` is the project number (not project ID). The `BatchEnableServices` method
|
@@ -165,11 +165,12 @@ module Google
|
|
165
165
|
execute_or_queue_command(command, &block)
|
166
166
|
end
|
167
167
|
|
168
|
-
#
|
168
|
+
# Disables a service so that it can no longer be used with a project. This
|
169
169
|
# prevents unintended usage that may cause unexpected billing charges or
|
170
170
|
# security leaks. It is not valid to call the disable method on a service that
|
171
171
|
# is not currently enabled. Callers will receive a `FAILED_PRECONDITION` status
|
172
|
-
# if the target service is not currently enabled. Operation
|
172
|
+
# if the target service is not currently enabled. Operation response type: `
|
173
|
+
# google.protobuf.Empty`
|
173
174
|
# @param [String] name
|
174
175
|
# Name of the consumer and service to disable the service on. The enable and
|
175
176
|
# disable methods currently only support projects. An example name would be: `
|
@@ -205,7 +206,8 @@ module Google
|
|
205
206
|
execute_or_queue_command(command, &block)
|
206
207
|
end
|
207
208
|
|
208
|
-
#
|
209
|
+
# Enables a service so that it can be used with a project. Operation response
|
210
|
+
# type: `google.protobuf.Empty`
|
209
211
|
# @param [String] name
|
210
212
|
# Name of the consumer and service to enable the service on. The `EnableService`
|
211
213
|
# and `DisableService` methods currently only support projects. Enabling a
|
@@ -243,7 +245,7 @@ module Google
|
|
243
245
|
execute_or_queue_command(command, &block)
|
244
246
|
end
|
245
247
|
|
246
|
-
#
|
248
|
+
# Generates service identity for service.
|
247
249
|
# @param [String] parent
|
248
250
|
# Name of the consumer and service to generate an identity for. The `
|
249
251
|
# GenerateServiceIdentity` methods currently only support projects. An example
|
@@ -308,8 +310,8 @@ module Google
|
|
308
310
|
execute_or_queue_command(command, &block)
|
309
311
|
end
|
310
312
|
|
311
|
-
#
|
312
|
-
# those services with respect to the project. The list includes all public
|
313
|
+
# Lists all services available to the specified project, and the current state
|
314
|
+
# of those services with respect to the project. The list includes all public
|
313
315
|
# services, all services for which the calling user has the `servicemanagement.
|
314
316
|
# services.bind` permission, and all services that have already been enabled on
|
315
317
|
# the project. The list can be filtered to only include services in a specific
|
@@ -358,9 +360,9 @@ module Google
|
|
358
360
|
|
359
361
|
# Retrieves a summary of quota information for a specific quota metric
|
360
362
|
# @param [String] name
|
361
|
-
# The resource name of the quota limit. An example name would be: projects/123/
|
363
|
+
# The resource name of the quota limit. An example name would be: `projects/123/
|
362
364
|
# services/serviceusage.googleapis.com/quotas/metrics/serviceusage.googleapis.
|
363
|
-
# com%2Fmutate_requests
|
365
|
+
# com%2Fmutate_requests`
|
364
366
|
# @param [String] view
|
365
367
|
# Specifies the level of detail for quota information in the response.
|
366
368
|
# @param [String] fields
|
@@ -391,9 +393,9 @@ module Google
|
|
391
393
|
execute_or_queue_command(command, &block)
|
392
394
|
end
|
393
395
|
|
394
|
-
#
|
395
|
-
# but on many different metrics or limits. The name field in the quota
|
396
|
-
# message should not be set.
|
396
|
+
# Creates or updates multiple admin overrides atomically, all on the same
|
397
|
+
# consumer, but on many different metrics or limits. The name field in the quota
|
398
|
+
# override message should not be set.
|
397
399
|
# @param [String] parent
|
398
400
|
# The resource name of the consumer. An example name would be: `projects/123/
|
399
401
|
# services/compute.googleapis.com`
|
@@ -427,7 +429,7 @@ module Google
|
|
427
429
|
execute_or_queue_command(command, &block)
|
428
430
|
end
|
429
431
|
|
430
|
-
#
|
432
|
+
# Creates or updates multiple consumer overrides atomically, all on the same
|
431
433
|
# consumer, but on many different metrics or limits. The name field in the quota
|
432
434
|
# override message should not be set.
|
433
435
|
# @param [String] parent
|
@@ -469,10 +471,10 @@ module Google
|
|
469
471
|
# preciseness, default value), the current effective limit value, and all of the
|
470
472
|
# overrides applied to the limit.
|
471
473
|
# @param [String] parent
|
472
|
-
# Parent of the quotas resource. Some example names would be: projects/123/
|
473
|
-
# services/serviceconsumermanagement.googleapis.com folders/345/services/
|
474
|
-
# serviceconsumermanagement.googleapis.com organizations/456/services/
|
475
|
-
# serviceconsumermanagement.googleapis.com
|
474
|
+
# Parent of the quotas resource. Some example names would be: `projects/123/
|
475
|
+
# services/serviceconsumermanagement.googleapis.com` `folders/345/services/
|
476
|
+
# serviceconsumermanagement.googleapis.com` `organizations/456/services/
|
477
|
+
# serviceconsumermanagement.googleapis.com`
|
476
478
|
# @param [Fixnum] page_size
|
477
479
|
# Requested size of the next page of data.
|
478
480
|
# @param [String] page_token
|
metadata
CHANGED
@@ -1,29 +1,35 @@
|
|
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.11.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: 2021-
|
11
|
+
date: 2021-06-28 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: google-apis-core
|
15
15
|
requirement: !ruby/object:Gem::Requirement
|
16
16
|
requirements:
|
17
|
-
- - "
|
17
|
+
- - ">="
|
18
18
|
- !ruby/object:Gem::Version
|
19
|
-
version: '0.
|
19
|
+
version: '0.3'
|
20
|
+
- - "<"
|
21
|
+
- !ruby/object:Gem::Version
|
22
|
+
version: 2.a
|
20
23
|
type: :runtime
|
21
24
|
prerelease: false
|
22
25
|
version_requirements: !ruby/object:Gem::Requirement
|
23
26
|
requirements:
|
24
|
-
- - "
|
27
|
+
- - ">="
|
28
|
+
- !ruby/object:Gem::Version
|
29
|
+
version: '0.3'
|
30
|
+
- - "<"
|
25
31
|
- !ruby/object:Gem::Version
|
26
|
-
version:
|
32
|
+
version: 2.a
|
27
33
|
description: This is the simple REST client for Service Usage API V1beta1. Simple
|
28
34
|
REST clients are Ruby client libraries that provide access to Google services via
|
29
35
|
their HTTP REST API endpoints. These libraries are generated and updated automatically
|
@@ -52,7 +58,7 @@ licenses:
|
|
52
58
|
metadata:
|
53
59
|
bug_tracker_uri: https://github.com/googleapis/google-api-ruby-client/issues
|
54
60
|
changelog_uri: https://github.com/googleapis/google-api-ruby-client/tree/master/generated/google-apis-serviceusage_v1beta1/CHANGELOG.md
|
55
|
-
documentation_uri: https://googleapis.dev/ruby/google-apis-serviceusage_v1beta1/v0.
|
61
|
+
documentation_uri: https://googleapis.dev/ruby/google-apis-serviceusage_v1beta1/v0.11.0
|
56
62
|
source_code_uri: https://github.com/googleapis/google-api-ruby-client/tree/master/generated/google-apis-serviceusage_v1beta1
|
57
63
|
post_install_message:
|
58
64
|
rdoc_options: []
|
@@ -69,7 +75,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
69
75
|
- !ruby/object:Gem::Version
|
70
76
|
version: '0'
|
71
77
|
requirements: []
|
72
|
-
rubygems_version: 3.2.
|
78
|
+
rubygems_version: 3.2.17
|
73
79
|
signing_key:
|
74
80
|
specification_version: 4
|
75
81
|
summary: Simple REST client for Service Usage API V1beta1
|