google-apis-serviceusage_v1 0.36.0 → 0.37.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: b19044f1d9a48f88bc4bed19c552025683e44aa235d5adfee68d2bb46c91ba23
4
- data.tar.gz: e0baf238d658354ee1ad7830a8f26d5f314cf69df81471b839e517dfe301f94b
3
+ metadata.gz: 5dfedb1d45478abd3c925ca8b5f7cad223ca819324e5b6e178f4e4df5622231a
4
+ data.tar.gz: b37eadcea32a35d65f64b6002545e8f62b16d3d02cc5ed5f2e9d071fd8ac4d20
5
5
  SHA512:
6
- metadata.gz: 97366a363881d757e015f36b41a1c7ba4a78be9f7701915afdbebd9ad1b953adfe65c234f99f00fa211f95a99d91e74208a74caa4a3bd51e9b32fa331f470ff4
7
- data.tar.gz: f63010906ee2dfd8c74be909a163fd9ca48b7c4f0d45f2604b430b3bb46825c78e6b8676a9703d97871c732e830f8f32284e70ae9527b306cd87c1876d6fd9fe
6
+ metadata.gz: 0d9beb016b0ede3ee12490893b1369fefe3b882550ab20d0be901a2e1292de05a7b2ac8b56987f6b3ee8beb1b91694fbe55d42749af9bcc0dd32900946efdf6c
7
+ data.tar.gz: f1b08e62750dc7da2af55b6e8c4a1c8aa2d3f64e2a6975e294f50af3b5721e2d477d1175f4f2501528f7db0f887fc0f89e60511de53f6f949e2f6a330f1ec7ae
data/CHANGELOG.md CHANGED
@@ -1,5 +1,9 @@
1
1
  # Release history for google-apis-serviceusage_v1
2
2
 
3
+ ### v0.37.0 (2023-06-11)
4
+
5
+ * Regenerated from discovery document revision 20230607
6
+
3
7
  ### v0.36.0 (2023-05-14)
4
8
 
5
9
  * 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
 
@@ -2316,25 +2316,6 @@ module Google
2316
2316
  end
2317
2317
  end
2318
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
-
2338
2319
  # Defines the HTTP configuration for an API service. It contains a list of
2339
2320
  # HttpRule, each specifying the mapping of an RPC method to one or more HTTP
2340
2321
  # REST API methods.
@@ -4083,6 +4064,11 @@ module Google
4083
4064
  # @return [String]
4084
4065
  attr_accessor :parent
4085
4066
 
4067
+ # The values removed from the parent consumer policy.
4068
+ # Corresponds to the JSON property `removedValues`
4069
+ # @return [Array<String>]
4070
+ attr_accessor :removed_values
4071
+
4086
4072
  def initialize(**args)
4087
4073
  update!(**args)
4088
4074
  end
@@ -4090,6 +4076,7 @@ module Google
4090
4076
  # Update properties of this object
4091
4077
  def update!(**args)
4092
4078
  @parent = args[:parent] if args.key?(:parent)
4079
+ @removed_values = args[:removed_values] if args.key?(:removed_values)
4093
4080
  end
4094
4081
  end
4095
4082
 
@@ -4140,44 +4127,6 @@ module Google
4140
4127
  end
4141
4128
  end
4142
4129
 
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
4130
  # `SourceContext` represents information about the source of a protobuf element,
4182
4131
  # like the file in which it is defined.
4183
4132
  class SourceContext
@@ -4351,31 +4300,6 @@ module Google
4351
4300
  end
4352
4301
  end
4353
4302
 
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
4303
  # A protocol buffer message type.
4380
4304
  class Type
4381
4305
  include Google::Apis::Core::Hashable
@@ -4549,50 +4473,6 @@ module Google
4549
4473
  @skip_service_control = args[:skip_service_control] if args.key?(:skip_service_control)
4550
4474
  end
4551
4475
  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
4476
  end
4597
4477
  end
4598
4478
  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.37.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 = "20230607"
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
 
@@ -1255,13 +1230,6 @@ module Google
1255
1230
  end
1256
1231
  end
1257
1232
 
1258
- class GroupValue
1259
- # @private
1260
- class Representation < Google::Apis::Core::JsonRepresentation
1261
- property :name, as: 'name'
1262
- end
1263
- end
1264
-
1265
1233
  class Http
1266
1234
  # @private
1267
1235
  class Representation < Google::Apis::Core::JsonRepresentation
@@ -1649,6 +1617,7 @@ module Google
1649
1617
  # @private
1650
1618
  class Representation < Google::Apis::Core::JsonRepresentation
1651
1619
  property :parent, as: 'parent'
1620
+ collection :removed_values, as: 'removedValues'
1652
1621
  end
1653
1622
  end
1654
1623
 
@@ -1668,17 +1637,6 @@ module Google
1668
1637
  end
1669
1638
  end
1670
1639
 
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
1640
  class SourceContext
1683
1641
  # @private
1684
1642
  class Representation < Google::Apis::Core::JsonRepresentation
@@ -1728,14 +1686,6 @@ module Google
1728
1686
  end
1729
1687
  end
1730
1688
 
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
1689
  class Type
1740
1690
  # @private
1741
1691
  class Representation < Google::Apis::Core::JsonRepresentation
@@ -1782,19 +1732,6 @@ module Google
1782
1732
  property :skip_service_control, as: 'skipServiceControl'
1783
1733
  end
1784
1734
  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
1735
  end
1799
1736
  end
1800
1737
  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.37.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-11 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.37.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: []