google-apis-composer_v1beta1 0.62.0 → 0.64.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: 98f5e2bfb72f8653b4fa1ec5126e52fff7998542e1f62ab61f0ea915ef06980a
4
- data.tar.gz: 520e16afb42e92333e763a087394486c3b9caa9cab64e35604c96a5c85e6ef42
3
+ metadata.gz: 286370d4218602599734049ec1ed8171e07a381f16c4cdbeecbfaee71a157bc6
4
+ data.tar.gz: 5623b67ccdae45547a1e87b1503550b83fda7e203016bd32e017844abf01ab28
5
5
  SHA512:
6
- metadata.gz: dd6b2f80daebb46d10386a841e33a172954dd5c6a0b3d99563dcc09dc5728c92b6fb75f12728aa73db890aab09333f05a3e49d42e734de53b5c51e9658a359e8
7
- data.tar.gz: 1458386624cbf7f07bda0fc3b28d5891be82493498cdf5cf9bb7a7c8f6d3b928d7dfd33b3a0e77d4644d1836d5ebee5f9433cb2c637efc3e03170855ead81c43
6
+ metadata.gz: 13ca209e224ab4919e5b378effaf64d6c39a2492decd2cd80862661b52bc875a1f165cf185f0da20092833bd5e7fa27ab0b689e33741034452e499c479572f78
7
+ data.tar.gz: 43e77aa7a0ae8d1700fa346d757262e8ce67790e7431d743d6e05f25175e03a15a6bffdea845d608fd0f038443d803c9265c981b2a05b1d383149f1e994260ac
data/CHANGELOG.md CHANGED
@@ -1,5 +1,14 @@
1
1
  # Release history for google-apis-composer_v1beta1
2
2
 
3
+ ### v0.64.0 (2026-10-21)
4
+
5
+ * Regenerated from discovery document revision 20261011
6
+ * Regenerated using generator version 0.19.1
7
+
8
+ ### v0.63.0 (2026-09-06)
9
+
10
+ * Regenerated from discovery document revision 20260825
11
+
3
12
  ### v0.62.0 (2026-07-12)
4
13
 
5
14
  * Regenerated from discovery document revision 20260622
@@ -533,6 +533,12 @@ module Google
533
533
  # @return [Hash<String,String>]
534
534
  attr_accessor :labels
535
535
 
536
+ # Optional. Selects the environment mode that determines what settings are
537
+ # customizable and what features are available in the environment.
538
+ # Corresponds to the JSON property `mode`
539
+ # @return [String]
540
+ attr_accessor :mode
541
+
536
542
  # Identifier. The resource name of the environment, in the form: "projects/`
537
543
  # projectId`/locations/`locationId`/environments/`environmentId`" EnvironmentId
538
544
  # must start with a lowercase letter followed by up to 63 lowercase letters,
@@ -583,6 +589,7 @@ module Google
583
589
  @config = args[:config] if args.key?(:config)
584
590
  @create_time = args[:create_time] if args.key?(:create_time)
585
591
  @labels = args[:labels] if args.key?(:labels)
592
+ @mode = args[:mode] if args.key?(:mode)
586
593
  @name = args[:name] if args.key?(:name)
587
594
  @satisfies_pzi = args[:satisfies_pzi] if args.key?(:satisfies_pzi)
588
595
  @satisfies_pzs = args[:satisfies_pzs] if args.key?(:satisfies_pzs)
@@ -881,6 +888,19 @@ module Google
881
888
  end
882
889
  end
883
890
 
891
+ # Request to hibernate a Composer environment.
892
+ class HibernateEnvironmentRequest
893
+ include Google::Apis::Core::Hashable
894
+
895
+ def initialize(**args)
896
+ update!(**args)
897
+ end
898
+
899
+ # Update properties of this object
900
+ def update!(**args)
901
+ end
902
+ end
903
+
884
904
  # Configuration for controlling how IPs are allocated in the GKE cluster.
885
905
  class IpAllocationPolicy
886
906
  include Google::Apis::Core::Hashable
@@ -1014,6 +1034,31 @@ module Google
1014
1034
  end
1015
1035
  end
1016
1036
 
1037
+ # The image version an environment can be rolled back to.
1038
+ class ImageVersionRollbackTarget
1039
+ include Google::Apis::Core::Hashable
1040
+
1041
+ # Output only. The image version the environment can be rolled back to.
1042
+ # Corresponds to the JSON property `imageVersion`
1043
+ # @return [String]
1044
+ attr_accessor :image_version
1045
+
1046
+ # Output only. The last time when the environment was running this image version.
1047
+ # Corresponds to the JSON property `lastActiveTime`
1048
+ # @return [String]
1049
+ attr_accessor :last_active_time
1050
+
1051
+ def initialize(**args)
1052
+ update!(**args)
1053
+ end
1054
+
1055
+ # Update properties of this object
1056
+ def update!(**args)
1057
+ @image_version = args[:image_version] if args.key?(:image_version)
1058
+ @last_active_time = args[:last_active_time] if args.key?(:last_active_time)
1059
+ end
1060
+ end
1061
+
1017
1062
  # Contains information about a single line from logs.
1018
1063
  class Line
1019
1064
  include Google::Apis::Core::Hashable
@@ -1896,6 +1941,19 @@ module Google
1896
1941
  end
1897
1942
  end
1898
1943
 
1944
+ # Request to resume a Composer environment.
1945
+ class ResumeEnvironmentRequest
1946
+ include Google::Apis::Core::Hashable
1947
+
1948
+ def initialize(**args)
1949
+ update!(**args)
1950
+ end
1951
+
1952
+ # Update properties of this object
1953
+ def update!(**args)
1954
+ end
1955
+ end
1956
+
1899
1957
  # Request to create a snapshot of a Cloud Composer environment.
1900
1958
  class SaveSnapshotRequest
1901
1959
  include Google::Apis::Core::Hashable
@@ -2083,6 +2141,14 @@ module Google
2083
2141
  # @return [String]
2084
2142
  attr_accessor :image_version
2085
2143
 
2144
+ # Output only. The list of image versions the environment can be rolled back to,
2145
+ # sorted by last_active_time in descending order (most recent first). This field
2146
+ # is supported for Cloud Composer environments in versions composer-3-airflow-*.*
2147
+ # .*-build.* and newer.
2148
+ # Corresponds to the JSON property `imageVersionRollbackTargets`
2149
+ # @return [Array<Google::Apis::ComposerV1beta1::ImageVersionRollbackTarget>]
2150
+ attr_accessor :image_version_rollback_targets
2151
+
2086
2152
  # Optional. Custom Python Package Index (PyPI) packages to be installed in the
2087
2153
  # environment. Keys refer to the lowercase package name such as "numpy" and
2088
2154
  # values are the lowercase extras and version specifier such as "==1.12.0", "[
@@ -2125,6 +2191,7 @@ module Google
2125
2191
  @cloud_data_lineage_integration = args[:cloud_data_lineage_integration] if args.key?(:cloud_data_lineage_integration)
2126
2192
  @env_variables = args[:env_variables] if args.key?(:env_variables)
2127
2193
  @image_version = args[:image_version] if args.key?(:image_version)
2194
+ @image_version_rollback_targets = args[:image_version_rollback_targets] if args.key?(:image_version_rollback_targets)
2128
2195
  @pypi_packages = args[:pypi_packages] if args.key?(:pypi_packages)
2129
2196
  @python_version = args[:python_version] if args.key?(:python_version)
2130
2197
  @scheduler_count = args[:scheduler_count] if args.key?(:scheduler_count)
@@ -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.62.0"
19
+ GEM_VERSION = "0.64.0"
20
20
 
21
21
  # Version of the code generator used to generate this client
22
- GENERATOR_VERSION = "0.19.0"
22
+ GENERATOR_VERSION = "0.19.1"
23
23
 
24
24
  # Revision of the discovery document this client was generated from
25
- REVISION = "20260622"
25
+ REVISION = "20261011"
26
26
  end
27
27
  end
28
28
  end
@@ -160,6 +160,12 @@ module Google
160
160
  include Google::Apis::Core::JsonObjectSupport
161
161
  end
162
162
 
163
+ class HibernateEnvironmentRequest
164
+ class Representation < Google::Apis::Core::JsonRepresentation; end
165
+
166
+ include Google::Apis::Core::JsonObjectSupport
167
+ end
168
+
163
169
  class IpAllocationPolicy
164
170
  class Representation < Google::Apis::Core::JsonRepresentation; end
165
171
 
@@ -172,6 +178,12 @@ module Google
172
178
  include Google::Apis::Core::JsonObjectSupport
173
179
  end
174
180
 
181
+ class ImageVersionRollbackTarget
182
+ class Representation < Google::Apis::Core::JsonRepresentation; end
183
+
184
+ include Google::Apis::Core::JsonObjectSupport
185
+ end
186
+
175
187
  class Line
176
188
  class Representation < Google::Apis::Core::JsonRepresentation; end
177
189
 
@@ -298,6 +310,12 @@ module Google
298
310
  include Google::Apis::Core::JsonObjectSupport
299
311
  end
300
312
 
313
+ class ResumeEnvironmentRequest
314
+ class Representation < Google::Apis::Core::JsonRepresentation; end
315
+
316
+ include Google::Apis::Core::JsonObjectSupport
317
+ end
318
+
301
319
  class SaveSnapshotRequest
302
320
  class Representation < Google::Apis::Core::JsonRepresentation; end
303
321
 
@@ -560,6 +578,7 @@ module Google
560
578
 
561
579
  property :create_time, as: 'createTime'
562
580
  hash :labels, as: 'labels'
581
+ property :mode, as: 'mode'
563
582
  property :name, as: 'name'
564
583
  property :satisfies_pzi, as: 'satisfiesPzi'
565
584
  property :satisfies_pzs, as: 'satisfiesPzs'
@@ -644,6 +663,12 @@ module Google
644
663
  end
645
664
  end
646
665
 
666
+ class HibernateEnvironmentRequest
667
+ # @private
668
+ class Representation < Google::Apis::Core::JsonRepresentation
669
+ end
670
+ end
671
+
647
672
  class IpAllocationPolicy
648
673
  # @private
649
674
  class Representation < Google::Apis::Core::JsonRepresentation
@@ -668,6 +693,14 @@ module Google
668
693
  end
669
694
  end
670
695
 
696
+ class ImageVersionRollbackTarget
697
+ # @private
698
+ class Representation < Google::Apis::Core::JsonRepresentation
699
+ property :image_version, as: 'imageVersion'
700
+ property :last_active_time, as: 'lastActiveTime'
701
+ end
702
+ end
703
+
671
704
  class Line
672
705
  # @private
673
706
  class Representation < Google::Apis::Core::JsonRepresentation
@@ -883,6 +916,12 @@ module Google
883
916
  end
884
917
  end
885
918
 
919
+ class ResumeEnvironmentRequest
920
+ # @private
921
+ class Representation < Google::Apis::Core::JsonRepresentation
922
+ end
923
+ end
924
+
886
925
  class SaveSnapshotRequest
887
926
  # @private
888
927
  class Representation < Google::Apis::Core::JsonRepresentation
@@ -926,6 +965,8 @@ module Google
926
965
 
927
966
  hash :env_variables, as: 'envVariables'
928
967
  property :image_version, as: 'imageVersion'
968
+ collection :image_version_rollback_targets, as: 'imageVersionRollbackTargets', class: Google::Apis::ComposerV1beta1::ImageVersionRollbackTarget, decorator: Google::Apis::ComposerV1beta1::ImageVersionRollbackTarget::Representation
969
+
929
970
  hash :pypi_packages, as: 'pypiPackages'
930
971
  property :python_version, as: 'pythonVersion'
931
972
  property :scheduler_count, as: 'schedulerCount'
@@ -280,6 +280,43 @@ module Google
280
280
  execute_or_queue_command(command, &block)
281
281
  end
282
282
 
283
+ # Hibernates (pauses) a running environment. It requests the environment to
284
+ # switch to the HIBERNATED state, keeping its data and minimizing cost, but not
285
+ # running any DAGs. This method is supported for Cloud Composer environments in
286
+ # development mode in versions composer-3-airflow-*.*.*-build.* and newer.
287
+ # @param [String] name
288
+ # Required. The resource name of the environment to hibernate, in the form: "
289
+ # projects/`project`/locations/`location`/environments/`environment`"
290
+ # @param [Google::Apis::ComposerV1beta1::HibernateEnvironmentRequest] hibernate_environment_request_object
291
+ # @param [String] fields
292
+ # Selector specifying which fields to include in a partial response.
293
+ # @param [String] quota_user
294
+ # Available to use for quota purposes for server-side applications. Can be any
295
+ # arbitrary string assigned to a user, but should not exceed 40 characters.
296
+ # @param [Google::Apis::RequestOptions] options
297
+ # Request-specific options
298
+ #
299
+ # @yield [result, err] Result & error if block supplied
300
+ # @yieldparam result [Google::Apis::ComposerV1beta1::Operation] parsed result object
301
+ # @yieldparam err [StandardError] error object if request failed
302
+ #
303
+ # @return [Google::Apis::ComposerV1beta1::Operation]
304
+ #
305
+ # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
306
+ # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
307
+ # @raise [Google::Apis::AuthorizationError] Authorization is required
308
+ def hibernate_environment(name, hibernate_environment_request_object = nil, fields: nil, quota_user: nil, options: nil, &block)
309
+ command = make_simple_command(:post, 'v1beta1/{+name}:hibernate', options)
310
+ command.request_representation = Google::Apis::ComposerV1beta1::HibernateEnvironmentRequest::Representation
311
+ command.request_object = hibernate_environment_request_object
312
+ command.response_representation = Google::Apis::ComposerV1beta1::Operation::Representation
313
+ command.response_class = Google::Apis::ComposerV1beta1::Operation
314
+ command.params['name'] = name unless name.nil?
315
+ command.query['fields'] = fields unless fields.nil?
316
+ command.query['quotaUser'] = quota_user unless quota_user.nil?
317
+ execute_or_queue_command(command, &block)
318
+ end
319
+
283
320
  # List environments.
284
321
  # @param [String] parent
285
322
  # List environments in the given project and location, in the form: "projects/`
@@ -542,6 +579,43 @@ module Google
542
579
  execute_or_queue_command(command, &block)
543
580
  end
544
581
 
582
+ # Resumes (unpauses) a hibernated environment. It requests the environment to
583
+ # switch to the RUNNING state, so that it is ready to use and run DAGs. This
584
+ # method is supported for Cloud Composer environments in development mode in
585
+ # versions composer-3-airflow-*.*.*-build.* and newer.
586
+ # @param [String] name
587
+ # Required. The resource name of the environment to resume, in the form: "
588
+ # projects/`project`/locations/`location`/environments/`environment`"
589
+ # @param [Google::Apis::ComposerV1beta1::ResumeEnvironmentRequest] resume_environment_request_object
590
+ # @param [String] fields
591
+ # Selector specifying which fields to include in a partial response.
592
+ # @param [String] quota_user
593
+ # Available to use for quota purposes for server-side applications. Can be any
594
+ # arbitrary string assigned to a user, but should not exceed 40 characters.
595
+ # @param [Google::Apis::RequestOptions] options
596
+ # Request-specific options
597
+ #
598
+ # @yield [result, err] Result & error if block supplied
599
+ # @yieldparam result [Google::Apis::ComposerV1beta1::Operation] parsed result object
600
+ # @yieldparam err [StandardError] error object if request failed
601
+ #
602
+ # @return [Google::Apis::ComposerV1beta1::Operation]
603
+ #
604
+ # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
605
+ # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
606
+ # @raise [Google::Apis::AuthorizationError] Authorization is required
607
+ def resume_environment(name, resume_environment_request_object = nil, fields: nil, quota_user: nil, options: nil, &block)
608
+ command = make_simple_command(:post, 'v1beta1/{+name}:resume', options)
609
+ command.request_representation = Google::Apis::ComposerV1beta1::ResumeEnvironmentRequest::Representation
610
+ command.request_object = resume_environment_request_object
611
+ command.response_representation = Google::Apis::ComposerV1beta1::Operation::Representation
612
+ command.response_class = Google::Apis::ComposerV1beta1::Operation
613
+ command.params['name'] = name unless name.nil?
614
+ command.query['fields'] = fields unless fields.nil?
615
+ command.query['quotaUser'] = quota_user unless quota_user.nil?
616
+ execute_or_queue_command(command, &block)
617
+ end
618
+
545
619
  # Creates a snapshots of a Cloud Composer environment. As a result of this
546
620
  # operation, snapshot of environment's state is stored in a location specified
547
621
  # in the SaveSnapshotRequest.
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: google-apis-composer_v1beta1
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.62.0
4
+ version: 0.64.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_v1beta1/CHANGELOG.md
60
- documentation_uri: https://googleapis.dev/ruby/google-apis-composer_v1beta1/v0.62.0
60
+ documentation_uri: https://googleapis.dev/ruby/google-apis-composer_v1beta1/v0.64.0
61
61
  source_code_uri: https://github.com/googleapis/google-api-ruby-client/tree/main/generated/google-apis-composer_v1beta1
62
62
  rdoc_options: []
63
63
  require_paths: