google-apis-composer_v1beta1 0.17.0 → 0.20.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:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 3f2e69e6978caf3b549d2a20b30f0a041008dfa4d5fe7bf4268d004594244967
|
4
|
+
data.tar.gz: c1f3c959830ba14153eae797def35eb2fe9cacee80c75b24ec2f1dd833c2842c
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 5b14dd525306cd0e0806a286bcfa97ab80cc2d845ed8f789b8686d8b9f0ce4c72abdbf81bc85f87a7a66207b6dd18fc775e1434f2d8a95f9c8d7ce638a3b298a
|
7
|
+
data.tar.gz: 54e1d17bcf25dce876ded8dfde4949e1e3ba6974a047d5a5828820e3b2283e3f05373129385aa5b4cc6bc4a1a42064b8a8cc363da7081847e344f089e18219d5
|
data/CHANGELOG.md
CHANGED
@@ -1,5 +1,18 @@
|
|
1
1
|
# Release history for google-apis-composer_v1beta1
|
2
2
|
|
3
|
+
### v0.20.0 (2022-03-12)
|
4
|
+
|
5
|
+
* Regenerated from discovery document revision 20220307
|
6
|
+
|
7
|
+
### v0.19.0 (2022-03-04)
|
8
|
+
|
9
|
+
* Regenerated from discovery document revision 20220224
|
10
|
+
|
11
|
+
### v0.18.0 (2022-02-10)
|
12
|
+
|
13
|
+
* Regenerated from discovery document revision 20220202
|
14
|
+
* Regenerated using generator version 0.4.1
|
15
|
+
|
3
16
|
### v0.17.0 (2021-12-16)
|
4
17
|
|
5
18
|
* Regenerated from discovery document revision 20211130
|
@@ -57,18 +57,22 @@ module Google
|
|
57
57
|
|
58
58
|
# The version of the software running in the environment. This encapsulates both
|
59
59
|
# the version of Cloud Composer functionality and the version of Apache Airflow.
|
60
|
-
# It must match the regular expression `composer-([0-9]
|
61
|
-
# airflow-[0-9]+\.[0-9]+(\.[0-9]
|
62
|
-
# checks if the provided version is supported and denies
|
63
|
-
# unsupported version. The Cloud Composer portion of the
|
64
|
-
# version](https://semver.org) or
|
65
|
-
# the
|
66
|
-
#
|
67
|
-
#
|
68
|
-
#
|
69
|
-
#
|
70
|
-
#
|
71
|
-
#
|
60
|
+
# It must match the regular expression `composer-([0-9]+(\.[0-9]+\.[0-9]+(-
|
61
|
+
# preview\.[0-9]+)?)?|latest)-airflow-([0-9]+\.[0-9]+(\.[0-9]+)?)`. When used as
|
62
|
+
# input, the server also checks if the provided version is supported and denies
|
63
|
+
# the request for an unsupported version. The Cloud Composer portion of the
|
64
|
+
# image version is a full [semantic version](https://semver.org), or an alias in
|
65
|
+
# the form of major version number or `latest`. When an alias is provided, the
|
66
|
+
# server replaces it with the current Cloud Composer version that satisfies the
|
67
|
+
# alias. The Apache Airflow portion of the image version is a full semantic
|
68
|
+
# version that points to one of the supported Apache Airflow versions, or an
|
69
|
+
# alias in the form of only major and minor versions specified. When an alias is
|
70
|
+
# provided, the server replaces it with the latest Apache Airflow version that
|
71
|
+
# satisfies the alias and is supported in the given Cloud Composer version. In
|
72
|
+
# all cases, the resolved image version is stored in the same field. See also [
|
73
|
+
# version list](/composer/docs/concepts/versioning/composer-versions) and [
|
74
|
+
# versioning overview](/composer/docs/concepts/versioning/composer-versioning-
|
75
|
+
# overview).
|
72
76
|
# Corresponds to the JSON property `imageVersion`
|
73
77
|
# @return [String]
|
74
78
|
attr_accessor :image_version
|
@@ -154,14 +158,14 @@ module Google
|
|
154
158
|
end
|
155
159
|
|
156
160
|
# The configuration of Cloud SQL instance that is used by the Apache Airflow
|
157
|
-
# software.
|
158
|
-
# airflow-*.*.*.
|
161
|
+
# software.
|
159
162
|
class DatabaseConfig
|
160
163
|
include Google::Apis::Core::Hashable
|
161
164
|
|
162
165
|
# Optional. Cloud SQL machine type used by Airflow database. It has to be one of:
|
163
166
|
# db-n1-standard-2, db-n1-standard-4, db-n1-standard-8 or db-n1-standard-16. If
|
164
|
-
# not specified, db-n1-standard-2 will be used.
|
167
|
+
# not specified, db-n1-standard-2 will be used. Supported for Cloud Composer
|
168
|
+
# environments in versions composer-1.*.*-airflow-*.*.*.
|
165
169
|
# Corresponds to the JSON property `machineType`
|
166
170
|
# @return [String]
|
167
171
|
attr_accessor :machine_type
|
@@ -179,11 +183,11 @@ module Google
|
|
179
183
|
# Represents a whole or partial calendar date, such as a birthday. The time of
|
180
184
|
# day and time zone are either specified elsewhere or are insignificant. The
|
181
185
|
# date is relative to the Gregorian Calendar. This can represent one of the
|
182
|
-
# following: * A full date, with non-zero year, month, and day values * A month
|
183
|
-
# and day
|
184
|
-
# with zero month and day
|
185
|
-
#
|
186
|
-
# google.protobuf.Timestamp
|
186
|
+
# following: * A full date, with non-zero year, month, and day values. * A month
|
187
|
+
# and day, with a zero year (for example, an anniversary). * A year on its own,
|
188
|
+
# with a zero month and a zero day. * A year and month, with a zero day (for
|
189
|
+
# example, a credit card expiration date). Related types: * google.type.
|
190
|
+
# TimeOfDay * google.type.DateTime * google.protobuf.Timestamp
|
187
191
|
class Date
|
188
192
|
include Google::Apis::Core::Hashable
|
189
193
|
|
@@ -340,8 +344,7 @@ module Google
|
|
340
344
|
attr_accessor :dag_gcs_prefix
|
341
345
|
|
342
346
|
# The configuration of Cloud SQL instance that is used by the Apache Airflow
|
343
|
-
# software.
|
344
|
-
# airflow-*.*.*.
|
347
|
+
# software.
|
345
348
|
# Corresponds to the JSON property `databaseConfig`
|
346
349
|
# @return [Google::Apis::ComposerV1beta1::DatabaseConfig]
|
347
350
|
attr_accessor :database_config
|
@@ -531,7 +534,7 @@ module Google
|
|
531
534
|
alias_method :creation_disabled?, :creation_disabled
|
532
535
|
|
533
536
|
# The string identifier of the ImageVersion, in the form: "composer-x.y.z-
|
534
|
-
# airflow-a.b
|
537
|
+
# airflow-a.b.c"
|
535
538
|
# Corresponds to the JSON property `imageVersionId`
|
536
539
|
# @return [String]
|
537
540
|
attr_accessor :image_version_id
|
@@ -546,11 +549,11 @@ module Google
|
|
546
549
|
# Represents a whole or partial calendar date, such as a birthday. The time of
|
547
550
|
# day and time zone are either specified elsewhere or are insignificant. The
|
548
551
|
# date is relative to the Gregorian Calendar. This can represent one of the
|
549
|
-
# following: * A full date, with non-zero year, month, and day values * A month
|
550
|
-
# and day
|
551
|
-
# with zero month and day
|
552
|
-
#
|
553
|
-
# google.protobuf.Timestamp
|
552
|
+
# following: * A full date, with non-zero year, month, and day values. * A month
|
553
|
+
# and day, with a zero year (for example, an anniversary). * A year on its own,
|
554
|
+
# with a zero month and a zero day. * A year and month, with a zero day (for
|
555
|
+
# example, a credit card expiration date). Related types: * google.type.
|
556
|
+
# TimeOfDay * google.type.DateTime * google.protobuf.Timestamp
|
554
557
|
# Corresponds to the JSON property `releaseDate`
|
555
558
|
# @return [Google::Apis::ComposerV1beta1::Date]
|
556
559
|
attr_accessor :release_date
|
@@ -657,8 +660,8 @@ module Google
|
|
657
660
|
end
|
658
661
|
end
|
659
662
|
|
660
|
-
#
|
661
|
-
class
|
663
|
+
# Response to LoadSnapshotRequest.
|
664
|
+
class LoadSnapshotResponse
|
662
665
|
include Google::Apis::Core::Hashable
|
663
666
|
|
664
667
|
def initialize(**args)
|
@@ -1136,6 +1139,27 @@ module Google
|
|
1136
1139
|
end
|
1137
1140
|
end
|
1138
1141
|
|
1142
|
+
# Response to SaveSnapshotRequest.
|
1143
|
+
class SaveSnapshotResponse
|
1144
|
+
include Google::Apis::Core::Hashable
|
1145
|
+
|
1146
|
+
# The fully-resolved Cloud Storage path of the created snapshot, e.g.: "gs://my-
|
1147
|
+
# bucket/snapshots/project_location_environment_timestamp". This field is
|
1148
|
+
# populated only if the snapshot creation was successful.
|
1149
|
+
# Corresponds to the JSON property `snapshotPath`
|
1150
|
+
# @return [String]
|
1151
|
+
attr_accessor :snapshot_path
|
1152
|
+
|
1153
|
+
def initialize(**args)
|
1154
|
+
update!(**args)
|
1155
|
+
end
|
1156
|
+
|
1157
|
+
# Update properties of this object
|
1158
|
+
def update!(**args)
|
1159
|
+
@snapshot_path = args[:snapshot_path] if args.key?(:snapshot_path)
|
1160
|
+
end
|
1161
|
+
end
|
1162
|
+
|
1139
1163
|
# Configuration for resources used by Airflow schedulers.
|
1140
1164
|
class SchedulerResource
|
1141
1165
|
include Google::Apis::Core::Hashable
|
@@ -1208,18 +1232,22 @@ module Google
|
|
1208
1232
|
|
1209
1233
|
# The version of the software running in the environment. This encapsulates both
|
1210
1234
|
# the version of Cloud Composer functionality and the version of Apache Airflow.
|
1211
|
-
# It must match the regular expression `composer-([0-9]
|
1212
|
-
# airflow-[0-9]+\.[0-9]+(\.[0-9]
|
1213
|
-
# checks if the provided version is supported and denies
|
1214
|
-
# unsupported version. The Cloud Composer portion of the
|
1215
|
-
# version](https://semver.org) or
|
1216
|
-
# the
|
1217
|
-
#
|
1218
|
-
#
|
1219
|
-
#
|
1220
|
-
#
|
1221
|
-
#
|
1222
|
-
#
|
1235
|
+
# It must match the regular expression `composer-([0-9]+(\.[0-9]+\.[0-9]+(-
|
1236
|
+
# preview\.[0-9]+)?)?|latest)-airflow-([0-9]+\.[0-9]+(\.[0-9]+)?)`. When used as
|
1237
|
+
# input, the server also checks if the provided version is supported and denies
|
1238
|
+
# the request for an unsupported version. The Cloud Composer portion of the
|
1239
|
+
# image version is a full [semantic version](https://semver.org), or an alias in
|
1240
|
+
# the form of major version number or `latest`. When an alias is provided, the
|
1241
|
+
# server replaces it with the current Cloud Composer version that satisfies the
|
1242
|
+
# alias. The Apache Airflow portion of the image version is a full semantic
|
1243
|
+
# version that points to one of the supported Apache Airflow versions, or an
|
1244
|
+
# alias in the form of only major and minor versions specified. When an alias is
|
1245
|
+
# provided, the server replaces it with the latest Apache Airflow version that
|
1246
|
+
# satisfies the alias and is supported in the given Cloud Composer version. In
|
1247
|
+
# all cases, the resolved image version is stored in the same field. See also [
|
1248
|
+
# version list](/composer/docs/concepts/versioning/composer-versions) and [
|
1249
|
+
# versioning overview](/composer/docs/concepts/versioning/composer-versioning-
|
1250
|
+
# overview).
|
1223
1251
|
# Corresponds to the JSON property `imageVersion`
|
1224
1252
|
# @return [String]
|
1225
1253
|
attr_accessor :image_version
|
@@ -1302,27 +1330,6 @@ module Google
|
|
1302
1330
|
end
|
1303
1331
|
end
|
1304
1332
|
|
1305
|
-
# Store environment state response.
|
1306
|
-
class StoreEnvironmentStateResponse
|
1307
|
-
include Google::Apis::Core::Hashable
|
1308
|
-
|
1309
|
-
# The fully-resolved Cloud Storage location of the created snapshot, e.g.: "gs://
|
1310
|
-
# my-bucket/snapshots/project_id/location/environment_uuid/timestamp". This
|
1311
|
-
# field is populated only if the snapshot creation was successful.
|
1312
|
-
# Corresponds to the JSON property `snapshotLocation`
|
1313
|
-
# @return [String]
|
1314
|
-
attr_accessor :snapshot_location
|
1315
|
-
|
1316
|
-
def initialize(**args)
|
1317
|
-
update!(**args)
|
1318
|
-
end
|
1319
|
-
|
1320
|
-
# Update properties of this object
|
1321
|
-
def update!(**args)
|
1322
|
-
@snapshot_location = args[:snapshot_location] if args.key?(:snapshot_location)
|
1323
|
-
end
|
1324
|
-
end
|
1325
|
-
|
1326
1333
|
# The configuration settings for the Airflow web server App Engine instance.
|
1327
1334
|
# Supported for Cloud Composer environments in versions composer-1.*.*-airflow-*.
|
1328
1335
|
# *.*.
|
@@ -16,13 +16,13 @@ module Google
|
|
16
16
|
module Apis
|
17
17
|
module ComposerV1beta1
|
18
18
|
# Version of the google-apis-composer_v1beta1 gem
|
19
|
-
GEM_VERSION = "0.
|
19
|
+
GEM_VERSION = "0.20.0"
|
20
20
|
|
21
21
|
# Version of the code generator used to generate this client
|
22
|
-
GENERATOR_VERSION = "0.4.
|
22
|
+
GENERATOR_VERSION = "0.4.1"
|
23
23
|
|
24
24
|
# Revision of the discovery document this client was generated from
|
25
|
-
REVISION = "
|
25
|
+
REVISION = "20220307"
|
26
26
|
end
|
27
27
|
end
|
28
28
|
end
|
@@ -112,7 +112,7 @@ module Google
|
|
112
112
|
include Google::Apis::Core::JsonObjectSupport
|
113
113
|
end
|
114
114
|
|
115
|
-
class
|
115
|
+
class LoadSnapshotResponse
|
116
116
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
117
117
|
|
118
118
|
include Google::Apis::Core::JsonObjectSupport
|
@@ -166,25 +166,25 @@ module Google
|
|
166
166
|
include Google::Apis::Core::JsonObjectSupport
|
167
167
|
end
|
168
168
|
|
169
|
-
class
|
169
|
+
class SaveSnapshotResponse
|
170
170
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
171
171
|
|
172
172
|
include Google::Apis::Core::JsonObjectSupport
|
173
173
|
end
|
174
174
|
|
175
|
-
class
|
175
|
+
class SchedulerResource
|
176
176
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
177
177
|
|
178
178
|
include Google::Apis::Core::JsonObjectSupport
|
179
179
|
end
|
180
180
|
|
181
|
-
class
|
181
|
+
class SoftwareConfig
|
182
182
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
183
183
|
|
184
184
|
include Google::Apis::Core::JsonObjectSupport
|
185
185
|
end
|
186
186
|
|
187
|
-
class
|
187
|
+
class Status
|
188
188
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
189
189
|
|
190
190
|
include Google::Apis::Core::JsonObjectSupport
|
@@ -379,7 +379,7 @@ module Google
|
|
379
379
|
end
|
380
380
|
end
|
381
381
|
|
382
|
-
class
|
382
|
+
class LoadSnapshotResponse
|
383
383
|
# @private
|
384
384
|
class Representation < Google::Apis::Core::JsonRepresentation
|
385
385
|
end
|
@@ -476,6 +476,13 @@ module Google
|
|
476
476
|
end
|
477
477
|
end
|
478
478
|
|
479
|
+
class SaveSnapshotResponse
|
480
|
+
# @private
|
481
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
482
|
+
property :snapshot_path, as: 'snapshotPath'
|
483
|
+
end
|
484
|
+
end
|
485
|
+
|
479
486
|
class SchedulerResource
|
480
487
|
# @private
|
481
488
|
class Representation < Google::Apis::Core::JsonRepresentation
|
@@ -507,13 +514,6 @@ module Google
|
|
507
514
|
end
|
508
515
|
end
|
509
516
|
|
510
|
-
class StoreEnvironmentStateResponse
|
511
|
-
# @private
|
512
|
-
class Representation < Google::Apis::Core::JsonRepresentation
|
513
|
-
property :snapshot_location, as: 'snapshotLocation'
|
514
|
-
end
|
515
|
-
end
|
516
|
-
|
517
517
|
class WebServerConfig
|
518
518
|
# @private
|
519
519
|
class Representation < Google::Apis::Core::JsonRepresentation
|
@@ -284,28 +284,28 @@ module Google
|
|
284
284
|
# individual environment variables. * `config.softwareConfig.imageVersion` *
|
285
285
|
# Upgrade the version of the environment in-place. Refer to `SoftwareConfig.
|
286
286
|
# image_version` for information on how to format the new image version.
|
287
|
-
# Additionally, the new image version cannot effect a version downgrade and
|
288
|
-
# match the current image version's Composer
|
289
|
-
#
|
290
|
-
#
|
291
|
-
#
|
292
|
-
#
|
293
|
-
#
|
294
|
-
#
|
295
|
-
#
|
296
|
-
#
|
297
|
-
#
|
298
|
-
#
|
299
|
-
#
|
300
|
-
#
|
301
|
-
#
|
302
|
-
#
|
303
|
-
#
|
304
|
-
#
|
305
|
-
#
|
306
|
-
#
|
307
|
-
#
|
308
|
-
#
|
287
|
+
# Additionally, the new image version cannot effect a version downgrade, and
|
288
|
+
# must match the current image version's Composer and Airflow major versions.
|
289
|
+
# Consult the [Cloud Composer version list](/composer/docs/concepts/versioning/
|
290
|
+
# composer-versions) for valid values. * `config.softwareConfig.schedulerCount` *
|
291
|
+
# Horizontally scale the number of schedulers in Airflow. A positive integer
|
292
|
+
# not greater than the number of nodes must be provided in the `config.
|
293
|
+
# softwareConfig.schedulerCount` field. Supported for Cloud Composer
|
294
|
+
# environments in versions composer-1.*.*-airflow-2.*.*. * `config.
|
295
|
+
# databaseConfig.machineType` * Cloud SQL machine type used by Airflow database.
|
296
|
+
# It has to be one of: db-n1-standard-2, db-n1-standard-4, db-n1-standard-8 or
|
297
|
+
# db-n1-standard-16. Supported for Cloud Composer environments in versions
|
298
|
+
# composer-1.*.*-airflow-*.*.*. * `config.webServerConfig.machineType` * Machine
|
299
|
+
# type on which Airflow web server is running. It has to be one of: composer-n1-
|
300
|
+
# webserver-2, composer-n1-webserver-4 or composer-n1-webserver-8. Supported for
|
301
|
+
# Cloud Composer environments in versions composer-1.*.*-airflow-*.*.*. * `
|
302
|
+
# config.maintenanceWindow` * Maintenance window during which Cloud Composer
|
303
|
+
# components may be under maintenance. * `config.workloadsConfig` * The
|
304
|
+
# workloads configuration settings for the GKE cluster associated with the Cloud
|
305
|
+
# Composer environment. Supported for Cloud Composer environments in versions
|
306
|
+
# composer-2.*.*-airflow-*.*.* and newer. * `config.environmentSize` * The size
|
307
|
+
# of the Cloud Composer environment. Supported for Cloud Composer environments
|
308
|
+
# in versions composer-2.*.*-airflow-*.*.* and newer.
|
309
309
|
# @param [String] fields
|
310
310
|
# Selector specifying which fields to include in a partial response.
|
311
311
|
# @param [String] quota_user
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: google-apis-composer_v1beta1
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.
|
4
|
+
version: 0.20.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-
|
11
|
+
date: 2022-03-14 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-composer_v1beta1/CHANGELOG.md
|
61
|
-
documentation_uri: https://googleapis.dev/ruby/google-apis-composer_v1beta1/v0.
|
61
|
+
documentation_uri: https://googleapis.dev/ruby/google-apis-composer_v1beta1/v0.20.0
|
62
62
|
source_code_uri: https://github.com/googleapis/google-api-ruby-client/tree/main/generated/google-apis-composer_v1beta1
|
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.
|
78
|
+
rubygems_version: 3.3.5
|
79
79
|
signing_key:
|
80
80
|
specification_version: 4
|
81
81
|
summary: Simple REST client for Cloud Composer API V1beta1
|