google-apis-composer_v1 0.9.0 → 0.13.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 +16 -0
- data/lib/google/apis/composer_v1/classes.rb +25 -5
- data/lib/google/apis/composer_v1/gem_version.rb +2 -2
- data/lib/google/apis/composer_v1/representations.rb +3 -0
- data/lib/google/apis/composer_v1/service.rb +36 -31
- data/lib/google/apis/composer_v1.rb +1 -1
- metadata +3 -3
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 41833b9cb52733f9365a9b20918ffdc0148e5a626d14caa1e6036e498d021703
|
4
|
+
data.tar.gz: abdf4f97a0c170166cf381651d21e5abff495bac3be81876461ec21bb46094d5
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 83b2e4fec9dc06d126278eec5de420eae92da4bc505ece3b0a2790bb64686bc5b4deb08ae22f356a8f3792f20daba1896ec0244637e20e50c86a9f1f37616605
|
7
|
+
data.tar.gz: 7ff0fdc7e5ad3c1e4641f0d941d74d8af42c4b4cdf6ee3077ebcfddd656003bc6fb0b9d607cdf97d4639532a72fe3caf248fe01ca251303516a4d1a42762a8a8
|
data/CHANGELOG.md
CHANGED
@@ -1,5 +1,21 @@
|
|
1
1
|
# Release history for google-apis-composer_v1
|
2
2
|
|
3
|
+
### v0.13.0 (2021-09-24)
|
4
|
+
|
5
|
+
* Regenerated from discovery document revision 20210913
|
6
|
+
|
7
|
+
### v0.12.0 (2021-08-18)
|
8
|
+
|
9
|
+
* Regenerated from discovery document revision 20210810
|
10
|
+
|
11
|
+
### v0.11.0 (2021-07-14)
|
12
|
+
|
13
|
+
* Regenerated from discovery document revision 20210705
|
14
|
+
|
15
|
+
### v0.10.0 (2021-07-06)
|
16
|
+
|
17
|
+
* Regenerated from discovery document revision 20210625
|
18
|
+
|
3
19
|
### v0.9.0 (2021-06-29)
|
4
20
|
|
5
21
|
* Regenerated using generator version 0.4.0
|
@@ -65,12 +65,23 @@ module Google
|
|
65
65
|
# @return [String]
|
66
66
|
attr_accessor :contains_pypi_modules_conflict
|
67
67
|
|
68
|
+
# Composer image for which the build was happening.
|
69
|
+
# Corresponds to the JSON property `imageVersion`
|
70
|
+
# @return [String]
|
71
|
+
attr_accessor :image_version
|
72
|
+
|
68
73
|
# Output only. Extract from a docker image build log containing information
|
69
74
|
# about pypi modules conflicts.
|
70
75
|
# Corresponds to the JSON property `pypiConflictBuildLogExtract`
|
71
76
|
# @return [String]
|
72
77
|
attr_accessor :pypi_conflict_build_log_extract
|
73
78
|
|
79
|
+
# Pypi dependencies specified in the environment configuration, at the time when
|
80
|
+
# the build was triggered.
|
81
|
+
# Corresponds to the JSON property `pypiDependencies`
|
82
|
+
# @return [Hash<String,String>]
|
83
|
+
attr_accessor :pypi_dependencies
|
84
|
+
|
74
85
|
def initialize(**args)
|
75
86
|
update!(**args)
|
76
87
|
end
|
@@ -79,7 +90,9 @@ module Google
|
|
79
90
|
def update!(**args)
|
80
91
|
@build_log_uri = args[:build_log_uri] if args.key?(:build_log_uri)
|
81
92
|
@contains_pypi_modules_conflict = args[:contains_pypi_modules_conflict] if args.key?(:contains_pypi_modules_conflict)
|
93
|
+
@image_version = args[:image_version] if args.key?(:image_version)
|
82
94
|
@pypi_conflict_build_log_extract = args[:pypi_conflict_build_log_extract] if args.key?(:pypi_conflict_build_log_extract)
|
95
|
+
@pypi_dependencies = args[:pypi_dependencies] if args.key?(:pypi_dependencies)
|
83
96
|
end
|
84
97
|
end
|
85
98
|
|
@@ -344,7 +357,7 @@ module Google
|
|
344
357
|
# GKE cluster. This field is applicable only when `use_ip_aliases` is true. Set
|
345
358
|
# to blank to have GKE choose a range with the default size. Set to /netmask (e.
|
346
359
|
# g. `/14`) to have GKE choose a range with a specific netmask. Set to a [CIDR](
|
347
|
-
#
|
360
|
+
# https://en.wikipedia.org/wiki/Classless_Inter-Domain_Routing) notation (e.g. `
|
348
361
|
# 10.96.0.0/14`) from the RFC-1918 private networks (e.g. `10.0.0.0/8`, `172.16.
|
349
362
|
# 0.0/12`, `192.168.0.0/16`) to pick a specific range to use.
|
350
363
|
# Corresponds to the JSON property `clusterIpv4CidrBlock`
|
@@ -360,10 +373,10 @@ module Google
|
|
360
373
|
# Optional. The IP address range of the services IP addresses in this GKE
|
361
374
|
# cluster. This field is applicable only when `use_ip_aliases` is true. Set to
|
362
375
|
# blank to have GKE choose a range with the default size. Set to /netmask (e.g. `
|
363
|
-
# /14`) to have GKE choose a range with a specific netmask. Set to a [CIDR](
|
364
|
-
#
|
365
|
-
# 0.0/14`) from the RFC-1918 private networks (e.g. `10.0.0.0/8`, `172.16.
|
366
|
-
#
|
376
|
+
# /14`) to have GKE choose a range with a specific netmask. Set to a [CIDR](
|
377
|
+
# https://en.wikipedia.org/wiki/Classless_Inter-Domain_Routing) notation (e.g. `
|
378
|
+
# 10.96.0.0/14`) from the RFC-1918 private networks (e.g. `10.0.0.0/8`, `172.16.
|
379
|
+
# 0.0/12`, `192.168.0.0/16`) to pick a specific range to use.
|
367
380
|
# Corresponds to the JSON property `servicesIpv4CidrBlock`
|
368
381
|
# @return [String]
|
369
382
|
attr_accessor :services_ipv4_cidr_block
|
@@ -913,6 +926,12 @@ module Google
|
|
913
926
|
# @return [String]
|
914
927
|
attr_accessor :python_version
|
915
928
|
|
929
|
+
# Optional. The number of schedulers for Airflow. This field is supported for
|
930
|
+
# Cloud Composer environments in versions composer-1.*.*-airflow-2.*.*.
|
931
|
+
# Corresponds to the JSON property `schedulerCount`
|
932
|
+
# @return [Fixnum]
|
933
|
+
attr_accessor :scheduler_count
|
934
|
+
|
916
935
|
def initialize(**args)
|
917
936
|
update!(**args)
|
918
937
|
end
|
@@ -924,6 +943,7 @@ module Google
|
|
924
943
|
@image_version = args[:image_version] if args.key?(:image_version)
|
925
944
|
@pypi_packages = args[:pypi_packages] if args.key?(:pypi_packages)
|
926
945
|
@python_version = args[:python_version] if args.key?(:python_version)
|
946
|
+
@scheduler_count = args[:scheduler_count] if args.key?(:scheduler_count)
|
927
947
|
end
|
928
948
|
end
|
929
949
|
|
@@ -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.13.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 = "
|
25
|
+
REVISION = "20210913"
|
26
26
|
end
|
27
27
|
end
|
28
28
|
end
|
@@ -167,7 +167,9 @@ module Google
|
|
167
167
|
class Representation < Google::Apis::Core::JsonRepresentation
|
168
168
|
property :build_log_uri, as: 'buildLogUri'
|
169
169
|
property :contains_pypi_modules_conflict, as: 'containsPypiModulesConflict'
|
170
|
+
property :image_version, as: 'imageVersion'
|
170
171
|
property :pypi_conflict_build_log_extract, as: 'pypiConflictBuildLogExtract'
|
172
|
+
hash :pypi_dependencies, as: 'pypiDependencies'
|
171
173
|
end
|
172
174
|
end
|
173
175
|
|
@@ -358,6 +360,7 @@ module Google
|
|
358
360
|
property :image_version, as: 'imageVersion'
|
359
361
|
hash :pypi_packages, as: 'pypiPackages'
|
360
362
|
property :python_version, as: 'pythonVersion'
|
363
|
+
property :scheduler_count, as: 'schedulerCount'
|
361
364
|
end
|
362
365
|
end
|
363
366
|
|
@@ -212,40 +212,45 @@ module Google
|
|
212
212
|
# updateMask` would contain the path "config.softwareConfig.pypiPackages", and
|
213
213
|
# the patch environment would be the following: ` "config":` "softwareConfig":` "
|
214
214
|
# pypiPackages":` "botocore":"==1.7.14" ` ` ` ` **Note:** Only the following
|
215
|
-
# fields can be updated: *
|
216
|
-
#
|
217
|
-
#
|
218
|
-
#
|
219
|
-
#
|
220
|
-
# packagename
|
215
|
+
# fields can be updated: * `config.softwareConfig.pypiPackages` * Replace all
|
216
|
+
# custom custom PyPI packages. If a replacement package map is not included in `
|
217
|
+
# environment`, all custom PyPI packages are cleared. It is an error to provide
|
218
|
+
# both this mask and a mask specifying an individual package. * `config.
|
219
|
+
# softwareConfig.pypiPackages.`packagename * Update the custom PyPI package *
|
220
|
+
# packagename*, preserving other packages. To delete the package, include it in `
|
221
221
|
# updateMask`, and omit the mapping for it in `environment.config.softwareConfig.
|
222
|
-
# pypiPackages`. It is an error to provide both a mask of this form and the
|
223
|
-
# config.softwareConfig.pypiPackages
|
222
|
+
# pypiPackages`. It is an error to provide both a mask of this form and the `
|
223
|
+
# config.softwareConfig.pypiPackages` mask. * `labels` * Replace all environment
|
224
224
|
# labels. If a replacement labels map is not included in `environment`, all
|
225
225
|
# labels are cleared. It is an error to provide both this mask and a mask
|
226
|
-
# specifying one or more individual labels. labels
|
227
|
-
# labelName
|
228
|
-
# updateMask` and omit its mapping in `environment.labels`. It is an
|
229
|
-
# provide both a mask of this form and the
|
230
|
-
# Horizontally scale the number of nodes in the environment. An
|
231
|
-
# than or equal to 3 must be provided in the `config.nodeCount`
|
232
|
-
# webServerNetworkAccessControl Replace the environment's
|
233
|
-
# WebServerNetworkAccessControl
|
234
|
-
# current DatabaseConfig
|
235
|
-
# current WebServerConfig
|
236
|
-
# all Apache Airflow config overrides. If a
|
237
|
-
# not included in `environment`, all config
|
238
|
-
# error to provide both this mask and a mask
|
239
|
-
# config overrides. config.softwareConfig.
|
240
|
-
# Override the Apache Airflow config
|
241
|
-
#
|
242
|
-
# updateMask` and omit its
|
243
|
-
# airflowConfigOverrides`. It is
|
244
|
-
# and the
|
245
|
-
#
|
246
|
-
# replacement environment variable map is not
|
247
|
-
# custom environment variables are cleared. It is
|
248
|
-
# mask and a mask specifying one or more
|
226
|
+
# specifying one or more individual labels. * `labels.`labelName * Set the label
|
227
|
+
# named *labelName*, while preserving other labels. To delete the label, include
|
228
|
+
# it in `updateMask` and omit its mapping in `environment.labels`. It is an
|
229
|
+
# error to provide both a mask of this form and the `labels` mask. * `config.
|
230
|
+
# nodeCount` * Horizontally scale the number of nodes in the environment. An
|
231
|
+
# integer greater than or equal to 3 must be provided in the `config.nodeCount`
|
232
|
+
# field. * `config.webServerNetworkAccessControl` * Replace the environment's
|
233
|
+
# current `WebServerNetworkAccessControl`. * `config.databaseConfig` * Replace
|
234
|
+
# the environment's current `DatabaseConfig`. * `config.webServerConfig` *
|
235
|
+
# Replace the environment's current `WebServerConfig`. * `config.softwareConfig.
|
236
|
+
# airflowConfigOverrides` * Replace all Apache Airflow config overrides. If a
|
237
|
+
# replacement config overrides map is not included in `environment`, all config
|
238
|
+
# overrides are cleared. It is an error to provide both this mask and a mask
|
239
|
+
# specifying one or more individual config overrides. * `config.softwareConfig.
|
240
|
+
# airflowConfigOverrides.`section-name * Override the Apache Airflow config
|
241
|
+
# property *name* in the section named *section*, preserving other properties.
|
242
|
+
# To delete the property override, include it in `updateMask` and omit its
|
243
|
+
# mapping in `environment.config.softwareConfig.airflowConfigOverrides`. It is
|
244
|
+
# an error to provide both a mask of this form and the `config.softwareConfig.
|
245
|
+
# airflowConfigOverrides` mask. * `config.softwareConfig.envVariables` * Replace
|
246
|
+
# all environment variables. If a replacement environment variable map is not
|
247
|
+
# included in `environment`, all custom environment variables are cleared. It is
|
248
|
+
# an error to provide both this mask and a mask specifying one or more
|
249
|
+
# individual environment variables. * `config.softwareConfig.schedulerCount` *
|
250
|
+
# Horizontally scale the number of schedulers in Airflow. A positive integer not
|
251
|
+
# greater than the number of nodes must be provided in the `config.
|
252
|
+
# softwareConfig.schedulerCount` field. Supported for Cloud Composer
|
253
|
+
# environments in versions composer-1.*.*-airflow-2.*.*.
|
249
254
|
# @param [String] fields
|
250
255
|
# Selector specifying which fields to include in a partial response.
|
251
256
|
# @param [String] quota_user
|
@@ -29,7 +29,7 @@ module Google
|
|
29
29
|
# This is NOT the gem version.
|
30
30
|
VERSION = 'V1'
|
31
31
|
|
32
|
-
# See, edit, configure, and delete your Google Cloud
|
32
|
+
# See, edit, configure, and delete your Google Cloud data and see the email address for your Google Account.
|
33
33
|
AUTH_CLOUD_PLATFORM = 'https://www.googleapis.com/auth/cloud-platform'
|
34
34
|
end
|
35
35
|
end
|
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.13.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-09-27 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/master/generated/google-apis-composer_v1/CHANGELOG.md
|
61
|
-
documentation_uri: https://googleapis.dev/ruby/google-apis-composer_v1/v0.
|
61
|
+
documentation_uri: https://googleapis.dev/ruby/google-apis-composer_v1/v0.13.0
|
62
62
|
source_code_uri: https://github.com/googleapis/google-api-ruby-client/tree/master/generated/google-apis-composer_v1
|
63
63
|
post_install_message:
|
64
64
|
rdoc_options: []
|