google-apis-serviceusage_v1 0.35.0 → 0.36.0
Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: b19044f1d9a48f88bc4bed19c552025683e44aa235d5adfee68d2bb46c91ba23
|
4
|
+
data.tar.gz: e0baf238d658354ee1ad7830a8f26d5f314cf69df81471b839e517dfe301f94b
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 97366a363881d757e015f36b41a1c7ba4a78be9f7701915afdbebd9ad1b953adfe65c234f99f00fa211f95a99d91e74208a74caa4a3bd51e9b32fa331f470ff4
|
7
|
+
data.tar.gz: f63010906ee2dfd8c74be909a163fd9ca48b7c4f0d45f2604b430b3bb46825c78e6b8676a9703d97871c732e830f8f32284e70ae9527b306cd87c1876d6fd9fe
|
data/CHANGELOG.md
CHANGED
@@ -22,6 +22,46 @@ module Google
|
|
22
22
|
module Apis
|
23
23
|
module ServiceusageV1
|
24
24
|
|
25
|
+
# Metadata for the `AddEnableRules` method.
|
26
|
+
class AddEnableRulesMetadata
|
27
|
+
include Google::Apis::Core::Hashable
|
28
|
+
|
29
|
+
def initialize(**args)
|
30
|
+
update!(**args)
|
31
|
+
end
|
32
|
+
|
33
|
+
# Update properties of this object
|
34
|
+
def update!(**args)
|
35
|
+
end
|
36
|
+
end
|
37
|
+
|
38
|
+
# The response message of "AddEnableRules" method.
|
39
|
+
class AddEnableRulesResponse
|
40
|
+
include Google::Apis::Core::Hashable
|
41
|
+
|
42
|
+
# The parent consumer policy. It can be `projects/12345/consumerPolicies/default`
|
43
|
+
# , or `folders/12345/consumerPolicies/default`, or `organizations/12345/
|
44
|
+
# consumerPolicies/default`.
|
45
|
+
# Corresponds to the JSON property `parent`
|
46
|
+
# @return [String]
|
47
|
+
attr_accessor :parent
|
48
|
+
|
49
|
+
# The values added to the parent consumer policy.
|
50
|
+
# Corresponds to the JSON property `values`
|
51
|
+
# @return [Array<Google::Apis::ServiceusageV1::ValueInfo>]
|
52
|
+
attr_accessor :values
|
53
|
+
|
54
|
+
def initialize(**args)
|
55
|
+
update!(**args)
|
56
|
+
end
|
57
|
+
|
58
|
+
# Update properties of this object
|
59
|
+
def update!(**args)
|
60
|
+
@parent = args[:parent] if args.key?(:parent)
|
61
|
+
@values = args[:values] if args.key?(:values)
|
62
|
+
end
|
63
|
+
end
|
64
|
+
|
25
65
|
# Quota policy created by quota administrator.
|
26
66
|
class AdminQuotaPolicy
|
27
67
|
include Google::Apis::Core::Hashable
|
@@ -796,9 +836,10 @@ module Google
|
|
796
836
|
# @return [String]
|
797
837
|
attr_accessor :etag
|
798
838
|
|
799
|
-
# Output only. The resource name of the policy. For example,
|
800
|
-
#
|
801
|
-
#
|
839
|
+
# Output only. The resource name of the policy. For example, We only allow
|
840
|
+
# consumer policy name as "default" for now: `projects/12345/consumerPolicies/
|
841
|
+
# default`, `folders/12345/consumerPolicies/default`, `organizations/12345/
|
842
|
+
# consumerPolicies/default`. Legacy format: `projects/12345/consumerPoly`
|
802
843
|
# Corresponds to the JSON property `name`
|
803
844
|
# @return [String]
|
804
845
|
attr_accessor :name
|
@@ -2275,6 +2316,25 @@ module Google
|
|
2275
2316
|
end
|
2276
2317
|
end
|
2277
2318
|
|
2319
|
+
# Unimplemented. Do not use. GroupValue contains information of a service group.
|
2320
|
+
class GroupValue
|
2321
|
+
include Google::Apis::Core::Hashable
|
2322
|
+
|
2323
|
+
# The name of the value. Example: `groups/googleSerivice`.
|
2324
|
+
# Corresponds to the JSON property `name`
|
2325
|
+
# @return [String]
|
2326
|
+
attr_accessor :name
|
2327
|
+
|
2328
|
+
def initialize(**args)
|
2329
|
+
update!(**args)
|
2330
|
+
end
|
2331
|
+
|
2332
|
+
# Update properties of this object
|
2333
|
+
def update!(**args)
|
2334
|
+
@name = args[:name] if args.key?(:name)
|
2335
|
+
end
|
2336
|
+
end
|
2337
|
+
|
2278
2338
|
# Defines the HTTP configuration for an API service. It contains a list of
|
2279
2339
|
# HttpRule, each specifying the mapping of an RPC method to one or more HTTP
|
2280
2340
|
# REST API methods.
|
@@ -3999,6 +4059,40 @@ module Google
|
|
3999
4059
|
end
|
4000
4060
|
end
|
4001
4061
|
|
4062
|
+
# Metadata for the `RemoveEnableRules` method.
|
4063
|
+
class RemoveEnableRulesMetadata
|
4064
|
+
include Google::Apis::Core::Hashable
|
4065
|
+
|
4066
|
+
def initialize(**args)
|
4067
|
+
update!(**args)
|
4068
|
+
end
|
4069
|
+
|
4070
|
+
# Update properties of this object
|
4071
|
+
def update!(**args)
|
4072
|
+
end
|
4073
|
+
end
|
4074
|
+
|
4075
|
+
# The response message of "RemoveEnableRules" method.
|
4076
|
+
class RemoveEnableRulesResponse
|
4077
|
+
include Google::Apis::Core::Hashable
|
4078
|
+
|
4079
|
+
# The parent consumer policy. It can be `projects/12345/consumerPolicies/default`
|
4080
|
+
# , or `folders/12345/consumerPolicies/default`, or `organizations/12345/
|
4081
|
+
# consumerPolicies/default`.
|
4082
|
+
# Corresponds to the JSON property `parent`
|
4083
|
+
# @return [String]
|
4084
|
+
attr_accessor :parent
|
4085
|
+
|
4086
|
+
def initialize(**args)
|
4087
|
+
update!(**args)
|
4088
|
+
end
|
4089
|
+
|
4090
|
+
# Update properties of this object
|
4091
|
+
def update!(**args)
|
4092
|
+
@parent = args[:parent] if args.key?(:parent)
|
4093
|
+
end
|
4094
|
+
end
|
4095
|
+
|
4002
4096
|
# Settings for Ruby client libraries.
|
4003
4097
|
class RubySettings
|
4004
4098
|
include Google::Apis::Core::Hashable
|
@@ -4046,6 +4140,44 @@ module Google
|
|
4046
4140
|
end
|
4047
4141
|
end
|
4048
4142
|
|
4143
|
+
# ServiceValue contains information of a service.
|
4144
|
+
class ServiceValue
|
4145
|
+
include Google::Apis::Core::Hashable
|
4146
|
+
|
4147
|
+
# The DNS address at which this service is available.
|
4148
|
+
# Corresponds to the JSON property `dnsAddress`
|
4149
|
+
# @return [String]
|
4150
|
+
attr_accessor :dns_address
|
4151
|
+
|
4152
|
+
# The name of the value. Example: `services/storage.googleapis.com`.
|
4153
|
+
# Corresponds to the JSON property `name`
|
4154
|
+
# @return [String]
|
4155
|
+
attr_accessor :name
|
4156
|
+
|
4157
|
+
# A link to pricing information for the service, such as https://cloud.google.
|
4158
|
+
# com/bigquery/pricing.
|
4159
|
+
# Corresponds to the JSON property `pricingLink`
|
4160
|
+
# @return [String]
|
4161
|
+
attr_accessor :pricing_link
|
4162
|
+
|
4163
|
+
# Terms of Service
|
4164
|
+
# Corresponds to the JSON property `tos`
|
4165
|
+
# @return [Array<Google::Apis::ServiceusageV1::TermsOfService>]
|
4166
|
+
attr_accessor :tos
|
4167
|
+
|
4168
|
+
def initialize(**args)
|
4169
|
+
update!(**args)
|
4170
|
+
end
|
4171
|
+
|
4172
|
+
# Update properties of this object
|
4173
|
+
def update!(**args)
|
4174
|
+
@dns_address = args[:dns_address] if args.key?(:dns_address)
|
4175
|
+
@name = args[:name] if args.key?(:name)
|
4176
|
+
@pricing_link = args[:pricing_link] if args.key?(:pricing_link)
|
4177
|
+
@tos = args[:tos] if args.key?(:tos)
|
4178
|
+
end
|
4179
|
+
end
|
4180
|
+
|
4049
4181
|
# `SourceContext` represents information about the source of a protobuf element,
|
4050
4182
|
# like the file in which it is defined.
|
4051
4183
|
class SourceContext
|
@@ -4219,6 +4351,31 @@ module Google
|
|
4219
4351
|
end
|
4220
4352
|
end
|
4221
4353
|
|
4354
|
+
# TermsOfService captures the metadata about a given terms of service
|
4355
|
+
class TermsOfService
|
4356
|
+
include Google::Apis::Core::Hashable
|
4357
|
+
|
4358
|
+
# Title of the terms of service.
|
4359
|
+
# Corresponds to the JSON property `title`
|
4360
|
+
# @return [String]
|
4361
|
+
attr_accessor :title
|
4362
|
+
|
4363
|
+
# URL/URI of the terms of service.
|
4364
|
+
# Corresponds to the JSON property `uri`
|
4365
|
+
# @return [String]
|
4366
|
+
attr_accessor :uri
|
4367
|
+
|
4368
|
+
def initialize(**args)
|
4369
|
+
update!(**args)
|
4370
|
+
end
|
4371
|
+
|
4372
|
+
# Update properties of this object
|
4373
|
+
def update!(**args)
|
4374
|
+
@title = args[:title] if args.key?(:title)
|
4375
|
+
@uri = args[:uri] if args.key?(:uri)
|
4376
|
+
end
|
4377
|
+
end
|
4378
|
+
|
4222
4379
|
# A protocol buffer message type.
|
4223
4380
|
class Type
|
4224
4381
|
include Google::Apis::Core::Hashable
|
@@ -4392,6 +4549,50 @@ module Google
|
|
4392
4549
|
@skip_service_control = args[:skip_service_control] if args.key?(:skip_service_control)
|
4393
4550
|
end
|
4394
4551
|
end
|
4552
|
+
|
4553
|
+
# Information about the value field. Only support value type as service now.
|
4554
|
+
class ValueInfo
|
4555
|
+
include Google::Apis::Core::Hashable
|
4556
|
+
|
4557
|
+
# Unimplemented. Do not use. GroupValue contains information of a service group.
|
4558
|
+
# Corresponds to the JSON property `groupValue`
|
4559
|
+
# @return [Google::Apis::ServiceusageV1::GroupValue]
|
4560
|
+
attr_accessor :group_value
|
4561
|
+
|
4562
|
+
# For public services, it must point to the product landing page. For private
|
4563
|
+
# services, it should point to the internal site. For service group, it is TBD.
|
4564
|
+
# Corresponds to the JSON property `learnmoreLink`
|
4565
|
+
# @return [String]
|
4566
|
+
attr_accessor :learnmore_link
|
4567
|
+
|
4568
|
+
# ServiceValue contains information of a service.
|
4569
|
+
# Corresponds to the JSON property `serviceValue`
|
4570
|
+
# @return [Google::Apis::ServiceusageV1::ServiceValue]
|
4571
|
+
attr_accessor :service_value
|
4572
|
+
|
4573
|
+
# The product summary for this value.
|
4574
|
+
# Corresponds to the JSON property `summary`
|
4575
|
+
# @return [String]
|
4576
|
+
attr_accessor :summary
|
4577
|
+
|
4578
|
+
# The product title for this value.
|
4579
|
+
# Corresponds to the JSON property `title`
|
4580
|
+
# @return [String]
|
4581
|
+
attr_accessor :title
|
4582
|
+
|
4583
|
+
def initialize(**args)
|
4584
|
+
update!(**args)
|
4585
|
+
end
|
4586
|
+
|
4587
|
+
# Update properties of this object
|
4588
|
+
def update!(**args)
|
4589
|
+
@group_value = args[:group_value] if args.key?(:group_value)
|
4590
|
+
@learnmore_link = args[:learnmore_link] if args.key?(:learnmore_link)
|
4591
|
+
@service_value = args[:service_value] if args.key?(:service_value)
|
4592
|
+
@summary = args[:summary] if args.key?(:summary)
|
4593
|
+
@title = args[:title] if args.key?(:title)
|
4594
|
+
end
|
4595
|
+
end
|
4395
4596
|
end
|
4396
4597
|
end
|
4397
4598
|
end
|
@@ -16,13 +16,13 @@ module Google
|
|
16
16
|
module Apis
|
17
17
|
module ServiceusageV1
|
18
18
|
# Version of the google-apis-serviceusage_v1 gem
|
19
|
-
GEM_VERSION = "0.
|
19
|
+
GEM_VERSION = "0.36.0"
|
20
20
|
|
21
21
|
# Version of the code generator used to generate this client
|
22
22
|
GENERATOR_VERSION = "0.12.0"
|
23
23
|
|
24
24
|
# Revision of the discovery document this client was generated from
|
25
|
-
REVISION = "
|
25
|
+
REVISION = "20230508"
|
26
26
|
end
|
27
27
|
end
|
28
28
|
end
|
@@ -22,6 +22,18 @@ module Google
|
|
22
22
|
module Apis
|
23
23
|
module ServiceusageV1
|
24
24
|
|
25
|
+
class AddEnableRulesMetadata
|
26
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
27
|
+
|
28
|
+
include Google::Apis::Core::JsonObjectSupport
|
29
|
+
end
|
30
|
+
|
31
|
+
class AddEnableRulesResponse
|
32
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
33
|
+
|
34
|
+
include Google::Apis::Core::JsonObjectSupport
|
35
|
+
end
|
36
|
+
|
25
37
|
class AdminQuotaPolicy
|
26
38
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
27
39
|
|
@@ -328,6 +340,12 @@ module Google
|
|
328
340
|
include Google::Apis::Core::JsonObjectSupport
|
329
341
|
end
|
330
342
|
|
343
|
+
class GroupValue
|
344
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
345
|
+
|
346
|
+
include Google::Apis::Core::JsonObjectSupport
|
347
|
+
end
|
348
|
+
|
331
349
|
class Http
|
332
350
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
333
351
|
|
@@ -556,6 +574,18 @@ module Google
|
|
556
574
|
include Google::Apis::Core::JsonObjectSupport
|
557
575
|
end
|
558
576
|
|
577
|
+
class RemoveEnableRulesMetadata
|
578
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
579
|
+
|
580
|
+
include Google::Apis::Core::JsonObjectSupport
|
581
|
+
end
|
582
|
+
|
583
|
+
class RemoveEnableRulesResponse
|
584
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
585
|
+
|
586
|
+
include Google::Apis::Core::JsonObjectSupport
|
587
|
+
end
|
588
|
+
|
559
589
|
class RubySettings
|
560
590
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
561
591
|
|
@@ -568,6 +598,12 @@ module Google
|
|
568
598
|
include Google::Apis::Core::JsonObjectSupport
|
569
599
|
end
|
570
600
|
|
601
|
+
class ServiceValue
|
602
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
603
|
+
|
604
|
+
include Google::Apis::Core::JsonObjectSupport
|
605
|
+
end
|
606
|
+
|
571
607
|
class SourceContext
|
572
608
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
573
609
|
|
@@ -604,6 +640,12 @@ module Google
|
|
604
640
|
include Google::Apis::Core::JsonObjectSupport
|
605
641
|
end
|
606
642
|
|
643
|
+
class TermsOfService
|
644
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
645
|
+
|
646
|
+
include Google::Apis::Core::JsonObjectSupport
|
647
|
+
end
|
648
|
+
|
607
649
|
class Type
|
608
650
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
609
651
|
|
@@ -634,6 +676,27 @@ module Google
|
|
634
676
|
include Google::Apis::Core::JsonObjectSupport
|
635
677
|
end
|
636
678
|
|
679
|
+
class ValueInfo
|
680
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
681
|
+
|
682
|
+
include Google::Apis::Core::JsonObjectSupport
|
683
|
+
end
|
684
|
+
|
685
|
+
class AddEnableRulesMetadata
|
686
|
+
# @private
|
687
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
688
|
+
end
|
689
|
+
end
|
690
|
+
|
691
|
+
class AddEnableRulesResponse
|
692
|
+
# @private
|
693
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
694
|
+
property :parent, as: 'parent'
|
695
|
+
collection :values, as: 'values', class: Google::Apis::ServiceusageV1::ValueInfo, decorator: Google::Apis::ServiceusageV1::ValueInfo::Representation
|
696
|
+
|
697
|
+
end
|
698
|
+
end
|
699
|
+
|
637
700
|
class AdminQuotaPolicy
|
638
701
|
# @private
|
639
702
|
class Representation < Google::Apis::Core::JsonRepresentation
|
@@ -1192,6 +1255,13 @@ module Google
|
|
1192
1255
|
end
|
1193
1256
|
end
|
1194
1257
|
|
1258
|
+
class GroupValue
|
1259
|
+
# @private
|
1260
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
1261
|
+
property :name, as: 'name'
|
1262
|
+
end
|
1263
|
+
end
|
1264
|
+
|
1195
1265
|
class Http
|
1196
1266
|
# @private
|
1197
1267
|
class Representation < Google::Apis::Core::JsonRepresentation
|
@@ -1569,6 +1639,19 @@ module Google
|
|
1569
1639
|
end
|
1570
1640
|
end
|
1571
1641
|
|
1642
|
+
class RemoveEnableRulesMetadata
|
1643
|
+
# @private
|
1644
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
1645
|
+
end
|
1646
|
+
end
|
1647
|
+
|
1648
|
+
class RemoveEnableRulesResponse
|
1649
|
+
# @private
|
1650
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
1651
|
+
property :parent, as: 'parent'
|
1652
|
+
end
|
1653
|
+
end
|
1654
|
+
|
1572
1655
|
class RubySettings
|
1573
1656
|
# @private
|
1574
1657
|
class Representation < Google::Apis::Core::JsonRepresentation
|
@@ -1585,6 +1668,17 @@ module Google
|
|
1585
1668
|
end
|
1586
1669
|
end
|
1587
1670
|
|
1671
|
+
class ServiceValue
|
1672
|
+
# @private
|
1673
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
1674
|
+
property :dns_address, as: 'dnsAddress'
|
1675
|
+
property :name, as: 'name'
|
1676
|
+
property :pricing_link, as: 'pricingLink'
|
1677
|
+
collection :tos, as: 'tos', class: Google::Apis::ServiceusageV1::TermsOfService, decorator: Google::Apis::ServiceusageV1::TermsOfService::Representation
|
1678
|
+
|
1679
|
+
end
|
1680
|
+
end
|
1681
|
+
|
1588
1682
|
class SourceContext
|
1589
1683
|
# @private
|
1590
1684
|
class Representation < Google::Apis::Core::JsonRepresentation
|
@@ -1634,6 +1728,14 @@ module Google
|
|
1634
1728
|
end
|
1635
1729
|
end
|
1636
1730
|
|
1731
|
+
class TermsOfService
|
1732
|
+
# @private
|
1733
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
1734
|
+
property :title, as: 'title'
|
1735
|
+
property :uri, as: 'uri'
|
1736
|
+
end
|
1737
|
+
end
|
1738
|
+
|
1637
1739
|
class Type
|
1638
1740
|
# @private
|
1639
1741
|
class Representation < Google::Apis::Core::JsonRepresentation
|
@@ -1680,6 +1782,19 @@ module Google
|
|
1680
1782
|
property :skip_service_control, as: 'skipServiceControl'
|
1681
1783
|
end
|
1682
1784
|
end
|
1785
|
+
|
1786
|
+
class ValueInfo
|
1787
|
+
# @private
|
1788
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
1789
|
+
property :group_value, as: 'groupValue', class: Google::Apis::ServiceusageV1::GroupValue, decorator: Google::Apis::ServiceusageV1::GroupValue::Representation
|
1790
|
+
|
1791
|
+
property :learnmore_link, as: 'learnmoreLink'
|
1792
|
+
property :service_value, as: 'serviceValue', class: Google::Apis::ServiceusageV1::ServiceValue, decorator: Google::Apis::ServiceusageV1::ServiceValue::Representation
|
1793
|
+
|
1794
|
+
property :summary, as: 'summary'
|
1795
|
+
property :title, as: 'title'
|
1796
|
+
end
|
1797
|
+
end
|
1683
1798
|
end
|
1684
1799
|
end
|
1685
1800
|
end
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: google-apis-serviceusage_v1
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.
|
4
|
+
version: 0.36.0
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Google LLC
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2023-
|
11
|
+
date: 2023-05-14 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: google-apis-core
|
@@ -58,7 +58,7 @@ licenses:
|
|
58
58
|
metadata:
|
59
59
|
bug_tracker_uri: https://github.com/googleapis/google-api-ruby-client/issues
|
60
60
|
changelog_uri: https://github.com/googleapis/google-api-ruby-client/tree/main/generated/google-apis-serviceusage_v1/CHANGELOG.md
|
61
|
-
documentation_uri: https://googleapis.dev/ruby/google-apis-serviceusage_v1/v0.
|
61
|
+
documentation_uri: https://googleapis.dev/ruby/google-apis-serviceusage_v1/v0.36.0
|
62
62
|
source_code_uri: https://github.com/googleapis/google-api-ruby-client/tree/main/generated/google-apis-serviceusage_v1
|
63
63
|
post_install_message:
|
64
64
|
rdoc_options: []
|