Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
8 changes: 8 additions & 0 deletions api_names_out.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -85636,6 +85636,8 @@
"/composer:v1/CheckUpgradeRequest/imageVersion": image_version
"/composer:v1/CheckUpgradeResponse": check_upgrade_response
"/composer:v1/CheckUpgradeResponse/buildLogUri": build_log_uri
"/composer:v1/CheckUpgradeResponse/configConflicts": config_conflicts
"/composer:v1/CheckUpgradeResponse/configConflicts/config_conflict": config_conflict
"/composer:v1/CheckUpgradeResponse/containsPypiModulesConflict": contains_pypi_modules_conflict
"/composer:v1/CheckUpgradeResponse/imageVersion": image_version
"/composer:v1/CheckUpgradeResponse/pypiConflictBuildLogExtract": pypi_conflict_build_log_extract
Expand All @@ -85654,6 +85656,9 @@
"/composer:v1/ComposerWorkloadStatus/detailedStatusMessage": detailed_status_message
"/composer:v1/ComposerWorkloadStatus/state": state
"/composer:v1/ComposerWorkloadStatus/statusMessage": status_message
"/composer:v1/ConfigConflict": config_conflict
"/composer:v1/ConfigConflict/message": message
"/composer:v1/ConfigConflict/type": type
"/composer:v1/DagProcessorResource": dag_processor_resource
"/composer:v1/DagProcessorResource/count": count
"/composer:v1/DagProcessorResource/cpu": cpu
Expand Down Expand Up @@ -85752,6 +85757,8 @@
"/composer:v1/ListOperationsResponse/nextPageToken": next_page_token
"/composer:v1/ListOperationsResponse/operations": operations
"/composer:v1/ListOperationsResponse/operations/operation": operation
"/composer:v1/ListOperationsResponse/unreachable": unreachable
"/composer:v1/ListOperationsResponse/unreachable/unreachable": unreachable
"/composer:v1/ListUserWorkloadsConfigMapsResponse": list_user_workloads_config_maps_response
"/composer:v1/ListUserWorkloadsConfigMapsResponse/nextPageToken": next_page_token
"/composer:v1/ListUserWorkloadsConfigMapsResponse/userWorkloadsConfigMaps": user_workloads_config_maps
Expand Down Expand Up @@ -85992,6 +85999,7 @@
"/composer:v1/composer.projects.locations.operations.list/name": name
"/composer:v1/composer.projects.locations.operations.list/pageSize": page_size
"/composer:v1/composer.projects.locations.operations.list/pageToken": page_token
"/composer:v1/composer.projects.locations.operations.list/returnPartialSuccess": return_partial_success
"/composer:v1/fields": fields
"/composer:v1/key": key
"/composer:v1/quotaUser": quota_user
Expand Down
5 changes: 5 additions & 0 deletions generated/google-apis-composer_v1/CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,10 @@
# Release history for google-apis-composer_v1

### v0.56.0 (2025-10-05)

* Regenerated from discovery document revision 20250928
* Regenerated using generator version 0.18.0

### v0.55.0 (2025-05-21)

* Regenerated from discovery document revision 20250513
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -121,6 +121,12 @@ class CheckUpgradeResponse
# @return [String]
attr_accessor :build_log_uri

# Output only. Contains information about environment configuration that is
# incompatible with the new image version, except for pypi modules conflicts.
# Corresponds to the JSON property `configConflicts`
# @return [Array<Google::Apis::ComposerV1::ConfigConflict>]
attr_accessor :config_conflicts

# Output only. Whether build has succeeded or failed on modules conflicts.
# Corresponds to the JSON property `containsPypiModulesConflict`
# @return [String]
Expand Down Expand Up @@ -150,6 +156,7 @@ def initialize(**args)
# Update properties of this object
def update!(**args)
@build_log_uri = args[:build_log_uri] if args.key?(:build_log_uri)
@config_conflicts = args[:config_conflicts] if args.key?(:config_conflicts)
@contains_pypi_modules_conflict = args[:contains_pypi_modules_conflict] if args.key?(:contains_pypi_modules_conflict)
@image_version = args[:image_version] if args.key?(:image_version)
@pypi_conflict_build_log_extract = args[:pypi_conflict_build_log_extract] if args.key?(:pypi_conflict_build_log_extract)
Expand Down Expand Up @@ -264,6 +271,31 @@ def update!(**args)
end
end

# Environment configuration conflict.
class ConfigConflict
include Google::Apis::Core::Hashable

# Conflict message.
# Corresponds to the JSON property `message`
# @return [String]
attr_accessor :message

# Conflict type. It can be blocking or non-blocking.
# Corresponds to the JSON property `type`
# @return [String]
attr_accessor :type

def initialize(**args)
update!(**args)
end

# Update properties of this object
def update!(**args)
@message = args[:message] if args.key?(:message)
@type = args[:type] if args.key?(:type)
end
end

# Configuration for resources used by Airflow DAG processors. This field is
# supported for Cloud Composer environments in versions composer-3-airflow-*.*.*-
# build.* and newer.
Expand Down Expand Up @@ -1059,6 +1091,13 @@ class ListOperationsResponse
# @return [Array<Google::Apis::ComposerV1::Operation>]
attr_accessor :operations

# Unordered list. Unreachable resources. Populated when the request sets `
# ListOperationsRequest.return_partial_success` and reads across collections e.g.
# when attempting to list all resources across all supported locations.
# Corresponds to the JSON property `unreachable`
# @return [Array<String>]
attr_accessor :unreachable

def initialize(**args)
update!(**args)
end
Expand All @@ -1067,6 +1106,7 @@ def initialize(**args)
def update!(**args)
@next_page_token = args[:next_page_token] if args.key?(:next_page_token)
@operations = args[:operations] if args.key?(:operations)
@unreachable = args[:unreachable] if args.key?(:unreachable)
end
end

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -16,13 +16,13 @@ module Google
module Apis
module ComposerV1
# Version of the google-apis-composer_v1 gem
GEM_VERSION = "0.55.0"
GEM_VERSION = "0.56.0"

# Version of the code generator used to generate this client
GENERATOR_VERSION = "0.17.0"
GENERATOR_VERSION = "0.18.0"

# Revision of the discovery document this client was generated from
REVISION = "20250513"
REVISION = "20250928"
end
end
end
Original file line number Diff line number Diff line change
Expand Up @@ -70,6 +70,12 @@ class Representation < Google::Apis::Core::JsonRepresentation; end
include Google::Apis::Core::JsonObjectSupport
end

class ConfigConflict
class Representation < Google::Apis::Core::JsonRepresentation; end

include Google::Apis::Core::JsonObjectSupport
end

class DagProcessorResource
class Representation < Google::Apis::Core::JsonRepresentation; end

Expand Down Expand Up @@ -427,6 +433,8 @@ class CheckUpgradeResponse
# @private
class Representation < Google::Apis::Core::JsonRepresentation
property :build_log_uri, as: 'buildLogUri'
collection :config_conflicts, as: 'configConflicts', class: Google::Apis::ComposerV1::ConfigConflict, decorator: Google::Apis::ComposerV1::ConfigConflict::Representation

property :contains_pypi_modules_conflict, as: 'containsPypiModulesConflict'
property :image_version, as: 'imageVersion'
property :pypi_conflict_build_log_extract, as: 'pypiConflictBuildLogExtract'
Expand Down Expand Up @@ -468,6 +476,14 @@ class Representation < Google::Apis::Core::JsonRepresentation
end
end

class ConfigConflict
# @private
class Representation < Google::Apis::Core::JsonRepresentation
property :message, as: 'message'
property :type, as: 'type'
end
end

class DagProcessorResource
# @private
class Representation < Google::Apis::Core::JsonRepresentation
Expand Down Expand Up @@ -677,6 +693,7 @@ class Representation < Google::Apis::Core::JsonRepresentation
property :next_page_token, as: 'nextPageToken'
collection :operations, as: 'operations', class: Google::Apis::ComposerV1::Operation, decorator: Google::Apis::ComposerV1::Operation::Representation

collection :unreachable, as: 'unreachable'
end
end

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -1112,6 +1112,13 @@ def get_project_location_operation(name, fields: nil, quota_user: nil, options:
# The standard list page size.
# @param [String] page_token
# The standard list page token.
# @param [Boolean] return_partial_success
# When set to `true`, operations that are reachable are returned as normal, and
# those that are unreachable are returned in the [ListOperationsResponse.
# unreachable] field. This can only be `true` when reading across collections e.
# g. when `parent` is set to `"projects/example/locations/-"`. This field is not
# by default supported and will result in an `UNIMPLEMENTED` error if set unless
# explicitly documented otherwise in service or product specific documentation.
# @param [String] fields
# Selector specifying which fields to include in a partial response.
# @param [String] quota_user
Expand All @@ -1129,14 +1136,15 @@ def get_project_location_operation(name, fields: nil, quota_user: nil, options:
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
# @raise [Google::Apis::AuthorizationError] Authorization is required
def list_project_location_operations(name, filter: nil, page_size: nil, page_token: nil, fields: nil, quota_user: nil, options: nil, &block)
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)
command = make_simple_command(:get, 'v1/{+name}/operations', options)
command.response_representation = Google::Apis::ComposerV1::ListOperationsResponse::Representation
command.response_class = Google::Apis::ComposerV1::ListOperationsResponse
command.params['name'] = name unless name.nil?
command.query['filter'] = filter unless filter.nil?
command.query['pageSize'] = page_size unless page_size.nil?
command.query['pageToken'] = page_token unless page_token.nil?
command.query['returnPartialSuccess'] = return_partial_success unless return_partial_success.nil?
command.query['fields'] = fields unless fields.nil?
command.query['quotaUser'] = quota_user unless quota_user.nil?
execute_or_queue_command(command, &block)
Expand Down