google-apis-composer_v1 0.54.0 → 0.56.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: bbfcf36399a76eb3041cfde24d2ba454d9994db3ebf6e3a4ced38d9733f8fea8
|
4
|
+
data.tar.gz: 62eab582fb214aaf48730e57d65da7461c6b90e82cde1e7489d6ba5d475830c1
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: '039f902e38c508efc599ac887847225ac5a02c2d643bcd5cb2efd0bbefe8882e69977f35a1874a599eca038973dd86130e8bc51fbc4d8b3691d84e0b3e866390'
|
7
|
+
data.tar.gz: 674ee8a1378c6180dfe5a395cffd228344f4138057036f5aa55cf73db70eac2550b84cb26f400e9c67d1ef7b2b79dab21fabb51af96c5a7873b74d2e9d179e23
|
data/CHANGELOG.md
CHANGED
@@ -1,5 +1,14 @@
|
|
1
1
|
# Release history for google-apis-composer_v1
|
2
2
|
|
3
|
+
### v0.56.0 (2025-10-05)
|
4
|
+
|
5
|
+
* Regenerated from discovery document revision 20250928
|
6
|
+
* Regenerated using generator version 0.18.0
|
7
|
+
|
8
|
+
### v0.55.0 (2025-05-21)
|
9
|
+
|
10
|
+
* Regenerated from discovery document revision 20250513
|
11
|
+
|
3
12
|
### v0.54.0 (2025-05-04)
|
4
13
|
|
5
14
|
* Regenerated using generator version 0.17.0
|
@@ -121,6 +121,12 @@ module Google
|
|
121
121
|
# @return [String]
|
122
122
|
attr_accessor :build_log_uri
|
123
123
|
|
124
|
+
# Output only. Contains information about environment configuration that is
|
125
|
+
# incompatible with the new image version, except for pypi modules conflicts.
|
126
|
+
# Corresponds to the JSON property `configConflicts`
|
127
|
+
# @return [Array<Google::Apis::ComposerV1::ConfigConflict>]
|
128
|
+
attr_accessor :config_conflicts
|
129
|
+
|
124
130
|
# Output only. Whether build has succeeded or failed on modules conflicts.
|
125
131
|
# Corresponds to the JSON property `containsPypiModulesConflict`
|
126
132
|
# @return [String]
|
@@ -150,6 +156,7 @@ module Google
|
|
150
156
|
# Update properties of this object
|
151
157
|
def update!(**args)
|
152
158
|
@build_log_uri = args[:build_log_uri] if args.key?(:build_log_uri)
|
159
|
+
@config_conflicts = args[:config_conflicts] if args.key?(:config_conflicts)
|
153
160
|
@contains_pypi_modules_conflict = args[:contains_pypi_modules_conflict] if args.key?(:contains_pypi_modules_conflict)
|
154
161
|
@image_version = args[:image_version] if args.key?(:image_version)
|
155
162
|
@pypi_conflict_build_log_extract = args[:pypi_conflict_build_log_extract] if args.key?(:pypi_conflict_build_log_extract)
|
@@ -264,6 +271,31 @@ module Google
|
|
264
271
|
end
|
265
272
|
end
|
266
273
|
|
274
|
+
# Environment configuration conflict.
|
275
|
+
class ConfigConflict
|
276
|
+
include Google::Apis::Core::Hashable
|
277
|
+
|
278
|
+
# Conflict message.
|
279
|
+
# Corresponds to the JSON property `message`
|
280
|
+
# @return [String]
|
281
|
+
attr_accessor :message
|
282
|
+
|
283
|
+
# Conflict type. It can be blocking or non-blocking.
|
284
|
+
# Corresponds to the JSON property `type`
|
285
|
+
# @return [String]
|
286
|
+
attr_accessor :type
|
287
|
+
|
288
|
+
def initialize(**args)
|
289
|
+
update!(**args)
|
290
|
+
end
|
291
|
+
|
292
|
+
# Update properties of this object
|
293
|
+
def update!(**args)
|
294
|
+
@message = args[:message] if args.key?(:message)
|
295
|
+
@type = args[:type] if args.key?(:type)
|
296
|
+
end
|
297
|
+
end
|
298
|
+
|
267
299
|
# Configuration for resources used by Airflow DAG processors. This field is
|
268
300
|
# supported for Cloud Composer environments in versions composer-3-airflow-*.*.*-
|
269
301
|
# build.* and newer.
|
@@ -1059,6 +1091,13 @@ module Google
|
|
1059
1091
|
# @return [Array<Google::Apis::ComposerV1::Operation>]
|
1060
1092
|
attr_accessor :operations
|
1061
1093
|
|
1094
|
+
# Unordered list. Unreachable resources. Populated when the request sets `
|
1095
|
+
# ListOperationsRequest.return_partial_success` and reads across collections e.g.
|
1096
|
+
# when attempting to list all resources across all supported locations.
|
1097
|
+
# Corresponds to the JSON property `unreachable`
|
1098
|
+
# @return [Array<String>]
|
1099
|
+
attr_accessor :unreachable
|
1100
|
+
|
1062
1101
|
def initialize(**args)
|
1063
1102
|
update!(**args)
|
1064
1103
|
end
|
@@ -1067,6 +1106,7 @@ module Google
|
|
1067
1106
|
def update!(**args)
|
1068
1107
|
@next_page_token = args[:next_page_token] if args.key?(:next_page_token)
|
1069
1108
|
@operations = args[:operations] if args.key?(:operations)
|
1109
|
+
@unreachable = args[:unreachable] if args.key?(:unreachable)
|
1070
1110
|
end
|
1071
1111
|
end
|
1072
1112
|
|
@@ -1803,6 +1843,19 @@ module Google
|
|
1803
1843
|
end
|
1804
1844
|
end
|
1805
1845
|
|
1846
|
+
# Restart Airflow web server.
|
1847
|
+
class RestartWebServerRequest
|
1848
|
+
include Google::Apis::Core::Hashable
|
1849
|
+
|
1850
|
+
def initialize(**args)
|
1851
|
+
update!(**args)
|
1852
|
+
end
|
1853
|
+
|
1854
|
+
# Update properties of this object
|
1855
|
+
def update!(**args)
|
1856
|
+
end
|
1857
|
+
end
|
1858
|
+
|
1806
1859
|
# Request to create a snapshot of a Cloud Composer environment.
|
1807
1860
|
class SaveSnapshotRequest
|
1808
1861
|
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.56.0"
|
20
20
|
|
21
21
|
# Version of the code generator used to generate this client
|
22
|
-
GENERATOR_VERSION = "0.
|
22
|
+
GENERATOR_VERSION = "0.18.0"
|
23
23
|
|
24
24
|
# Revision of the discovery document this client was generated from
|
25
|
-
REVISION = "
|
25
|
+
REVISION = "20250928"
|
26
26
|
end
|
27
27
|
end
|
28
28
|
end
|
@@ -70,6 +70,12 @@ module Google
|
|
70
70
|
include Google::Apis::Core::JsonObjectSupport
|
71
71
|
end
|
72
72
|
|
73
|
+
class ConfigConflict
|
74
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
75
|
+
|
76
|
+
include Google::Apis::Core::JsonObjectSupport
|
77
|
+
end
|
78
|
+
|
73
79
|
class DagProcessorResource
|
74
80
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
75
81
|
|
@@ -286,6 +292,12 @@ module Google
|
|
286
292
|
include Google::Apis::Core::JsonObjectSupport
|
287
293
|
end
|
288
294
|
|
295
|
+
class RestartWebServerRequest
|
296
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
297
|
+
|
298
|
+
include Google::Apis::Core::JsonObjectSupport
|
299
|
+
end
|
300
|
+
|
289
301
|
class SaveSnapshotRequest
|
290
302
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
291
303
|
|
@@ -421,6 +433,8 @@ module Google
|
|
421
433
|
# @private
|
422
434
|
class Representation < Google::Apis::Core::JsonRepresentation
|
423
435
|
property :build_log_uri, as: 'buildLogUri'
|
436
|
+
collection :config_conflicts, as: 'configConflicts', class: Google::Apis::ComposerV1::ConfigConflict, decorator: Google::Apis::ComposerV1::ConfigConflict::Representation
|
437
|
+
|
424
438
|
property :contains_pypi_modules_conflict, as: 'containsPypiModulesConflict'
|
425
439
|
property :image_version, as: 'imageVersion'
|
426
440
|
property :pypi_conflict_build_log_extract, as: 'pypiConflictBuildLogExtract'
|
@@ -462,6 +476,14 @@ module Google
|
|
462
476
|
end
|
463
477
|
end
|
464
478
|
|
479
|
+
class ConfigConflict
|
480
|
+
# @private
|
481
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
482
|
+
property :message, as: 'message'
|
483
|
+
property :type, as: 'type'
|
484
|
+
end
|
485
|
+
end
|
486
|
+
|
465
487
|
class DagProcessorResource
|
466
488
|
# @private
|
467
489
|
class Representation < Google::Apis::Core::JsonRepresentation
|
@@ -671,6 +693,7 @@ module Google
|
|
671
693
|
property :next_page_token, as: 'nextPageToken'
|
672
694
|
collection :operations, as: 'operations', class: Google::Apis::ComposerV1::Operation, decorator: Google::Apis::ComposerV1::Operation::Representation
|
673
695
|
|
696
|
+
collection :unreachable, as: 'unreachable'
|
674
697
|
end
|
675
698
|
end
|
676
699
|
|
@@ -843,6 +866,12 @@ module Google
|
|
843
866
|
end
|
844
867
|
end
|
845
868
|
|
869
|
+
class RestartWebServerRequest
|
870
|
+
# @private
|
871
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
872
|
+
end
|
873
|
+
end
|
874
|
+
|
846
875
|
class SaveSnapshotRequest
|
847
876
|
# @private
|
848
877
|
class Representation < Google::Apis::Core::JsonRepresentation
|
@@ -493,6 +493,41 @@ module Google
|
|
493
493
|
execute_or_queue_command(command, &block)
|
494
494
|
end
|
495
495
|
|
496
|
+
# Restart Airflow web server.
|
497
|
+
# @param [String] name
|
498
|
+
# Required. The resource name of the environment to restart the web server for,
|
499
|
+
# in the form: "projects/`projectId`/locations/`locationId`/environments/`
|
500
|
+
# environmentId`"
|
501
|
+
# @param [Google::Apis::ComposerV1::RestartWebServerRequest] restart_web_server_request_object
|
502
|
+
# @param [String] fields
|
503
|
+
# Selector specifying which fields to include in a partial response.
|
504
|
+
# @param [String] quota_user
|
505
|
+
# Available to use for quota purposes for server-side applications. Can be any
|
506
|
+
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
507
|
+
# @param [Google::Apis::RequestOptions] options
|
508
|
+
# Request-specific options
|
509
|
+
#
|
510
|
+
# @yield [result, err] Result & error if block supplied
|
511
|
+
# @yieldparam result [Google::Apis::ComposerV1::Operation] parsed result object
|
512
|
+
# @yieldparam err [StandardError] error object if request failed
|
513
|
+
#
|
514
|
+
# @return [Google::Apis::ComposerV1::Operation]
|
515
|
+
#
|
516
|
+
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
517
|
+
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
518
|
+
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
519
|
+
def restart_environment_web_server(name, restart_web_server_request_object = nil, fields: nil, quota_user: nil, options: nil, &block)
|
520
|
+
command = make_simple_command(:post, 'v1/{+name}:restartWebServer', options)
|
521
|
+
command.request_representation = Google::Apis::ComposerV1::RestartWebServerRequest::Representation
|
522
|
+
command.request_object = restart_web_server_request_object
|
523
|
+
command.response_representation = Google::Apis::ComposerV1::Operation::Representation
|
524
|
+
command.response_class = Google::Apis::ComposerV1::Operation
|
525
|
+
command.params['name'] = name unless name.nil?
|
526
|
+
command.query['fields'] = fields unless fields.nil?
|
527
|
+
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
528
|
+
execute_or_queue_command(command, &block)
|
529
|
+
end
|
530
|
+
|
496
531
|
# Creates a snapshots of a Cloud Composer environment. As a result of this
|
497
532
|
# operation, snapshot of environment's state is stored in a location specified
|
498
533
|
# in the SaveSnapshotRequest.
|
@@ -1077,6 +1112,13 @@ module Google
|
|
1077
1112
|
# The standard list page size.
|
1078
1113
|
# @param [String] page_token
|
1079
1114
|
# The standard list page token.
|
1115
|
+
# @param [Boolean] return_partial_success
|
1116
|
+
# When set to `true`, operations that are reachable are returned as normal, and
|
1117
|
+
# those that are unreachable are returned in the [ListOperationsResponse.
|
1118
|
+
# unreachable] field. This can only be `true` when reading across collections e.
|
1119
|
+
# g. when `parent` is set to `"projects/example/locations/-"`. This field is not
|
1120
|
+
# by default supported and will result in an `UNIMPLEMENTED` error if set unless
|
1121
|
+
# explicitly documented otherwise in service or product specific documentation.
|
1080
1122
|
# @param [String] fields
|
1081
1123
|
# Selector specifying which fields to include in a partial response.
|
1082
1124
|
# @param [String] quota_user
|
@@ -1094,7 +1136,7 @@ module Google
|
|
1094
1136
|
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
1095
1137
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
1096
1138
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
1097
|
-
def list_project_location_operations(name, filter: nil, page_size: nil, page_token: nil, fields: nil, quota_user: nil, options: nil, &block)
|
1139
|
+
def list_project_location_operations(name, filter: nil, page_size: nil, page_token: nil, return_partial_success: nil, fields: nil, quota_user: nil, options: nil, &block)
|
1098
1140
|
command = make_simple_command(:get, 'v1/{+name}/operations', options)
|
1099
1141
|
command.response_representation = Google::Apis::ComposerV1::ListOperationsResponse::Representation
|
1100
1142
|
command.response_class = Google::Apis::ComposerV1::ListOperationsResponse
|
@@ -1102,6 +1144,7 @@ module Google
|
|
1102
1144
|
command.query['filter'] = filter unless filter.nil?
|
1103
1145
|
command.query['pageSize'] = page_size unless page_size.nil?
|
1104
1146
|
command.query['pageToken'] = page_token unless page_token.nil?
|
1147
|
+
command.query['returnPartialSuccess'] = return_partial_success unless return_partial_success.nil?
|
1105
1148
|
command.query['fields'] = fields unless fields.nil?
|
1106
1149
|
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
1107
1150
|
execute_or_queue_command(command, &block)
|
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
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.56.0
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Google LLC
|
@@ -57,7 +57,7 @@ licenses:
|
|
57
57
|
metadata:
|
58
58
|
bug_tracker_uri: https://github.com/googleapis/google-api-ruby-client/issues
|
59
59
|
changelog_uri: https://github.com/googleapis/google-api-ruby-client/tree/main/generated/google-apis-composer_v1/CHANGELOG.md
|
60
|
-
documentation_uri: https://googleapis.dev/ruby/google-apis-composer_v1/v0.
|
60
|
+
documentation_uri: https://googleapis.dev/ruby/google-apis-composer_v1/v0.56.0
|
61
61
|
source_code_uri: https://github.com/googleapis/google-api-ruby-client/tree/main/generated/google-apis-composer_v1
|
62
62
|
rdoc_options: []
|
63
63
|
require_paths:
|
@@ -73,7 +73,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
73
73
|
- !ruby/object:Gem::Version
|
74
74
|
version: '0'
|
75
75
|
requirements: []
|
76
|
-
rubygems_version: 3.6.
|
76
|
+
rubygems_version: 3.6.9
|
77
77
|
specification_version: 4
|
78
78
|
summary: Simple REST client for Cloud Composer API V1
|
79
79
|
test_files: []
|