google-apis-composer_v1beta1 0.3.0 → 0.8.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: 38fb7e9fd95e84717329476656a92bab2079c59433475c29f41f4b82584afa28
|
4
|
+
data.tar.gz: 6f9b0d594acb019854731dfba289b3cac5b1195ade9a662a78b493dbc06817f0
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: b480a389fa57282fc77834bc9ca93a48f4504ca55f5997bfb99a089f457d9fcbf7f48edfaef24a13886c41b0ecff60cbb351407ece4c53481f3a786f7845b8a8
|
7
|
+
data.tar.gz: cd5bc035dc1721605fad4057547f80512476f2dbc55f5d5899fe520a129e88842b5f65e977f90ce38b0ed03996eb30de153feb60d8261710f9427ff00138ee1c
|
data/CHANGELOG.md
CHANGED
@@ -1,5 +1,26 @@
|
|
1
1
|
# Release history for google-apis-composer_v1beta1
|
2
2
|
|
3
|
+
### v0.8.0 (2021-06-29)
|
4
|
+
|
5
|
+
* Regenerated using generator version 0.4.0
|
6
|
+
|
7
|
+
### v0.7.0 (2021-06-24)
|
8
|
+
|
9
|
+
* Unspecified changes
|
10
|
+
|
11
|
+
### v0.6.0 (2021-06-11)
|
12
|
+
|
13
|
+
* Regenerated from discovery document revision 20210601
|
14
|
+
* Regenerated using generator version 0.3.0
|
15
|
+
|
16
|
+
### v0.5.0 (2021-05-19)
|
17
|
+
|
18
|
+
* Unspecified changes
|
19
|
+
|
20
|
+
### v0.4.0 (2021-04-28)
|
21
|
+
|
22
|
+
* Regenerated from discovery document revision 20210421
|
23
|
+
|
3
24
|
### v0.3.0 (2021-03-27)
|
4
25
|
|
5
26
|
* Regenerated from discovery document revision 20210319
|
@@ -51,6 +51,70 @@ module Google
|
|
51
51
|
end
|
52
52
|
end
|
53
53
|
|
54
|
+
# Request to check whether image upgrade will succeed.
|
55
|
+
class CheckUpgradeRequest
|
56
|
+
include Google::Apis::Core::Hashable
|
57
|
+
|
58
|
+
# The version of the software running in the environment. This encapsulates both
|
59
|
+
# the version of Cloud Composer functionality and the version of Apache Airflow.
|
60
|
+
# It must match the regular expression `composer-([0-9]+\.[0-9]+\.[0-9]+|latest)-
|
61
|
+
# airflow-[0-9]+\.[0-9]+(\.[0-9]+.*)?`. When used as input, the server also
|
62
|
+
# checks if the provided version is supported and denies the request for an
|
63
|
+
# unsupported version. The Cloud Composer portion of the version is a [semantic
|
64
|
+
# version](https://semver.org) or `latest`. When the patch version is omitted,
|
65
|
+
# the current Cloud Composer patch version is selected. When `latest` is
|
66
|
+
# provided instead of an explicit version number, the server replaces `latest`
|
67
|
+
# with the current Cloud Composer version and stores that version number in the
|
68
|
+
# same field. The portion of the image version that follows `airflow-` is an
|
69
|
+
# official Apache Airflow repository [release name](https://github.com/apache/
|
70
|
+
# incubator-airflow/releases). See also [Version List] (/composer/docs/concepts/
|
71
|
+
# versioning/composer-versions).
|
72
|
+
# Corresponds to the JSON property `imageVersion`
|
73
|
+
# @return [String]
|
74
|
+
attr_accessor :image_version
|
75
|
+
|
76
|
+
def initialize(**args)
|
77
|
+
update!(**args)
|
78
|
+
end
|
79
|
+
|
80
|
+
# Update properties of this object
|
81
|
+
def update!(**args)
|
82
|
+
@image_version = args[:image_version] if args.key?(:image_version)
|
83
|
+
end
|
84
|
+
end
|
85
|
+
|
86
|
+
# Message containing information about the result of an upgrade check operation.
|
87
|
+
class CheckUpgradeResponse
|
88
|
+
include Google::Apis::Core::Hashable
|
89
|
+
|
90
|
+
# Output only. Url for a docker build log of an upgraded image.
|
91
|
+
# Corresponds to the JSON property `buildLogUri`
|
92
|
+
# @return [String]
|
93
|
+
attr_accessor :build_log_uri
|
94
|
+
|
95
|
+
# Output only. Whether build has succeeded or failed on modules conflicts.
|
96
|
+
# Corresponds to the JSON property `containsPypiModulesConflict`
|
97
|
+
# @return [String]
|
98
|
+
attr_accessor :contains_pypi_modules_conflict
|
99
|
+
|
100
|
+
# Output only. Extract from a docker image build log containing information
|
101
|
+
# about pypi modules conflicts.
|
102
|
+
# Corresponds to the JSON property `pypiConflictBuildLogExtract`
|
103
|
+
# @return [String]
|
104
|
+
attr_accessor :pypi_conflict_build_log_extract
|
105
|
+
|
106
|
+
def initialize(**args)
|
107
|
+
update!(**args)
|
108
|
+
end
|
109
|
+
|
110
|
+
# Update properties of this object
|
111
|
+
def update!(**args)
|
112
|
+
@build_log_uri = args[:build_log_uri] if args.key?(:build_log_uri)
|
113
|
+
@contains_pypi_modules_conflict = args[:contains_pypi_modules_conflict] if args.key?(:contains_pypi_modules_conflict)
|
114
|
+
@pypi_conflict_build_log_extract = args[:pypi_conflict_build_log_extract] if args.key?(:pypi_conflict_build_log_extract)
|
115
|
+
end
|
116
|
+
end
|
117
|
+
|
54
118
|
# The configuration of Cloud SQL instance that is used by the Apache Airflow
|
55
119
|
# software.
|
56
120
|
class DatabaseConfig
|
@@ -131,7 +195,7 @@ module Google
|
|
131
195
|
end
|
132
196
|
end
|
133
197
|
|
134
|
-
# The encryption options for the Composer environment and its dependencies.
|
198
|
+
# The encryption options for the Cloud Composer environment and its dependencies.
|
135
199
|
class EncryptionConfig
|
136
200
|
include Google::Apis::Core::Hashable
|
137
201
|
|
@@ -240,7 +304,7 @@ module Google
|
|
240
304
|
# @return [Google::Apis::ComposerV1beta1::DatabaseConfig]
|
241
305
|
attr_accessor :database_config
|
242
306
|
|
243
|
-
# The encryption options for the Composer environment and its dependencies.
|
307
|
+
# The encryption options for the Cloud Composer environment and its dependencies.
|
244
308
|
# Corresponds to the JSON property `encryptionConfig`
|
245
309
|
# @return [Google::Apis::ComposerV1beta1::EncryptionConfig]
|
246
310
|
attr_accessor :encryption_config
|
@@ -634,9 +698,9 @@ module Google
|
|
634
698
|
# @return [Array<String>]
|
635
699
|
attr_accessor :oauth_scopes
|
636
700
|
|
637
|
-
# Optional. The Google Cloud Platform Service Account to be used by the
|
638
|
-
# If a service account is not specified, the "default" Compute Engine
|
639
|
-
# account is used. Cannot be updated.
|
701
|
+
# Optional. The Google Cloud Platform Service Account to be used by the
|
702
|
+
# workloads. If a service account is not specified, the "default" Compute Engine
|
703
|
+
# service account is used. Cannot be updated .
|
640
704
|
# Corresponds to the JSON property `serviceAccount`
|
641
705
|
# @return [String]
|
642
706
|
attr_accessor :service_account
|
@@ -843,7 +907,7 @@ module Google
|
|
843
907
|
|
844
908
|
# Optional. If `true`, a Private IP Cloud Composer environment is created. If
|
845
909
|
# this field is set to true, `IPAllocationPolicy.use_ip_aliases` must be set to
|
846
|
-
# true.
|
910
|
+
# true .
|
847
911
|
# Corresponds to the JSON property `enablePrivateEnvironment`
|
848
912
|
# @return [Boolean]
|
849
913
|
attr_accessor :enable_private_environment
|
@@ -955,7 +1019,7 @@ module Google
|
|
955
1019
|
|
956
1020
|
# Optional. The major version of Python used to run the Apache Airflow scheduler,
|
957
1021
|
# worker, and webserver processes. Can be set to '2' or '3'. If not specified,
|
958
|
-
# the default is '
|
1022
|
+
# the default is '3'. Cannot be updated.
|
959
1023
|
# Corresponds to the JSON property `pythonVersion`
|
960
1024
|
# @return [String]
|
961
1025
|
attr_accessor :python_version
|
@@ -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.8.0"
|
20
20
|
|
21
21
|
# Version of the code generator used to generate this client
|
22
|
-
GENERATOR_VERSION = "0.
|
22
|
+
GENERATOR_VERSION = "0.4.0"
|
23
23
|
|
24
24
|
# Revision of the discovery document this client was generated from
|
25
|
-
REVISION = "
|
25
|
+
REVISION = "20210601"
|
26
26
|
end
|
27
27
|
end
|
28
28
|
end
|
@@ -28,6 +28,18 @@ module Google
|
|
28
28
|
include Google::Apis::Core::JsonObjectSupport
|
29
29
|
end
|
30
30
|
|
31
|
+
class CheckUpgradeRequest
|
32
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
33
|
+
|
34
|
+
include Google::Apis::Core::JsonObjectSupport
|
35
|
+
end
|
36
|
+
|
37
|
+
class CheckUpgradeResponse
|
38
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
39
|
+
|
40
|
+
include Google::Apis::Core::JsonObjectSupport
|
41
|
+
end
|
42
|
+
|
31
43
|
class DatabaseConfig
|
32
44
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
33
45
|
|
@@ -168,6 +180,22 @@ module Google
|
|
168
180
|
end
|
169
181
|
end
|
170
182
|
|
183
|
+
class CheckUpgradeRequest
|
184
|
+
# @private
|
185
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
186
|
+
property :image_version, as: 'imageVersion'
|
187
|
+
end
|
188
|
+
end
|
189
|
+
|
190
|
+
class CheckUpgradeResponse
|
191
|
+
# @private
|
192
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
193
|
+
property :build_log_uri, as: 'buildLogUri'
|
194
|
+
property :contains_pypi_modules_conflict, as: 'containsPypiModulesConflict'
|
195
|
+
property :pypi_conflict_build_log_extract, as: 'pypiConflictBuildLogExtract'
|
196
|
+
end
|
197
|
+
end
|
198
|
+
|
171
199
|
class DatabaseConfig
|
172
200
|
# @private
|
173
201
|
class Representation < Google::Apis::Core::JsonRepresentation
|
@@ -49,6 +49,41 @@ module Google
|
|
49
49
|
@batch_path = 'batch'
|
50
50
|
end
|
51
51
|
|
52
|
+
# Check if an upgrade operation on the environment will succeed. In case of
|
53
|
+
# problems detailed info can be found in the returned Operation.
|
54
|
+
# @param [String] environment
|
55
|
+
# The resource name of the environment to check upgrade for, in the form: "
|
56
|
+
# projects/`projectId`/locations/`locationId`/environments/`environmentId`"
|
57
|
+
# @param [Google::Apis::ComposerV1beta1::CheckUpgradeRequest] check_upgrade_request_object
|
58
|
+
# @param [String] fields
|
59
|
+
# Selector specifying which fields to include in a partial response.
|
60
|
+
# @param [String] quota_user
|
61
|
+
# Available to use for quota purposes for server-side applications. Can be any
|
62
|
+
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
63
|
+
# @param [Google::Apis::RequestOptions] options
|
64
|
+
# Request-specific options
|
65
|
+
#
|
66
|
+
# @yield [result, err] Result & error if block supplied
|
67
|
+
# @yieldparam result [Google::Apis::ComposerV1beta1::Operation] parsed result object
|
68
|
+
# @yieldparam err [StandardError] error object if request failed
|
69
|
+
#
|
70
|
+
# @return [Google::Apis::ComposerV1beta1::Operation]
|
71
|
+
#
|
72
|
+
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
73
|
+
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
74
|
+
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
75
|
+
def check_environment_upgrade(environment, check_upgrade_request_object = nil, fields: nil, quota_user: nil, options: nil, &block)
|
76
|
+
command = make_simple_command(:post, 'v1beta1/{+environment}:checkUpgrade', options)
|
77
|
+
command.request_representation = Google::Apis::ComposerV1beta1::CheckUpgradeRequest::Representation
|
78
|
+
command.request_object = check_upgrade_request_object
|
79
|
+
command.response_representation = Google::Apis::ComposerV1beta1::Operation::Representation
|
80
|
+
command.response_class = Google::Apis::ComposerV1beta1::Operation
|
81
|
+
command.params['environment'] = environment unless environment.nil?
|
82
|
+
command.query['fields'] = fields unless fields.nil?
|
83
|
+
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
84
|
+
execute_or_queue_command(command, &block)
|
85
|
+
end
|
86
|
+
|
52
87
|
# Create a new environment.
|
53
88
|
# @param [String] parent
|
54
89
|
# The parent must be of the form "projects/`projectId`/locations/`locationId`".
|
metadata
CHANGED
@@ -1,29 +1,35 @@
|
|
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.8.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-07-05 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: google-apis-core
|
15
15
|
requirement: !ruby/object:Gem::Requirement
|
16
16
|
requirements:
|
17
|
-
- - "
|
17
|
+
- - ">="
|
18
18
|
- !ruby/object:Gem::Version
|
19
|
-
version: '0.
|
19
|
+
version: '0.4'
|
20
|
+
- - "<"
|
21
|
+
- !ruby/object:Gem::Version
|
22
|
+
version: 2.a
|
20
23
|
type: :runtime
|
21
24
|
prerelease: false
|
22
25
|
version_requirements: !ruby/object:Gem::Requirement
|
23
26
|
requirements:
|
24
|
-
- - "
|
27
|
+
- - ">="
|
28
|
+
- !ruby/object:Gem::Version
|
29
|
+
version: '0.4'
|
30
|
+
- - "<"
|
25
31
|
- !ruby/object:Gem::Version
|
26
|
-
version:
|
32
|
+
version: 2.a
|
27
33
|
description: This is the simple REST client for Cloud Composer API V1beta1. Simple
|
28
34
|
REST clients are Ruby client libraries that provide access to Google services via
|
29
35
|
their HTTP REST API endpoints. These libraries are generated and updated automatically
|
@@ -52,7 +58,7 @@ licenses:
|
|
52
58
|
metadata:
|
53
59
|
bug_tracker_uri: https://github.com/googleapis/google-api-ruby-client/issues
|
54
60
|
changelog_uri: https://github.com/googleapis/google-api-ruby-client/tree/master/generated/google-apis-composer_v1beta1/CHANGELOG.md
|
55
|
-
documentation_uri: https://googleapis.dev/ruby/google-apis-composer_v1beta1/v0.
|
61
|
+
documentation_uri: https://googleapis.dev/ruby/google-apis-composer_v1beta1/v0.8.0
|
56
62
|
source_code_uri: https://github.com/googleapis/google-api-ruby-client/tree/master/generated/google-apis-composer_v1beta1
|
57
63
|
post_install_message:
|
58
64
|
rdoc_options: []
|
@@ -69,7 +75,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
69
75
|
- !ruby/object:Gem::Version
|
70
76
|
version: '0'
|
71
77
|
requirements: []
|
72
|
-
rubygems_version: 3.2.
|
78
|
+
rubygems_version: 3.2.17
|
73
79
|
signing_key:
|
74
80
|
specification_version: 4
|
75
81
|
summary: Simple REST client for Cloud Composer API V1beta1
|