google-apis-composer_v1 0.54.0 → 0.55.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: bf984ebb1f69756857a4a6b60e14919d202bcc1fa9dc1f2d574a7fd63bf9776e
4
- data.tar.gz: 13809d12e901bdb24c5752022836c43772b5e73465a76c56e28c68a599bbc62e
3
+ metadata.gz: 6c0842fd490f509e6b78055280c808679a88ec2a2aedfe87ea45b0d934c84622
4
+ data.tar.gz: dad14886195a88658ef63ec2d95ac48f3b1a440550b1549a180a82d9fb4e7812
5
5
  SHA512:
6
- metadata.gz: f254e68cf282d274ddbcb007ff7c6caf2628907deab6f8cb8012a21a1ee99d178502394f47288376a29acad828b93eb940a4a3e043307e88bfe5fd7efc037050
7
- data.tar.gz: 05db9f47f0cb957d650f4724010adddcfd19b97cc52d35d05c6339ce00d9af2ad8f6bb5ba1e4b94b3b4f7607ff8db4a0e03ca27f79852932636ae54d9270f6a4
6
+ metadata.gz: 65d680b171d267d288f9fa3e03fd9b509bd68080868e64a43d5cf4f456b7dc1b7e87ff94f66b29b6acad3d912b91d989b27e0e641db6f72c2f2241d3be66a470
7
+ data.tar.gz: 7427c506cb71a5acc4fa4156a157aa3c21b1ed1ab768dc5d97592652e5a9ccad581da6101b784d22d1d4b018114d46b3be8aa3689d1230aa83b545da13138e10
data/CHANGELOG.md CHANGED
@@ -1,5 +1,9 @@
1
1
  # Release history for google-apis-composer_v1
2
2
 
3
+ ### v0.55.0 (2025-05-21)
4
+
5
+ * Regenerated from discovery document revision 20250513
6
+
3
7
  ### v0.54.0 (2025-05-04)
4
8
 
5
9
  * Regenerated using generator version 0.17.0
@@ -1803,6 +1803,19 @@ module Google
1803
1803
  end
1804
1804
  end
1805
1805
 
1806
+ # Restart Airflow web server.
1807
+ class RestartWebServerRequest
1808
+ include Google::Apis::Core::Hashable
1809
+
1810
+ def initialize(**args)
1811
+ update!(**args)
1812
+ end
1813
+
1814
+ # Update properties of this object
1815
+ def update!(**args)
1816
+ end
1817
+ end
1818
+
1806
1819
  # Request to create a snapshot of a Cloud Composer environment.
1807
1820
  class SaveSnapshotRequest
1808
1821
  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.54.0"
19
+ GEM_VERSION = "0.55.0"
20
20
 
21
21
  # Version of the code generator used to generate this client
22
22
  GENERATOR_VERSION = "0.17.0"
23
23
 
24
24
  # Revision of the discovery document this client was generated from
25
- REVISION = "20250303"
25
+ REVISION = "20250513"
26
26
  end
27
27
  end
28
28
  end
@@ -286,6 +286,12 @@ module Google
286
286
  include Google::Apis::Core::JsonObjectSupport
287
287
  end
288
288
 
289
+ class RestartWebServerRequest
290
+ class Representation < Google::Apis::Core::JsonRepresentation; end
291
+
292
+ include Google::Apis::Core::JsonObjectSupport
293
+ end
294
+
289
295
  class SaveSnapshotRequest
290
296
  class Representation < Google::Apis::Core::JsonRepresentation; end
291
297
 
@@ -843,6 +849,12 @@ module Google
843
849
  end
844
850
  end
845
851
 
852
+ class RestartWebServerRequest
853
+ # @private
854
+ class Representation < Google::Apis::Core::JsonRepresentation
855
+ end
856
+ end
857
+
846
858
  class SaveSnapshotRequest
847
859
  # @private
848
860
  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.
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.54.0
4
+ version: 0.55.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.54.0
60
+ documentation_uri: https://googleapis.dev/ruby/google-apis-composer_v1/v0.55.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.8
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: []