google-apis-composer_v1beta1 0.61.0 → 0.63.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: 29ebcbdacd95bbaf9719b40623c245611e5e1b12adb076146f41dbeef2c707a4
4
- data.tar.gz: f3a23b6c68ba5371eb0a3b8379c6c29a561c42c778bc973f4213d77bcd5308bb
3
+ metadata.gz: eeae946ce9717d8f99cf8444a3f13b40f1bde547c0e8a48cfe25efbff8dbec64
4
+ data.tar.gz: c7f586d3d28e6373946b967a56aeecdbb75a2ec767badf6181ceeef75434ae97
5
5
  SHA512:
6
- metadata.gz: bb83f3edc91592ff4cc34ab7e7e22328f8487c2d0ec2d6327dde0a57eba05f945752226073a9f80f100844bea8656c27cdec33f1fda4f961615c3213c88da62a
7
- data.tar.gz: 84cc4bd64bca99e8f5dcfaecab8e6236ae01e593f67fe2de4d4d046b099f7dcdfd60aa733a22e5f5e1749d92972799e3fe710bb15a95fb7bf96c5ee03cd30cba
6
+ metadata.gz: 4218843303aac7af0e611dc937c5949714220da57567fc6e11aaf7f37a799bd0e58afbd32eeb151c2731f813cabf3188e499670d2dcc278973a88ca1996b7532
7
+ data.tar.gz: bbf7dd6c4dac24efe335396f9917330e11e684410b1af7594167e86e42b1befbe92d2be3e6ea567e5a441480ee2f12a5062256a8a85f411e0b49f5979d2deae5
data/CHANGELOG.md CHANGED
@@ -1,5 +1,13 @@
1
1
  # Release history for google-apis-composer_v1beta1
2
2
 
3
+ ### v0.63.0 (2026-09-06)
4
+
5
+ * Regenerated from discovery document revision 20260825
6
+
7
+ ### v0.62.0 (2026-07-12)
8
+
9
+ * Regenerated from discovery document revision 20260622
10
+
3
11
  ### v0.61.0 (2026-06-14)
4
12
 
5
13
  * Regenerated from discovery document revision 20260525
@@ -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
@@ -1896,6 +1916,19 @@ module Google
1896
1916
  end
1897
1917
  end
1898
1918
 
1919
+ # Request to resume a Composer environment.
1920
+ class ResumeEnvironmentRequest
1921
+ include Google::Apis::Core::Hashable
1922
+
1923
+ def initialize(**args)
1924
+ update!(**args)
1925
+ end
1926
+
1927
+ # Update properties of this object
1928
+ def update!(**args)
1929
+ end
1930
+ end
1931
+
1899
1932
  # Request to create a snapshot of a Cloud Composer environment.
1900
1933
  class SaveSnapshotRequest
1901
1934
  include Google::Apis::Core::Hashable
@@ -2036,6 +2069,13 @@ module Google
2036
2069
  # @return [Hash<String,String>]
2037
2070
  attr_accessor :airflow_config_overrides
2038
2071
 
2072
+ # Optional. The selected mode of audit logs replication. This field is supported
2073
+ # for Cloud Composer environments in versions composer-3-airflow-*.*.*-build.*
2074
+ # and newer.
2075
+ # Corresponds to the JSON property `auditLogsReplicationMode`
2076
+ # @return [String]
2077
+ attr_accessor :audit_logs_replication_mode
2078
+
2039
2079
  # Configuration for Cloud Data Lineage integration.
2040
2080
  # Corresponds to the JSON property `cloudDataLineageIntegration`
2041
2081
  # @return [Google::Apis::ComposerV1beta1::CloudDataLineageIntegration]
@@ -2114,6 +2154,7 @@ module Google
2114
2154
  # Update properties of this object
2115
2155
  def update!(**args)
2116
2156
  @airflow_config_overrides = args[:airflow_config_overrides] if args.key?(:airflow_config_overrides)
2157
+ @audit_logs_replication_mode = args[:audit_logs_replication_mode] if args.key?(:audit_logs_replication_mode)
2117
2158
  @cloud_data_lineage_integration = args[:cloud_data_lineage_integration] if args.key?(:cloud_data_lineage_integration)
2118
2159
  @env_variables = args[:env_variables] if args.key?(:env_variables)
2119
2160
  @image_version = args[:image_version] if args.key?(:image_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.61.0"
19
+ GEM_VERSION = "0.63.0"
20
20
 
21
21
  # Version of the code generator used to generate this client
22
22
  GENERATOR_VERSION = "0.19.0"
23
23
 
24
24
  # Revision of the discovery document this client was generated from
25
- REVISION = "20260525"
25
+ REVISION = "20260825"
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
 
@@ -298,6 +304,12 @@ module Google
298
304
  include Google::Apis::Core::JsonObjectSupport
299
305
  end
300
306
 
307
+ class ResumeEnvironmentRequest
308
+ class Representation < Google::Apis::Core::JsonRepresentation; end
309
+
310
+ include Google::Apis::Core::JsonObjectSupport
311
+ end
312
+
301
313
  class SaveSnapshotRequest
302
314
  class Representation < Google::Apis::Core::JsonRepresentation; end
303
315
 
@@ -560,6 +572,7 @@ module Google
560
572
 
561
573
  property :create_time, as: 'createTime'
562
574
  hash :labels, as: 'labels'
575
+ property :mode, as: 'mode'
563
576
  property :name, as: 'name'
564
577
  property :satisfies_pzi, as: 'satisfiesPzi'
565
578
  property :satisfies_pzs, as: 'satisfiesPzs'
@@ -644,6 +657,12 @@ module Google
644
657
  end
645
658
  end
646
659
 
660
+ class HibernateEnvironmentRequest
661
+ # @private
662
+ class Representation < Google::Apis::Core::JsonRepresentation
663
+ end
664
+ end
665
+
647
666
  class IpAllocationPolicy
648
667
  # @private
649
668
  class Representation < Google::Apis::Core::JsonRepresentation
@@ -883,6 +902,12 @@ module Google
883
902
  end
884
903
  end
885
904
 
905
+ class ResumeEnvironmentRequest
906
+ # @private
907
+ class Representation < Google::Apis::Core::JsonRepresentation
908
+ end
909
+ end
910
+
886
911
  class SaveSnapshotRequest
887
912
  # @private
888
913
  class Representation < Google::Apis::Core::JsonRepresentation
@@ -921,6 +946,7 @@ module Google
921
946
  # @private
922
947
  class Representation < Google::Apis::Core::JsonRepresentation
923
948
  hash :airflow_config_overrides, as: 'airflowConfigOverrides'
949
+ property :audit_logs_replication_mode, as: 'auditLogsReplicationMode'
924
950
  property :cloud_data_lineage_integration, as: 'cloudDataLineageIntegration', class: Google::Apis::ComposerV1beta1::CloudDataLineageIntegration, decorator: Google::Apis::ComposerV1beta1::CloudDataLineageIntegration::Representation
925
951
 
926
952
  hash :env_variables, as: 'envVariables'
@@ -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.61.0
4
+ version: 0.63.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.61.0
60
+ documentation_uri: https://googleapis.dev/ruby/google-apis-composer_v1beta1/v0.63.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: