google-apis-serviceusage_v1beta1 0.7.0 → 0.12.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: c3ba22f6f022715887f9e423f5b9480f3ce520c01a45fdc3e6f48722932b148b
4
- data.tar.gz: '09973835afb33471487989f3820fdadaa78b8647625fa194fe85b5c36f1b68c7'
3
+ metadata.gz: d4e493921d512b5b9178d3e93e1fc8e54560394d52d9bf7714d7633961a395a7
4
+ data.tar.gz: '02419a38aa201d55054526ba815ab4d0980bb9626544a527294bec572e6a7ebd'
5
5
  SHA512:
6
- metadata.gz: 00017eca9cde6231eb3fedb549b60283a369aed4255b78a4be06be621b7948c5456c9a4e8a113eac5ff3229e3196e8796c3ef3ce1bafb97836446f62560aba28
7
- data.tar.gz: c04ae3b5eccd4cf2b4a17923be354dd08301d95852ea6a0ed49bc7d6cb8d84c59125941aa7878220bcd441d8a42698f07470b1ea7dc2f115a563ab39c308e52a
6
+ metadata.gz: 6a84023837b072b5e10aac82263766c64eba6c68f952fa6e1b048104616b56d0da5545bdadceed89a7c1893a81902f1b7824dd8b01bee710e1237c30803ff9c5
7
+ data.tar.gz: 2081f57e039c22478c87dbd9a9554e6039107dc2c21e65db20c1520230aa3ed6d46e239230610ed33c50736f18813dd5defb993a214092bf82423dd5e6029eb6
data/CHANGELOG.md CHANGED
@@ -1,5 +1,25 @@
1
1
  # Release history for google-apis-serviceusage_v1beta1
2
2
 
3
+ ### v0.12.0 (2021-06-29)
4
+
5
+ * Regenerated using generator version 0.4.0
6
+
7
+ ### v0.11.0 (2021-06-24)
8
+
9
+ * Regenerated using generator version 0.3.0
10
+
11
+ ### v0.10.0 (2021-05-27)
12
+
13
+ * Regenerated from discovery document revision 20210525
14
+
15
+ ### v0.9.0 (2021-05-20)
16
+
17
+ * Unspecified changes
18
+
19
+ ### v0.8.0 (2021-05-08)
20
+
21
+ * Regenerated from discovery document revision 20210501
22
+
3
23
  ### v0.7.0 (2021-03-30)
4
24
 
5
25
  * Regenerated from discovery document revision 20210326
@@ -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 `container_type`/`container_number`
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` could contain an entry with the key "region" and
38
- # the value "us-east-1"; the policy is only applied to quota consumed in that
39
- # region. This map has the following restrictions: * If "region" appears as a
40
- # key, its value must be a valid Cloud region. * If "zone" appears as a key, its
41
- # value must be a valid Cloud zone. * Keys other than "region" or "zone" are not
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 an API. Example
277
- # for an API targeted for external use: name: calendar.googleapis.com
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: "CPUs"
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 endpoint of a service that serves a set of APIs.
1157
- # It is commonly known as a service endpoint. A service may expose any number
1158
- # of service endpoints, and all service endpoints share the same service
1159
- # definition, such as quota limits and monitoring metrics. Example service
1160
- # configuration: name: library-example.googleapis.com endpoints: # Below entry
1161
- # makes 'google.example.library.v1.Library' # API be served from endpoint
1162
- # address library-example.googleapis.com. # It also allows HTTP OPTIONS calls to
1163
- # be passed to the backend, for # it to decide whether the subsequent cross-
1164
- # origin request is # allowed to proceed. - name: library-example.googleapis.com
1165
- # allow_cors: true
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 schema. It
1390
- # describes basic information about a service, such as the name and the title,
1391
- # and delegates other aspects to sub-sections. Each sub-section is either a
1392
- # proto message or a repeated proto message that configures a specific aspect,
1393
- # such as auth. See each proto message definition for details. Example: type:
1394
- # google.api.Service name: calendar.googleapis.com title: Google Calendar API
1395
- # apis: - name: google.calendar.v3.Calendar authentication: providers: - id:
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 an API. Example
1412
- # for an API targeted for external use: name: calendar.googleapis.com
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
@@ -1774,11 +1811,13 @@ module Google
1774
1811
  # @return [Array<Google::Apis::ServiceusageV1beta1::Api>]
1775
1812
  attr_accessor :apis
1776
1813
 
1777
- # `Authentication` defines the authentication configuration for an API. Example
1778
- # for an API targeted for external use: name: calendar.googleapis.com
1814
+ # `Authentication` defines the authentication configuration for API methods
1815
+ # provided by an API service. Example: name: calendar.googleapis.com
1779
1816
  # authentication: providers: - id: google_calendar_auth jwks_uri: https://www.
1780
1817
  # googleapis.com/oauth2/v1/certs issuer: https://securetoken.google.com rules: -
1781
- # 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
1782
1821
  # Corresponds to the JSON property `authentication`
1783
1822
  # @return [Google::Apis::ServiceusageV1beta1::Authentication]
1784
1823
  attr_accessor :authentication
@@ -2205,6 +2244,21 @@ module Google
2205
2244
  end
2206
2245
  end
2207
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
+
2208
2262
  # Request message for ImportAdminOverrides
2209
2263
  class ImportAdminOverridesRequest
2210
2264
  include Google::Apis::Core::Hashable
@@ -2261,6 +2315,21 @@ module Google
2261
2315
  end
2262
2316
  end
2263
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
+
2264
2333
  # Response message for ImportAdminQuotaPolicies
2265
2334
  class ImportAdminQuotaPoliciesResponse
2266
2335
  include Google::Apis::Core::Hashable
@@ -2280,6 +2349,21 @@ module Google
2280
2349
  end
2281
2350
  end
2282
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
+
2283
2367
  # Request message for ImportConsumerOverrides
2284
2368
  class ImportConsumerOverridesRequest
2285
2369
  include Google::Apis::Core::Hashable
@@ -3387,8 +3471,8 @@ module Google
3387
3471
  # bucket, which is the default quota value applied to all requests that do not
3388
3472
  # have a more specific override. If this map is nonempty, the default limit,
3389
3473
  # effective limit, and quota overrides apply only to requests that have the
3390
- # dimensions given in the map. For example, if the map has key "region" and
3391
- # value "us-east-1", then the specified effective limit is only effective in
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
3392
3476
  # that region, and the specified overrides apply only in that region.
3393
3477
  # Corresponds to the JSON property `dimensions`
3394
3478
  # @return [Hash<String,String>]
@@ -3531,25 +3615,25 @@ module Google
3531
3615
  class QuotaOverride
3532
3616
  include Google::Apis::Core::Hashable
3533
3617
 
3534
- # The resource name of the ancestor that requested the override. For example: "
3535
- # organizations/12345" or "folders/67890". Used by admin overrides only.
3618
+ # The resource name of the ancestor that requested the override. For example: `
3619
+ # organizations/12345` or `folders/67890`. Used by admin overrides only.
3536
3620
  # Corresponds to the JSON property `adminOverrideAncestor`
3537
3621
  # @return [String]
3538
3622
  attr_accessor :admin_override_ancestor
3539
3623
 
3540
3624
  # If this map is nonempty, then this override applies only to specific values
3541
3625
  # for dimensions defined in the limit unit. For example, an override on a limit
3542
- # with the unit 1/`project`/`region` could contain an entry with the key "region"
3543
- # and the value "us-east-1"; the override is only applied to quota consumed in
3544
- # that region. This map has the following restrictions: * Keys that are not
3545
- # defined in the limit's unit are not valid keys. Any string appearing in `
3546
- # brackets` in the unit (besides `project` or `user`) is a defined key. * "
3547
- # project" is not a valid key; the project is already specified in the parent
3548
- # resource name. * "user" is not a valid key; the API does not support quota
3549
- # overrides that apply only to a specific user. * If "region" appears as a key,
3550
- # its value must be a valid Cloud region. * If "zone" appears as a key, its
3551
- # value must be a valid Cloud zone. * If any valid key other than "region" or "
3552
- # zone" appears in the map, then all valid keys other than "region" or "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`
3553
3637
  # must also appear in the map.
3554
3638
  # Corresponds to the JSON property `dimensions`
3555
3639
  # @return [Hash<String,String>]
@@ -3611,13 +3695,13 @@ module Google
3611
3695
  # @return [Google::Apis::ServiceusageV1beta1::ServiceConfig]
3612
3696
  attr_accessor :config
3613
3697
 
3614
- # The resource name of the consumer and service. A valid name would be: -
3615
- # 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`
3616
3700
  # Corresponds to the JSON property `name`
3617
3701
  # @return [String]
3618
3702
  attr_accessor :name
3619
3703
 
3620
- # 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`
3621
3705
  # Corresponds to the JSON property `parent`
3622
3706
  # @return [String]
3623
3707
  attr_accessor :parent
@@ -3650,11 +3734,13 @@ module Google
3650
3734
  # @return [Array<Google::Apis::ServiceusageV1beta1::Api>]
3651
3735
  attr_accessor :apis
3652
3736
 
3653
- # `Authentication` defines the authentication configuration for an API. Example
3654
- # for an API targeted for external use: name: calendar.googleapis.com
3737
+ # `Authentication` defines the authentication configuration for API methods
3738
+ # provided by an API service. Example: name: calendar.googleapis.com
3655
3739
  # authentication: providers: - id: google_calendar_auth jwks_uri: https://www.
3656
3740
  # googleapis.com/oauth2/v1/certs issuer: https://securetoken.google.com rules: -
3657
- # 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
3658
3744
  # Corresponds to the JSON property `authentication`
3659
3745
  # @return [Google::Apis::ServiceusageV1beta1::Authentication]
3660
3746
  attr_accessor :authentication
@@ -4036,6 +4122,21 @@ module Google
4036
4122
  end
4037
4123
  end
4038
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
+
4039
4140
  # Configuration controlling usage of a service.
4040
4141
  class Usage
4041
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.7.0"
19
+ GEM_VERSION = "0.12.0"
20
20
 
21
21
  # Version of the code generator used to generate this client
22
- GENERATOR_VERSION = "0.2.0"
22
+ GENERATOR_VERSION = "0.4.0"
23
23
 
24
24
  # Revision of the discovery document this client was generated from
25
- REVISION = "20210326"
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
- # Enable multiple services on a project. The operation is atomic: if enabling
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
- # Disable a service so that it can no longer be used with a project. This
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
- # Enable a service so that it can be used with a project. Operation
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
- # Generate service identity for service.
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
- # List all services available to the specified project, and the current state of
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
- # Create or update multiple admin overrides atomically, all on the same consumer,
395
- # but on many different metrics or limits. The name field in the quota override
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
- # Create or update multiple consumer overrides atomically, all on the same
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.7.0
4
+ version: 0.12.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-04-05 00:00:00.000000000 Z
11
+ date: 2021-07-05 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.1'
19
+ version: '0.4'
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.4'
30
+ - - "<"
25
31
  - !ruby/object:Gem::Version
26
- version: '0.1'
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.7.0
61
+ documentation_uri: https://googleapis.dev/ruby/google-apis-serviceusage_v1beta1/v0.12.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.13
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