google-apis-composer_v1 0.14.0 → 0.18.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: f143424ece2b01f89a8e1e9b42fc4967981b29b52d6357aafcead6f600974bfc
4
- data.tar.gz: 7714a4971de3aad9400c51c4a707e3638c015ed65a16e2335cbc57ccf97c7cc5
3
+ metadata.gz: 748a8206a816a49a036f152bbde625feac6901ec531a7dd2c0748a4c9bdceb1c
4
+ data.tar.gz: 1a120c6a38dcfe66ad78bfaa198c59c01523eb2f6393a73540ced0011026ea24
5
5
  SHA512:
6
- metadata.gz: 42b35ec7c80cd582a52596c6eb48cf4a5671b064d0ad45738b2a9b896e7dcd899d7de8a434e0451fcb9704ac0da95513a9fbb8c67b2717dd54b561718f01385f
7
- data.tar.gz: 14644a683caf12a1263f640f3b76f8abea6a00a3dd433edf88a53339da8b8d66e28df5081f6f84cacc792e751fc33b140c73e7cd4527178c7e398f83823a5d12
6
+ metadata.gz: ecef5a025de7d8e44bbf8e7a578b104fe0da3e26c2f935e8975cd004a9c9d20d2dfe01674bc239be5afd2667dc3a6d1d6294b54b6929140ad0ba8db7e1399d28
7
+ data.tar.gz: 743687a2d447cdcf97140d4220e89b34784971c9ab6593fcb447f3379ef6be26329f914b3294bb2591904e5a4e0906fd4abcc9c81ab621588179a23210696aed
data/CHANGELOG.md CHANGED
@@ -1,5 +1,22 @@
1
1
  # Release history for google-apis-composer_v1
2
2
 
3
+ ### v0.18.0 (2021-12-07)
4
+
5
+ * Regenerated from discovery document revision 20211130
6
+
7
+ ### v0.17.0 (2021-11-20)
8
+
9
+ * Regenerated from discovery document revision 20211113
10
+
11
+ ### v0.16.0 (2021-11-10)
12
+
13
+ * Regenerated from discovery document revision 20211102
14
+
15
+ ### v0.15.0 (2021-10-24)
16
+
17
+ * Regenerated from discovery document revision 20211013
18
+ * Unspecified changes
19
+
3
20
  ### v0.14.0 (2021-09-28)
4
21
 
5
22
  * Regenerated from discovery document revision 20210922
data/OVERVIEW.md CHANGED
@@ -60,8 +60,8 @@ See the class reference docs for information on the methods you can call from a
60
60
 
61
61
  More detailed descriptions of the Google simple REST clients are available in two documents.
62
62
 
63
- * The [Usage Guide](https://github.com/googleapis/google-api-ruby-client/blob/master/docs/usage-guide.md) discusses how to make API calls, how to use the provided data structures, and how to work the various features of the client library, including media upload and download, error handling, retries, pagination, and logging.
64
- * The [Auth Guide](https://github.com/googleapis/google-api-ruby-client/blob/master/docs/auth-guide.md) discusses authentication in the client libraries, including API keys, OAuth 2.0, service accounts, and environment variables.
63
+ * The [Usage Guide](https://github.com/googleapis/google-api-ruby-client/blob/main/docs/usage-guide.md) discusses how to make API calls, how to use the provided data structures, and how to work the various features of the client library, including media upload and download, error handling, retries, pagination, and logging.
64
+ * The [Auth Guide](https://github.com/googleapis/google-api-ruby-client/blob/main/docs/auth-guide.md) discusses authentication in the client libraries, including API keys, OAuth 2.0, service accounts, and environment variables.
65
65
 
66
66
  (Note: the above documents are written for the simple REST clients in general, and their examples may not reflect the Composer service in particular.)
67
67
 
@@ -296,11 +296,27 @@ module Google
296
296
  # @return [Google::Apis::ComposerV1::EncryptionConfig]
297
297
  attr_accessor :encryption_config
298
298
 
299
+ # Optional. The size of the Cloud Composer environment. This field is supported
300
+ # for Cloud Composer environments in versions composer-2.*.*-airflow-*.*.* and
301
+ # newer.
302
+ # Corresponds to the JSON property `environmentSize`
303
+ # @return [String]
304
+ attr_accessor :environment_size
305
+
299
306
  # Output only. The Kubernetes Engine cluster used to run this environment.
300
307
  # Corresponds to the JSON property `gkeCluster`
301
308
  # @return [String]
302
309
  attr_accessor :gke_cluster
303
310
 
311
+ # The configuration settings for Cloud Composer maintenance window. The
312
+ # following example: ``` ` "startTime":"2019-08-01T01:00:00Z" "endTime":"2019-08-
313
+ # 01T07:00:00Z" "recurrence":"FREQ=WEEKLY;BYDAY=TU,WE" ` ``` would define a
314
+ # maintenance window between 01 and 07 hours UTC during each Tuesday and
315
+ # Wednesday.
316
+ # Corresponds to the JSON property `maintenanceWindow`
317
+ # @return [Google::Apis::ComposerV1::MaintenanceWindow]
318
+ attr_accessor :maintenance_window
319
+
304
320
  # The configuration information for the Kubernetes Engine nodes running the
305
321
  # Apache Airflow software.
306
322
  # Corresponds to the JSON property `nodeConfig`
@@ -332,12 +348,18 @@ module Google
332
348
  # @return [Google::Apis::ComposerV1::WebServerConfig]
333
349
  attr_accessor :web_server_config
334
350
 
335
- # Network-level access control policy for the Airflow web server. Supported for
336
- # Cloud Composer environments in versions composer-1.*.*-airflow-*.*.*.
351
+ # Network-level access control policy for the Airflow web server.
337
352
  # Corresponds to the JSON property `webServerNetworkAccessControl`
338
353
  # @return [Google::Apis::ComposerV1::WebServerNetworkAccessControl]
339
354
  attr_accessor :web_server_network_access_control
340
355
 
356
+ # The Kubernetes workloads configuration for GKE cluster associated with the
357
+ # Cloud Composer environment. Supported for Cloud Composer environments in
358
+ # versions composer-2.*.*-airflow-*.*.* and newer.
359
+ # Corresponds to the JSON property `workloadsConfig`
360
+ # @return [Google::Apis::ComposerV1::WorkloadsConfig]
361
+ attr_accessor :workloads_config
362
+
341
363
  def initialize(**args)
342
364
  update!(**args)
343
365
  end
@@ -348,13 +370,16 @@ module Google
348
370
  @dag_gcs_prefix = args[:dag_gcs_prefix] if args.key?(:dag_gcs_prefix)
349
371
  @database_config = args[:database_config] if args.key?(:database_config)
350
372
  @encryption_config = args[:encryption_config] if args.key?(:encryption_config)
373
+ @environment_size = args[:environment_size] if args.key?(:environment_size)
351
374
  @gke_cluster = args[:gke_cluster] if args.key?(:gke_cluster)
375
+ @maintenance_window = args[:maintenance_window] if args.key?(:maintenance_window)
352
376
  @node_config = args[:node_config] if args.key?(:node_config)
353
377
  @node_count = args[:node_count] if args.key?(:node_count)
354
378
  @private_environment_config = args[:private_environment_config] if args.key?(:private_environment_config)
355
379
  @software_config = args[:software_config] if args.key?(:software_config)
356
380
  @web_server_config = args[:web_server_config] if args.key?(:web_server_config)
357
381
  @web_server_network_access_control = args[:web_server_network_access_control] if args.key?(:web_server_network_access_control)
382
+ @workloads_config = args[:workloads_config] if args.key?(:workloads_config)
358
383
  end
359
384
  end
360
385
 
@@ -562,6 +587,46 @@ module Google
562
587
  end
563
588
  end
564
589
 
590
+ # The configuration settings for Cloud Composer maintenance window. The
591
+ # following example: ``` ` "startTime":"2019-08-01T01:00:00Z" "endTime":"2019-08-
592
+ # 01T07:00:00Z" "recurrence":"FREQ=WEEKLY;BYDAY=TU,WE" ` ``` would define a
593
+ # maintenance window between 01 and 07 hours UTC during each Tuesday and
594
+ # Wednesday.
595
+ class MaintenanceWindow
596
+ include Google::Apis::Core::Hashable
597
+
598
+ # Required. Maintenance window end time. It is used only to calculate the
599
+ # duration of the maintenance window. The value for end-time must be in the
600
+ # future, relative to `start_time`.
601
+ # Corresponds to the JSON property `endTime`
602
+ # @return [String]
603
+ attr_accessor :end_time
604
+
605
+ # Required. Maintenance window recurrence. Format is a subset of [RFC-5545](
606
+ # https://tools.ietf.org/html/rfc5545) `RRULE`. The only allowed values for `
607
+ # FREQ` field are `FREQ=DAILY` and `FREQ=WEEKLY;BYDAY=...` Example values: `FREQ=
608
+ # WEEKLY;BYDAY=TU,WE`, `FREQ=DAILY`.
609
+ # Corresponds to the JSON property `recurrence`
610
+ # @return [String]
611
+ attr_accessor :recurrence
612
+
613
+ # Required. Start time of the first recurrence of the maintenance window.
614
+ # Corresponds to the JSON property `startTime`
615
+ # @return [String]
616
+ attr_accessor :start_time
617
+
618
+ def initialize(**args)
619
+ update!(**args)
620
+ end
621
+
622
+ # Update properties of this object
623
+ def update!(**args)
624
+ @end_time = args[:end_time] if args.key?(:end_time)
625
+ @recurrence = args[:recurrence] if args.key?(:recurrence)
626
+ @start_time = args[:start_time] if args.key?(:start_time)
627
+ end
628
+ end
629
+
565
630
  # The configuration information for the Kubernetes Engine nodes running the
566
631
  # Apache Airflow software.
567
632
  class NodeConfig
@@ -837,6 +902,22 @@ module Google
837
902
  class PrivateEnvironmentConfig
838
903
  include Google::Apis::Core::Hashable
839
904
 
905
+ # Optional. The CIDR block from which IP range for Cloud Composer Network in
906
+ # tenant project will be reserved. Needs to be disjoint from
907
+ # private_cluster_config.master_ipv4_cidr_block and cloud_sql_ipv4_cidr_block.
908
+ # This field is supported for Cloud Composer environments in versions composer-2.
909
+ # *.*-airflow-*.*.* and newer.
910
+ # Corresponds to the JSON property `cloudComposerNetworkIpv4CidrBlock`
911
+ # @return [String]
912
+ attr_accessor :cloud_composer_network_ipv4_cidr_block
913
+
914
+ # Output only. The IP range reserved for the tenant project's Cloud Composer
915
+ # network. This field is supported for Cloud Composer environments in versions
916
+ # composer-2.*.*-airflow-*.*.* and newer.
917
+ # Corresponds to the JSON property `cloudComposerNetworkIpv4ReservedRange`
918
+ # @return [String]
919
+ attr_accessor :cloud_composer_network_ipv4_reserved_range
920
+
840
921
  # Optional. The CIDR block from which IP range in tenant project will be
841
922
  # reserved for Cloud SQL. Needs to be disjoint from `web_server_ipv4_cidr_block`.
842
923
  # Corresponds to the JSON property `cloudSqlIpv4CidrBlock`
@@ -878,6 +959,8 @@ module Google
878
959
 
879
960
  # Update properties of this object
880
961
  def update!(**args)
962
+ @cloud_composer_network_ipv4_cidr_block = args[:cloud_composer_network_ipv4_cidr_block] if args.key?(:cloud_composer_network_ipv4_cidr_block)
963
+ @cloud_composer_network_ipv4_reserved_range = args[:cloud_composer_network_ipv4_reserved_range] if args.key?(:cloud_composer_network_ipv4_reserved_range)
881
964
  @cloud_sql_ipv4_cidr_block = args[:cloud_sql_ipv4_cidr_block] if args.key?(:cloud_sql_ipv4_cidr_block)
882
965
  @enable_private_environment = args[:enable_private_environment] if args.key?(:enable_private_environment)
883
966
  @private_cluster_config = args[:private_cluster_config] if args.key?(:private_cluster_config)
@@ -886,6 +969,44 @@ module Google
886
969
  end
887
970
  end
888
971
 
972
+ # Configuration for resources used by Airflow schedulers.
973
+ class SchedulerResource
974
+ include Google::Apis::Core::Hashable
975
+
976
+ # Optional. The number of schedulers.
977
+ # Corresponds to the JSON property `count`
978
+ # @return [Fixnum]
979
+ attr_accessor :count
980
+
981
+ # Optional. CPU request and limit for a single Airflow scheduler replica.
982
+ # Corresponds to the JSON property `cpu`
983
+ # @return [Float]
984
+ attr_accessor :cpu
985
+
986
+ # Optional. Memory (GB) request and limit for a single Airflow scheduler replica.
987
+ # Corresponds to the JSON property `memoryGb`
988
+ # @return [Float]
989
+ attr_accessor :memory_gb
990
+
991
+ # Optional. Storage (GB) request and limit for a single Airflow scheduler
992
+ # replica.
993
+ # Corresponds to the JSON property `storageGb`
994
+ # @return [Float]
995
+ attr_accessor :storage_gb
996
+
997
+ def initialize(**args)
998
+ update!(**args)
999
+ end
1000
+
1001
+ # Update properties of this object
1002
+ def update!(**args)
1003
+ @count = args[:count] if args.key?(:count)
1004
+ @cpu = args[:cpu] if args.key?(:cpu)
1005
+ @memory_gb = args[:memory_gb] if args.key?(:memory_gb)
1006
+ @storage_gb = args[:storage_gb] if args.key?(:storage_gb)
1007
+ end
1008
+ end
1009
+
889
1010
  # Specifies the selection and configuration of software inside the environment.
890
1011
  class SoftwareConfig
891
1012
  include Google::Apis::Core::Hashable
@@ -1039,8 +1160,7 @@ module Google
1039
1160
  end
1040
1161
  end
1041
1162
 
1042
- # Network-level access control policy for the Airflow web server. Supported for
1043
- # Cloud Composer environments in versions composer-1.*.*-airflow-*.*.*.
1163
+ # Network-level access control policy for the Airflow web server.
1044
1164
  class WebServerNetworkAccessControl
1045
1165
  include Google::Apis::Core::Hashable
1046
1166
 
@@ -1058,6 +1178,113 @@ module Google
1058
1178
  @allowed_ip_ranges = args[:allowed_ip_ranges] if args.key?(:allowed_ip_ranges)
1059
1179
  end
1060
1180
  end
1181
+
1182
+ # Configuration for resources used by Airflow web server.
1183
+ class WebServerResource
1184
+ include Google::Apis::Core::Hashable
1185
+
1186
+ # Optional. CPU request and limit for Airflow web server.
1187
+ # Corresponds to the JSON property `cpu`
1188
+ # @return [Float]
1189
+ attr_accessor :cpu
1190
+
1191
+ # Optional. Memory (GB) request and limit for Airflow web server.
1192
+ # Corresponds to the JSON property `memoryGb`
1193
+ # @return [Float]
1194
+ attr_accessor :memory_gb
1195
+
1196
+ # Optional. Storage (GB) request and limit for Airflow web server.
1197
+ # Corresponds to the JSON property `storageGb`
1198
+ # @return [Float]
1199
+ attr_accessor :storage_gb
1200
+
1201
+ def initialize(**args)
1202
+ update!(**args)
1203
+ end
1204
+
1205
+ # Update properties of this object
1206
+ def update!(**args)
1207
+ @cpu = args[:cpu] if args.key?(:cpu)
1208
+ @memory_gb = args[:memory_gb] if args.key?(:memory_gb)
1209
+ @storage_gb = args[:storage_gb] if args.key?(:storage_gb)
1210
+ end
1211
+ end
1212
+
1213
+ # Configuration for resources used by Airflow workers.
1214
+ class WorkerResource
1215
+ include Google::Apis::Core::Hashable
1216
+
1217
+ # Optional. CPU request and limit for a single Airflow worker replica.
1218
+ # Corresponds to the JSON property `cpu`
1219
+ # @return [Float]
1220
+ attr_accessor :cpu
1221
+
1222
+ # Optional. Maximum number of workers for autoscaling.
1223
+ # Corresponds to the JSON property `maxCount`
1224
+ # @return [Fixnum]
1225
+ attr_accessor :max_count
1226
+
1227
+ # Optional. Memory (GB) request and limit for a single Airflow worker replica.
1228
+ # Corresponds to the JSON property `memoryGb`
1229
+ # @return [Float]
1230
+ attr_accessor :memory_gb
1231
+
1232
+ # Optional. Minimum number of workers for autoscaling.
1233
+ # Corresponds to the JSON property `minCount`
1234
+ # @return [Fixnum]
1235
+ attr_accessor :min_count
1236
+
1237
+ # Optional. Storage (GB) request and limit for a single Airflow worker replica.
1238
+ # Corresponds to the JSON property `storageGb`
1239
+ # @return [Float]
1240
+ attr_accessor :storage_gb
1241
+
1242
+ def initialize(**args)
1243
+ update!(**args)
1244
+ end
1245
+
1246
+ # Update properties of this object
1247
+ def update!(**args)
1248
+ @cpu = args[:cpu] if args.key?(:cpu)
1249
+ @max_count = args[:max_count] if args.key?(:max_count)
1250
+ @memory_gb = args[:memory_gb] if args.key?(:memory_gb)
1251
+ @min_count = args[:min_count] if args.key?(:min_count)
1252
+ @storage_gb = args[:storage_gb] if args.key?(:storage_gb)
1253
+ end
1254
+ end
1255
+
1256
+ # The Kubernetes workloads configuration for GKE cluster associated with the
1257
+ # Cloud Composer environment. Supported for Cloud Composer environments in
1258
+ # versions composer-2.*.*-airflow-*.*.* and newer.
1259
+ class WorkloadsConfig
1260
+ include Google::Apis::Core::Hashable
1261
+
1262
+ # Configuration for resources used by Airflow schedulers.
1263
+ # Corresponds to the JSON property `scheduler`
1264
+ # @return [Google::Apis::ComposerV1::SchedulerResource]
1265
+ attr_accessor :scheduler
1266
+
1267
+ # Configuration for resources used by Airflow web server.
1268
+ # Corresponds to the JSON property `webServer`
1269
+ # @return [Google::Apis::ComposerV1::WebServerResource]
1270
+ attr_accessor :web_server
1271
+
1272
+ # Configuration for resources used by Airflow workers.
1273
+ # Corresponds to the JSON property `worker`
1274
+ # @return [Google::Apis::ComposerV1::WorkerResource]
1275
+ attr_accessor :worker
1276
+
1277
+ def initialize(**args)
1278
+ update!(**args)
1279
+ end
1280
+
1281
+ # Update properties of this object
1282
+ def update!(**args)
1283
+ @scheduler = args[:scheduler] if args.key?(:scheduler)
1284
+ @web_server = args[:web_server] if args.key?(:web_server)
1285
+ @worker = args[:worker] if args.key?(:worker)
1286
+ end
1287
+ end
1061
1288
  end
1062
1289
  end
1063
1290
  end
@@ -16,13 +16,13 @@ module Google
16
16
  module Apis
17
17
  module ComposerV1
18
18
  # Version of the google-apis-composer_v1 gem
19
- GEM_VERSION = "0.14.0"
19
+ GEM_VERSION = "0.18.0"
20
20
 
21
21
  # Version of the code generator used to generate this client
22
22
  GENERATOR_VERSION = "0.4.0"
23
23
 
24
24
  # Revision of the discovery document this client was generated from
25
- REVISION = "20210922"
25
+ REVISION = "20211130"
26
26
  end
27
27
  end
28
28
  end
@@ -100,6 +100,12 @@ module Google
100
100
  include Google::Apis::Core::JsonObjectSupport
101
101
  end
102
102
 
103
+ class MaintenanceWindow
104
+ class Representation < Google::Apis::Core::JsonRepresentation; end
105
+
106
+ include Google::Apis::Core::JsonObjectSupport
107
+ end
108
+
103
109
  class NodeConfig
104
110
  class Representation < Google::Apis::Core::JsonRepresentation; end
105
111
 
@@ -130,6 +136,12 @@ module Google
130
136
  include Google::Apis::Core::JsonObjectSupport
131
137
  end
132
138
 
139
+ class SchedulerResource
140
+ class Representation < Google::Apis::Core::JsonRepresentation; end
141
+
142
+ include Google::Apis::Core::JsonObjectSupport
143
+ end
144
+
133
145
  class SoftwareConfig
134
146
  class Representation < Google::Apis::Core::JsonRepresentation; end
135
147
 
@@ -154,6 +166,24 @@ module Google
154
166
  include Google::Apis::Core::JsonObjectSupport
155
167
  end
156
168
 
169
+ class WebServerResource
170
+ class Representation < Google::Apis::Core::JsonRepresentation; end
171
+
172
+ include Google::Apis::Core::JsonObjectSupport
173
+ end
174
+
175
+ class WorkerResource
176
+ class Representation < Google::Apis::Core::JsonRepresentation; end
177
+
178
+ include Google::Apis::Core::JsonObjectSupport
179
+ end
180
+
181
+ class WorkloadsConfig
182
+ class Representation < Google::Apis::Core::JsonRepresentation; end
183
+
184
+ include Google::Apis::Core::JsonObjectSupport
185
+ end
186
+
157
187
  class AllowedIpRange
158
188
  # @private
159
189
  class Representation < Google::Apis::Core::JsonRepresentation
@@ -225,7 +255,10 @@ module Google
225
255
 
226
256
  property :encryption_config, as: 'encryptionConfig', class: Google::Apis::ComposerV1::EncryptionConfig, decorator: Google::Apis::ComposerV1::EncryptionConfig::Representation
227
257
 
258
+ property :environment_size, as: 'environmentSize'
228
259
  property :gke_cluster, as: 'gkeCluster'
260
+ property :maintenance_window, as: 'maintenanceWindow', class: Google::Apis::ComposerV1::MaintenanceWindow, decorator: Google::Apis::ComposerV1::MaintenanceWindow::Representation
261
+
229
262
  property :node_config, as: 'nodeConfig', class: Google::Apis::ComposerV1::NodeConfig, decorator: Google::Apis::ComposerV1::NodeConfig::Representation
230
263
 
231
264
  property :node_count, as: 'nodeCount'
@@ -237,6 +270,8 @@ module Google
237
270
 
238
271
  property :web_server_network_access_control, as: 'webServerNetworkAccessControl', class: Google::Apis::ComposerV1::WebServerNetworkAccessControl, decorator: Google::Apis::ComposerV1::WebServerNetworkAccessControl::Representation
239
272
 
273
+ property :workloads_config, as: 'workloadsConfig', class: Google::Apis::ComposerV1::WorkloadsConfig, decorator: Google::Apis::ComposerV1::WorkloadsConfig::Representation
274
+
240
275
  end
241
276
  end
242
277
 
@@ -291,6 +326,15 @@ module Google
291
326
  end
292
327
  end
293
328
 
329
+ class MaintenanceWindow
330
+ # @private
331
+ class Representation < Google::Apis::Core::JsonRepresentation
332
+ property :end_time, as: 'endTime'
333
+ property :recurrence, as: 'recurrence'
334
+ property :start_time, as: 'startTime'
335
+ end
336
+ end
337
+
294
338
  class NodeConfig
295
339
  # @private
296
340
  class Representation < Google::Apis::Core::JsonRepresentation
@@ -343,6 +387,8 @@ module Google
343
387
  class PrivateEnvironmentConfig
344
388
  # @private
345
389
  class Representation < Google::Apis::Core::JsonRepresentation
390
+ property :cloud_composer_network_ipv4_cidr_block, as: 'cloudComposerNetworkIpv4CidrBlock'
391
+ property :cloud_composer_network_ipv4_reserved_range, as: 'cloudComposerNetworkIpv4ReservedRange'
346
392
  property :cloud_sql_ipv4_cidr_block, as: 'cloudSqlIpv4CidrBlock'
347
393
  property :enable_private_environment, as: 'enablePrivateEnvironment'
348
394
  property :private_cluster_config, as: 'privateClusterConfig', class: Google::Apis::ComposerV1::PrivateClusterConfig, decorator: Google::Apis::ComposerV1::PrivateClusterConfig::Representation
@@ -352,6 +398,16 @@ module Google
352
398
  end
353
399
  end
354
400
 
401
+ class SchedulerResource
402
+ # @private
403
+ class Representation < Google::Apis::Core::JsonRepresentation
404
+ property :count, as: 'count'
405
+ property :cpu, as: 'cpu'
406
+ property :memory_gb, as: 'memoryGb'
407
+ property :storage_gb, as: 'storageGb'
408
+ end
409
+ end
410
+
355
411
  class SoftwareConfig
356
412
  # @private
357
413
  class Representation < Google::Apis::Core::JsonRepresentation
@@ -387,6 +443,38 @@ module Google
387
443
 
388
444
  end
389
445
  end
446
+
447
+ class WebServerResource
448
+ # @private
449
+ class Representation < Google::Apis::Core::JsonRepresentation
450
+ property :cpu, as: 'cpu'
451
+ property :memory_gb, as: 'memoryGb'
452
+ property :storage_gb, as: 'storageGb'
453
+ end
454
+ end
455
+
456
+ class WorkerResource
457
+ # @private
458
+ class Representation < Google::Apis::Core::JsonRepresentation
459
+ property :cpu, as: 'cpu'
460
+ property :max_count, as: 'maxCount'
461
+ property :memory_gb, as: 'memoryGb'
462
+ property :min_count, as: 'minCount'
463
+ property :storage_gb, as: 'storageGb'
464
+ end
465
+ end
466
+
467
+ class WorkloadsConfig
468
+ # @private
469
+ class Representation < Google::Apis::Core::JsonRepresentation
470
+ property :scheduler, as: 'scheduler', class: Google::Apis::ComposerV1::SchedulerResource, decorator: Google::Apis::ComposerV1::SchedulerResource::Representation
471
+
472
+ property :web_server, as: 'webServer', class: Google::Apis::ComposerV1::WebServerResource, decorator: Google::Apis::ComposerV1::WebServerResource::Representation
473
+
474
+ property :worker, as: 'worker', class: Google::Apis::ComposerV1::WorkerResource, decorator: Google::Apis::ComposerV1::WorkerResource::Representation
475
+
476
+ end
477
+ end
390
478
  end
391
479
  end
392
480
  end
@@ -232,14 +232,15 @@ module Google
232
232
  # field. Supported for Cloud Composer environments in versions composer-1.*.*-
233
233
  # airflow-*.*.*. * `config.webServerNetworkAccessControl` * Replace the
234
234
  # environment's current `WebServerNetworkAccessControl`. * `config.
235
- # databaseConfig` Supported for Cloud Composer environments in versions composer-
236
- # 1.*.*-airflow-*.*.*. * Replace the environment's current `DatabaseConfig`. * `
237
- # config.webServerConfig.machineType` * Machine type on which Airflow web server
238
- # is running. It has to be one of: composer-n1-webserver-2, composer-n1-
239
- # webserver-4 or composer-n1-webserver-8. Supported for Cloud Composer
240
- # environments in versions composer-1.*.*-airflow-*.*.*. * `config.
241
- # softwareConfig.airflowConfigOverrides` * Replace all Apache Airflow config
242
- # overrides. If a replacement config overrides map is not included in `
235
+ # databaseConfig.machineType` * Cloud SQL machine type used by Airflow database.
236
+ # It has to be one of: db-n1-standard-2, db-n1-standard-4, db-n1-standard-8 or
237
+ # db-n1-standard-16. Supported for Cloud Composer environments in versions
238
+ # composer-1.*.*-airflow-*.*.*. * `config.webServerConfig.machineType` * Machine
239
+ # type on which Airflow web server is running. It has to be one of: composer-n1-
240
+ # webserver-2, composer-n1-webserver-4 or composer-n1-webserver-8. Supported for
241
+ # Cloud Composer environments in versions composer-1.*.*-airflow-*.*.*. * `
242
+ # config.softwareConfig.airflowConfigOverrides` * Replace all Apache Airflow
243
+ # config overrides. If a replacement config overrides map is not included in `
243
244
  # environment`, all config overrides are cleared. It is an error to provide both
244
245
  # this mask and a mask specifying one or more individual config overrides. * `
245
246
  # config.softwareConfig.airflowConfigOverrides.`section-name * Override the
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: google-apis-composer_v1
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.14.0
4
+ version: 0.18.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: 2021-10-04 00:00:00.000000000 Z
11
+ date: 2021-12-13 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: google-apis-core
@@ -57,9 +57,9 @@ licenses:
57
57
  - Apache-2.0
58
58
  metadata:
59
59
  bug_tracker_uri: https://github.com/googleapis/google-api-ruby-client/issues
60
- changelog_uri: https://github.com/googleapis/google-api-ruby-client/tree/master/generated/google-apis-composer_v1/CHANGELOG.md
61
- documentation_uri: https://googleapis.dev/ruby/google-apis-composer_v1/v0.14.0
62
- source_code_uri: https://github.com/googleapis/google-api-ruby-client/tree/master/generated/google-apis-composer_v1
60
+ changelog_uri: https://github.com/googleapis/google-api-ruby-client/tree/main/generated/google-apis-composer_v1/CHANGELOG.md
61
+ documentation_uri: https://googleapis.dev/ruby/google-apis-composer_v1/v0.18.0
62
+ source_code_uri: https://github.com/googleapis/google-api-ruby-client/tree/main/generated/google-apis-composer_v1
63
63
  post_install_message:
64
64
  rdoc_options: []
65
65
  require_paths: