google-apis-composer_v1 0.1.0 → 0.6.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/CHANGELOG.md +22 -0
- data/lib/google/apis/composer_v1.rb +1 -1
- data/lib/google/apis/composer_v1/classes.rb +91 -6
- data/lib/google/apis/composer_v1/gem_version.rb +3 -3
- data/lib/google/apis/composer_v1/representations.rb +45 -0
- data/lib/google/apis/composer_v1/service.rb +13 -11
- metadata +5 -5
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 2c53af09adc77e37cbde237a3b19764d3881e68835e38d41eae845089d0e9a6f
|
4
|
+
data.tar.gz: e803544312e3a7d5cf482a3893e6064f14c6b8a88b17209e821edc469da9f8f9
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 3f0e2051ac98ef3a79ccf8e5e7bd29a9946cfcd361c1e2d0c71b8e41fbe7868260a8980467da9d2b8c57d534b1c3b72dc22070eb40c765f47fdfc79afab67942
|
7
|
+
data.tar.gz: 69693571d3f6199edb7dc57c08342baa4159ea3ccd625cef3711c7a2b189bac99de9596cea0f09e4df924704dd9a28f66279ef8edd01bc3676f534a916380dd2
|
data/CHANGELOG.md
CHANGED
@@ -1,5 +1,27 @@
|
|
1
1
|
# Release history for google-apis-composer_v1
|
2
2
|
|
3
|
+
### v0.6.0 (2021-05-19)
|
4
|
+
|
5
|
+
* Unspecified changes
|
6
|
+
|
7
|
+
### v0.5.0 (2021-04-16)
|
8
|
+
|
9
|
+
* Regenerated from discovery document revision 20210407
|
10
|
+
|
11
|
+
### v0.4.0 (2021-03-27)
|
12
|
+
|
13
|
+
* Regenerated from discovery document revision 20210319
|
14
|
+
* Regenerated using generator version 0.2.0
|
15
|
+
|
16
|
+
### v0.3.0 (2021-03-04)
|
17
|
+
|
18
|
+
* Unspecified changes
|
19
|
+
|
20
|
+
### v0.2.0 (2021-02-04)
|
21
|
+
|
22
|
+
* Regenerated from discovery document revision 20210126
|
23
|
+
* Regenerated using generator version 0.1.2
|
24
|
+
|
3
25
|
### v0.1.0 (2021-01-07)
|
4
26
|
|
5
27
|
* Regenerated using generator version 0.1.1
|
@@ -29,7 +29,7 @@ module Google
|
|
29
29
|
# This is NOT the gem version.
|
30
30
|
VERSION = 'V1'
|
31
31
|
|
32
|
-
#
|
32
|
+
# See, edit, configure, and delete your Google Cloud Platform data
|
33
33
|
AUTH_CLOUD_PLATFORM = 'https://www.googleapis.com/auth/cloud-platform'
|
34
34
|
end
|
35
35
|
end
|
@@ -51,6 +51,28 @@ module Google
|
|
51
51
|
end
|
52
52
|
end
|
53
53
|
|
54
|
+
# The configuration of Cloud SQL instance that is used by the Apache Airflow
|
55
|
+
# software.
|
56
|
+
class DatabaseConfig
|
57
|
+
include Google::Apis::Core::Hashable
|
58
|
+
|
59
|
+
# Optional. Cloud SQL machine type used by Airflow database. It has to be one of:
|
60
|
+
# db-n1-standard-2, db-n1-standard-4, db-n1-standard-8 or db-n1-standard-16. If
|
61
|
+
# not specified, db-n1-standard-2 will be used.
|
62
|
+
# Corresponds to the JSON property `machineType`
|
63
|
+
# @return [String]
|
64
|
+
attr_accessor :machine_type
|
65
|
+
|
66
|
+
def initialize(**args)
|
67
|
+
update!(**args)
|
68
|
+
end
|
69
|
+
|
70
|
+
# Update properties of this object
|
71
|
+
def update!(**args)
|
72
|
+
@machine_type = args[:machine_type] if args.key?(:machine_type)
|
73
|
+
end
|
74
|
+
end
|
75
|
+
|
54
76
|
# Represents a whole or partial calendar date, such as a birthday. The time of
|
55
77
|
# day and time zone are either specified elsewhere or are insignificant. The
|
56
78
|
# date is relative to the Gregorian Calendar. This can represent one of the
|
@@ -109,6 +131,27 @@ module Google
|
|
109
131
|
end
|
110
132
|
end
|
111
133
|
|
134
|
+
# The encryption options for the Cloud Composer environment and its dependencies.
|
135
|
+
class EncryptionConfig
|
136
|
+
include Google::Apis::Core::Hashable
|
137
|
+
|
138
|
+
# Optional. Customer-managed Encryption Key available through Google's Key
|
139
|
+
# Management Service. Cannot be updated. If not specified, Google-managed key
|
140
|
+
# will be used.
|
141
|
+
# Corresponds to the JSON property `kmsKeyName`
|
142
|
+
# @return [String]
|
143
|
+
attr_accessor :kms_key_name
|
144
|
+
|
145
|
+
def initialize(**args)
|
146
|
+
update!(**args)
|
147
|
+
end
|
148
|
+
|
149
|
+
# Update properties of this object
|
150
|
+
def update!(**args)
|
151
|
+
@kms_key_name = args[:kms_key_name] if args.key?(:kms_key_name)
|
152
|
+
end
|
153
|
+
end
|
154
|
+
|
112
155
|
# An environment for running orchestration tasks.
|
113
156
|
class Environment
|
114
157
|
include Google::Apis::Core::Hashable
|
@@ -191,6 +234,17 @@ module Google
|
|
191
234
|
# @return [String]
|
192
235
|
attr_accessor :dag_gcs_prefix
|
193
236
|
|
237
|
+
# The configuration of Cloud SQL instance that is used by the Apache Airflow
|
238
|
+
# software.
|
239
|
+
# Corresponds to the JSON property `databaseConfig`
|
240
|
+
# @return [Google::Apis::ComposerV1::DatabaseConfig]
|
241
|
+
attr_accessor :database_config
|
242
|
+
|
243
|
+
# The encryption options for the Cloud Composer environment and its dependencies.
|
244
|
+
# Corresponds to the JSON property `encryptionConfig`
|
245
|
+
# @return [Google::Apis::ComposerV1::EncryptionConfig]
|
246
|
+
attr_accessor :encryption_config
|
247
|
+
|
194
248
|
# Output only. The Kubernetes Engine cluster used to run this environment.
|
195
249
|
# Corresponds to the JSON property `gkeCluster`
|
196
250
|
# @return [String]
|
@@ -219,6 +273,11 @@ module Google
|
|
219
273
|
# @return [Google::Apis::ComposerV1::SoftwareConfig]
|
220
274
|
attr_accessor :software_config
|
221
275
|
|
276
|
+
# The configuration settings for the Airflow web server App Engine instance.
|
277
|
+
# Corresponds to the JSON property `webServerConfig`
|
278
|
+
# @return [Google::Apis::ComposerV1::WebServerConfig]
|
279
|
+
attr_accessor :web_server_config
|
280
|
+
|
222
281
|
# Network-level access control policy for the Airflow web server.
|
223
282
|
# Corresponds to the JSON property `webServerNetworkAccessControl`
|
224
283
|
# @return [Google::Apis::ComposerV1::WebServerNetworkAccessControl]
|
@@ -232,11 +291,14 @@ module Google
|
|
232
291
|
def update!(**args)
|
233
292
|
@airflow_uri = args[:airflow_uri] if args.key?(:airflow_uri)
|
234
293
|
@dag_gcs_prefix = args[:dag_gcs_prefix] if args.key?(:dag_gcs_prefix)
|
294
|
+
@database_config = args[:database_config] if args.key?(:database_config)
|
295
|
+
@encryption_config = args[:encryption_config] if args.key?(:encryption_config)
|
235
296
|
@gke_cluster = args[:gke_cluster] if args.key?(:gke_cluster)
|
236
297
|
@node_config = args[:node_config] if args.key?(:node_config)
|
237
298
|
@node_count = args[:node_count] if args.key?(:node_count)
|
238
299
|
@private_environment_config = args[:private_environment_config] if args.key?(:private_environment_config)
|
239
300
|
@software_config = args[:software_config] if args.key?(:software_config)
|
301
|
+
@web_server_config = args[:web_server_config] if args.key?(:web_server_config)
|
240
302
|
@web_server_network_access_control = args[:web_server_network_access_control] if args.key?(:web_server_network_access_control)
|
241
303
|
end
|
242
304
|
end
|
@@ -491,11 +553,11 @@ module Google
|
|
491
553
|
# Optional. The Compute Engine network to be used for machine communications,
|
492
554
|
# specified as a [relative resource name](/apis/design/resource_names#
|
493
555
|
# relative_resource_name). For example: "projects/`projectId`/global/networks/`
|
494
|
-
# networkId`".
|
495
|
-
#
|
496
|
-
#
|
497
|
-
#
|
498
|
-
# subnetwork
|
556
|
+
# networkId`". If unspecified, the "default" network ID in the environment's
|
557
|
+
# project is used. If a [Custom Subnet Network](/vpc/docs/vpc#
|
558
|
+
# vpc_networks_and_subnets) is provided, `nodeConfig.subnetwork` must also be
|
559
|
+
# provided. For [Shared VPC](/vpc/docs/shared-vpc) subnetwork requirements, see `
|
560
|
+
# nodeConfig.subnetwork`.
|
499
561
|
# Corresponds to the JSON property `network`
|
500
562
|
# @return [String]
|
501
563
|
attr_accessor :network
|
@@ -814,7 +876,7 @@ module Google
|
|
814
876
|
|
815
877
|
# Optional. The major version of Python used to run the Apache Airflow scheduler,
|
816
878
|
# worker, and webserver processes. Can be set to '2' or '3'. If not specified,
|
817
|
-
# the default is '
|
879
|
+
# the default is '3'. Cannot be updated.
|
818
880
|
# Corresponds to the JSON property `pythonVersion`
|
819
881
|
# @return [String]
|
820
882
|
attr_accessor :python_version
|
@@ -872,6 +934,29 @@ module Google
|
|
872
934
|
end
|
873
935
|
end
|
874
936
|
|
937
|
+
# The configuration settings for the Airflow web server App Engine instance.
|
938
|
+
class WebServerConfig
|
939
|
+
include Google::Apis::Core::Hashable
|
940
|
+
|
941
|
+
# Optional. Machine type on which Airflow web server is running. It has to be
|
942
|
+
# one of: composer-n1-webserver-2, composer-n1-webserver-4 or composer-n1-
|
943
|
+
# webserver-8. If not specified, composer-n1-webserver-2 will be used. Value
|
944
|
+
# custom is returned only in response, if Airflow web server parameters were
|
945
|
+
# manually changed to a non-standard values.
|
946
|
+
# Corresponds to the JSON property `machineType`
|
947
|
+
# @return [String]
|
948
|
+
attr_accessor :machine_type
|
949
|
+
|
950
|
+
def initialize(**args)
|
951
|
+
update!(**args)
|
952
|
+
end
|
953
|
+
|
954
|
+
# Update properties of this object
|
955
|
+
def update!(**args)
|
956
|
+
@machine_type = args[:machine_type] if args.key?(:machine_type)
|
957
|
+
end
|
958
|
+
end
|
959
|
+
|
875
960
|
# Network-level access control policy for the Airflow web server.
|
876
961
|
class WebServerNetworkAccessControl
|
877
962
|
include Google::Apis::Core::Hashable
|
@@ -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.
|
19
|
+
GEM_VERSION = "0.6.0"
|
20
20
|
|
21
21
|
# Version of the code generator used to generate this client
|
22
|
-
GENERATOR_VERSION = "0.
|
22
|
+
GENERATOR_VERSION = "0.2.0"
|
23
23
|
|
24
24
|
# Revision of the discovery document this client was generated from
|
25
|
-
REVISION = "
|
25
|
+
REVISION = "20210407"
|
26
26
|
end
|
27
27
|
end
|
28
28
|
end
|
@@ -28,6 +28,12 @@ module Google
|
|
28
28
|
include Google::Apis::Core::JsonObjectSupport
|
29
29
|
end
|
30
30
|
|
31
|
+
class DatabaseConfig
|
32
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
33
|
+
|
34
|
+
include Google::Apis::Core::JsonObjectSupport
|
35
|
+
end
|
36
|
+
|
31
37
|
class Date
|
32
38
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
33
39
|
|
@@ -40,6 +46,12 @@ module Google
|
|
40
46
|
include Google::Apis::Core::JsonObjectSupport
|
41
47
|
end
|
42
48
|
|
49
|
+
class EncryptionConfig
|
50
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
51
|
+
|
52
|
+
include Google::Apis::Core::JsonObjectSupport
|
53
|
+
end
|
54
|
+
|
43
55
|
class Environment
|
44
56
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
45
57
|
|
@@ -124,6 +136,12 @@ module Google
|
|
124
136
|
include Google::Apis::Core::JsonObjectSupport
|
125
137
|
end
|
126
138
|
|
139
|
+
class WebServerConfig
|
140
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
141
|
+
|
142
|
+
include Google::Apis::Core::JsonObjectSupport
|
143
|
+
end
|
144
|
+
|
127
145
|
class WebServerNetworkAccessControl
|
128
146
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
129
147
|
|
@@ -138,6 +156,13 @@ module Google
|
|
138
156
|
end
|
139
157
|
end
|
140
158
|
|
159
|
+
class DatabaseConfig
|
160
|
+
# @private
|
161
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
162
|
+
property :machine_type, as: 'machineType'
|
163
|
+
end
|
164
|
+
end
|
165
|
+
|
141
166
|
class Date
|
142
167
|
# @private
|
143
168
|
class Representation < Google::Apis::Core::JsonRepresentation
|
@@ -153,6 +178,13 @@ module Google
|
|
153
178
|
end
|
154
179
|
end
|
155
180
|
|
181
|
+
class EncryptionConfig
|
182
|
+
# @private
|
183
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
184
|
+
property :kms_key_name, as: 'kmsKeyName'
|
185
|
+
end
|
186
|
+
end
|
187
|
+
|
156
188
|
class Environment
|
157
189
|
# @private
|
158
190
|
class Representation < Google::Apis::Core::JsonRepresentation
|
@@ -172,6 +204,10 @@ module Google
|
|
172
204
|
class Representation < Google::Apis::Core::JsonRepresentation
|
173
205
|
property :airflow_uri, as: 'airflowUri'
|
174
206
|
property :dag_gcs_prefix, as: 'dagGcsPrefix'
|
207
|
+
property :database_config, as: 'databaseConfig', class: Google::Apis::ComposerV1::DatabaseConfig, decorator: Google::Apis::ComposerV1::DatabaseConfig::Representation
|
208
|
+
|
209
|
+
property :encryption_config, as: 'encryptionConfig', class: Google::Apis::ComposerV1::EncryptionConfig, decorator: Google::Apis::ComposerV1::EncryptionConfig::Representation
|
210
|
+
|
175
211
|
property :gke_cluster, as: 'gkeCluster'
|
176
212
|
property :node_config, as: 'nodeConfig', class: Google::Apis::ComposerV1::NodeConfig, decorator: Google::Apis::ComposerV1::NodeConfig::Representation
|
177
213
|
|
@@ -180,6 +216,8 @@ module Google
|
|
180
216
|
|
181
217
|
property :software_config, as: 'softwareConfig', class: Google::Apis::ComposerV1::SoftwareConfig, decorator: Google::Apis::ComposerV1::SoftwareConfig::Representation
|
182
218
|
|
219
|
+
property :web_server_config, as: 'webServerConfig', class: Google::Apis::ComposerV1::WebServerConfig, decorator: Google::Apis::ComposerV1::WebServerConfig::Representation
|
220
|
+
|
183
221
|
property :web_server_network_access_control, as: 'webServerNetworkAccessControl', class: Google::Apis::ComposerV1::WebServerNetworkAccessControl, decorator: Google::Apis::ComposerV1::WebServerNetworkAccessControl::Representation
|
184
222
|
|
185
223
|
end
|
@@ -317,6 +355,13 @@ module Google
|
|
317
355
|
end
|
318
356
|
end
|
319
357
|
|
358
|
+
class WebServerConfig
|
359
|
+
# @private
|
360
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
361
|
+
property :machine_type, as: 'machineType'
|
362
|
+
end
|
363
|
+
end
|
364
|
+
|
320
365
|
class WebServerNetworkAccessControl
|
321
366
|
# @private
|
322
367
|
class Representation < Google::Apis::Core::JsonRepresentation
|
@@ -230,17 +230,19 @@ module Google
|
|
230
230
|
# Horizontally scale the number of nodes in the environment. An integer greater
|
231
231
|
# than or equal to 3 must be provided in the `config.nodeCount` field. config.
|
232
232
|
# webServerNetworkAccessControl Replace the environment's current
|
233
|
-
# WebServerNetworkAccessControl. config.
|
234
|
-
#
|
235
|
-
#
|
236
|
-
#
|
237
|
-
#
|
238
|
-
#
|
239
|
-
#
|
240
|
-
#
|
241
|
-
#
|
242
|
-
#
|
243
|
-
#
|
233
|
+
# WebServerNetworkAccessControl. config.databaseConfig Replace the environment's
|
234
|
+
# current DatabaseConfig. config.webServerConfig Replace the environment's
|
235
|
+
# current WebServerConfig. config.softwareConfig.airflowConfigOverrides Replace
|
236
|
+
# all Apache Airflow config overrides. If a replacement config overrides map is
|
237
|
+
# not included in `environment`, all config overrides are cleared. It is an
|
238
|
+
# error to provide both this mask and a mask specifying one or more individual
|
239
|
+
# config overrides. config.softwareConfig.airflowConfigOverrides.section-name
|
240
|
+
# Override the Apache Airflow config property name in the section named section,
|
241
|
+
# preserving other properties. To delete the property override, include it in `
|
242
|
+
# updateMask` and omit its mapping in `environment.config.softwareConfig.
|
243
|
+
# airflowConfigOverrides`. It is an error to provide both a mask of this form
|
244
|
+
# and the "config.softwareConfig.airflowConfigOverrides" mask. config.
|
245
|
+
# softwareConfig.envVariables Replace all environment variables. If a
|
244
246
|
# replacement environment variable map is not included in `environment`, all
|
245
247
|
# custom environment variables are cleared. It is an error to provide both this
|
246
248
|
# mask and a mask specifying one or more individual environment variables.
|
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.
|
4
|
+
version: 0.6.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-
|
11
|
+
date: 2021-05-24 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: google-apis-core
|
@@ -52,7 +52,7 @@ licenses:
|
|
52
52
|
metadata:
|
53
53
|
bug_tracker_uri: https://github.com/googleapis/google-api-ruby-client/issues
|
54
54
|
changelog_uri: https://github.com/googleapis/google-api-ruby-client/tree/master/generated/google-apis-composer_v1/CHANGELOG.md
|
55
|
-
documentation_uri: https://googleapis.dev/ruby/google-apis-composer_v1/v0.
|
55
|
+
documentation_uri: https://googleapis.dev/ruby/google-apis-composer_v1/v0.6.0
|
56
56
|
source_code_uri: https://github.com/googleapis/google-api-ruby-client/tree/master/generated/google-apis-composer_v1
|
57
57
|
post_install_message:
|
58
58
|
rdoc_options: []
|
@@ -62,14 +62,14 @@ required_ruby_version: !ruby/object:Gem::Requirement
|
|
62
62
|
requirements:
|
63
63
|
- - ">="
|
64
64
|
- !ruby/object:Gem::Version
|
65
|
-
version: '2.
|
65
|
+
version: '2.5'
|
66
66
|
required_rubygems_version: !ruby/object:Gem::Requirement
|
67
67
|
requirements:
|
68
68
|
- - ">="
|
69
69
|
- !ruby/object:Gem::Version
|
70
70
|
version: '0'
|
71
71
|
requirements: []
|
72
|
-
rubygems_version: 3.
|
72
|
+
rubygems_version: 3.2.17
|
73
73
|
signing_key:
|
74
74
|
specification_version: 4
|
75
75
|
summary: Simple REST client for Cloud Composer API V1
|