google-apis-serviceusage_v1 0.36.0 → 0.38.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: b19044f1d9a48f88bc4bed19c552025683e44aa235d5adfee68d2bb46c91ba23
4
- data.tar.gz: e0baf238d658354ee1ad7830a8f26d5f314cf69df81471b839e517dfe301f94b
3
+ metadata.gz: b5bf2f5ed6d7ffc95a56d6028d49f9fa0b9776476470a5a84a2fbbef04eff356
4
+ data.tar.gz: 5b578d78b006604bd3f08c1c7a0a23a97d93cdd43ec5681032a019d0c125c172
5
5
  SHA512:
6
- metadata.gz: 97366a363881d757e015f36b41a1c7ba4a78be9f7701915afdbebd9ad1b953adfe65c234f99f00fa211f95a99d91e74208a74caa4a3bd51e9b32fa331f470ff4
7
- data.tar.gz: f63010906ee2dfd8c74be909a163fd9ca48b7c4f0d45f2604b430b3bb46825c78e6b8676a9703d97871c732e830f8f32284e70ae9527b306cd87c1876d6fd9fe
6
+ metadata.gz: 85dbb39c014fd29500c7279a42f8d46c5b1c0ef3f2a42ff9f020f9eafeffdb000fde1a186a0f89caabf0e56695e5c0414305ffc3ebcfc7935c42036c4f9058f4
7
+ data.tar.gz: 521e2632edd059b50b9a579b1a6b20139586b6dfa8c454f318df22e93f001809d46b830d17b8168e0d3199aa474eaa1741772c860109b92d9252d3c71c077871
data/CHANGELOG.md CHANGED
@@ -1,5 +1,13 @@
1
1
  # Release history for google-apis-serviceusage_v1
2
2
 
3
+ ### v0.38.0 (2023-06-18)
4
+
5
+ * Regenerated from discovery document revision 20230611
6
+
7
+ ### v0.37.0 (2023-06-11)
8
+
9
+ * Regenerated from discovery document revision 20230607
10
+
3
11
  ### v0.36.0 (2023-05-14)
4
12
 
5
13
  * Regenerated from discovery document revision 20230508
@@ -39,6 +39,11 @@ module Google
39
39
  class AddEnableRulesResponse
40
40
  include Google::Apis::Core::Hashable
41
41
 
42
+ # The values added to the parent consumer policy.
43
+ # Corresponds to the JSON property `addedValues`
44
+ # @return [Array<String>]
45
+ attr_accessor :added_values
46
+
42
47
  # The parent consumer policy. It can be `projects/12345/consumerPolicies/default`
43
48
  # , or `folders/12345/consumerPolicies/default`, or `organizations/12345/
44
49
  # consumerPolicies/default`.
@@ -46,19 +51,14 @@ module Google
46
51
  # @return [String]
47
52
  attr_accessor :parent
48
53
 
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
54
  def initialize(**args)
55
55
  update!(**args)
56
56
  end
57
57
 
58
58
  # Update properties of this object
59
59
  def update!(**args)
60
+ @added_values = args[:added_values] if args.key?(:added_values)
60
61
  @parent = args[:parent] if args.key?(:parent)
61
- @values = args[:values] if args.key?(:values)
62
62
  end
63
63
  end
64
64
 
@@ -1149,7 +1149,7 @@ module Google
1149
1149
  # documentation: summary: > The Google Calendar API gives access to most
1150
1150
  # calendar features. pages: - name: Overview content: (== include google/foo/
1151
1151
  # overview.md ==) - name: Tutorial content: (== include google/foo/tutorial.md ==
1152
- # ) subpages; - name: Java content: (== include google/foo/tutorial_java.md ==)
1152
+ # ) subpages: - name: Java content: (== include google/foo/tutorial_java.md ==)
1153
1153
  # rules: - selector: google.calendar.Calendar.Get description: > ... - selector:
1154
1154
  # google.calendar.Calendar.Put description: > ... Documentation is provided in
1155
1155
  # markdown syntax. In addition to standard markdown features, definition lists,
@@ -1199,6 +1199,13 @@ module Google
1199
1199
  # @return [Array<Google::Apis::ServiceusageV1::DocumentationRule>]
1200
1200
  attr_accessor :rules
1201
1201
 
1202
+ # Specifies section and content to override boilerplate content provided by go/
1203
+ # api-docgen. Currently overrides following sections: 1. rest.service.
1204
+ # client_libraries
1205
+ # Corresponds to the JSON property `sectionOverrides`
1206
+ # @return [Array<Google::Apis::ServiceusageV1::Page>]
1207
+ attr_accessor :section_overrides
1208
+
1202
1209
  # Specifies the service root url if the default one (the service name from the
1203
1210
  # yaml file) is not suitable. This can be seen in any fully specified service
1204
1211
  # urls as well as sections that show a base that other urls are relative to.
@@ -1223,6 +1230,7 @@ module Google
1223
1230
  @overview = args[:overview] if args.key?(:overview)
1224
1231
  @pages = args[:pages] if args.key?(:pages)
1225
1232
  @rules = args[:rules] if args.key?(:rules)
1233
+ @section_overrides = args[:section_overrides] if args.key?(:section_overrides)
1226
1234
  @service_root_url = args[:service_root_url] if args.key?(:service_root_url)
1227
1235
  @summary = args[:summary] if args.key?(:summary)
1228
1236
  end
@@ -1825,7 +1833,7 @@ module Google
1825
1833
  # documentation: summary: > The Google Calendar API gives access to most
1826
1834
  # calendar features. pages: - name: Overview content: (== include google/foo/
1827
1835
  # overview.md ==) - name: Tutorial content: (== include google/foo/tutorial.md ==
1828
- # ) subpages; - name: Java content: (== include google/foo/tutorial_java.md ==)
1836
+ # ) subpages: - name: Java content: (== include google/foo/tutorial_java.md ==)
1829
1837
  # rules: - selector: google.calendar.Calendar.Get description: > ... - selector:
1830
1838
  # google.calendar.Calendar.Put description: > ... Documentation is provided in
1831
1839
  # markdown syntax. In addition to standard markdown features, definition lists,
@@ -2140,7 +2148,7 @@ module Google
2140
2148
  # documentation: summary: > The Google Calendar API gives access to most
2141
2149
  # calendar features. pages: - name: Overview content: (== include google/foo/
2142
2150
  # overview.md ==) - name: Tutorial content: (== include google/foo/tutorial.md ==
2143
- # ) subpages; - name: Java content: (== include google/foo/tutorial_java.md ==)
2151
+ # ) subpages: - name: Java content: (== include google/foo/tutorial_java.md ==)
2144
2152
  # rules: - selector: google.calendar.Calendar.Get description: > ... - selector:
2145
2153
  # google.calendar.Calendar.Put description: > ... Documentation is provided in
2146
2154
  # markdown syntax. In addition to standard markdown features, definition lists,
@@ -2316,25 +2324,6 @@ module Google
2316
2324
  end
2317
2325
  end
2318
2326
 
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
-
2338
2327
  # Defines the HTTP configuration for an API service. It contains a list of
2339
2328
  # HttpRule, each specifying the mapping of an RPC method to one or more HTTP
2340
2329
  # REST API methods.
@@ -4083,6 +4072,11 @@ module Google
4083
4072
  # @return [String]
4084
4073
  attr_accessor :parent
4085
4074
 
4075
+ # The values removed from the parent consumer policy.
4076
+ # Corresponds to the JSON property `removedValues`
4077
+ # @return [Array<String>]
4078
+ attr_accessor :removed_values
4079
+
4086
4080
  def initialize(**args)
4087
4081
  update!(**args)
4088
4082
  end
@@ -4090,6 +4084,7 @@ module Google
4090
4084
  # Update properties of this object
4091
4085
  def update!(**args)
4092
4086
  @parent = args[:parent] if args.key?(:parent)
4087
+ @removed_values = args[:removed_values] if args.key?(:removed_values)
4093
4088
  end
4094
4089
  end
4095
4090
 
@@ -4140,44 +4135,6 @@ module Google
4140
4135
  end
4141
4136
  end
4142
4137
 
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
-
4181
4138
  # `SourceContext` represents information about the source of a protobuf element,
4182
4139
  # like the file in which it is defined.
4183
4140
  class SourceContext
@@ -4351,31 +4308,6 @@ module Google
4351
4308
  end
4352
4309
  end
4353
4310
 
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
-
4379
4311
  # A protocol buffer message type.
4380
4312
  class Type
4381
4313
  include Google::Apis::Core::Hashable
@@ -4549,50 +4481,6 @@ module Google
4549
4481
  @skip_service_control = args[:skip_service_control] if args.key?(:skip_service_control)
4550
4482
  end
4551
4483
  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
4596
4484
  end
4597
4485
  end
4598
4486
  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.36.0"
19
+ GEM_VERSION = "0.38.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 = "20230508"
25
+ REVISION = "20230611"
26
26
  end
27
27
  end
28
28
  end
@@ -340,12 +340,6 @@ module Google
340
340
  include Google::Apis::Core::JsonObjectSupport
341
341
  end
342
342
 
343
- class GroupValue
344
- class Representation < Google::Apis::Core::JsonRepresentation; end
345
-
346
- include Google::Apis::Core::JsonObjectSupport
347
- end
348
-
349
343
  class Http
350
344
  class Representation < Google::Apis::Core::JsonRepresentation; end
351
345
 
@@ -598,12 +592,6 @@ module Google
598
592
  include Google::Apis::Core::JsonObjectSupport
599
593
  end
600
594
 
601
- class ServiceValue
602
- class Representation < Google::Apis::Core::JsonRepresentation; end
603
-
604
- include Google::Apis::Core::JsonObjectSupport
605
- end
606
-
607
595
  class SourceContext
608
596
  class Representation < Google::Apis::Core::JsonRepresentation; end
609
597
 
@@ -640,12 +628,6 @@ module Google
640
628
  include Google::Apis::Core::JsonObjectSupport
641
629
  end
642
630
 
643
- class TermsOfService
644
- class Representation < Google::Apis::Core::JsonRepresentation; end
645
-
646
- include Google::Apis::Core::JsonObjectSupport
647
- end
648
-
649
631
  class Type
650
632
  class Representation < Google::Apis::Core::JsonRepresentation; end
651
633
 
@@ -676,12 +658,6 @@ module Google
676
658
  include Google::Apis::Core::JsonObjectSupport
677
659
  end
678
660
 
679
- class ValueInfo
680
- class Representation < Google::Apis::Core::JsonRepresentation; end
681
-
682
- include Google::Apis::Core::JsonObjectSupport
683
- end
684
-
685
661
  class AddEnableRulesMetadata
686
662
  # @private
687
663
  class Representation < Google::Apis::Core::JsonRepresentation
@@ -691,9 +667,8 @@ module Google
691
667
  class AddEnableRulesResponse
692
668
  # @private
693
669
  class Representation < Google::Apis::Core::JsonRepresentation
670
+ collection :added_values, as: 'addedValues'
694
671
  property :parent, as: 'parent'
695
- collection :values, as: 'values', class: Google::Apis::ServiceusageV1::ValueInfo, decorator: Google::Apis::ServiceusageV1::ValueInfo::Representation
696
-
697
672
  end
698
673
  end
699
674
 
@@ -998,6 +973,8 @@ module Google
998
973
 
999
974
  collection :rules, as: 'rules', class: Google::Apis::ServiceusageV1::DocumentationRule, decorator: Google::Apis::ServiceusageV1::DocumentationRule::Representation
1000
975
 
976
+ collection :section_overrides, as: 'sectionOverrides', class: Google::Apis::ServiceusageV1::Page, decorator: Google::Apis::ServiceusageV1::Page::Representation
977
+
1001
978
  property :service_root_url, as: 'serviceRootUrl'
1002
979
  property :summary, as: 'summary'
1003
980
  end
@@ -1255,13 +1232,6 @@ module Google
1255
1232
  end
1256
1233
  end
1257
1234
 
1258
- class GroupValue
1259
- # @private
1260
- class Representation < Google::Apis::Core::JsonRepresentation
1261
- property :name, as: 'name'
1262
- end
1263
- end
1264
-
1265
1235
  class Http
1266
1236
  # @private
1267
1237
  class Representation < Google::Apis::Core::JsonRepresentation
@@ -1649,6 +1619,7 @@ module Google
1649
1619
  # @private
1650
1620
  class Representation < Google::Apis::Core::JsonRepresentation
1651
1621
  property :parent, as: 'parent'
1622
+ collection :removed_values, as: 'removedValues'
1652
1623
  end
1653
1624
  end
1654
1625
 
@@ -1668,17 +1639,6 @@ module Google
1668
1639
  end
1669
1640
  end
1670
1641
 
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
-
1682
1642
  class SourceContext
1683
1643
  # @private
1684
1644
  class Representation < Google::Apis::Core::JsonRepresentation
@@ -1728,14 +1688,6 @@ module Google
1728
1688
  end
1729
1689
  end
1730
1690
 
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
-
1739
1691
  class Type
1740
1692
  # @private
1741
1693
  class Representation < Google::Apis::Core::JsonRepresentation
@@ -1782,19 +1734,6 @@ module Google
1782
1734
  property :skip_service_control, as: 'skipServiceControl'
1783
1735
  end
1784
1736
  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
1798
1737
  end
1799
1738
  end
1800
1739
  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.36.0
4
+ version: 0.38.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-05-14 00:00:00.000000000 Z
11
+ date: 2023-06-18 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.36.0
61
+ documentation_uri: https://googleapis.dev/ruby/google-apis-serviceusage_v1/v0.38.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: []