google-apis-serviceusage_v1beta1 0.37.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: '078dbd62d48c6bb0fc8fc3e556f4c8dfcf30616c8641c514d2ff0dff25ffd4f4'
4
- data.tar.gz: 6d91f51d9f651eb263686cce9e44c64a7b5729a9ece60fdc49a44f8d518de22e
3
+ metadata.gz: 7b689aac206fb56511a3a187d8cdb9009ed5039d9669b7dff058b35f2f13ff4b
4
+ data.tar.gz: b35bd35b007be085e8ce0173a29d174a4b35f6b85a4c593f7f1d41bae55ed65b
5
5
  SHA512:
6
- metadata.gz: e792645901a38212972cd765700fb306d9d6ce9edb8dad54c5d810d429b129084a39c08ef5203e969a0a8a7ee878c5e0363881fb0dce8c2775f1b25f28cedc7d
7
- data.tar.gz: f073984b808f25a2b93f3903ddcf90b4858cdbc4bd359508f610c822c1f47617f2842b761517947b5dda36cbb60df2e24a5adbf2f2a49b402f9029ccb8b3b627
6
+ metadata.gz: 986a6272f8a6852c6b37032449de29249fb5a5975cc8d466b547d344f22c7fb88e1d30ab2de9f62e71f457f09e33c6d81c47ea5e1d5ba9719fb118498b179495
7
+ data.tar.gz: b71d0c4a67d12c26000025f670f253b8d3ddf4223420fda00e9a0c8f33de15f364feafc904effc3086263c42e423c2fc3d58fd72abb4afded51c3e3c65e8441e
data/CHANGELOG.md CHANGED
@@ -1,5 +1,9 @@
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
+
3
7
  ### v0.37.0 (2023-04-30)
4
8
 
5
9
  * Regenerated from discovery document revision 20230426
@@ -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
@@ -2353,6 +2394,25 @@ module Google
2353
2394
  end
2354
2395
  end
2355
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
+
2356
2416
  # Defines the HTTP configuration for an API service. It contains a list of
2357
2417
  # HttpRule, each specifying the mapping of an RPC method to one or more HTTP
2358
2418
  # REST API methods.
@@ -4304,6 +4364,40 @@ module Google
4304
4364
  end
4305
4365
  end
4306
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
+
4307
4401
  # Settings for Ruby client libraries.
4308
4402
  class RubySettings
4309
4403
  include Google::Apis::Core::Hashable
@@ -4536,6 +4630,44 @@ module Google
4536
4630
  end
4537
4631
  end
4538
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
+
4539
4671
  # `SourceContext` represents information about the source of a protobuf element,
4540
4672
  # like the file in which it is defined.
4541
4673
  class SourceContext
@@ -4709,6 +4841,31 @@ module Google
4709
4841
  end
4710
4842
  end
4711
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
+
4712
4869
  # A protocol buffer message type.
4713
4870
  class Type
4714
4871
  include Google::Apis::Core::Hashable
@@ -4882,6 +5039,50 @@ module Google
4882
5039
  @skip_service_control = args[:skip_service_control] if args.key?(:skip_service_control)
4883
5040
  end
4884
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
4885
5086
  end
4886
5087
  end
4887
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.37.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 = "20230426"
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
@@ -1258,6 +1321,13 @@ module Google
1258
1321
  end
1259
1322
  end
1260
1323
 
1324
+ class GroupValue
1325
+ # @private
1326
+ class Representation < Google::Apis::Core::JsonRepresentation
1327
+ property :name, as: 'name'
1328
+ end
1329
+ end
1330
+
1261
1331
  class Http
1262
1332
  # @private
1263
1333
  class Representation < Google::Apis::Core::JsonRepresentation
@@ -1705,6 +1775,19 @@ module Google
1705
1775
  end
1706
1776
  end
1707
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
+
1708
1791
  class RubySettings
1709
1792
  # @private
1710
1793
  class Representation < Google::Apis::Core::JsonRepresentation
@@ -1756,6 +1839,17 @@ module Google
1756
1839
  end
1757
1840
  end
1758
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
+
1759
1853
  class SourceContext
1760
1854
  # @private
1761
1855
  class Representation < Google::Apis::Core::JsonRepresentation
@@ -1805,6 +1899,14 @@ module Google
1805
1899
  end
1806
1900
  end
1807
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
+
1808
1910
  class Type
1809
1911
  # @private
1810
1912
  class Representation < Google::Apis::Core::JsonRepresentation
@@ -1851,6 +1953,19 @@ module Google
1851
1953
  property :skip_service_control, as: 'skipServiceControl'
1852
1954
  end
1853
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
1854
1969
  end
1855
1970
  end
1856
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.37.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-30 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.37.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: []