google-apis-serviceusage_v1beta1 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: 1319905475e8c511746310fdeaf5b11b110bcf6ac950cac26d98ae828d751bbd
4
- data.tar.gz: 14fef51348143c1e59983cc1ef3090a3ef6910330be09988821d77a0ac1b2627
3
+ metadata.gz: 7b689aac206fb56511a3a187d8cdb9009ed5039d9669b7dff058b35f2f13ff4b
4
+ data.tar.gz: b35bd35b007be085e8ce0173a29d174a4b35f6b85a4c593f7f1d41bae55ed65b
5
5
  SHA512:
6
- metadata.gz: c7d083688e29364e46446beb0a3b6aeb8b0a35e8a48c0403680829b21352e69bbba54c60ed4da2e0627d61b08d05cf776fa7ec47da88d5f2f582d11920193732
7
- data.tar.gz: 243d8d70c74a1dc9ea77c95ece218e06960771aebeea31e119c65d42ab085c3a194e6ed7b0af1462d3268758b4785a00d111df021b6bad9a2580001fb2f56739
6
+ metadata.gz: 986a6272f8a6852c6b37032449de29249fb5a5975cc8d466b547d344f22c7fb88e1d30ab2de9f62e71f457f09e33c6d81c47ea5e1d5ba9719fb118498b179495
7
+ data.tar.gz: b71d0c4a67d12c26000025f670f253b8d3ddf4223420fda00e9a0c8f33de15f364feafc904effc3086263c42e423c2fc3d58fd72abb4afded51c3e3c65e8441e
data/CHANGELOG.md CHANGED
@@ -1,5 +1,13 @@
1
1
  # Release history for google-apis-serviceusage_v1beta1
2
2
 
3
+ ### v0.38.0 (2023-05-14)
4
+
5
+ * Regenerated from discovery document revision 20230508
6
+
7
+ ### v0.37.0 (2023-04-30)
8
+
9
+ * Regenerated from discovery document revision 20230426
10
+
3
11
  ### v0.36.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 ServiceusageV1beta1
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::ServiceusageV1beta1::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
@@ -766,9 +806,10 @@ module Google
766
806
  # @return [String]
767
807
  attr_accessor :etag
768
808
 
769
- # Output only. The resource name of the policy. For example, `projects/12345/
770
- # consumerPolicy`, `folders/12345/consumerPolicy`, `organizations/12345/
771
- # consumerPolicy`.
809
+ # Output only. The resource name of the policy. For example, We only allow
810
+ # consumer policy name as "default" for now: `projects/12345/consumerPolicies/
811
+ # default`, `folders/12345/consumerPolicies/default`, `organizations/12345/
812
+ # consumerPolicies/default`. Legacy format: `projects/12345/consumerPoly`
772
813
  # Corresponds to the JSON property `name`
773
814
  # @return [String]
774
815
  attr_accessor :name
@@ -1282,6 +1323,12 @@ module Google
1282
1323
  # @return [String]
1283
1324
  attr_accessor :description
1284
1325
 
1326
+ # String of comma or space separated case-sensitive words for which method/field
1327
+ # name replacement will be disabled by go/api-docgen.
1328
+ # Corresponds to the JSON property `disableReplacementWords`
1329
+ # @return [String]
1330
+ attr_accessor :disable_replacement_words
1331
+
1285
1332
  # The selector is a comma-separated list of patterns for any element such as a
1286
1333
  # method, a field, an enum value. Each pattern is a qualified name of the
1287
1334
  # element which may end in "*", indicating a wildcard. Wildcards are only
@@ -1301,6 +1348,7 @@ module Google
1301
1348
  def update!(**args)
1302
1349
  @deprecation_description = args[:deprecation_description] if args.key?(:deprecation_description)
1303
1350
  @description = args[:description] if args.key?(:description)
1351
+ @disable_replacement_words = args[:disable_replacement_words] if args.key?(:disable_replacement_words)
1304
1352
  @selector = args[:selector] if args.key?(:selector)
1305
1353
  end
1306
1354
  end
@@ -2346,6 +2394,25 @@ module Google
2346
2394
  end
2347
2395
  end
2348
2396
 
2397
+ # Unimplemented. Do not use. GroupValue contains information of a service group.
2398
+ class GroupValue
2399
+ include Google::Apis::Core::Hashable
2400
+
2401
+ # The name of the value. Example: `groups/googleSerivice`.
2402
+ # Corresponds to the JSON property `name`
2403
+ # @return [String]
2404
+ attr_accessor :name
2405
+
2406
+ def initialize(**args)
2407
+ update!(**args)
2408
+ end
2409
+
2410
+ # Update properties of this object
2411
+ def update!(**args)
2412
+ @name = args[:name] if args.key?(:name)
2413
+ end
2414
+ end
2415
+
2349
2416
  # Defines the HTTP configuration for an API service. It contains a list of
2350
2417
  # HttpRule, each specifying the mapping of an RPC method to one or more HTTP
2351
2418
  # REST API methods.
@@ -4297,6 +4364,40 @@ module Google
4297
4364
  end
4298
4365
  end
4299
4366
 
4367
+ # Metadata for the `RemoveEnableRules` method.
4368
+ class RemoveEnableRulesMetadata
4369
+ include Google::Apis::Core::Hashable
4370
+
4371
+ def initialize(**args)
4372
+ update!(**args)
4373
+ end
4374
+
4375
+ # Update properties of this object
4376
+ def update!(**args)
4377
+ end
4378
+ end
4379
+
4380
+ # The response message of "RemoveEnableRules" method.
4381
+ class RemoveEnableRulesResponse
4382
+ include Google::Apis::Core::Hashable
4383
+
4384
+ # The parent consumer policy. It can be `projects/12345/consumerPolicies/default`
4385
+ # , or `folders/12345/consumerPolicies/default`, or `organizations/12345/
4386
+ # consumerPolicies/default`.
4387
+ # Corresponds to the JSON property `parent`
4388
+ # @return [String]
4389
+ attr_accessor :parent
4390
+
4391
+ def initialize(**args)
4392
+ update!(**args)
4393
+ end
4394
+
4395
+ # Update properties of this object
4396
+ def update!(**args)
4397
+ @parent = args[:parent] if args.key?(:parent)
4398
+ end
4399
+ end
4400
+
4300
4401
  # Settings for Ruby client libraries.
4301
4402
  class RubySettings
4302
4403
  include Google::Apis::Core::Hashable
@@ -4529,6 +4630,44 @@ module Google
4529
4630
  end
4530
4631
  end
4531
4632
 
4633
+ # ServiceValue contains information of a service.
4634
+ class ServiceValue
4635
+ include Google::Apis::Core::Hashable
4636
+
4637
+ # The DNS address at which this service is available.
4638
+ # Corresponds to the JSON property `dnsAddress`
4639
+ # @return [String]
4640
+ attr_accessor :dns_address
4641
+
4642
+ # The name of the value. Example: `services/storage.googleapis.com`.
4643
+ # Corresponds to the JSON property `name`
4644
+ # @return [String]
4645
+ attr_accessor :name
4646
+
4647
+ # A link to pricing information for the service, such as https://cloud.google.
4648
+ # com/bigquery/pricing.
4649
+ # Corresponds to the JSON property `pricingLink`
4650
+ # @return [String]
4651
+ attr_accessor :pricing_link
4652
+
4653
+ # Terms of Service
4654
+ # Corresponds to the JSON property `tos`
4655
+ # @return [Array<Google::Apis::ServiceusageV1beta1::TermsOfService>]
4656
+ attr_accessor :tos
4657
+
4658
+ def initialize(**args)
4659
+ update!(**args)
4660
+ end
4661
+
4662
+ # Update properties of this object
4663
+ def update!(**args)
4664
+ @dns_address = args[:dns_address] if args.key?(:dns_address)
4665
+ @name = args[:name] if args.key?(:name)
4666
+ @pricing_link = args[:pricing_link] if args.key?(:pricing_link)
4667
+ @tos = args[:tos] if args.key?(:tos)
4668
+ end
4669
+ end
4670
+
4532
4671
  # `SourceContext` represents information about the source of a protobuf element,
4533
4672
  # like the file in which it is defined.
4534
4673
  class SourceContext
@@ -4702,6 +4841,31 @@ module Google
4702
4841
  end
4703
4842
  end
4704
4843
 
4844
+ # TermsOfService captures the metadata about a given terms of service
4845
+ class TermsOfService
4846
+ include Google::Apis::Core::Hashable
4847
+
4848
+ # Title of the terms of service.
4849
+ # Corresponds to the JSON property `title`
4850
+ # @return [String]
4851
+ attr_accessor :title
4852
+
4853
+ # URL/URI of the terms of service.
4854
+ # Corresponds to the JSON property `uri`
4855
+ # @return [String]
4856
+ attr_accessor :uri
4857
+
4858
+ def initialize(**args)
4859
+ update!(**args)
4860
+ end
4861
+
4862
+ # Update properties of this object
4863
+ def update!(**args)
4864
+ @title = args[:title] if args.key?(:title)
4865
+ @uri = args[:uri] if args.key?(:uri)
4866
+ end
4867
+ end
4868
+
4705
4869
  # A protocol buffer message type.
4706
4870
  class Type
4707
4871
  include Google::Apis::Core::Hashable
@@ -4875,6 +5039,50 @@ module Google
4875
5039
  @skip_service_control = args[:skip_service_control] if args.key?(:skip_service_control)
4876
5040
  end
4877
5041
  end
5042
+
5043
+ # Information about the value field. Only support value type as service now.
5044
+ class ValueInfo
5045
+ include Google::Apis::Core::Hashable
5046
+
5047
+ # Unimplemented. Do not use. GroupValue contains information of a service group.
5048
+ # Corresponds to the JSON property `groupValue`
5049
+ # @return [Google::Apis::ServiceusageV1beta1::GroupValue]
5050
+ attr_accessor :group_value
5051
+
5052
+ # For public services, it must point to the product landing page. For private
5053
+ # services, it should point to the internal site. For service group, it is TBD.
5054
+ # Corresponds to the JSON property `learnmoreLink`
5055
+ # @return [String]
5056
+ attr_accessor :learnmore_link
5057
+
5058
+ # ServiceValue contains information of a service.
5059
+ # Corresponds to the JSON property `serviceValue`
5060
+ # @return [Google::Apis::ServiceusageV1beta1::ServiceValue]
5061
+ attr_accessor :service_value
5062
+
5063
+ # The product summary for this value.
5064
+ # Corresponds to the JSON property `summary`
5065
+ # @return [String]
5066
+ attr_accessor :summary
5067
+
5068
+ # The product title for this value.
5069
+ # Corresponds to the JSON property `title`
5070
+ # @return [String]
5071
+ attr_accessor :title
5072
+
5073
+ def initialize(**args)
5074
+ update!(**args)
5075
+ end
5076
+
5077
+ # Update properties of this object
5078
+ def update!(**args)
5079
+ @group_value = args[:group_value] if args.key?(:group_value)
5080
+ @learnmore_link = args[:learnmore_link] if args.key?(:learnmore_link)
5081
+ @service_value = args[:service_value] if args.key?(:service_value)
5082
+ @summary = args[:summary] if args.key?(:summary)
5083
+ @title = args[:title] if args.key?(:title)
5084
+ end
5085
+ end
4878
5086
  end
4879
5087
  end
4880
5088
  end
@@ -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.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 = "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 ServiceusageV1beta1
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
 
@@ -598,6 +616,18 @@ module Google
598
616
  include Google::Apis::Core::JsonObjectSupport
599
617
  end
600
618
 
619
+ class RemoveEnableRulesMetadata
620
+ class Representation < Google::Apis::Core::JsonRepresentation; end
621
+
622
+ include Google::Apis::Core::JsonObjectSupport
623
+ end
624
+
625
+ class RemoveEnableRulesResponse
626
+ class Representation < Google::Apis::Core::JsonRepresentation; end
627
+
628
+ include Google::Apis::Core::JsonObjectSupport
629
+ end
630
+
601
631
  class RubySettings
602
632
  class Representation < Google::Apis::Core::JsonRepresentation; end
603
633
 
@@ -622,6 +652,12 @@ module Google
622
652
  include Google::Apis::Core::JsonObjectSupport
623
653
  end
624
654
 
655
+ class ServiceValue
656
+ class Representation < Google::Apis::Core::JsonRepresentation; end
657
+
658
+ include Google::Apis::Core::JsonObjectSupport
659
+ end
660
+
625
661
  class SourceContext
626
662
  class Representation < Google::Apis::Core::JsonRepresentation; end
627
663
 
@@ -658,6 +694,12 @@ module Google
658
694
  include Google::Apis::Core::JsonObjectSupport
659
695
  end
660
696
 
697
+ class TermsOfService
698
+ class Representation < Google::Apis::Core::JsonRepresentation; end
699
+
700
+ include Google::Apis::Core::JsonObjectSupport
701
+ end
702
+
661
703
  class Type
662
704
  class Representation < Google::Apis::Core::JsonRepresentation; end
663
705
 
@@ -688,6 +730,27 @@ module Google
688
730
  include Google::Apis::Core::JsonObjectSupport
689
731
  end
690
732
 
733
+ class ValueInfo
734
+ class Representation < Google::Apis::Core::JsonRepresentation; end
735
+
736
+ include Google::Apis::Core::JsonObjectSupport
737
+ end
738
+
739
+ class AddEnableRulesMetadata
740
+ # @private
741
+ class Representation < Google::Apis::Core::JsonRepresentation
742
+ end
743
+ end
744
+
745
+ class AddEnableRulesResponse
746
+ # @private
747
+ class Representation < Google::Apis::Core::JsonRepresentation
748
+ property :parent, as: 'parent'
749
+ collection :values, as: 'values', class: Google::Apis::ServiceusageV1beta1::ValueInfo, decorator: Google::Apis::ServiceusageV1beta1::ValueInfo::Representation
750
+
751
+ end
752
+ end
753
+
691
754
  class AdminQuotaPolicy
692
755
  # @private
693
756
  class Representation < Google::Apis::Core::JsonRepresentation
@@ -1011,6 +1074,7 @@ module Google
1011
1074
  class Representation < Google::Apis::Core::JsonRepresentation
1012
1075
  property :deprecation_description, as: 'deprecationDescription'
1013
1076
  property :description, as: 'description'
1077
+ property :disable_replacement_words, as: 'disableReplacementWords'
1014
1078
  property :selector, as: 'selector'
1015
1079
  end
1016
1080
  end
@@ -1257,6 +1321,13 @@ module Google
1257
1321
  end
1258
1322
  end
1259
1323
 
1324
+ class GroupValue
1325
+ # @private
1326
+ class Representation < Google::Apis::Core::JsonRepresentation
1327
+ property :name, as: 'name'
1328
+ end
1329
+ end
1330
+
1260
1331
  class Http
1261
1332
  # @private
1262
1333
  class Representation < Google::Apis::Core::JsonRepresentation
@@ -1704,6 +1775,19 @@ module Google
1704
1775
  end
1705
1776
  end
1706
1777
 
1778
+ class RemoveEnableRulesMetadata
1779
+ # @private
1780
+ class Representation < Google::Apis::Core::JsonRepresentation
1781
+ end
1782
+ end
1783
+
1784
+ class RemoveEnableRulesResponse
1785
+ # @private
1786
+ class Representation < Google::Apis::Core::JsonRepresentation
1787
+ property :parent, as: 'parent'
1788
+ end
1789
+ end
1790
+
1707
1791
  class RubySettings
1708
1792
  # @private
1709
1793
  class Representation < Google::Apis::Core::JsonRepresentation
@@ -1755,6 +1839,17 @@ module Google
1755
1839
  end
1756
1840
  end
1757
1841
 
1842
+ class ServiceValue
1843
+ # @private
1844
+ class Representation < Google::Apis::Core::JsonRepresentation
1845
+ property :dns_address, as: 'dnsAddress'
1846
+ property :name, as: 'name'
1847
+ property :pricing_link, as: 'pricingLink'
1848
+ collection :tos, as: 'tos', class: Google::Apis::ServiceusageV1beta1::TermsOfService, decorator: Google::Apis::ServiceusageV1beta1::TermsOfService::Representation
1849
+
1850
+ end
1851
+ end
1852
+
1758
1853
  class SourceContext
1759
1854
  # @private
1760
1855
  class Representation < Google::Apis::Core::JsonRepresentation
@@ -1804,6 +1899,14 @@ module Google
1804
1899
  end
1805
1900
  end
1806
1901
 
1902
+ class TermsOfService
1903
+ # @private
1904
+ class Representation < Google::Apis::Core::JsonRepresentation
1905
+ property :title, as: 'title'
1906
+ property :uri, as: 'uri'
1907
+ end
1908
+ end
1909
+
1807
1910
  class Type
1808
1911
  # @private
1809
1912
  class Representation < Google::Apis::Core::JsonRepresentation
@@ -1850,6 +1953,19 @@ module Google
1850
1953
  property :skip_service_control, as: 'skipServiceControl'
1851
1954
  end
1852
1955
  end
1956
+
1957
+ class ValueInfo
1958
+ # @private
1959
+ class Representation < Google::Apis::Core::JsonRepresentation
1960
+ property :group_value, as: 'groupValue', class: Google::Apis::ServiceusageV1beta1::GroupValue, decorator: Google::Apis::ServiceusageV1beta1::GroupValue::Representation
1961
+
1962
+ property :learnmore_link, as: 'learnmoreLink'
1963
+ property :service_value, as: 'serviceValue', class: Google::Apis::ServiceusageV1beta1::ServiceValue, decorator: Google::Apis::ServiceusageV1beta1::ServiceValue::Representation
1964
+
1965
+ property :summary, as: 'summary'
1966
+ property :title, as: 'title'
1967
+ end
1968
+ end
1853
1969
  end
1854
1970
  end
1855
1971
  end
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.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-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_v1beta1/CHANGELOG.md
61
- documentation_uri: https://googleapis.dev/ruby/google-apis-serviceusage_v1beta1/v0.36.0
61
+ documentation_uri: https://googleapis.dev/ruby/google-apis-serviceusage_v1beta1/v0.38.0
62
62
  source_code_uri: https://github.com/googleapis/google-api-ruby-client/tree/main/generated/google-apis-serviceusage_v1beta1
63
63
  post_install_message:
64
64
  rdoc_options: []