google-apis-serviceusage_v1beta1 0.7.0 → 0.8.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: c3ba22f6f022715887f9e423f5b9480f3ce520c01a45fdc3e6f48722932b148b
4
- data.tar.gz: '09973835afb33471487989f3820fdadaa78b8647625fa194fe85b5c36f1b68c7'
3
+ metadata.gz: df3adcbfe9dd9444e42d30bec565a34e70e252338c13353ccf61120611741a58
4
+ data.tar.gz: 80a43346c2c8790eb18f6c8449d87ccf4fa653d976a8d0fcfd8af94d392549c8
5
5
  SHA512:
6
- metadata.gz: 00017eca9cde6231eb3fedb549b60283a369aed4255b78a4be06be621b7948c5456c9a4e8a113eac5ff3229e3196e8796c3ef3ce1bafb97836446f62560aba28
7
- data.tar.gz: c04ae3b5eccd4cf2b4a17923be354dd08301d95852ea6a0ed49bc7d6cb8d84c59125941aa7878220bcd441d8a42698f07470b1ea7dc2f115a563ab39c308e52a
6
+ metadata.gz: 2fc34a57937698b569870c86e47616dfef319cbe4495f05bc49cbe13239d93bc60c6de6fb1437c1b7c1652aa5e6e024dd0497a66ffa762fa41a86d1f3629b59a
7
+ data.tar.gz: f21a1330dd1f202d4a77dc46e5532dcda592d9c7879a0af49fbf883f9fec26702b2ceb3bb0247096edee0569521b3445a2fd59649eebc78e9eb1e1b1f45f5a19
data/CHANGELOG.md CHANGED
@@ -1,5 +1,9 @@
1
1
  # Release history for google-apis-serviceusage_v1beta1
2
2
 
3
+ ### v0.8.0 (2021-05-08)
4
+
5
+ * Regenerated from discovery document revision 20210501
6
+
3
7
  ### v0.7.0 (2021-03-30)
4
8
 
5
9
  * 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
 
@@ -703,7 +705,7 @@ module Google
703
705
  # @return [Array<Google::Apis::ServiceusageV1beta1::ConsumerQuotaLimit>]
704
706
  attr_accessor :descendant_consumer_quota_limits
705
707
 
706
- # The display name of the metric. An example name would be: "CPUs"
708
+ # The display name of the metric. An example name would be: `CPUs`
707
709
  # Corresponds to the JSON property `displayName`
708
710
  # @return [String]
709
711
  attr_accessor :display_name
@@ -715,7 +717,7 @@ module Google
715
717
 
716
718
  # The resource name of the quota settings on this metric for this consumer. An
717
719
  # example name would be: `projects/123/services/compute.googleapis.com/
718
- # consumerQuotaMetrics/compute.googleapis.com%2Fcpus The resource name is
720
+ # consumerQuotaMetrics/compute.googleapis.com%2Fcpus` The resource name is
719
721
  # intended to be opaque and should not be parsed for its component strings,
720
722
  # since its representation could change in the future.
721
723
  # Corresponds to the JSON property `name`
@@ -843,6 +845,21 @@ module Google
843
845
  end
844
846
  end
845
847
 
848
+ # Metadata message that provides information such as progress, partial failures,
849
+ # and similar information on each GetOperation call of LRO returned by
850
+ # CreateAdminQuotaPolicy.
851
+ class CreateAdminQuotaPolicyMetadata
852
+ include Google::Apis::Core::Hashable
853
+
854
+ def initialize(**args)
855
+ update!(**args)
856
+ end
857
+
858
+ # Update properties of this object
859
+ def update!(**args)
860
+ end
861
+ end
862
+
846
863
  # Customize service error responses. For example, list any service specific
847
864
  # protobuf types that can appear in error detail lists of error responses.
848
865
  # Example: custom_error: types: - google.foo.v1.CustomError - google.foo.v1.
@@ -925,6 +942,21 @@ module Google
925
942
  end
926
943
  end
927
944
 
945
+ # Metadata message that provides information such as progress, partial failures,
946
+ # and similar information on each GetOperation call of LRO returned by
947
+ # DeleteAdminQuotaPolicy.
948
+ class DeleteAdminQuotaPolicyMetadata
949
+ include Google::Apis::Core::Hashable
950
+
951
+ def initialize(**args)
952
+ update!(**args)
953
+ end
954
+
955
+ # Update properties of this object
956
+ def update!(**args)
957
+ end
958
+ end
959
+
928
960
  # Request message for the `DisableService` method.
929
961
  class DisableServiceRequest
930
962
  include Google::Apis::Core::Hashable
@@ -1153,26 +1185,21 @@ module Google
1153
1185
  end
1154
1186
  end
1155
1187
 
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
1188
+ # `Endpoint` describes a network address of a service that serves a set of APIs.
1189
+ # It is commonly known as a service endpoint. A service may expose any number of
1190
+ # service endpoints, and all service endpoints share the same service definition,
1191
+ # such as quota limits and monitoring metrics. Example: type: google.api.
1192
+ # Service name: library-example.googleapis.com endpoints: # Declares network
1193
+ # address `https://library-example.googleapis.com` # for service `library-
1194
+ # example.googleapis.com`. The `https` scheme # is implicit for all service
1195
+ # endpoints. Other schemes may be # supported in the future. - name: library-
1196
+ # example.googleapis.com allow_cors: false - name: content-staging-library-
1197
+ # example.googleapis.com # Allows HTTP OPTIONS calls to be passed to the API
1198
+ # frontend, for it # to decide whether the subsequent cross-origin request is
1199
+ # allowed # to proceed. allow_cors: true
1166
1200
  class Endpoint
1167
1201
  include Google::Apis::Core::Hashable
1168
1202
 
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
1203
  # Allowing [CORS](https://en.wikipedia.org/wiki/Cross-origin_resource_sharing),
1177
1204
  # aka cross-domain traffic, would allow the backends served from this endpoint
1178
1205
  # to receive and respond to HTTP OPTIONS requests. The response will be used by
@@ -1202,7 +1229,6 @@ module Google
1202
1229
 
1203
1230
  # Update properties of this object
1204
1231
  def update!(**args)
1205
- @aliases = args[:aliases] if args.key?(:aliases)
1206
1232
  @allow_cors = args[:allow_cors] if args.key?(:allow_cors)
1207
1233
  @name = args[:name] if args.key?(:name)
1208
1234
  @target = args[:target] if args.key?(:target)
@@ -1360,6 +1386,19 @@ module Google
1360
1386
  end
1361
1387
  end
1362
1388
 
1389
+ # Metadata for the `GetServiceIdentity` method.
1390
+ class GetServiceIdentityMetadata
1391
+ include Google::Apis::Core::Hashable
1392
+
1393
+ def initialize(**args)
1394
+ update!(**args)
1395
+ end
1396
+
1397
+ # Update properties of this object
1398
+ def update!(**args)
1399
+ end
1400
+ end
1401
+
1363
1402
  # Response message for getting service identity.
1364
1403
  class GetServiceIdentityResponse
1365
1404
  include Google::Apis::Core::Hashable
@@ -1386,13 +1425,16 @@ module Google
1386
1425
  end
1387
1426
  end
1388
1427
 
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:
1428
+ # `Service` is the root object of Google API service configuration (service
1429
+ # config). It describes the basic information about a logical service, such as
1430
+ # the service name and the user-facing title, and delegates other aspects to sub-
1431
+ # sections. Each sub-section is either a proto message or a repeated proto
1432
+ # message that configures a specific aspect, such as auth. For more information,
1433
+ # see each proto message definition. Example: type: google.api.Service name:
1434
+ # calendar.googleapis.com title: Google Calendar API apis: - name: google.
1435
+ # calendar.v3.Calendar visibility: rules: - selector: "google.calendar.v3.*"
1436
+ # restriction: PREVIEW backend: rules: - selector: "google.calendar.v3.*"
1437
+ # address: calendar.example.com authentication: providers: - id:
1396
1438
  # google_calendar_auth jwks_uri: https://www.googleapis.com/oauth2/v1/certs
1397
1439
  # issuer: https://securetoken.google.com rules: - selector: "*" requirements:
1398
1440
  # provider_id: google_calendar_auth
@@ -1408,11 +1450,13 @@ module Google
1408
1450
  # @return [Array<Google::Apis::ServiceusageV1beta1::Api>]
1409
1451
  attr_accessor :apis
1410
1452
 
1411
- # `Authentication` defines the authentication configuration for an API. Example
1412
- # for an API targeted for external use: name: calendar.googleapis.com
1453
+ # `Authentication` defines the authentication configuration for API methods
1454
+ # provided by an API service. Example: name: calendar.googleapis.com
1413
1455
  # authentication: providers: - id: google_calendar_auth jwks_uri: https://www.
1414
1456
  # googleapis.com/oauth2/v1/certs issuer: https://securetoken.google.com rules: -
1415
- # selector: "*" requirements: provider_id: google_calendar_auth
1457
+ # selector: "*" requirements: provider_id: google_calendar_auth - selector:
1458
+ # google.calendar.Delegate oauth: canonical_scopes: https://www.googleapis.com/
1459
+ # auth/calendar.read
1416
1460
  # Corresponds to the JSON property `authentication`
1417
1461
  # @return [Google::Apis::ServiceusageV1beta1::Authentication]
1418
1462
  attr_accessor :authentication
@@ -1774,11 +1818,13 @@ module Google
1774
1818
  # @return [Array<Google::Apis::ServiceusageV1beta1::Api>]
1775
1819
  attr_accessor :apis
1776
1820
 
1777
- # `Authentication` defines the authentication configuration for an API. Example
1778
- # for an API targeted for external use: name: calendar.googleapis.com
1821
+ # `Authentication` defines the authentication configuration for API methods
1822
+ # provided by an API service. Example: name: calendar.googleapis.com
1779
1823
  # authentication: providers: - id: google_calendar_auth jwks_uri: https://www.
1780
1824
  # googleapis.com/oauth2/v1/certs issuer: https://securetoken.google.com rules: -
1781
- # selector: "*" requirements: provider_id: google_calendar_auth
1825
+ # selector: "*" requirements: provider_id: google_calendar_auth - selector:
1826
+ # google.calendar.Delegate oauth: canonical_scopes: https://www.googleapis.com/
1827
+ # auth/calendar.read
1782
1828
  # Corresponds to the JSON property `authentication`
1783
1829
  # @return [Google::Apis::ServiceusageV1beta1::Authentication]
1784
1830
  attr_accessor :authentication
@@ -2205,6 +2251,21 @@ module Google
2205
2251
  end
2206
2252
  end
2207
2253
 
2254
+ # Metadata message that provides information such as progress, partial failures,
2255
+ # and similar information on each GetOperation call of LRO returned by
2256
+ # ImportAdminOverrides.
2257
+ class ImportAdminOverridesMetadata
2258
+ include Google::Apis::Core::Hashable
2259
+
2260
+ def initialize(**args)
2261
+ update!(**args)
2262
+ end
2263
+
2264
+ # Update properties of this object
2265
+ def update!(**args)
2266
+ end
2267
+ end
2268
+
2208
2269
  # Request message for ImportAdminOverrides
2209
2270
  class ImportAdminOverridesRequest
2210
2271
  include Google::Apis::Core::Hashable
@@ -2261,6 +2322,21 @@ module Google
2261
2322
  end
2262
2323
  end
2263
2324
 
2325
+ # Metadata message that provides information such as progress, partial failures,
2326
+ # and similar information on each GetOperation call of LRO returned by
2327
+ # ImportAdminQuotaPolicies.
2328
+ class ImportAdminQuotaPoliciesMetadata
2329
+ include Google::Apis::Core::Hashable
2330
+
2331
+ def initialize(**args)
2332
+ update!(**args)
2333
+ end
2334
+
2335
+ # Update properties of this object
2336
+ def update!(**args)
2337
+ end
2338
+ end
2339
+
2264
2340
  # Response message for ImportAdminQuotaPolicies
2265
2341
  class ImportAdminQuotaPoliciesResponse
2266
2342
  include Google::Apis::Core::Hashable
@@ -2280,6 +2356,21 @@ module Google
2280
2356
  end
2281
2357
  end
2282
2358
 
2359
+ # Metadata message that provides information such as progress, partial failures,
2360
+ # and similar information on each GetOperation call of LRO returned by
2361
+ # ImportConsumerOverrides.
2362
+ class ImportConsumerOverridesMetadata
2363
+ include Google::Apis::Core::Hashable
2364
+
2365
+ def initialize(**args)
2366
+ update!(**args)
2367
+ end
2368
+
2369
+ # Update properties of this object
2370
+ def update!(**args)
2371
+ end
2372
+ end
2373
+
2283
2374
  # Request message for ImportConsumerOverrides
2284
2375
  class ImportConsumerOverridesRequest
2285
2376
  include Google::Apis::Core::Hashable
@@ -3387,8 +3478,8 @@ module Google
3387
3478
  # bucket, which is the default quota value applied to all requests that do not
3388
3479
  # have a more specific override. If this map is nonempty, the default limit,
3389
3480
  # 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
3481
+ # dimensions given in the map. For example, if the map has key `region` and
3482
+ # value `us-east-1`, then the specified effective limit is only effective in
3392
3483
  # that region, and the specified overrides apply only in that region.
3393
3484
  # Corresponds to the JSON property `dimensions`
3394
3485
  # @return [Hash<String,String>]
@@ -3531,25 +3622,25 @@ module Google
3531
3622
  class QuotaOverride
3532
3623
  include Google::Apis::Core::Hashable
3533
3624
 
3534
- # The resource name of the ancestor that requested the override. For example: "
3535
- # organizations/12345" or "folders/67890". Used by admin overrides only.
3625
+ # The resource name of the ancestor that requested the override. For example: `
3626
+ # organizations/12345` or `folders/67890`. Used by admin overrides only.
3536
3627
  # Corresponds to the JSON property `adminOverrideAncestor`
3537
3628
  # @return [String]
3538
3629
  attr_accessor :admin_override_ancestor
3539
3630
 
3540
3631
  # If this map is nonempty, then this override applies only to specific values
3541
3632
  # 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"
3633
+ # with the unit `1/`project`/`region`` could contain an entry with the key `
3634
+ # region` and the value `us-east-1`; the override is only applied to quota
3635
+ # consumed in that region. This map has the following restrictions: * Keys that
3636
+ # are not defined in the limit's unit are not valid keys. Any string appearing
3637
+ # in ``brackets`` in the unit (besides ``project`` or ``user``) is a defined key.
3638
+ # * `project` is not a valid key; the project is already specified in the
3639
+ # parent resource name. * `user` is not a valid key; the API does not support
3640
+ # quota overrides that apply only to a specific user. * If `region` appears as a
3641
+ # key, its value must be a valid Cloud region. * If `zone` appears as a key, its
3642
+ # value must be a valid Cloud zone. * If any valid key other than `region` or `
3643
+ # zone` appears in the map, then all valid keys other than `region` or `zone`
3553
3644
  # must also appear in the map.
3554
3645
  # Corresponds to the JSON property `dimensions`
3555
3646
  # @return [Hash<String,String>]
@@ -3611,13 +3702,13 @@ module Google
3611
3702
  # @return [Google::Apis::ServiceusageV1beta1::ServiceConfig]
3612
3703
  attr_accessor :config
3613
3704
 
3614
- # The resource name of the consumer and service. A valid name would be: -
3615
- # projects/123/services/serviceusage.googleapis.com
3705
+ # The resource name of the consumer and service. A valid name would be: - `
3706
+ # projects/123/services/serviceusage.googleapis.com`
3616
3707
  # Corresponds to the JSON property `name`
3617
3708
  # @return [String]
3618
3709
  attr_accessor :name
3619
3710
 
3620
- # The resource name of the consumer. A valid name would be: - projects/123
3711
+ # The resource name of the consumer. A valid name would be: - `projects/123`
3621
3712
  # Corresponds to the JSON property `parent`
3622
3713
  # @return [String]
3623
3714
  attr_accessor :parent
@@ -3650,11 +3741,13 @@ module Google
3650
3741
  # @return [Array<Google::Apis::ServiceusageV1beta1::Api>]
3651
3742
  attr_accessor :apis
3652
3743
 
3653
- # `Authentication` defines the authentication configuration for an API. Example
3654
- # for an API targeted for external use: name: calendar.googleapis.com
3744
+ # `Authentication` defines the authentication configuration for API methods
3745
+ # provided by an API service. Example: name: calendar.googleapis.com
3655
3746
  # authentication: providers: - id: google_calendar_auth jwks_uri: https://www.
3656
3747
  # googleapis.com/oauth2/v1/certs issuer: https://securetoken.google.com rules: -
3657
- # selector: "*" requirements: provider_id: google_calendar_auth
3748
+ # selector: "*" requirements: provider_id: google_calendar_auth - selector:
3749
+ # google.calendar.Delegate oauth: canonical_scopes: https://www.googleapis.com/
3750
+ # auth/calendar.read
3658
3751
  # Corresponds to the JSON property `authentication`
3659
3752
  # @return [Google::Apis::ServiceusageV1beta1::Authentication]
3660
3753
  attr_accessor :authentication
@@ -4036,6 +4129,21 @@ module Google
4036
4129
  end
4037
4130
  end
4038
4131
 
4132
+ # Metadata message that provides information such as progress, partial failures,
4133
+ # and similar information on each GetOperation call of LRO returned by
4134
+ # UpdateAdminQuotaPolicy.
4135
+ class UpdateAdminQuotaPolicyMetadata
4136
+ include Google::Apis::Core::Hashable
4137
+
4138
+ def initialize(**args)
4139
+ update!(**args)
4140
+ end
4141
+
4142
+ # Update properties of this object
4143
+ def update!(**args)
4144
+ end
4145
+ end
4146
+
4039
4147
  # Configuration controlling usage of a service.
4040
4148
  class Usage
4041
4149
  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.8.0"
20
20
 
21
21
  # Version of the code generator used to generate this client
22
22
  GENERATOR_VERSION = "0.2.0"
23
23
 
24
24
  # Revision of the discovery document this client was generated from
25
- REVISION = "20210326"
25
+ REVISION = "20210501"
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
 
@@ -747,6 +789,12 @@ module Google
747
789
  end
748
790
  end
749
791
 
792
+ class CreateAdminQuotaPolicyMetadata
793
+ # @private
794
+ class Representation < Google::Apis::Core::JsonRepresentation
795
+ end
796
+ end
797
+
750
798
  class CustomError
751
799
  # @private
752
800
  class Representation < Google::Apis::Core::JsonRepresentation
@@ -772,6 +820,12 @@ module Google
772
820
  end
773
821
  end
774
822
 
823
+ class DeleteAdminQuotaPolicyMetadata
824
+ # @private
825
+ class Representation < Google::Apis::Core::JsonRepresentation
826
+ end
827
+ end
828
+
775
829
  class DisableServiceRequest
776
830
  # @private
777
831
  class Representation < Google::Apis::Core::JsonRepresentation
@@ -840,7 +894,6 @@ module Google
840
894
  class Endpoint
841
895
  # @private
842
896
  class Representation < Google::Apis::Core::JsonRepresentation
843
- collection :aliases, as: 'aliases'
844
897
  property :allow_cors, as: 'allowCors'
845
898
  property :name, as: 'name'
846
899
  property :target, as: 'target'
@@ -888,6 +941,12 @@ module Google
888
941
  end
889
942
  end
890
943
 
944
+ class GetServiceIdentityMetadata
945
+ # @private
946
+ class Representation < Google::Apis::Core::JsonRepresentation
947
+ end
948
+ end
949
+
891
950
  class GetServiceIdentityResponse
892
951
  # @private
893
952
  class Representation < Google::Apis::Core::JsonRepresentation
@@ -1038,6 +1097,12 @@ module Google
1038
1097
  end
1039
1098
  end
1040
1099
 
1100
+ class ImportAdminOverridesMetadata
1101
+ # @private
1102
+ class Representation < Google::Apis::Core::JsonRepresentation
1103
+ end
1104
+ end
1105
+
1041
1106
  class ImportAdminOverridesRequest
1042
1107
  # @private
1043
1108
  class Representation < Google::Apis::Core::JsonRepresentation
@@ -1056,6 +1121,12 @@ module Google
1056
1121
  end
1057
1122
  end
1058
1123
 
1124
+ class ImportAdminQuotaPoliciesMetadata
1125
+ # @private
1126
+ class Representation < Google::Apis::Core::JsonRepresentation
1127
+ end
1128
+ end
1129
+
1059
1130
  class ImportAdminQuotaPoliciesResponse
1060
1131
  # @private
1061
1132
  class Representation < Google::Apis::Core::JsonRepresentation
@@ -1064,6 +1135,12 @@ module Google
1064
1135
  end
1065
1136
  end
1066
1137
 
1138
+ class ImportConsumerOverridesMetadata
1139
+ # @private
1140
+ class Representation < Google::Apis::Core::JsonRepresentation
1141
+ end
1142
+ end
1143
+
1067
1144
  class ImportConsumerOverridesRequest
1068
1145
  # @private
1069
1146
  class Representation < Google::Apis::Core::JsonRepresentation
@@ -1475,6 +1552,12 @@ module Google
1475
1552
  end
1476
1553
  end
1477
1554
 
1555
+ class UpdateAdminQuotaPolicyMetadata
1556
+ # @private
1557
+ class Representation < Google::Apis::Core::JsonRepresentation
1558
+ end
1559
+ end
1560
+
1478
1561
  class Usage
1479
1562
  # @private
1480
1563
  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,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: google-apis-serviceusage_v1beta1
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.7.0
4
+ version: 0.8.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-05-18 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: google-apis-core
@@ -52,7 +52,7 @@ licenses:
52
52
  metadata:
53
53
  bug_tracker_uri: https://github.com/googleapis/google-api-ruby-client/issues
54
54
  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
55
+ documentation_uri: https://googleapis.dev/ruby/google-apis-serviceusage_v1beta1/v0.8.0
56
56
  source_code_uri: https://github.com/googleapis/google-api-ruby-client/tree/master/generated/google-apis-serviceusage_v1beta1
57
57
  post_install_message:
58
58
  rdoc_options: []
@@ -69,7 +69,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
69
69
  - !ruby/object:Gem::Version
70
70
  version: '0'
71
71
  requirements: []
72
- rubygems_version: 3.2.13
72
+ rubygems_version: 3.2.17
73
73
  signing_key:
74
74
  specification_version: 4
75
75
  summary: Simple REST client for Service Usage API V1beta1