google-apis-serviceusage_v1 0.34.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: 83a40e2d06fdead07fed10b2579d59ebdc1f49043331053ad2590ffe40885cc1
4
- data.tar.gz: fe18ced5c90bf2bcd41e57432b45a78f0ef14d5800a7dc9e4e990f3ac403dfd1
3
+ metadata.gz: b19044f1d9a48f88bc4bed19c552025683e44aa235d5adfee68d2bb46c91ba23
4
+ data.tar.gz: e0baf238d658354ee1ad7830a8f26d5f314cf69df81471b839e517dfe301f94b
5
5
  SHA512:
6
- metadata.gz: eb0d010591f0b6088c5f7adb20cd349090a27c8cc008fd2c4c026d5f2c8a1a829acf9e3763bac78eabbbab75aaec69235075e8cd8c7d4bc1084be2b8e51da283
7
- data.tar.gz: d05adb43dea80b49cb620f6a07c3037d814fbe1fc92db63ddcd4c2c2ef9ca63654432b9c1e5f9d841f2b8ed9d947624f58f909744b4d73a4d7405f058c3b0516
6
+ metadata.gz: 97366a363881d757e015f36b41a1c7ba4a78be9f7701915afdbebd9ad1b953adfe65c234f99f00fa211f95a99d91e74208a74caa4a3bd51e9b32fa331f470ff4
7
+ data.tar.gz: f63010906ee2dfd8c74be909a163fd9ca48b7c4f0d45f2604b430b3bb46825c78e6b8676a9703d97871c732e830f8f32284e70ae9527b306cd87c1876d6fd9fe
data/CHANGELOG.md CHANGED
@@ -1,5 +1,13 @@
1
1
  # Release history for google-apis-serviceusage_v1
2
2
 
3
+ ### v0.36.0 (2023-05-14)
4
+
5
+ * Regenerated from discovery document revision 20230508
6
+
7
+ ### v0.35.0 (2023-04-30)
8
+
9
+ * Regenerated from discovery document revision 20230426
10
+
3
11
  ### v0.34.0 (2023-04-16)
4
12
 
5
13
  * Regenerated from discovery document revision 20230412
@@ -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, `projects/12345/
800
- # consumerPolicy`, `folders/12345/consumerPolicy`, `organizations/12345/
801
- # consumerPolicy`.
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
@@ -1204,6 +1245,12 @@ module Google
1204
1245
  # @return [String]
1205
1246
  attr_accessor :description
1206
1247
 
1248
+ # String of comma or space separated case-sensitive words for which method/field
1249
+ # name replacement will be disabled by go/api-docgen.
1250
+ # Corresponds to the JSON property `disableReplacementWords`
1251
+ # @return [String]
1252
+ attr_accessor :disable_replacement_words
1253
+
1207
1254
  # The selector is a comma-separated list of patterns for any element such as a
1208
1255
  # method, a field, an enum value. Each pattern is a qualified name of the
1209
1256
  # element which may end in "*", indicating a wildcard. Wildcards are only
@@ -1223,6 +1270,7 @@ module Google
1223
1270
  def update!(**args)
1224
1271
  @deprecation_description = args[:deprecation_description] if args.key?(:deprecation_description)
1225
1272
  @description = args[:description] if args.key?(:description)
1273
+ @disable_replacement_words = args[:disable_replacement_words] if args.key?(:disable_replacement_words)
1226
1274
  @selector = args[:selector] if args.key?(:selector)
1227
1275
  end
1228
1276
  end
@@ -2268,6 +2316,25 @@ module Google
2268
2316
  end
2269
2317
  end
2270
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
+
2271
2338
  # Defines the HTTP configuration for an API service. It contains a list of
2272
2339
  # HttpRule, each specifying the mapping of an RPC method to one or more HTTP
2273
2340
  # REST API methods.
@@ -3992,6 +4059,40 @@ module Google
3992
4059
  end
3993
4060
  end
3994
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
+
3995
4096
  # Settings for Ruby client libraries.
3996
4097
  class RubySettings
3997
4098
  include Google::Apis::Core::Hashable
@@ -4039,6 +4140,44 @@ module Google
4039
4140
  end
4040
4141
  end
4041
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
+
4042
4181
  # `SourceContext` represents information about the source of a protobuf element,
4043
4182
  # like the file in which it is defined.
4044
4183
  class SourceContext
@@ -4212,6 +4351,31 @@ module Google
4212
4351
  end
4213
4352
  end
4214
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
+
4215
4379
  # A protocol buffer message type.
4216
4380
  class Type
4217
4381
  include Google::Apis::Core::Hashable
@@ -4385,6 +4549,50 @@ module Google
4385
4549
  @skip_service_control = args[:skip_service_control] if args.key?(:skip_service_control)
4386
4550
  end
4387
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
4388
4596
  end
4389
4597
  end
4390
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.34.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 = "20230412"
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
@@ -945,6 +1008,7 @@ module Google
945
1008
  class Representation < Google::Apis::Core::JsonRepresentation
946
1009
  property :deprecation_description, as: 'deprecationDescription'
947
1010
  property :description, as: 'description'
1011
+ property :disable_replacement_words, as: 'disableReplacementWords'
948
1012
  property :selector, as: 'selector'
949
1013
  end
950
1014
  end
@@ -1191,6 +1255,13 @@ module Google
1191
1255
  end
1192
1256
  end
1193
1257
 
1258
+ class GroupValue
1259
+ # @private
1260
+ class Representation < Google::Apis::Core::JsonRepresentation
1261
+ property :name, as: 'name'
1262
+ end
1263
+ end
1264
+
1194
1265
  class Http
1195
1266
  # @private
1196
1267
  class Representation < Google::Apis::Core::JsonRepresentation
@@ -1568,6 +1639,19 @@ module Google
1568
1639
  end
1569
1640
  end
1570
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
+
1571
1655
  class RubySettings
1572
1656
  # @private
1573
1657
  class Representation < Google::Apis::Core::JsonRepresentation
@@ -1584,6 +1668,17 @@ module Google
1584
1668
  end
1585
1669
  end
1586
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
+
1587
1682
  class SourceContext
1588
1683
  # @private
1589
1684
  class Representation < Google::Apis::Core::JsonRepresentation
@@ -1633,6 +1728,14 @@ module Google
1633
1728
  end
1634
1729
  end
1635
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
+
1636
1739
  class Type
1637
1740
  # @private
1638
1741
  class Representation < Google::Apis::Core::JsonRepresentation
@@ -1679,6 +1782,19 @@ module Google
1679
1782
  property :skip_service_control, as: 'skipServiceControl'
1680
1783
  end
1681
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
1682
1798
  end
1683
1799
  end
1684
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.34.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-04-16 00:00:00.000000000 Z
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.34.0
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: []