google-apis-cloudbilling_v1beta 0.3.0 → 0.5.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: 0cf577185775846bd331775b064de33ce0650fcf44dfe6399a44b2938c666c03
4
+ data.tar.gz: 8e88aa1294f8390d7aefebb658b1e83231d02c2139e5e6189ab383c1f66cf135
5
5
  SHA512:
6
- metadata.gz: 5931f1ef1cadd5716697c3910c97114dcb23d9745d5fa788491c48634b72dcfcd0304cae72b0d04c1afec36d9f6250326b2fc875713eae8b6c1edf233e7defd7
7
- data.tar.gz: 7ffabc4d3ae572c1c04d60d277049e1fbd084f087928aa3745ba13597d143ddfc92402d1f162a8709a161e097000888a8da145cb2f2df95637f3106e4736c219
6
+ metadata.gz: ba53c9d52ae81a7d095d9a70d594f3abe4276bd2172e89b49f940ac4b03370fb4868e20f18023689a773754ff671617874a59085d0705db596b09fb03a1d7ba3
7
+ data.tar.gz: 106e76081410a997ff4dff1e76a5d1eba7d674c02f3b3d4549ff76bc87cc2c9de8ccf923d6452b87d2e388ea4a9bdfba6871839042bfcaec318d0c8e5020a8ae
data/CHANGELOG.md CHANGED
@@ -1,5 +1,14 @@
1
1
  # Release history for google-apis-cloudbilling_v1beta
2
2
 
3
+ ### v0.5.0 (2023-02-26)
4
+
5
+ * Regenerated using generator version 0.12.0
6
+
7
+ ### v0.4.0 (2023-02-05)
8
+
9
+ * Regenerated from discovery document revision 20230130
10
+ * Regenerated using generator version 0.11.1
11
+
3
12
  ### v0.3.0 (2022-12-27)
4
13
 
5
14
  * 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.5.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.12.0"
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.5.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-26 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: google-apis-core
@@ -16,7 +16,7 @@ dependencies:
16
16
  requirements:
17
17
  - - ">="
18
18
  - !ruby/object:Gem::Version
19
- version: 0.9.1
19
+ version: 0.11.0
20
20
  - - "<"
21
21
  - !ruby/object:Gem::Version
22
22
  version: 2.a
@@ -26,7 +26,7 @@ dependencies:
26
26
  requirements:
27
27
  - - ">="
28
28
  - !ruby/object:Gem::Version
29
- version: 0.9.1
29
+ version: 0.11.0
30
30
  - - "<"
31
31
  - !ruby/object:Gem::Version
32
32
  version: 2.a
@@ -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.5.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