google-apis-cloudbilling_v1beta 0.9.0 → 0.11.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: 4c74ba578492118ed2edae7b1117274a324e25f4580a19b083f0dbb783593b21
4
- data.tar.gz: 985b595be4a52e57dc7759130bc89963a8428800f66f6dbb833516efc084fd41
3
+ metadata.gz: c326b1eca622443a1d8e916c02897d91cc4d420c2f99890014dd1ee0c4336f5a
4
+ data.tar.gz: 1edc24ac169b96821b9b890dab7c89287303680554fe8baaff83c3a7af67d345
5
5
  SHA512:
6
- metadata.gz: 3ed77576dc8bc1cd985b8732ed6a69a7f38f9c3a7c17e8c7de48b159caaf4a9b85c8fb2f3d635ad05c101fa3b4ae1cc43f216809cb1615daf72efa4b3b5a860a
7
- data.tar.gz: 253af060054bac5c93ac1621922c663deee44b257c328172f93cdbbb70334bd51fb4b3d91eb237392ed7190e673b9155facd9cd07dbfcbf8a869c9e4f4dd04a5
6
+ metadata.gz: dbfce509ada879344f7e59348bf8716fcd1ce102e5a9097440cd2f85b9015c9bed1b7d5540810fb6f3c7aea36f3906bb962975ad41dd81ffd01f34e86fbfe9ad
7
+ data.tar.gz: 936ef0c01e2a42a5d1640147b3155fb32b58d9ffa43c0f9e79c83598e7f80ce1d3135127d51359933a7f47fdf2d56ac259aecb037600babf6085251dd2c9307b
data/CHANGELOG.md CHANGED
@@ -1,5 +1,13 @@
1
1
  # Release history for google-apis-cloudbilling_v1beta
2
2
 
3
+ ### v0.11.0 (2023-09-03)
4
+
5
+ * Regenerated from discovery document revision 20230825
6
+
7
+ ### v0.10.0 (2023-08-27)
8
+
9
+ * Regenerated from discovery document revision 20230818
10
+
3
11
  ### v0.9.0 (2023-08-03)
4
12
 
5
13
  * Regenerated from discovery document revision 20230724
@@ -146,7 +146,7 @@ module Google
146
146
  # @return [Array<Google::Apis::CloudbillingV1beta::VlanAttachment>]
147
147
  attr_accessor :interconnect_attachments
148
148
 
149
- # Vlan attachment type.
149
+ # VLAN attachment type
150
150
  # Corresponds to the JSON property `interconnectType`
151
151
  # @return [String]
152
152
  attr_accessor :interconnect_type
@@ -841,7 +841,7 @@ module Google
841
841
  attr_accessor :discount_percent
842
842
 
843
843
  # Type of the fixed discount scope which indicates the source of the discount.
844
- # It can have values such as 'sku-group'.
844
+ # It can have values such as 'unspecified' and 'sku-group'.
845
845
  # Corresponds to the JSON property `discountScopeType`
846
846
  # @return [String]
847
847
  attr_accessor :discount_scope_type
@@ -898,7 +898,7 @@ module Google
898
898
  attr_accessor :discount_percent
899
899
 
900
900
  # Type of the floating discount scope which indicates the source of the discount.
901
- # It can have values such as 'sku-group'.
901
+ # It can have values such as 'unspecified' and 'sku-group'.
902
902
  # Corresponds to the JSON property `discountScopeType`
903
903
  # @return [String]
904
904
  attr_accessor :discount_scope_type
@@ -956,32 +956,19 @@ module Google
956
956
  class GoogleCloudBillingBillingaccountpricesV1betaMigratedPrice
957
957
  include Google::Apis::Core::Hashable
958
958
 
959
- # Encapsulates a type of MigratedPrice where the source SKU floating discount is
960
- # applied on the target SKU's default price.
961
- # Corresponds to the JSON property `sourceDiscountOnTargetPrice`
962
- # @return [Google::Apis::CloudbillingV1beta::GoogleCloudBillingBillingaccountpricesV1betaSourceDiscountOnTargetPrice]
963
- attr_accessor :source_discount_on_target_price
964
-
965
- # Source SKU where the discount is migrated from.
959
+ # Source SKU where the discount is migrated from. Format: billingAccounts/`
960
+ # billing_account`/skus/`sku`
966
961
  # Corresponds to the JSON property `sourceSku`
967
962
  # @return [String]
968
963
  attr_accessor :source_sku
969
964
 
970
- # Type of the migrated price. It can have values such as 'source-discount-on-
971
- # target-price'.
972
- # Corresponds to the JSON property `type`
973
- # @return [String]
974
- attr_accessor :type
975
-
976
965
  def initialize(**args)
977
966
  update!(**args)
978
967
  end
979
968
 
980
969
  # Update properties of this object
981
970
  def update!(**args)
982
- @source_discount_on_target_price = args[:source_discount_on_target_price] if args.key?(:source_discount_on_target_price)
983
971
  @source_sku = args[:source_sku] if args.key?(:source_sku)
984
- @type = args[:type] if args.key?(:type)
985
972
  end
986
973
  end
987
974
 
@@ -1034,9 +1021,9 @@ module Google
1034
1021
  # @return [Google::Apis::CloudbillingV1beta::GoogleCloudBillingBillingaccountpricesV1betaMigratedPrice]
1035
1022
  attr_accessor :migrated_price
1036
1023
 
1037
- # Type of the price reason. It can values such as 'default-price', 'fixed-price',
1038
- # 'fixed-discount', 'floating-discount', 'migrated-price', 'merged-price', '
1039
- # list-price-as-ceiling'.
1024
+ # Type of the price reason. It can have values such as 'unspecified', 'default-
1025
+ # price', 'fixed-price', 'fixed-discount', 'floating-discount', 'migrated-price',
1026
+ # 'merged-price', 'list-price-as-ceiling'.
1040
1027
  # Corresponds to the JSON property `type`
1041
1028
  # @return [String]
1042
1029
  attr_accessor :type
@@ -1136,30 +1123,6 @@ module Google
1136
1123
  end
1137
1124
  end
1138
1125
 
1139
- # Encapsulates a type of MigratedPrice where the source SKU floating discount is
1140
- # applied on the target SKU's default price.
1141
- class GoogleCloudBillingBillingaccountpricesV1betaSourceDiscountOnTargetPrice
1142
- include Google::Apis::Core::Hashable
1143
-
1144
- # A representation of a decimal value, such as 2.5. Clients may convert values
1145
- # into language-native decimal formats, such as Java's BigDecimal or Python's
1146
- # decimal.Decimal. [BigDecimal]: https://docs.oracle.com/en/java/javase/11/docs/
1147
- # api/java.base/java/math/BigDecimal.html [decimal.Decimal]: https://docs.python.
1148
- # org/3/library/decimal.html
1149
- # Corresponds to the JSON property `migratedDiscountPercent`
1150
- # @return [Google::Apis::CloudbillingV1beta::Decimal]
1151
- attr_accessor :migrated_discount_percent
1152
-
1153
- def initialize(**args)
1154
- update!(**args)
1155
- end
1156
-
1157
- # Update properties of this object
1158
- def update!(**args)
1159
- @migrated_discount_percent = args[:migrated_discount_percent] if args.key?(:migrated_discount_percent)
1160
- end
1161
- end
1162
-
1163
1126
  # Encapsulates the unit information for a Rate
1164
1127
  class GoogleCloudBillingBillingaccountpricesV1betaUnitInfo
1165
1128
  include Google::Apis::Core::Hashable
@@ -2843,7 +2806,7 @@ module Google
2843
2806
  end
2844
2807
  end
2845
2808
 
2846
- # VLAN attachment for cloud interconnect.
2809
+ # VLAN attachment for Cloud Interconnect.
2847
2810
  class VlanAttachment
2848
2811
  include Google::Apis::Core::Hashable
2849
2812
 
@@ -16,13 +16,13 @@ module Google
16
16
  module Apis
17
17
  module CloudbillingV1beta
18
18
  # Version of the google-apis-cloudbilling_v1beta gem
19
- GEM_VERSION = "0.9.0"
19
+ GEM_VERSION = "0.11.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 = "20230724"
25
+ REVISION = "20230825"
26
26
  end
27
27
  end
28
28
  end
@@ -226,12 +226,6 @@ module Google
226
226
  include Google::Apis::Core::JsonObjectSupport
227
227
  end
228
228
 
229
- class GoogleCloudBillingBillingaccountpricesV1betaSourceDiscountOnTargetPrice
230
- class Representation < Google::Apis::Core::JsonRepresentation; end
231
-
232
- include Google::Apis::Core::JsonObjectSupport
233
- end
234
-
235
229
  class GoogleCloudBillingBillingaccountpricesV1betaUnitInfo
236
230
  class Representation < Google::Apis::Core::JsonRepresentation; end
237
231
 
@@ -918,10 +912,7 @@ module Google
918
912
  class GoogleCloudBillingBillingaccountpricesV1betaMigratedPrice
919
913
  # @private
920
914
  class Representation < Google::Apis::Core::JsonRepresentation
921
- property :source_discount_on_target_price, as: 'sourceDiscountOnTargetPrice', class: Google::Apis::CloudbillingV1beta::GoogleCloudBillingBillingaccountpricesV1betaSourceDiscountOnTargetPrice, decorator: Google::Apis::CloudbillingV1beta::GoogleCloudBillingBillingaccountpricesV1betaSourceDiscountOnTargetPrice::Representation
922
-
923
915
  property :source_sku, as: 'sourceSku'
924
- property :type, as: 'type'
925
916
  end
926
917
  end
927
918
 
@@ -972,14 +963,6 @@ module Google
972
963
  end
973
964
  end
974
965
 
975
- class GoogleCloudBillingBillingaccountpricesV1betaSourceDiscountOnTargetPrice
976
- # @private
977
- class Representation < Google::Apis::Core::JsonRepresentation
978
- property :migrated_discount_percent, as: 'migratedDiscountPercent', class: Google::Apis::CloudbillingV1beta::Decimal, decorator: Google::Apis::CloudbillingV1beta::Decimal::Representation
979
-
980
- end
981
- end
982
-
983
966
  class GoogleCloudBillingBillingaccountpricesV1betaUnitInfo
984
967
  # @private
985
968
  class Representation < Google::Apis::Core::JsonRepresentation
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: google-apis-cloudbilling_v1beta
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.9.0
4
+ version: 0.11.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-08-06 00:00:00.000000000 Z
11
+ date: 2023-09-03 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-cloudbilling_v1beta/CHANGELOG.md
61
- documentation_uri: https://googleapis.dev/ruby/google-apis-cloudbilling_v1beta/v0.9.0
61
+ documentation_uri: https://googleapis.dev/ruby/google-apis-cloudbilling_v1beta/v0.11.0
62
62
  source_code_uri: https://github.com/googleapis/google-api-ruby-client/tree/main/generated/google-apis-cloudbilling_v1beta
63
63
  post_install_message:
64
64
  rdoc_options: []
@@ -75,7 +75,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
75
75
  - !ruby/object:Gem::Version
76
76
  version: '0'
77
77
  requirements: []
78
- rubygems_version: 3.4.2
78
+ rubygems_version: 3.4.19
79
79
  signing_key:
80
80
  specification_version: 4
81
81
  summary: Simple REST client for Cloud Billing API V1beta