google-api-ruby-client/google-api-client/generated/google/apis/genomics_v1/representations.rb

333 lines
10 KiB
Ruby

# 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
class CancelOperationRequest
class Representation < Google::Apis::Core::JsonRepresentation; end
include Google::Apis::Core::JsonObjectSupport
end
class ComputeEngine
class Representation < Google::Apis::Core::JsonRepresentation; end
include Google::Apis::Core::JsonObjectSupport
end
class ContainerKilledEvent
class Representation < Google::Apis::Core::JsonRepresentation; end
include Google::Apis::Core::JsonObjectSupport
end
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
class Empty
class Representation < Google::Apis::Core::JsonRepresentation; end
include Google::Apis::Core::JsonObjectSupport
end
class Event
class Representation < Google::Apis::Core::JsonRepresentation; end
include Google::Apis::Core::JsonObjectSupport
end
class FailedEvent
class Representation < Google::Apis::Core::JsonRepresentation; end
include Google::Apis::Core::JsonObjectSupport
end
class ListOperationsResponse
class Representation < Google::Apis::Core::JsonRepresentation; end
include Google::Apis::Core::JsonObjectSupport
end
class Operation
class Representation < Google::Apis::Core::JsonRepresentation; end
include Google::Apis::Core::JsonObjectSupport
end
class OperationEvent
class Representation < Google::Apis::Core::JsonRepresentation; end
include Google::Apis::Core::JsonObjectSupport
end
class OperationMetadata
class Representation < Google::Apis::Core::JsonRepresentation; end
include Google::Apis::Core::JsonObjectSupport
end
class PullStartedEvent
class Representation < Google::Apis::Core::JsonRepresentation; end
include Google::Apis::Core::JsonObjectSupport
end
class PullStoppedEvent
class Representation < Google::Apis::Core::JsonRepresentation; end
include Google::Apis::Core::JsonObjectSupport
end
class RunPipelineResponse
class Representation < Google::Apis::Core::JsonRepresentation; end
include Google::Apis::Core::JsonObjectSupport
end
class RuntimeMetadata
class Representation < Google::Apis::Core::JsonRepresentation; end
include Google::Apis::Core::JsonObjectSupport
end
class Status
class Representation < Google::Apis::Core::JsonRepresentation; end
include Google::Apis::Core::JsonObjectSupport
end
class UnexpectedExitStatusEvent
class Representation < Google::Apis::Core::JsonRepresentation; end
include Google::Apis::Core::JsonObjectSupport
end
class WorkerAssignedEvent
class Representation < Google::Apis::Core::JsonRepresentation; end
include Google::Apis::Core::JsonObjectSupport
end
class WorkerReleasedEvent
class Representation < Google::Apis::Core::JsonRepresentation; end
include Google::Apis::Core::JsonObjectSupport
end
class CancelOperationRequest
# @private
class Representation < Google::Apis::Core::JsonRepresentation
end
end
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
end
class ContainerKilledEvent
# @private
class Representation < Google::Apis::Core::JsonRepresentation
property :action_id, as: 'actionId'
end
end
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
end
class ContainerStoppedEvent
# @private
class Representation < Google::Apis::Core::JsonRepresentation
property :action_id, as: 'actionId'
property :exit_status, as: 'exitStatus'
property :stderr, as: 'stderr'
end
end
class DelayedEvent
# @private
class Representation < Google::Apis::Core::JsonRepresentation
property :cause, as: 'cause'
collection :metrics, as: 'metrics'
end
end
class Empty
# @private
class Representation < Google::Apis::Core::JsonRepresentation
end
end
class Event
# @private
class Representation < Google::Apis::Core::JsonRepresentation
property :description, as: 'description'
hash :details, as: 'details'
property :timestamp, as: 'timestamp'
end
end
class FailedEvent
# @private
class Representation < Google::Apis::Core::JsonRepresentation
property :cause, as: 'cause'
property :code, as: 'code'
end
end
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
end
end
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
hash :metadata, as: 'metadata'
property :name, as: 'name'
hash :response, as: 'response'
end
end
class OperationEvent
# @private
class Representation < Google::Apis::Core::JsonRepresentation
property :description, as: 'description'
property :end_time, as: 'endTime'
property :start_time, as: 'startTime'
end
end
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
hash :labels, as: 'labels'
property :project_id, as: 'projectId'
hash :request, as: 'request'
hash :runtime_metadata, as: 'runtimeMetadata'
property :start_time, as: 'startTime'
end
end
class PullStartedEvent
# @private
class Representation < Google::Apis::Core::JsonRepresentation
property :image_uri, as: 'imageUri'
end
end
class PullStoppedEvent
# @private
class Representation < Google::Apis::Core::JsonRepresentation
property :image_uri, as: 'imageUri'
end
end
class RunPipelineResponse
# @private
class Representation < Google::Apis::Core::JsonRepresentation
end
end
class RuntimeMetadata
# @private
class Representation < Google::Apis::Core::JsonRepresentation
property :compute_engine, as: 'computeEngine', class: Google::Apis::GenomicsV1::ComputeEngine, decorator: Google::Apis::GenomicsV1::ComputeEngine::Representation
end
end
class Status
# @private
class Representation < Google::Apis::Core::JsonRepresentation
property :code, as: 'code'
collection :details, as: 'details'
property :message, as: 'message'
end
end
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'
property :machine_type, as: 'machineType'
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
end
end
end