google-apis-cloudbilling_v1beta 0.2.0 → 0.3.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: 253eaeaedec2fcb82f2f33732c183503f5acdcb75872e3f6bfbab10b76339faf
4
- data.tar.gz: a7fb21139e9a042a38cb970b82ede97530c1c6c7c5218bed54c4de509428ebcc
3
+ metadata.gz: 7823d686ab1780f8e4d25aa776075ed329d22966874c30e0204c61805a3d2e60
4
+ data.tar.gz: e29dbe574cb671d908c9f0c16376d2e0757c0830a3c6b9f380c3edcfd09e85c9
5
5
  SHA512:
6
- metadata.gz: cef987914e80d98935379c0e09baf1123187888c67468e8513e00e6842f333f5de71f1e6e8541b64d7c413f087400b225b1263f8399a1ecf9d97da15f9aec257
7
- data.tar.gz: eef95351dd289c4d228f30ddd676df8dd9f11f806768f47ba82f677061f78820b2dfdfc80163287e8821f7afecb8747aca0bf1417a27281432b9d7fb1f9d56a5
6
+ metadata.gz: 5931f1ef1cadd5716697c3910c97114dcb23d9745d5fa788491c48634b72dcfcd0304cae72b0d04c1afec36d9f6250326b2fc875713eae8b6c1edf233e7defd7
7
+ data.tar.gz: 7ffabc4d3ae572c1c04d60d277049e1fbd084f087928aa3745ba13597d143ddfc92402d1f162a8709a161e097000888a8da145cb2f2df95637f3106e4736c219
data/CHANGELOG.md CHANGED
@@ -1,5 +1,9 @@
1
1
  # Release history for google-apis-cloudbilling_v1beta
2
2
 
3
+ ### v0.3.0 (2022-12-27)
4
+
5
+ * Regenerated from discovery document revision 20221206
6
+
3
7
  ### v0.2.0 (2022-10-20)
4
8
 
5
9
  * Regenerated using generator version 0.11.0
@@ -22,6 +22,192 @@ module Google
22
22
  module Apis
23
23
  module CloudbillingV1beta
24
24
 
25
+ # Specifies the regions for Cache Fill.
26
+ class CacheFillRegions
27
+ include Google::Apis::Core::Hashable
28
+
29
+ # The destination region for cache fill.
30
+ # Corresponds to the JSON property `destinationRegion`
31
+ # @return [String]
32
+ attr_accessor :destination_region
33
+
34
+ # The source region for cache fill.
35
+ # Corresponds to the JSON property `sourceRegion`
36
+ # @return [String]
37
+ attr_accessor :source_region
38
+
39
+ def initialize(**args)
40
+ update!(**args)
41
+ end
42
+
43
+ # Update properties of this object
44
+ def update!(**args)
45
+ @destination_region = args[:destination_region] if args.key?(:destination_region)
46
+ @source_region = args[:source_region] if args.key?(:source_region)
47
+ end
48
+ end
49
+
50
+ # Specifies usage for Cloud CDN egress.
51
+ class CloudCdnEgressWorkload
52
+ include Google::Apis::Core::Hashable
53
+
54
+ # The destination for the cache egress charges.
55
+ # Corresponds to the JSON property `cacheEgressDestination`
56
+ # @return [String]
57
+ attr_accessor :cache_egress_destination
58
+
59
+ # An amount of usage over a time frame.
60
+ # Corresponds to the JSON property `cacheEgressRate`
61
+ # @return [Google::Apis::CloudbillingV1beta::Usage]
62
+ attr_accessor :cache_egress_rate
63
+
64
+ def initialize(**args)
65
+ update!(**args)
66
+ end
67
+
68
+ # Update properties of this object
69
+ def update!(**args)
70
+ @cache_egress_destination = args[:cache_egress_destination] if args.key?(:cache_egress_destination)
71
+ @cache_egress_rate = args[:cache_egress_rate] if args.key?(:cache_egress_rate)
72
+ end
73
+ end
74
+
75
+ # Specifies usage for Cloud CDN resources.
76
+ class CloudCdnWorkload
77
+ include Google::Apis::Core::Hashable
78
+
79
+ # The source service for the cache fill.
80
+ # Corresponds to the JSON property `cacheFillOriginService`
81
+ # @return [String]
82
+ attr_accessor :cache_fill_origin_service
83
+
84
+ # An amount of usage over a time frame.
85
+ # Corresponds to the JSON property `cacheFillRate`
86
+ # @return [Google::Apis::CloudbillingV1beta::Usage]
87
+ attr_accessor :cache_fill_rate
88
+
89
+ # Specifies the regions for Cache Fill.
90
+ # Corresponds to the JSON property `cacheFillRegions`
91
+ # @return [Google::Apis::CloudbillingV1beta::CacheFillRegions]
92
+ attr_accessor :cache_fill_regions
93
+
94
+ # An amount of usage over a time frame.
95
+ # Corresponds to the JSON property `cacheLookUpRate`
96
+ # @return [Google::Apis::CloudbillingV1beta::Usage]
97
+ attr_accessor :cache_look_up_rate
98
+
99
+ def initialize(**args)
100
+ update!(**args)
101
+ end
102
+
103
+ # Update properties of this object
104
+ def update!(**args)
105
+ @cache_fill_origin_service = args[:cache_fill_origin_service] if args.key?(:cache_fill_origin_service)
106
+ @cache_fill_rate = args[:cache_fill_rate] if args.key?(:cache_fill_rate)
107
+ @cache_fill_regions = args[:cache_fill_regions] if args.key?(:cache_fill_regions)
108
+ @cache_look_up_rate = args[:cache_look_up_rate] if args.key?(:cache_look_up_rate)
109
+ end
110
+ end
111
+
112
+ # The interconnect egress only includes the Interconnect Egress. Please use the
113
+ # standard egress traffic interface to specify your standard egress usage.
114
+ class CloudInterconnectEgressWorkload
115
+ include Google::Apis::Core::Hashable
116
+
117
+ # An amount of usage over a time frame.
118
+ # Corresponds to the JSON property `egressRate`
119
+ # @return [Google::Apis::CloudbillingV1beta::Usage]
120
+ attr_accessor :egress_rate
121
+
122
+ # Locations in the [Interconnect connection location table](https://cloud.google.
123
+ # com/vpc/network-pricing#interconnect-pricing). This is the interconnect egress
124
+ # charges.
125
+ # Corresponds to the JSON property `interconnectConnectionLocation`
126
+ # @return [String]
127
+ attr_accessor :interconnect_connection_location
128
+
129
+ def initialize(**args)
130
+ update!(**args)
131
+ end
132
+
133
+ # Update properties of this object
134
+ def update!(**args)
135
+ @egress_rate = args[:egress_rate] if args.key?(:egress_rate)
136
+ @interconnect_connection_location = args[:interconnect_connection_location] if args.key?(:interconnect_connection_location)
137
+ end
138
+ end
139
+
140
+ # Specifies usage for Cloud Interconnect resources.
141
+ class CloudInterconnectWorkload
142
+ include Google::Apis::Core::Hashable
143
+
144
+ # VLAN attachment used for interconnect.
145
+ # Corresponds to the JSON property `interconnectAttachments`
146
+ # @return [Array<Google::Apis::CloudbillingV1beta::VlanAttachment>]
147
+ attr_accessor :interconnect_attachments
148
+
149
+ # Vlan attachment type.
150
+ # Corresponds to the JSON property `interconnectType`
151
+ # @return [String]
152
+ attr_accessor :interconnect_type
153
+
154
+ # Interconnect circuit link type.
155
+ # Corresponds to the JSON property `linkType`
156
+ # @return [String]
157
+ attr_accessor :link_type
158
+
159
+ # An amount of usage over a time frame.
160
+ # Corresponds to the JSON property `provisionedLinkCount`
161
+ # @return [Google::Apis::CloudbillingV1beta::Usage]
162
+ attr_accessor :provisioned_link_count
163
+
164
+ def initialize(**args)
165
+ update!(**args)
166
+ end
167
+
168
+ # Update properties of this object
169
+ def update!(**args)
170
+ @interconnect_attachments = args[:interconnect_attachments] if args.key?(:interconnect_attachments)
171
+ @interconnect_type = args[:interconnect_type] if args.key?(:interconnect_type)
172
+ @link_type = args[:link_type] if args.key?(:link_type)
173
+ @provisioned_link_count = args[:provisioned_link_count] if args.key?(:provisioned_link_count)
174
+ end
175
+ end
176
+
177
+ # Specification of a network type. Network egress within Google Cloud applies
178
+ # when you move or copy data from one Cloud Storage bucket to another or when
179
+ # another Google Cloud service accesses data in your Cloud Storage bucket.This
180
+ # includes the network egress within Google Cloud and the general network usage.
181
+ class CloudStorageEgressWorkload
182
+ include Google::Apis::Core::Hashable
183
+
184
+ # Where the data is sent to.
185
+ # Corresponds to the JSON property `destinationContinent`
186
+ # @return [String]
187
+ attr_accessor :destination_continent
188
+
189
+ # An amount of usage over a time frame.
190
+ # Corresponds to the JSON property `egressRate`
191
+ # @return [Google::Apis::CloudbillingV1beta::Usage]
192
+ attr_accessor :egress_rate
193
+
194
+ # Where the data comes from.
195
+ # Corresponds to the JSON property `sourceContinent`
196
+ # @return [String]
197
+ attr_accessor :source_continent
198
+
199
+ def initialize(**args)
200
+ update!(**args)
201
+ end
202
+
203
+ # Update properties of this object
204
+ def update!(**args)
205
+ @destination_continent = args[:destination_continent] if args.key?(:destination_continent)
206
+ @egress_rate = args[:egress_rate] if args.key?(:egress_rate)
207
+ @source_continent = args[:source_continent] if args.key?(:source_continent)
208
+ end
209
+ end
210
+
25
211
  # Specifies usage of Cloud Storage resources.
26
212
  class CloudStorageWorkload
27
213
  include Google::Apis::Core::Hashable
@@ -93,7 +279,7 @@ module Google
93
279
  include Google::Apis::Core::Hashable
94
280
 
95
281
  # Required. A name for this commitment. All commitments in a CostScenario must
96
- # have unique names. Each name must be a maximum of 32 characters.
282
+ # have unique names. Each name may be at most 128 characters long.
97
283
  # Corresponds to the JSON property `name`
98
284
  # @return [String]
99
285
  attr_accessor :name
@@ -661,6 +847,38 @@ module Google
661
847
  end
662
848
  end
663
849
 
850
+ # Specify Premium Tier Internet egress networking.
851
+ class PremiumTierEgressWorkload
852
+ include Google::Apis::Core::Hashable
853
+
854
+ # Where the data is sent to.
855
+ # Corresponds to the JSON property `destinationContinent`
856
+ # @return [String]
857
+ attr_accessor :destination_continent
858
+
859
+ # An amount of usage over a time frame.
860
+ # Corresponds to the JSON property `egressRate`
861
+ # @return [Google::Apis::CloudbillingV1beta::Usage]
862
+ attr_accessor :egress_rate
863
+
864
+ # Which [region](https://cloud.google.com/compute/docs/regions-zones) the egress
865
+ # data comes from.
866
+ # Corresponds to the JSON property `sourceRegion`
867
+ # @return [String]
868
+ attr_accessor :source_region
869
+
870
+ def initialize(**args)
871
+ update!(**args)
872
+ end
873
+
874
+ # Update properties of this object
875
+ def update!(**args)
876
+ @destination_continent = args[:destination_continent] if args.key?(:destination_continent)
877
+ @egress_rate = args[:egress_rate] if args.key?(:egress_rate)
878
+ @source_region = args[:source_region] if args.key?(:source_region)
879
+ end
880
+ end
881
+
664
882
  # The price of a SKU at a point int time.
665
883
  class Price
666
884
  include Google::Apis::Core::Hashable
@@ -779,7 +997,10 @@ module Google
779
997
  # Time frame for the estimate. Workloads must specify usage for this duration.
780
998
  # Duration must be at least 1 hour (3,600 seconds) and at most 10 years (315,360,
781
999
  # 000 seconds). The calculations for years and months are based on a 730-hour (2,
782
- # 628,000-second) month.
1000
+ # 628,000-second) month. For durations longer than one month (2,628,000 seconds),
1001
+ # the duration is rounded up to the next month, so the estimate shows you the
1002
+ # costs for full months. For example, a duration of 3,232,800 seconds (roughly 5
1003
+ # weeks) is rounded up to 2 months.
783
1004
  # Corresponds to the JSON property `estimateDuration`
784
1005
  # @return [String]
785
1006
  attr_accessor :estimate_duration
@@ -904,6 +1125,32 @@ module Google
904
1125
  end
905
1126
  end
906
1127
 
1128
+ # Specify Standard Tier Internet egress networking.
1129
+ class StandardTierEgressWorkload
1130
+ include Google::Apis::Core::Hashable
1131
+
1132
+ # An amount of usage over a time frame.
1133
+ # Corresponds to the JSON property `egressRate`
1134
+ # @return [Google::Apis::CloudbillingV1beta::Usage]
1135
+ attr_accessor :egress_rate
1136
+
1137
+ # Which [region](https://cloud.google.com/compute/docs/regions-zones) the egress
1138
+ # data comes from.
1139
+ # Corresponds to the JSON property `sourceRegion`
1140
+ # @return [String]
1141
+ attr_accessor :source_region
1142
+
1143
+ def initialize(**args)
1144
+ update!(**args)
1145
+ end
1146
+
1147
+ # Update properties of this object
1148
+ def update!(**args)
1149
+ @egress_rate = args[:egress_rate] if args.key?(:egress_rate)
1150
+ @source_region = args[:source_region] if args.key?(:source_region)
1151
+ end
1152
+ end
1153
+
907
1154
  # An amount of usage over a time frame.
908
1155
  class Usage
909
1156
  include Google::Apis::Core::Hashable
@@ -943,23 +1190,24 @@ module Google
943
1190
  class UsageRateTimeline
944
1191
  include Google::Apis::Core::Hashable
945
1192
 
946
- # The unit for the usage rate in each timeline entry. The supported units are a
947
- # subset of [The Unified Code for Units of Measure](https://ucum.org/ucum.html)
948
- # standard: * **Time units (TIME-UNIT)** * `s` second * `min` minute * `h` hour *
949
- # `d` day * `wk` week * `mo` month * `yr` year * `ms` millisecond * `us`
950
- # microsecond * `ns` nanosecond * **Basic storage units (BASIC-STORAGE-UNIT)** *
951
- # `bit` bit * `By` byte * **Count units (COUNT-UNIT)** * `count` count * **
952
- # Prefixes (PREFIX)** * `k` kilo (10^3) * `M` mega (10^6) * `G` giga (10^9) * `T`
953
- # tera (10^12) * `P` peta (10^15) * `Ki` kibi (2^10) * `Mi` mebi (2^20) * `Gi`
954
- # gibi (2^30) * `Ti` tebi (2^40) * `Pi` pebi (2^50) **Grammar** The grammar also
955
- # includes these connectors: * `/` division or ratio (as an infix operator). For
956
- # example: `kBy/`email`` or `MiBy/10ms`. * `.` multiplication or composition (as
957
- # an infix operator). For example: `GBy.d` or `k`watt`.h`. The grammar for a
958
- # unit is as follows: ``` Expression = Component ` "." Component ` ` "/"
959
- # Component ` ; Component = ( [ PREFIX ] UNIT | "%" ) [ Annotation ] |
960
- # Annotation | "1" ; UNIT = TIME-UNIT | STORAGE-UNIT | DATA-UNIT | COUNT-UNIT
961
- # Annotation = "`" NAME "`" ; ``` Examples: * Request per second: `1/s` or ``
962
- # requests`/s` * GibiBytes: `GiBy` * GibiBytes * seconds: `GiBy.s`
1193
+ # The unit for the usage rate in each timeline entry. If you provide an
1194
+ # incorrect unit for an instance, the correct unit is provided in the error
1195
+ # message. The supported units are a subset of [The Unified Code for Units of
1196
+ # Measure](https://ucum.org/ucum.html) standard: * **Time units (TIME-UNIT)** * `
1197
+ # s` second * `min` minute * `h` hour * `d` day * `wk` week * `mo` month * `yr`
1198
+ # year * `ms` millisecond * `us` microsecond * `ns` nanosecond * **Basic storage
1199
+ # units (BASIC-STORAGE-UNIT)** * `bit` bit * `By` byte * **Count units (COUNT-
1200
+ # UNIT)** * `count` count * **Prefixes (PREFIX)** * `k` kilo (10^3) * `M` mega (
1201
+ # 10^6) * `G` giga (10^9) * `T` tera (10^12) * `P` peta (10^15) * `Ki` kibi (2^
1202
+ # 10) * `Mi` mebi (2^20) * `Gi` gibi (2^30) * `Ti` tebi (2^40) * `Pi` pebi (2^50)
1203
+ # **Grammar** The grammar also includes these connectors: * `/` division or
1204
+ # ratio (as an infix operator). For example: `kBy/`email`` or `MiBy/10ms`. * `.`
1205
+ # multiplication or composition (as an infix operator). For example: `GBy.d` or `
1206
+ # k`watt`.h`. The grammar for a unit is as follows: ``` Expression = Component `
1207
+ # "." Component ` ` "/" Component ` ; Component = ( [ PREFIX ] UNIT | "%" ) [
1208
+ # Annotation ] | Annotation | "1" ; UNIT = TIME-UNIT | STORAGE-UNIT | DATA-UNIT |
1209
+ # COUNT-UNIT Annotation = "`" NAME "`" ; ``` Examples: * Request per second: `1/
1210
+ # s` or ``requests`/s` * GibiBytes: `GiBy` * GibiBytes * seconds: `GiBy.s`
963
1211
  # Corresponds to the JSON property `unit`
964
1212
  # @return [String]
965
1213
  attr_accessor :unit
@@ -1008,6 +1256,33 @@ module Google
1008
1256
  end
1009
1257
  end
1010
1258
 
1259
+ # VLAN attachment for cloud interconnect.
1260
+ class VlanAttachment
1261
+ include Google::Apis::Core::Hashable
1262
+
1263
+ # Capacities in the [pricing table](https://cloud.google.com/vpc/network-pricing#
1264
+ # interconnect-pricing) Examples of capacity are: 50/100/200/300/400/500-Mbps, 1/
1265
+ # 2/5/10/20/50-Gbps.
1266
+ # Corresponds to the JSON property `bandwidth`
1267
+ # @return [String]
1268
+ attr_accessor :bandwidth
1269
+
1270
+ # An amount of usage over a time frame.
1271
+ # Corresponds to the JSON property `vlanCount`
1272
+ # @return [Google::Apis::CloudbillingV1beta::Usage]
1273
+ attr_accessor :vlan_count
1274
+
1275
+ def initialize(**args)
1276
+ update!(**args)
1277
+ end
1278
+
1279
+ # Update properties of this object
1280
+ def update!(**args)
1281
+ @bandwidth = args[:bandwidth] if args.key?(:bandwidth)
1282
+ @vlan_count = args[:vlan_count] if args.key?(:vlan_count)
1283
+ end
1284
+ end
1285
+
1011
1286
  # Specifies a resource-based committed use discount (CUD).
1012
1287
  class VmResourceBasedCud
1013
1288
  include Google::Apis::Core::Hashable
@@ -1071,6 +1346,35 @@ module Google
1071
1346
  class Workload
1072
1347
  include Google::Apis::Core::Hashable
1073
1348
 
1349
+ # Specifies usage for Cloud CDN egress.
1350
+ # Corresponds to the JSON property `cloudCdnEgressWorkload`
1351
+ # @return [Google::Apis::CloudbillingV1beta::CloudCdnEgressWorkload]
1352
+ attr_accessor :cloud_cdn_egress_workload
1353
+
1354
+ # Specifies usage for Cloud CDN resources.
1355
+ # Corresponds to the JSON property `cloudCdnWorkload`
1356
+ # @return [Google::Apis::CloudbillingV1beta::CloudCdnWorkload]
1357
+ attr_accessor :cloud_cdn_workload
1358
+
1359
+ # The interconnect egress only includes the Interconnect Egress. Please use the
1360
+ # standard egress traffic interface to specify your standard egress usage.
1361
+ # Corresponds to the JSON property `cloudInterconnectEgressWorkload`
1362
+ # @return [Google::Apis::CloudbillingV1beta::CloudInterconnectEgressWorkload]
1363
+ attr_accessor :cloud_interconnect_egress_workload
1364
+
1365
+ # Specifies usage for Cloud Interconnect resources.
1366
+ # Corresponds to the JSON property `cloudInterconnectWorkload`
1367
+ # @return [Google::Apis::CloudbillingV1beta::CloudInterconnectWorkload]
1368
+ attr_accessor :cloud_interconnect_workload
1369
+
1370
+ # Specification of a network type. Network egress within Google Cloud applies
1371
+ # when you move or copy data from one Cloud Storage bucket to another or when
1372
+ # another Google Cloud service accesses data in your Cloud Storage bucket.This
1373
+ # includes the network egress within Google Cloud and the general network usage.
1374
+ # Corresponds to the JSON property `cloudStorageEgressWorkload`
1375
+ # @return [Google::Apis::CloudbillingV1beta::CloudStorageEgressWorkload]
1376
+ attr_accessor :cloud_storage_egress_workload
1377
+
1074
1378
  # Specifies usage of Cloud Storage resources.
1075
1379
  # Corresponds to the JSON property `cloudStorageWorkload`
1076
1380
  # @return [Google::Apis::CloudbillingV1beta::CloudStorageWorkload]
@@ -1082,20 +1386,37 @@ module Google
1082
1386
  attr_accessor :compute_vm_workload
1083
1387
 
1084
1388
  # Required. A name for this workload. All workloads in a `CostScenario` must
1085
- # have a unique `name`. Each `name` must be a maximum of 32 characters.
1389
+ # have a unique `name`. Each `name` may be at most 128 characters long.
1086
1390
  # Corresponds to the JSON property `name`
1087
1391
  # @return [String]
1088
1392
  attr_accessor :name
1089
1393
 
1394
+ # Specify Premium Tier Internet egress networking.
1395
+ # Corresponds to the JSON property `premiumTierEgressWorkload`
1396
+ # @return [Google::Apis::CloudbillingV1beta::PremiumTierEgressWorkload]
1397
+ attr_accessor :premium_tier_egress_workload
1398
+
1399
+ # Specify Standard Tier Internet egress networking.
1400
+ # Corresponds to the JSON property `standardTierEgressWorkload`
1401
+ # @return [Google::Apis::CloudbillingV1beta::StandardTierEgressWorkload]
1402
+ attr_accessor :standard_tier_egress_workload
1403
+
1090
1404
  def initialize(**args)
1091
1405
  update!(**args)
1092
1406
  end
1093
1407
 
1094
1408
  # Update properties of this object
1095
1409
  def update!(**args)
1410
+ @cloud_cdn_egress_workload = args[:cloud_cdn_egress_workload] if args.key?(:cloud_cdn_egress_workload)
1411
+ @cloud_cdn_workload = args[:cloud_cdn_workload] if args.key?(:cloud_cdn_workload)
1412
+ @cloud_interconnect_egress_workload = args[:cloud_interconnect_egress_workload] if args.key?(:cloud_interconnect_egress_workload)
1413
+ @cloud_interconnect_workload = args[:cloud_interconnect_workload] if args.key?(:cloud_interconnect_workload)
1414
+ @cloud_storage_egress_workload = args[:cloud_storage_egress_workload] if args.key?(:cloud_storage_egress_workload)
1096
1415
  @cloud_storage_workload = args[:cloud_storage_workload] if args.key?(:cloud_storage_workload)
1097
1416
  @compute_vm_workload = args[:compute_vm_workload] if args.key?(:compute_vm_workload)
1098
1417
  @name = args[:name] if args.key?(:name)
1418
+ @premium_tier_egress_workload = args[:premium_tier_egress_workload] if args.key?(:premium_tier_egress_workload)
1419
+ @standard_tier_egress_workload = args[:standard_tier_egress_workload] if args.key?(:standard_tier_egress_workload)
1099
1420
  end
1100
1421
  end
1101
1422
 
@@ -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.2.0"
19
+ GEM_VERSION = "0.3.0"
20
20
 
21
21
  # Version of the code generator used to generate this client
22
22
  GENERATOR_VERSION = "0.11.0"
23
23
 
24
24
  # Revision of the discovery document this client was generated from
25
- REVISION = "20220908"
25
+ REVISION = "20221206"
26
26
  end
27
27
  end
28
28
  end
@@ -22,6 +22,42 @@ module Google
22
22
  module Apis
23
23
  module CloudbillingV1beta
24
24
 
25
+ class CacheFillRegions
26
+ class Representation < Google::Apis::Core::JsonRepresentation; end
27
+
28
+ include Google::Apis::Core::JsonObjectSupport
29
+ end
30
+
31
+ class CloudCdnEgressWorkload
32
+ class Representation < Google::Apis::Core::JsonRepresentation; end
33
+
34
+ include Google::Apis::Core::JsonObjectSupport
35
+ end
36
+
37
+ class CloudCdnWorkload
38
+ class Representation < Google::Apis::Core::JsonRepresentation; end
39
+
40
+ include Google::Apis::Core::JsonObjectSupport
41
+ end
42
+
43
+ class CloudInterconnectEgressWorkload
44
+ class Representation < Google::Apis::Core::JsonRepresentation; end
45
+
46
+ include Google::Apis::Core::JsonObjectSupport
47
+ end
48
+
49
+ class CloudInterconnectWorkload
50
+ class Representation < Google::Apis::Core::JsonRepresentation; end
51
+
52
+ include Google::Apis::Core::JsonObjectSupport
53
+ end
54
+
55
+ class CloudStorageEgressWorkload
56
+ class Representation < Google::Apis::Core::JsonRepresentation; end
57
+
58
+ include Google::Apis::Core::JsonObjectSupport
59
+ end
60
+
25
61
  class CloudStorageWorkload
26
62
  class Representation < Google::Apis::Core::JsonRepresentation; end
27
63
 
@@ -148,6 +184,12 @@ module Google
148
184
  include Google::Apis::Core::JsonObjectSupport
149
185
  end
150
186
 
187
+ class PremiumTierEgressWorkload
188
+ class Representation < Google::Apis::Core::JsonRepresentation; end
189
+
190
+ include Google::Apis::Core::JsonObjectSupport
191
+ end
192
+
151
193
  class Price
152
194
  class Representation < Google::Apis::Core::JsonRepresentation; end
153
195
 
@@ -196,6 +238,12 @@ module Google
196
238
  include Google::Apis::Core::JsonObjectSupport
197
239
  end
198
240
 
241
+ class StandardTierEgressWorkload
242
+ class Representation < Google::Apis::Core::JsonRepresentation; end
243
+
244
+ include Google::Apis::Core::JsonObjectSupport
245
+ end
246
+
199
247
  class Usage
200
248
  class Representation < Google::Apis::Core::JsonRepresentation; end
201
249
 
@@ -214,6 +262,12 @@ module Google
214
262
  include Google::Apis::Core::JsonObjectSupport
215
263
  end
216
264
 
265
+ class VlanAttachment
266
+ class Representation < Google::Apis::Core::JsonRepresentation; end
267
+
268
+ include Google::Apis::Core::JsonObjectSupport
269
+ end
270
+
217
271
  class VmResourceBasedCud
218
272
  class Representation < Google::Apis::Core::JsonRepresentation; end
219
273
 
@@ -232,6 +286,67 @@ module Google
232
286
  include Google::Apis::Core::JsonObjectSupport
233
287
  end
234
288
 
289
+ class CacheFillRegions
290
+ # @private
291
+ class Representation < Google::Apis::Core::JsonRepresentation
292
+ property :destination_region, as: 'destinationRegion'
293
+ property :source_region, as: 'sourceRegion'
294
+ end
295
+ end
296
+
297
+ class CloudCdnEgressWorkload
298
+ # @private
299
+ class Representation < Google::Apis::Core::JsonRepresentation
300
+ property :cache_egress_destination, as: 'cacheEgressDestination'
301
+ property :cache_egress_rate, as: 'cacheEgressRate', class: Google::Apis::CloudbillingV1beta::Usage, decorator: Google::Apis::CloudbillingV1beta::Usage::Representation
302
+
303
+ end
304
+ end
305
+
306
+ class CloudCdnWorkload
307
+ # @private
308
+ class Representation < Google::Apis::Core::JsonRepresentation
309
+ property :cache_fill_origin_service, as: 'cacheFillOriginService'
310
+ property :cache_fill_rate, as: 'cacheFillRate', class: Google::Apis::CloudbillingV1beta::Usage, decorator: Google::Apis::CloudbillingV1beta::Usage::Representation
311
+
312
+ property :cache_fill_regions, as: 'cacheFillRegions', class: Google::Apis::CloudbillingV1beta::CacheFillRegions, decorator: Google::Apis::CloudbillingV1beta::CacheFillRegions::Representation
313
+
314
+ property :cache_look_up_rate, as: 'cacheLookUpRate', class: Google::Apis::CloudbillingV1beta::Usage, decorator: Google::Apis::CloudbillingV1beta::Usage::Representation
315
+
316
+ end
317
+ end
318
+
319
+ class CloudInterconnectEgressWorkload
320
+ # @private
321
+ class Representation < Google::Apis::Core::JsonRepresentation
322
+ property :egress_rate, as: 'egressRate', class: Google::Apis::CloudbillingV1beta::Usage, decorator: Google::Apis::CloudbillingV1beta::Usage::Representation
323
+
324
+ property :interconnect_connection_location, as: 'interconnectConnectionLocation'
325
+ end
326
+ end
327
+
328
+ class CloudInterconnectWorkload
329
+ # @private
330
+ class Representation < Google::Apis::Core::JsonRepresentation
331
+ collection :interconnect_attachments, as: 'interconnectAttachments', class: Google::Apis::CloudbillingV1beta::VlanAttachment, decorator: Google::Apis::CloudbillingV1beta::VlanAttachment::Representation
332
+
333
+ property :interconnect_type, as: 'interconnectType'
334
+ property :link_type, as: 'linkType'
335
+ property :provisioned_link_count, as: 'provisionedLinkCount', class: Google::Apis::CloudbillingV1beta::Usage, decorator: Google::Apis::CloudbillingV1beta::Usage::Representation
336
+
337
+ end
338
+ end
339
+
340
+ class CloudStorageEgressWorkload
341
+ # @private
342
+ class Representation < Google::Apis::Core::JsonRepresentation
343
+ property :destination_continent, as: 'destinationContinent'
344
+ property :egress_rate, as: 'egressRate', class: Google::Apis::CloudbillingV1beta::Usage, decorator: Google::Apis::CloudbillingV1beta::Usage::Representation
345
+
346
+ property :source_continent, as: 'sourceContinent'
347
+ end
348
+ end
349
+
235
350
  class CloudStorageWorkload
236
351
  # @private
237
352
  class Representation < Google::Apis::Core::JsonRepresentation
@@ -444,6 +559,16 @@ module Google
444
559
  end
445
560
  end
446
561
 
562
+ class PremiumTierEgressWorkload
563
+ # @private
564
+ class Representation < Google::Apis::Core::JsonRepresentation
565
+ property :destination_continent, as: 'destinationContinent'
566
+ property :egress_rate, as: 'egressRate', class: Google::Apis::CloudbillingV1beta::Usage, decorator: Google::Apis::CloudbillingV1beta::Usage::Representation
567
+
568
+ property :source_region, as: 'sourceRegion'
569
+ end
570
+ end
571
+
447
572
  class Price
448
573
  # @private
449
574
  class Representation < Google::Apis::Core::JsonRepresentation
@@ -523,6 +648,15 @@ module Google
523
648
  end
524
649
  end
525
650
 
651
+ class StandardTierEgressWorkload
652
+ # @private
653
+ class Representation < Google::Apis::Core::JsonRepresentation
654
+ property :egress_rate, as: 'egressRate', class: Google::Apis::CloudbillingV1beta::Usage, decorator: Google::Apis::CloudbillingV1beta::Usage::Representation
655
+
656
+ property :source_region, as: 'sourceRegion'
657
+ end
658
+ end
659
+
526
660
  class Usage
527
661
  # @private
528
662
  class Representation < Google::Apis::Core::JsonRepresentation
@@ -549,6 +683,15 @@ module Google
549
683
  end
550
684
  end
551
685
 
686
+ class VlanAttachment
687
+ # @private
688
+ class Representation < Google::Apis::Core::JsonRepresentation
689
+ property :bandwidth, as: 'bandwidth'
690
+ property :vlan_count, as: 'vlanCount', class: Google::Apis::CloudbillingV1beta::Usage, decorator: Google::Apis::CloudbillingV1beta::Usage::Representation
691
+
692
+ end
693
+ end
694
+
552
695
  class VmResourceBasedCud
553
696
  # @private
554
697
  class Representation < Google::Apis::Core::JsonRepresentation
@@ -565,11 +708,25 @@ module Google
565
708
  class Workload
566
709
  # @private
567
710
  class Representation < Google::Apis::Core::JsonRepresentation
711
+ property :cloud_cdn_egress_workload, as: 'cloudCdnEgressWorkload', class: Google::Apis::CloudbillingV1beta::CloudCdnEgressWorkload, decorator: Google::Apis::CloudbillingV1beta::CloudCdnEgressWorkload::Representation
712
+
713
+ property :cloud_cdn_workload, as: 'cloudCdnWorkload', class: Google::Apis::CloudbillingV1beta::CloudCdnWorkload, decorator: Google::Apis::CloudbillingV1beta::CloudCdnWorkload::Representation
714
+
715
+ property :cloud_interconnect_egress_workload, as: 'cloudInterconnectEgressWorkload', class: Google::Apis::CloudbillingV1beta::CloudInterconnectEgressWorkload, decorator: Google::Apis::CloudbillingV1beta::CloudInterconnectEgressWorkload::Representation
716
+
717
+ property :cloud_interconnect_workload, as: 'cloudInterconnectWorkload', class: Google::Apis::CloudbillingV1beta::CloudInterconnectWorkload, decorator: Google::Apis::CloudbillingV1beta::CloudInterconnectWorkload::Representation
718
+
719
+ property :cloud_storage_egress_workload, as: 'cloudStorageEgressWorkload', class: Google::Apis::CloudbillingV1beta::CloudStorageEgressWorkload, decorator: Google::Apis::CloudbillingV1beta::CloudStorageEgressWorkload::Representation
720
+
568
721
  property :cloud_storage_workload, as: 'cloudStorageWorkload', class: Google::Apis::CloudbillingV1beta::CloudStorageWorkload, decorator: Google::Apis::CloudbillingV1beta::CloudStorageWorkload::Representation
569
722
 
570
723
  property :compute_vm_workload, as: 'computeVmWorkload', class: Google::Apis::CloudbillingV1beta::ComputeVmWorkload, decorator: Google::Apis::CloudbillingV1beta::ComputeVmWorkload::Representation
571
724
 
572
725
  property :name, as: 'name'
726
+ property :premium_tier_egress_workload, as: 'premiumTierEgressWorkload', class: Google::Apis::CloudbillingV1beta::PremiumTierEgressWorkload, decorator: Google::Apis::CloudbillingV1beta::PremiumTierEgressWorkload::Representation
727
+
728
+ property :standard_tier_egress_workload, as: 'standardTierEgressWorkload', class: Google::Apis::CloudbillingV1beta::StandardTierEgressWorkload, decorator: Google::Apis::CloudbillingV1beta::StandardTierEgressWorkload::Representation
729
+
573
730
  end
574
731
  end
575
732
 
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.2.0
4
+ version: 0.3.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: 2022-10-21 00:00:00.000000000 Z
11
+ date: 2023-01-04 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.2.0
61
+ documentation_uri: https://googleapis.dev/ruby/google-apis-cloudbilling_v1beta/v0.3.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: []