google-apis-cloudbilling_v1beta 0.8.0 → 0.10.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: 0ecaedf68cd02d464e390c7afc48f01152391a0357fe0dd42a3f1515fe2fe610
4
- data.tar.gz: e8ee4fe45eec411b91e2717004a0eb7e376bdf9fa60b26af75f47b932c0a68b1
3
+ metadata.gz: 7af050510464c729acd302390525d946280a77810507e103e771400c85ef2d1e
4
+ data.tar.gz: 7ff383dad4b43065f017ffa30ef475fb8768c32d4d9055c7d0149ba9a11e6dd2
5
5
  SHA512:
6
- metadata.gz: a67fe10cec5a8f3613b47fd26b9727f43585fec519bad1b5096d88d1161c75856a37366d8ebb3b7fd65cf0ae1ec413f7b4f732e584755b8c2b6aa171d1c8bfa9
7
- data.tar.gz: dd8a5d21cd951be2f4c3a7236cec29d541198d910ccbcc89b2e5b21eb7f85cab13f19620d1fb7963977a88dfc0cbb539fc32edf8d2bc71df9cce116af6e22af4
6
+ metadata.gz: d0cad743240c2a179dec59a9deabe0a5869316c64b299210fc55e1557371aa3dee285521c3b2fcd71d8cec9352a8917dda44d73e93f0115237f7631130381e67
7
+ data.tar.gz: 30df3603d3610095f6772f733376a5a3cd566a3e971d235528b8ef2d2b4c7ee96e74f267510ee13017517d3f3272fafe37e44c297e73308863697287a8ac04d3
data/CHANGELOG.md CHANGED
@@ -1,5 +1,13 @@
1
1
  # Release history for google-apis-cloudbilling_v1beta
2
2
 
3
+ ### v0.10.0 (2023-08-27)
4
+
5
+ * Regenerated from discovery document revision 20230818
6
+
7
+ ### v0.9.0 (2023-08-03)
8
+
9
+ * Regenerated from discovery document revision 20230724
10
+
3
11
  ### v0.8.0 (2023-07-16)
4
12
 
5
13
  * Regenerated from discovery document revision 20230710
data/OVERVIEW.md CHANGED
@@ -79,7 +79,7 @@ Gem names for modern clients are often of the form `google-cloud-<service_name>`
79
79
 
80
80
  **For most users, we recommend the modern client, if one is available.** Compared with simple clients, modern clients are generally much easier to use and more Ruby-like, support more advanced features such as streaming and long-running operations, and often provide much better performance. You may consider using a simple client instead, if a modern client is not yet available for the service you want to use, or if you are not able to use gRPC on your infrastructure.
81
81
 
82
- The [product documentation](https://cloud.google.com/billing/) may provide guidance regarding the preferred client library to use.
82
+ The [product documentation](https://cloud.google.com/billing/docs/apis) may provide guidance regarding the preferred client library to use.
83
83
 
84
84
  ## Supported Ruby versions
85
85
 
@@ -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
@@ -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
 
@@ -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.8.0"
19
+ GEM_VERSION = "0.10.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 = "20230710"
25
+ REVISION = "20230818"
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
@@ -31,7 +31,7 @@ module Google
31
31
  # Cloudbilling = Google::Apis::CloudbillingV1beta # Alias the module
32
32
  # service = Cloudbilling::CloudbillingService.new
33
33
  #
34
- # @see https://cloud.google.com/billing/
34
+ # @see https://cloud.google.com/billing/docs/apis
35
35
  class CloudbillingService < Google::Apis::Core::BaseService
36
36
  # @return [String]
37
37
  # API key. Your API key identifies your project and provides you with API access,
@@ -24,7 +24,7 @@ module Google
24
24
  # Allows developers to manage billing for their Google Cloud Platform projects
25
25
  # programmatically.
26
26
  #
27
- # @see https://cloud.google.com/billing/
27
+ # @see https://cloud.google.com/billing/docs/apis
28
28
  module CloudbillingV1beta
29
29
  # Version of the Cloud Billing API this client connects to.
30
30
  # This is NOT the gem version.
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.8.0
4
+ version: 0.10.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-07-16 00:00:00.000000000 Z
11
+ date: 2023-08-27 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.8.0
61
+ documentation_uri: https://googleapis.dev/ruby/google-apis-cloudbilling_v1beta/v0.10.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