Autogenerated update (2019-01-15)
Update: - composer_v1 - composer_v1beta1
This commit is contained in:
parent
52e72b0d52
commit
e550a4a19c
|
@ -19752,10 +19752,19 @@
|
||||||
"/composer:v1/EnvironmentConfig/nodeConfig": node_config
|
"/composer:v1/EnvironmentConfig/nodeConfig": node_config
|
||||||
"/composer:v1/EnvironmentConfig/nodeCount": node_count
|
"/composer:v1/EnvironmentConfig/nodeCount": node_count
|
||||||
"/composer:v1/EnvironmentConfig/softwareConfig": software_config
|
"/composer:v1/EnvironmentConfig/softwareConfig": software_config
|
||||||
|
"/composer:v1/ImageVersion": image_version
|
||||||
|
"/composer:v1/ImageVersion/imageVersionId": image_version_id
|
||||||
|
"/composer:v1/ImageVersion/isDefault": is_default
|
||||||
|
"/composer:v1/ImageVersion/supportedPythonVersions": supported_python_versions
|
||||||
|
"/composer:v1/ImageVersion/supportedPythonVersions/supported_python_version": supported_python_version
|
||||||
"/composer:v1/ListEnvironmentsResponse": list_environments_response
|
"/composer:v1/ListEnvironmentsResponse": list_environments_response
|
||||||
"/composer:v1/ListEnvironmentsResponse/environments": environments
|
"/composer:v1/ListEnvironmentsResponse/environments": environments
|
||||||
"/composer:v1/ListEnvironmentsResponse/environments/environment": environment
|
"/composer:v1/ListEnvironmentsResponse/environments/environment": environment
|
||||||
"/composer:v1/ListEnvironmentsResponse/nextPageToken": next_page_token
|
"/composer:v1/ListEnvironmentsResponse/nextPageToken": next_page_token
|
||||||
|
"/composer:v1/ListImageVersionsResponse": list_image_versions_response
|
||||||
|
"/composer:v1/ListImageVersionsResponse/imageVersions": image_versions
|
||||||
|
"/composer:v1/ListImageVersionsResponse/imageVersions/image_version": image_version
|
||||||
|
"/composer:v1/ListImageVersionsResponse/nextPageToken": next_page_token
|
||||||
"/composer:v1/ListOperationsResponse": list_operations_response
|
"/composer:v1/ListOperationsResponse": list_operations_response
|
||||||
"/composer:v1/ListOperationsResponse/nextPageToken": next_page_token
|
"/composer:v1/ListOperationsResponse/nextPageToken": next_page_token
|
||||||
"/composer:v1/ListOperationsResponse/operations": operations
|
"/composer:v1/ListOperationsResponse/operations": operations
|
||||||
|
@ -19814,6 +19823,10 @@
|
||||||
"/composer:v1/composer.projects.locations.environments.patch": patch_project_location_environment
|
"/composer:v1/composer.projects.locations.environments.patch": patch_project_location_environment
|
||||||
"/composer:v1/composer.projects.locations.environments.patch/name": name
|
"/composer:v1/composer.projects.locations.environments.patch/name": name
|
||||||
"/composer:v1/composer.projects.locations.environments.patch/updateMask": update_mask
|
"/composer:v1/composer.projects.locations.environments.patch/updateMask": update_mask
|
||||||
|
"/composer:v1/composer.projects.locations.imageVersions.list": list_project_location_image_versions
|
||||||
|
"/composer:v1/composer.projects.locations.imageVersions.list/pageSize": page_size
|
||||||
|
"/composer:v1/composer.projects.locations.imageVersions.list/pageToken": page_token
|
||||||
|
"/composer:v1/composer.projects.locations.imageVersions.list/parent": parent
|
||||||
"/composer:v1/composer.projects.locations.operations.delete": delete_project_location_operation
|
"/composer:v1/composer.projects.locations.operations.delete": delete_project_location_operation
|
||||||
"/composer:v1/composer.projects.locations.operations.delete/name": name
|
"/composer:v1/composer.projects.locations.operations.delete/name": name
|
||||||
"/composer:v1/composer.projects.locations.operations.get": get_project_location_operation
|
"/composer:v1/composer.projects.locations.operations.get": get_project_location_operation
|
||||||
|
@ -19843,10 +19856,19 @@
|
||||||
"/composer:v1beta1/EnvironmentConfig/nodeConfig": node_config
|
"/composer:v1beta1/EnvironmentConfig/nodeConfig": node_config
|
||||||
"/composer:v1beta1/EnvironmentConfig/nodeCount": node_count
|
"/composer:v1beta1/EnvironmentConfig/nodeCount": node_count
|
||||||
"/composer:v1beta1/EnvironmentConfig/softwareConfig": software_config
|
"/composer:v1beta1/EnvironmentConfig/softwareConfig": software_config
|
||||||
|
"/composer:v1beta1/ImageVersion": image_version
|
||||||
|
"/composer:v1beta1/ImageVersion/imageVersionId": image_version_id
|
||||||
|
"/composer:v1beta1/ImageVersion/isDefault": is_default
|
||||||
|
"/composer:v1beta1/ImageVersion/supportedPythonVersions": supported_python_versions
|
||||||
|
"/composer:v1beta1/ImageVersion/supportedPythonVersions/supported_python_version": supported_python_version
|
||||||
"/composer:v1beta1/ListEnvironmentsResponse": list_environments_response
|
"/composer:v1beta1/ListEnvironmentsResponse": list_environments_response
|
||||||
"/composer:v1beta1/ListEnvironmentsResponse/environments": environments
|
"/composer:v1beta1/ListEnvironmentsResponse/environments": environments
|
||||||
"/composer:v1beta1/ListEnvironmentsResponse/environments/environment": environment
|
"/composer:v1beta1/ListEnvironmentsResponse/environments/environment": environment
|
||||||
"/composer:v1beta1/ListEnvironmentsResponse/nextPageToken": next_page_token
|
"/composer:v1beta1/ListEnvironmentsResponse/nextPageToken": next_page_token
|
||||||
|
"/composer:v1beta1/ListImageVersionsResponse": list_image_versions_response
|
||||||
|
"/composer:v1beta1/ListImageVersionsResponse/imageVersions": image_versions
|
||||||
|
"/composer:v1beta1/ListImageVersionsResponse/imageVersions/image_version": image_version
|
||||||
|
"/composer:v1beta1/ListImageVersionsResponse/nextPageToken": next_page_token
|
||||||
"/composer:v1beta1/ListOperationsResponse": list_operations_response
|
"/composer:v1beta1/ListOperationsResponse": list_operations_response
|
||||||
"/composer:v1beta1/ListOperationsResponse/nextPageToken": next_page_token
|
"/composer:v1beta1/ListOperationsResponse/nextPageToken": next_page_token
|
||||||
"/composer:v1beta1/ListOperationsResponse/operations": operations
|
"/composer:v1beta1/ListOperationsResponse/operations": operations
|
||||||
|
@ -19905,6 +19927,10 @@
|
||||||
"/composer:v1beta1/composer.projects.locations.environments.patch": patch_project_location_environment
|
"/composer:v1beta1/composer.projects.locations.environments.patch": patch_project_location_environment
|
||||||
"/composer:v1beta1/composer.projects.locations.environments.patch/name": name
|
"/composer:v1beta1/composer.projects.locations.environments.patch/name": name
|
||||||
"/composer:v1beta1/composer.projects.locations.environments.patch/updateMask": update_mask
|
"/composer:v1beta1/composer.projects.locations.environments.patch/updateMask": update_mask
|
||||||
|
"/composer:v1beta1/composer.projects.locations.imageVersions.list": list_project_location_image_versions
|
||||||
|
"/composer:v1beta1/composer.projects.locations.imageVersions.list/pageSize": page_size
|
||||||
|
"/composer:v1beta1/composer.projects.locations.imageVersions.list/pageToken": page_token
|
||||||
|
"/composer:v1beta1/composer.projects.locations.imageVersions.list/parent": parent
|
||||||
"/composer:v1beta1/composer.projects.locations.operations.delete": delete_project_location_operation
|
"/composer:v1beta1/composer.projects.locations.operations.delete": delete_project_location_operation
|
||||||
"/composer:v1beta1/composer.projects.locations.operations.delete/name": name
|
"/composer:v1beta1/composer.projects.locations.operations.delete/name": name
|
||||||
"/composer:v1beta1/composer.projects.locations.operations.get": get_project_location_operation
|
"/composer:v1beta1/composer.projects.locations.operations.get": get_project_location_operation
|
||||||
|
|
|
@ -25,7 +25,7 @@ module Google
|
||||||
# @see https://cloud.google.com/composer/
|
# @see https://cloud.google.com/composer/
|
||||||
module ComposerV1
|
module ComposerV1
|
||||||
VERSION = 'V1'
|
VERSION = 'V1'
|
||||||
REVISION = '20181120'
|
REVISION = '20190110'
|
||||||
|
|
||||||
# View and manage your data across Google Cloud Platform services
|
# View and manage your data across Google Cloud Platform services
|
||||||
AUTH_CLOUD_PLATFORM = 'https://www.googleapis.com/auth/cloud-platform'
|
AUTH_CLOUD_PLATFORM = 'https://www.googleapis.com/auth/cloud-platform'
|
||||||
|
|
|
@ -166,6 +166,40 @@ module Google
|
||||||
end
|
end
|
||||||
end
|
end
|
||||||
|
|
||||||
|
# ImageVersion information
|
||||||
|
class ImageVersion
|
||||||
|
include Google::Apis::Core::Hashable
|
||||||
|
|
||||||
|
# The string identifier of the ImageVersion, in the form:
|
||||||
|
# "composer-x.y.z-airflow-a.b(.c)"
|
||||||
|
# Corresponds to the JSON property `imageVersionId`
|
||||||
|
# @return [String]
|
||||||
|
attr_accessor :image_version_id
|
||||||
|
|
||||||
|
# Whether this is the default ImageVersion used by Composer during
|
||||||
|
# environment creation if no input ImageVersion is specified.
|
||||||
|
# Corresponds to the JSON property `isDefault`
|
||||||
|
# @return [Boolean]
|
||||||
|
attr_accessor :is_default
|
||||||
|
alias_method :is_default?, :is_default
|
||||||
|
|
||||||
|
# supported python versions
|
||||||
|
# Corresponds to the JSON property `supportedPythonVersions`
|
||||||
|
# @return [Array<String>]
|
||||||
|
attr_accessor :supported_python_versions
|
||||||
|
|
||||||
|
def initialize(**args)
|
||||||
|
update!(**args)
|
||||||
|
end
|
||||||
|
|
||||||
|
# Update properties of this object
|
||||||
|
def update!(**args)
|
||||||
|
@image_version_id = args[:image_version_id] if args.key?(:image_version_id)
|
||||||
|
@is_default = args[:is_default] if args.key?(:is_default)
|
||||||
|
@supported_python_versions = args[:supported_python_versions] if args.key?(:supported_python_versions)
|
||||||
|
end
|
||||||
|
end
|
||||||
|
|
||||||
# The environments in a project and location.
|
# The environments in a project and location.
|
||||||
class ListEnvironmentsResponse
|
class ListEnvironmentsResponse
|
||||||
include Google::Apis::Core::Hashable
|
include Google::Apis::Core::Hashable
|
||||||
|
@ -191,6 +225,31 @@ module Google
|
||||||
end
|
end
|
||||||
end
|
end
|
||||||
|
|
||||||
|
# The ImageVersions in a project and location.
|
||||||
|
class ListImageVersionsResponse
|
||||||
|
include Google::Apis::Core::Hashable
|
||||||
|
|
||||||
|
# The list of supported ImageVersions in a location.
|
||||||
|
# Corresponds to the JSON property `imageVersions`
|
||||||
|
# @return [Array<Google::Apis::ComposerV1::ImageVersion>]
|
||||||
|
attr_accessor :image_versions
|
||||||
|
|
||||||
|
# The page token used to query for the next page if one exists.
|
||||||
|
# Corresponds to the JSON property `nextPageToken`
|
||||||
|
# @return [String]
|
||||||
|
attr_accessor :next_page_token
|
||||||
|
|
||||||
|
def initialize(**args)
|
||||||
|
update!(**args)
|
||||||
|
end
|
||||||
|
|
||||||
|
# Update properties of this object
|
||||||
|
def update!(**args)
|
||||||
|
@image_versions = args[:image_versions] if args.key?(:image_versions)
|
||||||
|
@next_page_token = args[:next_page_token] if args.key?(:next_page_token)
|
||||||
|
end
|
||||||
|
end
|
||||||
|
|
||||||
# The response message for Operations.ListOperations.
|
# The response message for Operations.ListOperations.
|
||||||
class ListOperationsResponse
|
class ListOperationsResponse
|
||||||
include Google::Apis::Core::Hashable
|
include Google::Apis::Core::Hashable
|
||||||
|
|
|
@ -40,12 +40,24 @@ module Google
|
||||||
include Google::Apis::Core::JsonObjectSupport
|
include Google::Apis::Core::JsonObjectSupport
|
||||||
end
|
end
|
||||||
|
|
||||||
|
class ImageVersion
|
||||||
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
||||||
|
|
||||||
|
include Google::Apis::Core::JsonObjectSupport
|
||||||
|
end
|
||||||
|
|
||||||
class ListEnvironmentsResponse
|
class ListEnvironmentsResponse
|
||||||
class Representation < Google::Apis::Core::JsonRepresentation; end
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
||||||
|
|
||||||
include Google::Apis::Core::JsonObjectSupport
|
include Google::Apis::Core::JsonObjectSupport
|
||||||
end
|
end
|
||||||
|
|
||||||
|
class ListImageVersionsResponse
|
||||||
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
||||||
|
|
||||||
|
include Google::Apis::Core::JsonObjectSupport
|
||||||
|
end
|
||||||
|
|
||||||
class ListOperationsResponse
|
class ListOperationsResponse
|
||||||
class Representation < Google::Apis::Core::JsonRepresentation; end
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
||||||
|
|
||||||
|
@ -116,6 +128,15 @@ module Google
|
||||||
end
|
end
|
||||||
end
|
end
|
||||||
|
|
||||||
|
class ImageVersion
|
||||||
|
# @private
|
||||||
|
class Representation < Google::Apis::Core::JsonRepresentation
|
||||||
|
property :image_version_id, as: 'imageVersionId'
|
||||||
|
property :is_default, as: 'isDefault'
|
||||||
|
collection :supported_python_versions, as: 'supportedPythonVersions'
|
||||||
|
end
|
||||||
|
end
|
||||||
|
|
||||||
class ListEnvironmentsResponse
|
class ListEnvironmentsResponse
|
||||||
# @private
|
# @private
|
||||||
class Representation < Google::Apis::Core::JsonRepresentation
|
class Representation < Google::Apis::Core::JsonRepresentation
|
||||||
|
@ -125,6 +146,15 @@ module Google
|
||||||
end
|
end
|
||||||
end
|
end
|
||||||
|
|
||||||
|
class ListImageVersionsResponse
|
||||||
|
# @private
|
||||||
|
class Representation < Google::Apis::Core::JsonRepresentation
|
||||||
|
collection :image_versions, as: 'imageVersions', class: Google::Apis::ComposerV1::ImageVersion, decorator: Google::Apis::ComposerV1::ImageVersion::Representation
|
||||||
|
|
||||||
|
property :next_page_token, as: 'nextPageToken'
|
||||||
|
end
|
||||||
|
end
|
||||||
|
|
||||||
class ListOperationsResponse
|
class ListOperationsResponse
|
||||||
# @private
|
# @private
|
||||||
class Representation < Google::Apis::Core::JsonRepresentation
|
class Representation < Google::Apis::Core::JsonRepresentation
|
||||||
|
|
|
@ -338,6 +338,43 @@ module Google
|
||||||
execute_or_queue_command(command, &block)
|
execute_or_queue_command(command, &block)
|
||||||
end
|
end
|
||||||
|
|
||||||
|
# List ImageVersions for provided location.
|
||||||
|
# @param [String] parent
|
||||||
|
# List ImageVersions in the given project and location, in the form:
|
||||||
|
# "projects/`projectId`/locations/`locationId`"
|
||||||
|
# @param [Fixnum] page_size
|
||||||
|
# The maximum number of image_versions to return.
|
||||||
|
# @param [String] page_token
|
||||||
|
# The next_page_token value returned from a previous List request, if any.
|
||||||
|
# @param [String] fields
|
||||||
|
# Selector specifying which fields to include in a partial response.
|
||||||
|
# @param [String] quota_user
|
||||||
|
# Available to use for quota purposes for server-side applications. Can be any
|
||||||
|
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
||||||
|
# @param [Google::Apis::RequestOptions] options
|
||||||
|
# Request-specific options
|
||||||
|
#
|
||||||
|
# @yield [result, err] Result & error if block supplied
|
||||||
|
# @yieldparam result [Google::Apis::ComposerV1::ListImageVersionsResponse] parsed result object
|
||||||
|
# @yieldparam err [StandardError] error object if request failed
|
||||||
|
#
|
||||||
|
# @return [Google::Apis::ComposerV1::ListImageVersionsResponse]
|
||||||
|
#
|
||||||
|
# @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_image_versions(parent, page_size: nil, page_token: nil, fields: nil, quota_user: nil, options: nil, &block)
|
||||||
|
command = make_simple_command(:get, 'v1/{+parent}/imageVersions', options)
|
||||||
|
command.response_representation = Google::Apis::ComposerV1::ListImageVersionsResponse::Representation
|
||||||
|
command.response_class = Google::Apis::ComposerV1::ListImageVersionsResponse
|
||||||
|
command.params['parent'] = parent unless parent.nil?
|
||||||
|
command.query['pageSize'] = page_size unless page_size.nil?
|
||||||
|
command.query['pageToken'] = page_token unless page_token.nil?
|
||||||
|
command.query['fields'] = fields unless fields.nil?
|
||||||
|
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
||||||
|
execute_or_queue_command(command, &block)
|
||||||
|
end
|
||||||
|
|
||||||
# Deletes a long-running operation. This method indicates that the client is
|
# Deletes a long-running operation. This method indicates that the client is
|
||||||
# no longer interested in the operation result. It does not cancel the
|
# no longer interested in the operation result. It does not cancel the
|
||||||
# operation. If the server doesn't support this method, it returns
|
# operation. If the server doesn't support this method, it returns
|
||||||
|
|
|
@ -25,7 +25,7 @@ module Google
|
||||||
# @see https://cloud.google.com/composer/
|
# @see https://cloud.google.com/composer/
|
||||||
module ComposerV1beta1
|
module ComposerV1beta1
|
||||||
VERSION = 'V1beta1'
|
VERSION = 'V1beta1'
|
||||||
REVISION = '20181217'
|
REVISION = '20190110'
|
||||||
|
|
||||||
# View and manage your data across Google Cloud Platform services
|
# View and manage your data across Google Cloud Platform services
|
||||||
AUTH_CLOUD_PLATFORM = 'https://www.googleapis.com/auth/cloud-platform'
|
AUTH_CLOUD_PLATFORM = 'https://www.googleapis.com/auth/cloud-platform'
|
||||||
|
|
|
@ -166,6 +166,40 @@ module Google
|
||||||
end
|
end
|
||||||
end
|
end
|
||||||
|
|
||||||
|
# Image Version information
|
||||||
|
class ImageVersion
|
||||||
|
include Google::Apis::Core::Hashable
|
||||||
|
|
||||||
|
# The string identifier of the ImageVersion, in the form:
|
||||||
|
# "composer-x.y.z-airflow-a.b(.c)"
|
||||||
|
# Corresponds to the JSON property `imageVersionId`
|
||||||
|
# @return [String]
|
||||||
|
attr_accessor :image_version_id
|
||||||
|
|
||||||
|
# Whether this is the default ImageVersion used by Composer during
|
||||||
|
# environment creation if no input ImageVersion is specified.
|
||||||
|
# Corresponds to the JSON property `isDefault`
|
||||||
|
# @return [Boolean]
|
||||||
|
attr_accessor :is_default
|
||||||
|
alias_method :is_default?, :is_default
|
||||||
|
|
||||||
|
# supported python versions
|
||||||
|
# Corresponds to the JSON property `supportedPythonVersions`
|
||||||
|
# @return [Array<String>]
|
||||||
|
attr_accessor :supported_python_versions
|
||||||
|
|
||||||
|
def initialize(**args)
|
||||||
|
update!(**args)
|
||||||
|
end
|
||||||
|
|
||||||
|
# Update properties of this object
|
||||||
|
def update!(**args)
|
||||||
|
@image_version_id = args[:image_version_id] if args.key?(:image_version_id)
|
||||||
|
@is_default = args[:is_default] if args.key?(:is_default)
|
||||||
|
@supported_python_versions = args[:supported_python_versions] if args.key?(:supported_python_versions)
|
||||||
|
end
|
||||||
|
end
|
||||||
|
|
||||||
# The environments in a project and location.
|
# The environments in a project and location.
|
||||||
class ListEnvironmentsResponse
|
class ListEnvironmentsResponse
|
||||||
include Google::Apis::Core::Hashable
|
include Google::Apis::Core::Hashable
|
||||||
|
@ -191,6 +225,31 @@ module Google
|
||||||
end
|
end
|
||||||
end
|
end
|
||||||
|
|
||||||
|
# The ImageVersions in a project and location.
|
||||||
|
class ListImageVersionsResponse
|
||||||
|
include Google::Apis::Core::Hashable
|
||||||
|
|
||||||
|
# The list of supported ImageVersions in a location.
|
||||||
|
# Corresponds to the JSON property `imageVersions`
|
||||||
|
# @return [Array<Google::Apis::ComposerV1beta1::ImageVersion>]
|
||||||
|
attr_accessor :image_versions
|
||||||
|
|
||||||
|
# The page token used to query for the next page if one exists.
|
||||||
|
# Corresponds to the JSON property `nextPageToken`
|
||||||
|
# @return [String]
|
||||||
|
attr_accessor :next_page_token
|
||||||
|
|
||||||
|
def initialize(**args)
|
||||||
|
update!(**args)
|
||||||
|
end
|
||||||
|
|
||||||
|
# Update properties of this object
|
||||||
|
def update!(**args)
|
||||||
|
@image_versions = args[:image_versions] if args.key?(:image_versions)
|
||||||
|
@next_page_token = args[:next_page_token] if args.key?(:next_page_token)
|
||||||
|
end
|
||||||
|
end
|
||||||
|
|
||||||
# The response message for Operations.ListOperations.
|
# The response message for Operations.ListOperations.
|
||||||
class ListOperationsResponse
|
class ListOperationsResponse
|
||||||
include Google::Apis::Core::Hashable
|
include Google::Apis::Core::Hashable
|
||||||
|
|
|
@ -40,12 +40,24 @@ module Google
|
||||||
include Google::Apis::Core::JsonObjectSupport
|
include Google::Apis::Core::JsonObjectSupport
|
||||||
end
|
end
|
||||||
|
|
||||||
|
class ImageVersion
|
||||||
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
||||||
|
|
||||||
|
include Google::Apis::Core::JsonObjectSupport
|
||||||
|
end
|
||||||
|
|
||||||
class ListEnvironmentsResponse
|
class ListEnvironmentsResponse
|
||||||
class Representation < Google::Apis::Core::JsonRepresentation; end
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
||||||
|
|
||||||
include Google::Apis::Core::JsonObjectSupport
|
include Google::Apis::Core::JsonObjectSupport
|
||||||
end
|
end
|
||||||
|
|
||||||
|
class ListImageVersionsResponse
|
||||||
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
||||||
|
|
||||||
|
include Google::Apis::Core::JsonObjectSupport
|
||||||
|
end
|
||||||
|
|
||||||
class ListOperationsResponse
|
class ListOperationsResponse
|
||||||
class Representation < Google::Apis::Core::JsonRepresentation; end
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
||||||
|
|
||||||
|
@ -116,6 +128,15 @@ module Google
|
||||||
end
|
end
|
||||||
end
|
end
|
||||||
|
|
||||||
|
class ImageVersion
|
||||||
|
# @private
|
||||||
|
class Representation < Google::Apis::Core::JsonRepresentation
|
||||||
|
property :image_version_id, as: 'imageVersionId'
|
||||||
|
property :is_default, as: 'isDefault'
|
||||||
|
collection :supported_python_versions, as: 'supportedPythonVersions'
|
||||||
|
end
|
||||||
|
end
|
||||||
|
|
||||||
class ListEnvironmentsResponse
|
class ListEnvironmentsResponse
|
||||||
# @private
|
# @private
|
||||||
class Representation < Google::Apis::Core::JsonRepresentation
|
class Representation < Google::Apis::Core::JsonRepresentation
|
||||||
|
@ -125,6 +146,15 @@ module Google
|
||||||
end
|
end
|
||||||
end
|
end
|
||||||
|
|
||||||
|
class ListImageVersionsResponse
|
||||||
|
# @private
|
||||||
|
class Representation < Google::Apis::Core::JsonRepresentation
|
||||||
|
collection :image_versions, as: 'imageVersions', class: Google::Apis::ComposerV1beta1::ImageVersion, decorator: Google::Apis::ComposerV1beta1::ImageVersion::Representation
|
||||||
|
|
||||||
|
property :next_page_token, as: 'nextPageToken'
|
||||||
|
end
|
||||||
|
end
|
||||||
|
|
||||||
class ListOperationsResponse
|
class ListOperationsResponse
|
||||||
# @private
|
# @private
|
||||||
class Representation < Google::Apis::Core::JsonRepresentation
|
class Representation < Google::Apis::Core::JsonRepresentation
|
||||||
|
|
|
@ -348,6 +348,43 @@ module Google
|
||||||
execute_or_queue_command(command, &block)
|
execute_or_queue_command(command, &block)
|
||||||
end
|
end
|
||||||
|
|
||||||
|
# List ImageVersions for provided location.
|
||||||
|
# @param [String] parent
|
||||||
|
# List ImageVersions in the given project and location, in the form:
|
||||||
|
# "projects/`projectId`/locations/`locationId`"
|
||||||
|
# @param [Fixnum] page_size
|
||||||
|
# The maximum number of image_versions to return.
|
||||||
|
# @param [String] page_token
|
||||||
|
# The next_page_token value returned from a previous List request, if any.
|
||||||
|
# @param [String] fields
|
||||||
|
# Selector specifying which fields to include in a partial response.
|
||||||
|
# @param [String] quota_user
|
||||||
|
# Available to use for quota purposes for server-side applications. Can be any
|
||||||
|
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
||||||
|
# @param [Google::Apis::RequestOptions] options
|
||||||
|
# Request-specific options
|
||||||
|
#
|
||||||
|
# @yield [result, err] Result & error if block supplied
|
||||||
|
# @yieldparam result [Google::Apis::ComposerV1beta1::ListImageVersionsResponse] parsed result object
|
||||||
|
# @yieldparam err [StandardError] error object if request failed
|
||||||
|
#
|
||||||
|
# @return [Google::Apis::ComposerV1beta1::ListImageVersionsResponse]
|
||||||
|
#
|
||||||
|
# @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_image_versions(parent, page_size: nil, page_token: nil, fields: nil, quota_user: nil, options: nil, &block)
|
||||||
|
command = make_simple_command(:get, 'v1beta1/{+parent}/imageVersions', options)
|
||||||
|
command.response_representation = Google::Apis::ComposerV1beta1::ListImageVersionsResponse::Representation
|
||||||
|
command.response_class = Google::Apis::ComposerV1beta1::ListImageVersionsResponse
|
||||||
|
command.params['parent'] = parent unless parent.nil?
|
||||||
|
command.query['pageSize'] = page_size unless page_size.nil?
|
||||||
|
command.query['pageToken'] = page_token unless page_token.nil?
|
||||||
|
command.query['fields'] = fields unless fields.nil?
|
||||||
|
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
||||||
|
execute_or_queue_command(command, &block)
|
||||||
|
end
|
||||||
|
|
||||||
# Deletes a long-running operation. This method indicates that the client is
|
# Deletes a long-running operation. This method indicates that the client is
|
||||||
# no longer interested in the operation result. It does not cancel the
|
# no longer interested in the operation result. It does not cancel the
|
||||||
# operation. If the server doesn't support this method, it returns
|
# operation. If the server doesn't support this method, it returns
|
||||||
|
|
Loading…
Reference in New Issue