google-apis-serviceusage_v1 0.35.0 → 0.37.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: 55f577a1ce286fbc0aaba83800965ddad5d87c4860de84b776d9570d61c2ac87
4
- data.tar.gz: 49bf1a4f404cb7c1f8de3205ba9b4290a24e483a3fb7036da4a0b688f1748ddc
3
+ metadata.gz: 5dfedb1d45478abd3c925ca8b5f7cad223ca819324e5b6e178f4e4df5622231a
4
+ data.tar.gz: b37eadcea32a35d65f64b6002545e8f62b16d3d02cc5ed5f2e9d071fd8ac4d20
5
5
  SHA512:
6
- metadata.gz: ae50e92294bddff567d7e31b92b4788cfff4d89296608d90bd246043a28ee3babaaca1ad9b408ee2eb1ab187aa0286414359fc95ca1aebcd776cb4f26b7f040b
7
- data.tar.gz: e9870e9342392096b1ce1c2130188c845011704eaeb411372b5c95eecc2958b2fbfc6ddb4dbf594db129a9e2467d5eb9a7dbdd07d342b44173acde8fab869143
6
+ metadata.gz: 0d9beb016b0ede3ee12490893b1369fefe3b882550ab20d0be901a2e1292de05a7b2ac8b56987f6b3ee8beb1b91694fbe55d42749af9bcc0dd32900946efdf6c
7
+ data.tar.gz: f1b08e62750dc7da2af55b6e8c4a1c8aa2d3f64e2a6975e294f50af3b5721e2d477d1175f4f2501528f7db0f887fc0f89e60511de53f6f949e2f6a330f1ec7ae
data/CHANGELOG.md CHANGED
@@ -1,5 +1,13 @@
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
+
7
+ ### v0.36.0 (2023-05-14)
8
+
9
+ * Regenerated from discovery document revision 20230508
10
+
3
11
  ### v0.35.0 (2023-04-30)
4
12
 
5
13
  * Regenerated from discovery document revision 20230426
@@ -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 values added to the parent consumer policy.
43
+ # Corresponds to the JSON property `addedValues`
44
+ # @return [Array<String>]
45
+ attr_accessor :added_values
46
+
47
+ # The parent consumer policy. It can be `projects/12345/consumerPolicies/default`
48
+ # , or `folders/12345/consumerPolicies/default`, or `organizations/12345/
49
+ # consumerPolicies/default`.
50
+ # Corresponds to the JSON property `parent`
51
+ # @return [String]
52
+ attr_accessor :parent
53
+
54
+ def initialize(**args)
55
+ update!(**args)
56
+ end
57
+
58
+ # Update properties of this object
59
+ def update!(**args)
60
+ @added_values = args[:added_values] if args.key?(:added_values)
61
+ @parent = args[:parent] if args.key?(:parent)
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
@@ -3999,6 +4040,46 @@ module Google
3999
4040
  end
4000
4041
  end
4001
4042
 
4043
+ # Metadata for the `RemoveEnableRules` method.
4044
+ class RemoveEnableRulesMetadata
4045
+ include Google::Apis::Core::Hashable
4046
+
4047
+ def initialize(**args)
4048
+ update!(**args)
4049
+ end
4050
+
4051
+ # Update properties of this object
4052
+ def update!(**args)
4053
+ end
4054
+ end
4055
+
4056
+ # The response message of "RemoveEnableRules" method.
4057
+ class RemoveEnableRulesResponse
4058
+ include Google::Apis::Core::Hashable
4059
+
4060
+ # The parent consumer policy. It can be `projects/12345/consumerPolicies/default`
4061
+ # , or `folders/12345/consumerPolicies/default`, or `organizations/12345/
4062
+ # consumerPolicies/default`.
4063
+ # Corresponds to the JSON property `parent`
4064
+ # @return [String]
4065
+ attr_accessor :parent
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
+
4072
+ def initialize(**args)
4073
+ update!(**args)
4074
+ end
4075
+
4076
+ # Update properties of this object
4077
+ def update!(**args)
4078
+ @parent = args[:parent] if args.key?(:parent)
4079
+ @removed_values = args[:removed_values] if args.key?(:removed_values)
4080
+ end
4081
+ end
4082
+
4002
4083
  # Settings for Ruby client libraries.
4003
4084
  class RubySettings
4004
4085
  include Google::Apis::Core::Hashable
@@ -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.35.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 = "20230426"
25
+ REVISION = "20230607"
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
 
@@ -556,6 +568,18 @@ module Google
556
568
  include Google::Apis::Core::JsonObjectSupport
557
569
  end
558
570
 
571
+ class RemoveEnableRulesMetadata
572
+ class Representation < Google::Apis::Core::JsonRepresentation; end
573
+
574
+ include Google::Apis::Core::JsonObjectSupport
575
+ end
576
+
577
+ class RemoveEnableRulesResponse
578
+ class Representation < Google::Apis::Core::JsonRepresentation; end
579
+
580
+ include Google::Apis::Core::JsonObjectSupport
581
+ end
582
+
559
583
  class RubySettings
560
584
  class Representation < Google::Apis::Core::JsonRepresentation; end
561
585
 
@@ -634,6 +658,20 @@ module Google
634
658
  include Google::Apis::Core::JsonObjectSupport
635
659
  end
636
660
 
661
+ class AddEnableRulesMetadata
662
+ # @private
663
+ class Representation < Google::Apis::Core::JsonRepresentation
664
+ end
665
+ end
666
+
667
+ class AddEnableRulesResponse
668
+ # @private
669
+ class Representation < Google::Apis::Core::JsonRepresentation
670
+ collection :added_values, as: 'addedValues'
671
+ property :parent, as: 'parent'
672
+ end
673
+ end
674
+
637
675
  class AdminQuotaPolicy
638
676
  # @private
639
677
  class Representation < Google::Apis::Core::JsonRepresentation
@@ -1569,6 +1607,20 @@ module Google
1569
1607
  end
1570
1608
  end
1571
1609
 
1610
+ class RemoveEnableRulesMetadata
1611
+ # @private
1612
+ class Representation < Google::Apis::Core::JsonRepresentation
1613
+ end
1614
+ end
1615
+
1616
+ class RemoveEnableRulesResponse
1617
+ # @private
1618
+ class Representation < Google::Apis::Core::JsonRepresentation
1619
+ property :parent, as: 'parent'
1620
+ collection :removed_values, as: 'removedValues'
1621
+ end
1622
+ end
1623
+
1572
1624
  class RubySettings
1573
1625
  # @private
1574
1626
  class Representation < Google::Apis::Core::JsonRepresentation
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.35.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-04-30 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.35.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: []