2015-07-20 21:49:34 +00:00
|
|
|
# Copyright 2015 Google Inc.
|
|
|
|
#
|
|
|
|
# Licensed under the Apache License, Version 2.0 (the "License");
|
|
|
|
# you may not use this file except in compliance with the License.
|
|
|
|
# You may obtain a copy of the License at
|
|
|
|
#
|
|
|
|
# http://www.apache.org/licenses/LICENSE-2.0
|
|
|
|
#
|
|
|
|
# Unless required by applicable law or agreed to in writing, software
|
|
|
|
# distributed under the License is distributed on an "AS IS" BASIS,
|
|
|
|
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
|
|
|
# See the License for the specific language governing permissions and
|
|
|
|
# limitations under the License.
|
|
|
|
|
|
|
|
require 'date'
|
|
|
|
require 'google/apis/core/base_service'
|
|
|
|
require 'google/apis/core/json_representation'
|
|
|
|
require 'google/apis/core/hashable'
|
|
|
|
require 'google/apis/errors'
|
|
|
|
|
|
|
|
module Google
|
|
|
|
module Apis
|
|
|
|
module GenomicsV1
|
|
|
|
|
2018-01-16 00:35:13 +00:00
|
|
|
class CancelOperationRequest
|
|
|
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
2017-05-26 16:44:32 +00:00
|
|
|
|
2018-01-18 00:35:53 +00:00
|
|
|
include Google::Apis::Core::JsonObjectSupport
|
|
|
|
end
|
|
|
|
|
|
|
|
class ComputeEngine
|
|
|
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
|
|
|
|
|
|
|
include Google::Apis::Core::JsonObjectSupport
|
|
|
|
end
|
|
|
|
|
2018-08-22 21:14:52 +00:00
|
|
|
class ContainerKilledEvent
|
|
|
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
|
|
|
|
|
|
|
include Google::Apis::Core::JsonObjectSupport
|
|
|
|
end
|
|
|
|
|
2018-02-21 00:36:04 +00:00
|
|
|
class ContainerStartedEvent
|
|
|
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
|
|
|
|
|
|
|
include Google::Apis::Core::JsonObjectSupport
|
|
|
|
end
|
|
|
|
|
|
|
|
class ContainerStoppedEvent
|
|
|
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
|
|
|
|
|
|
|
include Google::Apis::Core::JsonObjectSupport
|
|
|
|
end
|
|
|
|
|
|
|
|
class DelayedEvent
|
|
|
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
|
|
|
|
|
|
|
include Google::Apis::Core::JsonObjectSupport
|
|
|
|
end
|
|
|
|
|
2018-01-18 00:35:53 +00:00
|
|
|
class Empty
|
|
|
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
|
|
|
|
|
|
|
include Google::Apis::Core::JsonObjectSupport
|
|
|
|
end
|
|
|
|
|
2018-02-21 00:36:04 +00:00
|
|
|
class Event
|
|
|
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
|
|
|
|
|
|
|
include Google::Apis::Core::JsonObjectSupport
|
|
|
|
end
|
|
|
|
|
2019-03-13 00:37:11 +00:00
|
|
|
class FailedEvent
|
2018-01-18 00:35:53 +00:00
|
|
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
|
|
|
|
|
|
|
include Google::Apis::Core::JsonObjectSupport
|
|
|
|
end
|
|
|
|
|
2019-03-13 00:37:11 +00:00
|
|
|
class ListOperationsResponse
|
2018-08-22 21:14:52 +00:00
|
|
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
|
|
|
|
|
|
|
include Google::Apis::Core::JsonObjectSupport
|
|
|
|
end
|
|
|
|
|
2019-03-13 00:37:11 +00:00
|
|
|
class Operation
|
2018-01-18 00:35:53 +00:00
|
|
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
|
|
|
|
|
|
|
include Google::Apis::Core::JsonObjectSupport
|
|
|
|
end
|
|
|
|
|
2019-03-13 00:37:11 +00:00
|
|
|
class OperationEvent
|
2018-02-21 00:36:04 +00:00
|
|
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
|
|
|
|
|
|
|
include Google::Apis::Core::JsonObjectSupport
|
|
|
|
end
|
|
|
|
|
2019-03-13 00:37:11 +00:00
|
|
|
class OperationMetadata
|
2018-01-18 00:35:53 +00:00
|
|
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
|
|
|
|
|
|
|
include Google::Apis::Core::JsonObjectSupport
|
|
|
|
end
|
|
|
|
|
2019-03-13 00:37:11 +00:00
|
|
|
class PullStartedEvent
|
2018-01-18 00:35:53 +00:00
|
|
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
|
|
|
|
|
|
|
include Google::Apis::Core::JsonObjectSupport
|
|
|
|
end
|
|
|
|
|
2019-03-13 00:37:11 +00:00
|
|
|
class PullStoppedEvent
|
2018-01-18 00:35:53 +00:00
|
|
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
|
|
|
|
|
|
|
include Google::Apis::Core::JsonObjectSupport
|
|
|
|
end
|
|
|
|
|
2019-03-13 00:37:11 +00:00
|
|
|
class RunPipelineResponse
|
2018-01-18 00:35:53 +00:00
|
|
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
|
|
|
|
|
|
|
include Google::Apis::Core::JsonObjectSupport
|
|
|
|
end
|
|
|
|
|
2019-03-13 00:37:11 +00:00
|
|
|
class RuntimeMetadata
|
2018-01-18 00:35:53 +00:00
|
|
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
|
|
|
|
|
|
|
include Google::Apis::Core::JsonObjectSupport
|
|
|
|
end
|
|
|
|
|
2019-03-13 00:37:11 +00:00
|
|
|
class Status
|
2018-01-18 00:35:53 +00:00
|
|
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
|
|
|
|
|
|
|
include Google::Apis::Core::JsonObjectSupport
|
|
|
|
end
|
|
|
|
|
2019-03-13 00:37:11 +00:00
|
|
|
class UnexpectedExitStatusEvent
|
2018-01-18 00:35:53 +00:00
|
|
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
|
|
|
|
|
|
|
include Google::Apis::Core::JsonObjectSupport
|
|
|
|
end
|
|
|
|
|
2019-03-13 00:37:11 +00:00
|
|
|
class WorkerAssignedEvent
|
2018-01-18 00:35:53 +00:00
|
|
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
|
|
|
|
|
|
|
include Google::Apis::Core::JsonObjectSupport
|
|
|
|
end
|
|
|
|
|
2019-03-13 00:37:11 +00:00
|
|
|
class WorkerReleasedEvent
|
2018-01-18 00:35:53 +00:00
|
|
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
|
|
|
|
|
|
|
include Google::Apis::Core::JsonObjectSupport
|
|
|
|
end
|
|
|
|
|
2019-03-13 00:37:11 +00:00
|
|
|
class CancelOperationRequest
|
|
|
|
# @private
|
|
|
|
class Representation < Google::Apis::Core::JsonRepresentation
|
|
|
|
end
|
2018-01-18 00:35:53 +00:00
|
|
|
end
|
|
|
|
|
2019-03-13 00:37:11 +00:00
|
|
|
class ComputeEngine
|
|
|
|
# @private
|
|
|
|
class Representation < Google::Apis::Core::JsonRepresentation
|
|
|
|
collection :disk_names, as: 'diskNames'
|
|
|
|
property :instance_name, as: 'instanceName'
|
|
|
|
property :machine_type, as: 'machineType'
|
|
|
|
property :zone, as: 'zone'
|
|
|
|
end
|
2018-01-18 00:35:53 +00:00
|
|
|
end
|
|
|
|
|
2019-03-13 00:37:11 +00:00
|
|
|
class ContainerKilledEvent
|
|
|
|
# @private
|
|
|
|
class Representation < Google::Apis::Core::JsonRepresentation
|
|
|
|
property :action_id, as: 'actionId'
|
|
|
|
end
|
2018-01-18 00:35:53 +00:00
|
|
|
end
|
|
|
|
|
2019-03-13 00:37:11 +00:00
|
|
|
class ContainerStartedEvent
|
|
|
|
# @private
|
|
|
|
class Representation < Google::Apis::Core::JsonRepresentation
|
|
|
|
property :action_id, as: 'actionId'
|
|
|
|
property :ip_address, as: 'ipAddress'
|
|
|
|
hash :port_mappings, as: 'portMappings'
|
|
|
|
end
|
2018-01-18 00:35:53 +00:00
|
|
|
end
|
|
|
|
|
2019-03-13 00:37:11 +00:00
|
|
|
class ContainerStoppedEvent
|
|
|
|
# @private
|
|
|
|
class Representation < Google::Apis::Core::JsonRepresentation
|
|
|
|
property :action_id, as: 'actionId'
|
|
|
|
property :exit_status, as: 'exitStatus'
|
|
|
|
property :stderr, as: 'stderr'
|
|
|
|
end
|
2018-01-18 00:35:53 +00:00
|
|
|
end
|
|
|
|
|
2019-03-13 00:37:11 +00:00
|
|
|
class DelayedEvent
|
|
|
|
# @private
|
|
|
|
class Representation < Google::Apis::Core::JsonRepresentation
|
|
|
|
property :cause, as: 'cause'
|
|
|
|
collection :metrics, as: 'metrics'
|
|
|
|
end
|
2018-01-18 00:35:53 +00:00
|
|
|
end
|
|
|
|
|
2019-03-13 00:37:11 +00:00
|
|
|
class Empty
|
|
|
|
# @private
|
|
|
|
class Representation < Google::Apis::Core::JsonRepresentation
|
|
|
|
end
|
2018-01-18 00:35:53 +00:00
|
|
|
end
|
|
|
|
|
2019-03-13 00:37:11 +00:00
|
|
|
class Event
|
|
|
|
# @private
|
|
|
|
class Representation < Google::Apis::Core::JsonRepresentation
|
|
|
|
property :description, as: 'description'
|
|
|
|
hash :details, as: 'details'
|
|
|
|
property :timestamp, as: 'timestamp'
|
|
|
|
end
|
2018-01-18 00:35:53 +00:00
|
|
|
end
|
|
|
|
|
2019-03-13 00:37:11 +00:00
|
|
|
class FailedEvent
|
|
|
|
# @private
|
|
|
|
class Representation < Google::Apis::Core::JsonRepresentation
|
|
|
|
property :cause, as: 'cause'
|
|
|
|
property :code, as: 'code'
|
|
|
|
end
|
2018-02-21 00:36:04 +00:00
|
|
|
end
|
|
|
|
|
2019-03-13 00:37:11 +00:00
|
|
|
class ListOperationsResponse
|
|
|
|
# @private
|
|
|
|
class Representation < Google::Apis::Core::JsonRepresentation
|
|
|
|
property :next_page_token, as: 'nextPageToken'
|
|
|
|
collection :operations, as: 'operations', class: Google::Apis::GenomicsV1::Operation, decorator: Google::Apis::GenomicsV1::Operation::Representation
|
2018-01-18 00:35:53 +00:00
|
|
|
|
2019-03-13 00:37:11 +00:00
|
|
|
end
|
2018-01-18 00:35:53 +00:00
|
|
|
end
|
|
|
|
|
2019-03-13 00:37:11 +00:00
|
|
|
class Operation
|
|
|
|
# @private
|
|
|
|
class Representation < Google::Apis::Core::JsonRepresentation
|
|
|
|
property :done, as: 'done'
|
|
|
|
property :error, as: 'error', class: Google::Apis::GenomicsV1::Status, decorator: Google::Apis::GenomicsV1::Status::Representation
|
2018-01-18 00:35:53 +00:00
|
|
|
|
2019-03-13 00:37:11 +00:00
|
|
|
hash :metadata, as: 'metadata'
|
|
|
|
property :name, as: 'name'
|
|
|
|
hash :response, as: 'response'
|
|
|
|
end
|
2018-01-18 00:35:53 +00:00
|
|
|
end
|
|
|
|
|
2019-03-13 00:37:11 +00:00
|
|
|
class OperationEvent
|
|
|
|
# @private
|
|
|
|
class Representation < Google::Apis::Core::JsonRepresentation
|
|
|
|
property :description, as: 'description'
|
|
|
|
property :end_time, as: 'endTime'
|
|
|
|
property :start_time, as: 'startTime'
|
|
|
|
end
|
2018-01-18 00:35:53 +00:00
|
|
|
end
|
|
|
|
|
2019-03-13 00:37:11 +00:00
|
|
|
class OperationMetadata
|
|
|
|
# @private
|
|
|
|
class Representation < Google::Apis::Core::JsonRepresentation
|
|
|
|
property :client_id, as: 'clientId'
|
|
|
|
property :create_time, as: 'createTime'
|
|
|
|
property :end_time, as: 'endTime'
|
|
|
|
collection :events, as: 'events', class: Google::Apis::GenomicsV1::OperationEvent, decorator: Google::Apis::GenomicsV1::OperationEvent::Representation
|
2018-01-18 00:35:53 +00:00
|
|
|
|
2019-03-13 00:37:11 +00:00
|
|
|
hash :labels, as: 'labels'
|
|
|
|
property :project_id, as: 'projectId'
|
|
|
|
hash :request, as: 'request'
|
|
|
|
hash :runtime_metadata, as: 'runtimeMetadata'
|
|
|
|
property :start_time, as: 'startTime'
|
|
|
|
end
|
2018-01-18 00:35:53 +00:00
|
|
|
end
|
|
|
|
|
2019-03-13 00:37:11 +00:00
|
|
|
class PullStartedEvent
|
|
|
|
# @private
|
|
|
|
class Representation < Google::Apis::Core::JsonRepresentation
|
|
|
|
property :image_uri, as: 'imageUri'
|
|
|
|
end
|
2018-01-18 00:35:53 +00:00
|
|
|
end
|
|
|
|
|
2019-03-13 00:37:11 +00:00
|
|
|
class PullStoppedEvent
|
|
|
|
# @private
|
|
|
|
class Representation < Google::Apis::Core::JsonRepresentation
|
|
|
|
property :image_uri, as: 'imageUri'
|
|
|
|
end
|
2018-01-18 00:35:53 +00:00
|
|
|
end
|
|
|
|
|
2018-09-06 00:36:21 +00:00
|
|
|
class RunPipelineResponse
|
2019-03-13 00:37:11 +00:00
|
|
|
# @private
|
|
|
|
class Representation < Google::Apis::Core::JsonRepresentation
|
|
|
|
end
|
2018-09-06 00:36:21 +00:00
|
|
|
end
|
|
|
|
|
2018-01-18 00:35:53 +00:00
|
|
|
class RuntimeMetadata
|
2019-03-13 00:37:11 +00:00
|
|
|
# @private
|
|
|
|
class Representation < Google::Apis::Core::JsonRepresentation
|
|
|
|
property :compute_engine, as: 'computeEngine', class: Google::Apis::GenomicsV1::ComputeEngine, decorator: Google::Apis::GenomicsV1::ComputeEngine::Representation
|
2017-08-25 19:54:22 +00:00
|
|
|
|
2017-07-12 20:10:42 +00:00
|
|
|
end
|
|
|
|
end
|
|
|
|
|
2017-08-25 19:54:22 +00:00
|
|
|
class Status
|
2017-07-12 20:10:42 +00:00
|
|
|
# @private
|
|
|
|
class Representation < Google::Apis::Core::JsonRepresentation
|
2017-08-25 19:54:22 +00:00
|
|
|
property :code, as: 'code'
|
|
|
|
collection :details, as: 'details'
|
|
|
|
property :message, as: 'message'
|
2017-07-12 20:10:42 +00:00
|
|
|
end
|
|
|
|
end
|
2018-01-18 00:35:53 +00:00
|
|
|
|
2018-02-21 00:36:04 +00:00
|
|
|
class UnexpectedExitStatusEvent
|
|
|
|
# @private
|
|
|
|
class Representation < Google::Apis::Core::JsonRepresentation
|
|
|
|
property :action_id, as: 'actionId'
|
|
|
|
property :exit_status, as: 'exitStatus'
|
|
|
|
end
|
|
|
|
end
|
|
|
|
|
|
|
|
class WorkerAssignedEvent
|
|
|
|
# @private
|
|
|
|
class Representation < Google::Apis::Core::JsonRepresentation
|
|
|
|
property :instance, as: 'instance'
|
2019-07-23 00:37:37 +00:00
|
|
|
property :machine_type, as: 'machineType'
|
2018-02-21 00:36:04 +00:00
|
|
|
property :zone, as: 'zone'
|
|
|
|
end
|
|
|
|
end
|
|
|
|
|
|
|
|
class WorkerReleasedEvent
|
|
|
|
# @private
|
|
|
|
class Representation < Google::Apis::Core::JsonRepresentation
|
|
|
|
property :instance, as: 'instance'
|
|
|
|
property :zone, as: 'zone'
|
|
|
|
end
|
|
|
|
end
|
2015-07-20 21:49:34 +00:00
|
|
|
end
|
|
|
|
end
|
|
|
|
end
|