google-apis-cloudbilling_v1beta 0.3.0 → 0.4.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: 7823d686ab1780f8e4d25aa776075ed329d22966874c30e0204c61805a3d2e60
4
- data.tar.gz: e29dbe574cb671d908c9f0c16376d2e0757c0830a3c6b9f380c3edcfd09e85c9
3
+ metadata.gz: 6ff6812eb47e0921c919b32e634289d1272ad8e270d22fb12cf508325f4104eb
4
+ data.tar.gz: 6a538bb5a4b5d9cbdef36afaff7cf13a28910d820ce26f537fff47d09255fdce
5
5
  SHA512:
6
- metadata.gz: 5931f1ef1cadd5716697c3910c97114dcb23d9745d5fa788491c48634b72dcfcd0304cae72b0d04c1afec36d9f6250326b2fc875713eae8b6c1edf233e7defd7
7
- data.tar.gz: 7ffabc4d3ae572c1c04d60d277049e1fbd084f087928aa3745ba13597d143ddfc92402d1f162a8709a161e097000888a8da145cb2f2df95637f3106e4736c219
6
+ metadata.gz: a6ab8a711a52811f5a2503d8f35c4fb52d4c2bcc1a2cf35e98c8907efc88d5283b6ceaa1610c08741fadd36bd0ad35d942849cf741e709abe4ddbecf0ac8e9f0
7
+ data.tar.gz: d2ed2381cf441480e7bc809c356831cbdff162b0b792acafd45f54809deb0882377e02aaf04085e5cc8a777579eea1f3a73a07ee2fb83a8907652f723abfdd8e
data/CHANGELOG.md CHANGED
@@ -1,5 +1,10 @@
1
1
  # Release history for google-apis-cloudbilling_v1beta
2
2
 
3
+ ### v0.4.0 (2023-02-05)
4
+
5
+ * Regenerated from discovery document revision 20230130
6
+ * Regenerated using generator version 0.11.1
7
+
3
8
  ### v0.3.0 (2022-12-27)
4
9
 
5
10
  * Regenerated from discovery document revision 20221206
@@ -708,6 +708,60 @@ module Google
708
708
  end
709
709
  end
710
710
 
711
+ # Egress traffic between two regions.
712
+ class InterRegionEgress
713
+ include Google::Apis::Core::Hashable
714
+
715
+ # Which [region](https://cloud.google.com/compute/docs/regions-zones) the egress
716
+ # data goes to.
717
+ # Corresponds to the JSON property `destinationRegion`
718
+ # @return [String]
719
+ attr_accessor :destination_region
720
+
721
+ # An amount of usage over a time frame.
722
+ # Corresponds to the JSON property `egressRate`
723
+ # @return [Google::Apis::CloudbillingV1beta::Usage]
724
+ attr_accessor :egress_rate
725
+
726
+ # Which [region](https://cloud.google.com/compute/docs/regions-zones) the egress
727
+ # data comes from.
728
+ # Corresponds to the JSON property `sourceRegion`
729
+ # @return [String]
730
+ attr_accessor :source_region
731
+
732
+ def initialize(**args)
733
+ update!(**args)
734
+ end
735
+
736
+ # Update properties of this object
737
+ def update!(**args)
738
+ @destination_region = args[:destination_region] if args.key?(:destination_region)
739
+ @egress_rate = args[:egress_rate] if args.key?(:egress_rate)
740
+ @source_region = args[:source_region] if args.key?(:source_region)
741
+ end
742
+ end
743
+
744
+ # Egress traffic within the same region. When source region and destination
745
+ # region are in the same zone, using the internal IP addresses, there isn't any
746
+ # egress charge.
747
+ class IntraRegionEgress
748
+ include Google::Apis::Core::Hashable
749
+
750
+ # An amount of usage over a time frame.
751
+ # Corresponds to the JSON property `egressRate`
752
+ # @return [Google::Apis::CloudbillingV1beta::Usage]
753
+ attr_accessor :egress_rate
754
+
755
+ def initialize(**args)
756
+ update!(**args)
757
+ end
758
+
759
+ # Update properties of this object
760
+ def update!(**args)
761
+ @egress_rate = args[:egress_rate] if args.key?(:egress_rate)
762
+ end
763
+ end
764
+
711
765
  # Specification of machine series, memory, and number of vCPUs.
712
766
  class MachineType
713
767
  include Google::Apis::Core::Hashable
@@ -1339,6 +1393,33 @@ module Google
1339
1393
  end
1340
1394
  end
1341
1395
 
1396
+ # Specify VM to VM egress.
1397
+ class VmToVmEgressWorkload
1398
+ include Google::Apis::Core::Hashable
1399
+
1400
+ # Egress traffic between two regions.
1401
+ # Corresponds to the JSON property `interRegionEgress`
1402
+ # @return [Google::Apis::CloudbillingV1beta::InterRegionEgress]
1403
+ attr_accessor :inter_region_egress
1404
+
1405
+ # Egress traffic within the same region. When source region and destination
1406
+ # region are in the same zone, using the internal IP addresses, there isn't any
1407
+ # egress charge.
1408
+ # Corresponds to the JSON property `intraRegionEgress`
1409
+ # @return [Google::Apis::CloudbillingV1beta::IntraRegionEgress]
1410
+ attr_accessor :intra_region_egress
1411
+
1412
+ def initialize(**args)
1413
+ update!(**args)
1414
+ end
1415
+
1416
+ # Update properties of this object
1417
+ def update!(**args)
1418
+ @inter_region_egress = args[:inter_region_egress] if args.key?(:inter_region_egress)
1419
+ @intra_region_egress = args[:intra_region_egress] if args.key?(:intra_region_egress)
1420
+ end
1421
+ end
1422
+
1342
1423
  # Specifies usage on a single Google Cloud product over a time frame. Each
1343
1424
  # Google Cloud product has its own message, containing specific product
1344
1425
  # configuration parameters of the product usage amounts along each dimension in
@@ -1401,6 +1482,11 @@ module Google
1401
1482
  # @return [Google::Apis::CloudbillingV1beta::StandardTierEgressWorkload]
1402
1483
  attr_accessor :standard_tier_egress_workload
1403
1484
 
1485
+ # Specify VM to VM egress.
1486
+ # Corresponds to the JSON property `vmToVmEgressWorkload`
1487
+ # @return [Google::Apis::CloudbillingV1beta::VmToVmEgressWorkload]
1488
+ attr_accessor :vm_to_vm_egress_workload
1489
+
1404
1490
  def initialize(**args)
1405
1491
  update!(**args)
1406
1492
  end
@@ -1417,6 +1503,7 @@ module Google
1417
1503
  @name = args[:name] if args.key?(:name)
1418
1504
  @premium_tier_egress_workload = args[:premium_tier_egress_workload] if args.key?(:premium_tier_egress_workload)
1419
1505
  @standard_tier_egress_workload = args[:standard_tier_egress_workload] if args.key?(:standard_tier_egress_workload)
1506
+ @vm_to_vm_egress_workload = args[:vm_to_vm_egress_workload] if args.key?(:vm_to_vm_egress_workload)
1420
1507
  end
1421
1508
  end
1422
1509
 
@@ -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.3.0"
19
+ GEM_VERSION = "0.4.0"
20
20
 
21
21
  # Version of the code generator used to generate this client
22
- GENERATOR_VERSION = "0.11.0"
22
+ GENERATOR_VERSION = "0.11.1"
23
23
 
24
24
  # Revision of the discovery document this client was generated from
25
- REVISION = "20221206"
25
+ REVISION = "20230130"
26
26
  end
27
27
  end
28
28
  end
@@ -154,6 +154,18 @@ module Google
154
154
  include Google::Apis::Core::JsonObjectSupport
155
155
  end
156
156
 
157
+ class InterRegionEgress
158
+ class Representation < Google::Apis::Core::JsonRepresentation; end
159
+
160
+ include Google::Apis::Core::JsonObjectSupport
161
+ end
162
+
163
+ class IntraRegionEgress
164
+ class Representation < Google::Apis::Core::JsonRepresentation; end
165
+
166
+ include Google::Apis::Core::JsonObjectSupport
167
+ end
168
+
157
169
  class MachineType
158
170
  class Representation < Google::Apis::Core::JsonRepresentation; end
159
171
 
@@ -274,6 +286,12 @@ module Google
274
286
  include Google::Apis::Core::JsonObjectSupport
275
287
  end
276
288
 
289
+ class VmToVmEgressWorkload
290
+ class Representation < Google::Apis::Core::JsonRepresentation; end
291
+
292
+ include Google::Apis::Core::JsonObjectSupport
293
+ end
294
+
277
295
  class Workload
278
296
  class Representation < Google::Apis::Core::JsonRepresentation; end
279
297
 
@@ -514,6 +532,24 @@ module Google
514
532
  end
515
533
  end
516
534
 
535
+ class InterRegionEgress
536
+ # @private
537
+ class Representation < Google::Apis::Core::JsonRepresentation
538
+ property :destination_region, as: 'destinationRegion'
539
+ property :egress_rate, as: 'egressRate', class: Google::Apis::CloudbillingV1beta::Usage, decorator: Google::Apis::CloudbillingV1beta::Usage::Representation
540
+
541
+ property :source_region, as: 'sourceRegion'
542
+ end
543
+ end
544
+
545
+ class IntraRegionEgress
546
+ # @private
547
+ class Representation < Google::Apis::Core::JsonRepresentation
548
+ property :egress_rate, as: 'egressRate', class: Google::Apis::CloudbillingV1beta::Usage, decorator: Google::Apis::CloudbillingV1beta::Usage::Representation
549
+
550
+ end
551
+ end
552
+
517
553
  class MachineType
518
554
  # @private
519
555
  class Representation < Google::Apis::Core::JsonRepresentation
@@ -705,6 +741,16 @@ module Google
705
741
  end
706
742
  end
707
743
 
744
+ class VmToVmEgressWorkload
745
+ # @private
746
+ class Representation < Google::Apis::Core::JsonRepresentation
747
+ property :inter_region_egress, as: 'interRegionEgress', class: Google::Apis::CloudbillingV1beta::InterRegionEgress, decorator: Google::Apis::CloudbillingV1beta::InterRegionEgress::Representation
748
+
749
+ property :intra_region_egress, as: 'intraRegionEgress', class: Google::Apis::CloudbillingV1beta::IntraRegionEgress, decorator: Google::Apis::CloudbillingV1beta::IntraRegionEgress::Representation
750
+
751
+ end
752
+ end
753
+
708
754
  class Workload
709
755
  # @private
710
756
  class Representation < Google::Apis::Core::JsonRepresentation
@@ -727,6 +773,8 @@ module Google
727
773
 
728
774
  property :standard_tier_egress_workload, as: 'standardTierEgressWorkload', class: Google::Apis::CloudbillingV1beta::StandardTierEgressWorkload, decorator: Google::Apis::CloudbillingV1beta::StandardTierEgressWorkload::Representation
729
775
 
776
+ property :vm_to_vm_egress_workload, as: 'vmToVmEgressWorkload', class: Google::Apis::CloudbillingV1beta::VmToVmEgressWorkload, decorator: Google::Apis::CloudbillingV1beta::VmToVmEgressWorkload::Representation
777
+
730
778
  end
731
779
  end
732
780
 
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.3.0
4
+ version: 0.4.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-01-04 00:00:00.000000000 Z
11
+ date: 2023-02-05 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.3.0
61
+ documentation_uri: https://googleapis.dev/ruby/google-apis-cloudbilling_v1beta/v0.4.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.3.14
78
+ rubygems_version: 3.4.2
79
79
  signing_key:
80
80
  specification_version: 4
81
81
  summary: Simple REST client for Cloud Billing API V1beta