| 
									
										
										
										
											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 | 
					
						
							|  |  |  |        | 
					
						
							| 
									
										
										
										
											2017-08-25 19:54:22 +00:00
										 |  |  |       # The request message for Operations.CancelOperation. | 
					
						
							|  |  |  |       class CancelOperationRequest | 
					
						
							| 
									
										
										
										
											2017-03-10 21:11:09 +00:00
										 |  |  |         include Google::Apis::Core::Hashable | 
					
						
							| 
									
										
										
										
											2016-04-14 18:15:27 +00:00
										 |  |  |        | 
					
						
							| 
									
										
										
										
											2017-04-03 20:18:48 +00:00
										 |  |  |         def initialize(**args) | 
					
						
							|  |  |  |            update!(**args) | 
					
						
							|  |  |  |         end | 
					
						
							|  |  |  |        | 
					
						
							|  |  |  |         # Update properties of this object | 
					
						
							|  |  |  |         def update!(**args) | 
					
						
							|  |  |  |         end | 
					
						
							|  |  |  |       end | 
					
						
							|  |  |  |        | 
					
						
							| 
									
										
										
										
											2017-08-25 19:54:22 +00:00
										 |  |  |       # Describes a Compute Engine resource that is being managed by a running | 
					
						
							|  |  |  |       # pipeline. | 
					
						
							|  |  |  |       class ComputeEngine | 
					
						
							|  |  |  |         include Google::Apis::Core::Hashable | 
					
						
							|  |  |  |        | 
					
						
							|  |  |  |         # The names of the disks that were created for this pipeline. | 
					
						
							|  |  |  |         # Corresponds to the JSON property `diskNames` | 
					
						
							|  |  |  |         # @return [Array<String>] | 
					
						
							|  |  |  |         attr_accessor :disk_names | 
					
						
							|  |  |  |        | 
					
						
							|  |  |  |         # The instance on which the operation is running. | 
					
						
							|  |  |  |         # Corresponds to the JSON property `instanceName` | 
					
						
							| 
									
										
										
										
											2017-07-12 20:10:42 +00:00
										 |  |  |         # @return [String] | 
					
						
							| 
									
										
										
										
											2017-08-25 19:54:22 +00:00
										 |  |  |         attr_accessor :instance_name | 
					
						
							| 
									
										
										
										
											2017-07-12 20:10:42 +00:00
										 |  |  |        | 
					
						
							| 
									
										
										
										
											2017-08-25 19:54:22 +00:00
										 |  |  |         # The machine type of the instance. | 
					
						
							|  |  |  |         # Corresponds to the JSON property `machineType` | 
					
						
							| 
									
										
										
										
											2017-07-12 20:10:42 +00:00
										 |  |  |         # @return [String] | 
					
						
							| 
									
										
										
										
											2017-08-25 19:54:22 +00:00
										 |  |  |         attr_accessor :machine_type | 
					
						
							| 
									
										
										
										
											2017-07-12 20:10:42 +00:00
										 |  |  |        | 
					
						
							| 
									
										
										
										
											2017-08-25 19:54:22 +00:00
										 |  |  |         # The availability zone in which the instance resides. | 
					
						
							|  |  |  |         # Corresponds to the JSON property `zone` | 
					
						
							|  |  |  |         # @return [String] | 
					
						
							|  |  |  |         attr_accessor :zone | 
					
						
							| 
									
										
										
										
											2017-06-02 06:11:31 +00:00
										 |  |  |        | 
					
						
							| 
									
										
										
										
											2017-05-04 19:35:56 +00:00
										 |  |  |         def initialize(**args) | 
					
						
							| 
									
										
										
										
											2016-04-14 18:15:27 +00:00
										 |  |  |            update!(**args) | 
					
						
							|  |  |  |         end | 
					
						
							|  |  |  |        | 
					
						
							|  |  |  |         # Update properties of this object | 
					
						
							|  |  |  |         def update!(**args) | 
					
						
							| 
									
										
										
										
											2017-08-25 19:54:22 +00:00
										 |  |  |           @disk_names = args[:disk_names] if args.key?(:disk_names) | 
					
						
							|  |  |  |           @instance_name = args[:instance_name] if args.key?(:instance_name) | 
					
						
							|  |  |  |           @machine_type = args[:machine_type] if args.key?(:machine_type) | 
					
						
							|  |  |  |           @zone = args[:zone] if args.key?(:zone) | 
					
						
							| 
									
										
										
										
											2016-04-14 18:15:27 +00:00
										 |  |  |         end | 
					
						
							|  |  |  |       end | 
					
						
							|  |  |  |        | 
					
						
							| 
									
										
										
										
											2020-08-07 00:38:13 +00:00
										 |  |  |       # An event generated when a container is forcibly terminated by the worker. | 
					
						
							|  |  |  |       # Currently, this only occurs when the container outlives the timeout specified | 
					
						
							|  |  |  |       # by the user. | 
					
						
							| 
									
										
										
										
											2018-08-22 21:14:52 +00:00
										 |  |  |       class ContainerKilledEvent | 
					
						
							|  |  |  |         include Google::Apis::Core::Hashable | 
					
						
							|  |  |  |        | 
					
						
							|  |  |  |         # The numeric ID of the action that started the container. | 
					
						
							|  |  |  |         # Corresponds to the JSON property `actionId` | 
					
						
							|  |  |  |         # @return [Fixnum] | 
					
						
							|  |  |  |         attr_accessor :action_id | 
					
						
							|  |  |  |        | 
					
						
							|  |  |  |         def initialize(**args) | 
					
						
							|  |  |  |            update!(**args) | 
					
						
							|  |  |  |         end | 
					
						
							|  |  |  |        | 
					
						
							|  |  |  |         # Update properties of this object | 
					
						
							|  |  |  |         def update!(**args) | 
					
						
							|  |  |  |           @action_id = args[:action_id] if args.key?(:action_id) | 
					
						
							|  |  |  |         end | 
					
						
							|  |  |  |       end | 
					
						
							|  |  |  |        | 
					
						
							|  |  |  |       # An event generated when a container starts. | 
					
						
							| 
									
										
										
										
											2018-02-21 00:36:04 +00:00
										 |  |  |       class ContainerStartedEvent | 
					
						
							|  |  |  |         include Google::Apis::Core::Hashable | 
					
						
							|  |  |  |        | 
					
						
							|  |  |  |         # The numeric ID of the action that started this container. | 
					
						
							|  |  |  |         # Corresponds to the JSON property `actionId` | 
					
						
							|  |  |  |         # @return [Fixnum] | 
					
						
							|  |  |  |         attr_accessor :action_id | 
					
						
							|  |  |  |        | 
					
						
							| 
									
										
										
										
											2020-08-07 00:38:13 +00:00
										 |  |  |         # The public IP address that can be used to connect to the container. This field | 
					
						
							|  |  |  |         # is only populated when at least one port mapping is present. If the instance | 
					
						
							|  |  |  |         # was created with a private address, this field will be empty even if port | 
					
						
							|  |  |  |         # mappings exist. | 
					
						
							| 
									
										
										
										
											2018-02-21 00:36:04 +00:00
										 |  |  |         # Corresponds to the JSON property `ipAddress` | 
					
						
							|  |  |  |         # @return [String] | 
					
						
							|  |  |  |         attr_accessor :ip_address | 
					
						
							|  |  |  |        | 
					
						
							| 
									
										
										
										
											2020-08-07 00:38:13 +00:00
										 |  |  |         # The container-to-host port mappings installed for this container. This set | 
					
						
							|  |  |  |         # will contain any ports exposed using the `PUBLISH_EXPOSED_PORTS` flag as well | 
					
						
							|  |  |  |         # as any specified in the `Action` definition. | 
					
						
							| 
									
										
										
										
											2018-02-21 00:36:04 +00:00
										 |  |  |         # Corresponds to the JSON property `portMappings` | 
					
						
							|  |  |  |         # @return [Hash<String,Fixnum>] | 
					
						
							|  |  |  |         attr_accessor :port_mappings | 
					
						
							|  |  |  |        | 
					
						
							|  |  |  |         def initialize(**args) | 
					
						
							|  |  |  |            update!(**args) | 
					
						
							|  |  |  |         end | 
					
						
							|  |  |  |        | 
					
						
							|  |  |  |         # Update properties of this object | 
					
						
							|  |  |  |         def update!(**args) | 
					
						
							|  |  |  |           @action_id = args[:action_id] if args.key?(:action_id) | 
					
						
							|  |  |  |           @ip_address = args[:ip_address] if args.key?(:ip_address) | 
					
						
							|  |  |  |           @port_mappings = args[:port_mappings] if args.key?(:port_mappings) | 
					
						
							|  |  |  |         end | 
					
						
							|  |  |  |       end | 
					
						
							|  |  |  |        | 
					
						
							| 
									
										
										
										
											2018-08-22 21:14:52 +00:00
										 |  |  |       # An event generated when a container exits. | 
					
						
							| 
									
										
										
										
											2018-02-21 00:36:04 +00:00
										 |  |  |       class ContainerStoppedEvent | 
					
						
							|  |  |  |         include Google::Apis::Core::Hashable | 
					
						
							|  |  |  |        | 
					
						
							|  |  |  |         # The numeric ID of the action that started this container. | 
					
						
							|  |  |  |         # Corresponds to the JSON property `actionId` | 
					
						
							|  |  |  |         # @return [Fixnum] | 
					
						
							|  |  |  |         attr_accessor :action_id | 
					
						
							|  |  |  |        | 
					
						
							|  |  |  |         # The exit status of the container. | 
					
						
							|  |  |  |         # Corresponds to the JSON property `exitStatus` | 
					
						
							|  |  |  |         # @return [Fixnum] | 
					
						
							|  |  |  |         attr_accessor :exit_status | 
					
						
							|  |  |  |        | 
					
						
							| 
									
										
										
										
											2020-08-07 00:38:13 +00:00
										 |  |  |         # The tail end of any content written to standard error by the container. If the | 
					
						
							|  |  |  |         # content emits large amounts of debugging noise or contains sensitive | 
					
						
							|  |  |  |         # information, you can prevent the content from being printed by setting the ` | 
					
						
							|  |  |  |         # DISABLE_STANDARD_ERROR_CAPTURE` flag. Note that only a small amount of the end | 
					
						
							|  |  |  |         # of the stream is captured here. The entire stream is stored in the `/google/ | 
					
						
							|  |  |  |         # logs` directory mounted into each action, and can be copied off the machine as | 
					
						
							|  |  |  |         # described elsewhere. | 
					
						
							| 
									
										
										
										
											2018-05-03 00:36:08 +00:00
										 |  |  |         # Corresponds to the JSON property `stderr` | 
					
						
							|  |  |  |         # @return [String] | 
					
						
							|  |  |  |         attr_accessor :stderr | 
					
						
							|  |  |  |        | 
					
						
							| 
									
										
										
										
											2018-02-21 00:36:04 +00:00
										 |  |  |         def initialize(**args) | 
					
						
							|  |  |  |            update!(**args) | 
					
						
							|  |  |  |         end | 
					
						
							|  |  |  |        | 
					
						
							|  |  |  |         # Update properties of this object | 
					
						
							|  |  |  |         def update!(**args) | 
					
						
							|  |  |  |           @action_id = args[:action_id] if args.key?(:action_id) | 
					
						
							|  |  |  |           @exit_status = args[:exit_status] if args.key?(:exit_status) | 
					
						
							| 
									
										
										
										
											2018-05-03 00:36:08 +00:00
										 |  |  |           @stderr = args[:stderr] if args.key?(:stderr) | 
					
						
							| 
									
										
										
										
											2018-02-21 00:36:04 +00:00
										 |  |  |         end | 
					
						
							|  |  |  |       end | 
					
						
							|  |  |  |        | 
					
						
							| 
									
										
										
										
											2020-08-07 00:38:13 +00:00
										 |  |  |       # An event generated whenever a resource limitation or transient error delays | 
					
						
							|  |  |  |       # execution of a pipeline that was otherwise ready to run. | 
					
						
							| 
									
										
										
										
											2018-02-21 00:36:04 +00:00
										 |  |  |       class DelayedEvent | 
					
						
							|  |  |  |         include Google::Apis::Core::Hashable | 
					
						
							|  |  |  |        | 
					
						
							| 
									
										
										
										
											2020-08-07 00:38:13 +00:00
										 |  |  |         # A textual description of the cause of the delay. The string can change without | 
					
						
							|  |  |  |         # notice because it is often generated by another service (such as Compute | 
					
						
							|  |  |  |         # Engine). | 
					
						
							| 
									
										
										
										
											2018-02-21 00:36:04 +00:00
										 |  |  |         # Corresponds to the JSON property `cause` | 
					
						
							|  |  |  |         # @return [String] | 
					
						
							|  |  |  |         attr_accessor :cause | 
					
						
							|  |  |  |        | 
					
						
							| 
									
										
										
										
											2020-08-07 00:38:13 +00:00
										 |  |  |         # If the delay was caused by a resource shortage, this field lists the Compute | 
					
						
							|  |  |  |         # Engine metrics that are preventing this operation from running (for example, ` | 
					
						
							|  |  |  |         # CPUS` or `INSTANCES`). If the particular metric is not known, a single ` | 
					
						
							|  |  |  |         # UNKNOWN` metric will be present. | 
					
						
							| 
									
										
										
										
											2018-02-21 00:36:04 +00:00
										 |  |  |         # Corresponds to the JSON property `metrics` | 
					
						
							|  |  |  |         # @return [Array<String>] | 
					
						
							|  |  |  |         attr_accessor :metrics | 
					
						
							|  |  |  |        | 
					
						
							|  |  |  |         def initialize(**args) | 
					
						
							|  |  |  |            update!(**args) | 
					
						
							|  |  |  |         end | 
					
						
							|  |  |  |        | 
					
						
							|  |  |  |         # Update properties of this object | 
					
						
							|  |  |  |         def update!(**args) | 
					
						
							|  |  |  |           @cause = args[:cause] if args.key?(:cause) | 
					
						
							|  |  |  |           @metrics = args[:metrics] if args.key?(:metrics) | 
					
						
							|  |  |  |         end | 
					
						
							|  |  |  |       end | 
					
						
							|  |  |  |        | 
					
						
							| 
									
										
										
										
											2020-08-07 00:38:13 +00:00
										 |  |  |       # A generic empty message that you can re-use to avoid defining duplicated empty | 
					
						
							|  |  |  |       # messages in your APIs. A typical example is to use it as the request or the | 
					
						
							|  |  |  |       # response type of an API method. For instance: service Foo ` rpc Bar(google. | 
					
						
							|  |  |  |       # protobuf.Empty) returns (google.protobuf.Empty); ` The JSON representation for | 
					
						
							|  |  |  |       # `Empty` is empty JSON object ````. | 
					
						
							| 
									
										
										
										
											2018-01-18 00:35:53 +00:00
										 |  |  |       class Empty | 
					
						
							| 
									
										
										
										
											2017-06-14 17:02:03 +00:00
										 |  |  |         include Google::Apis::Core::Hashable | 
					
						
							|  |  |  |        | 
					
						
							| 
									
										
										
										
											2018-01-18 00:35:53 +00:00
										 |  |  |         def initialize(**args) | 
					
						
							|  |  |  |            update!(**args) | 
					
						
							|  |  |  |         end | 
					
						
							|  |  |  |        | 
					
						
							|  |  |  |         # Update properties of this object | 
					
						
							|  |  |  |         def update!(**args) | 
					
						
							|  |  |  |         end | 
					
						
							|  |  |  |       end | 
					
						
							|  |  |  |        | 
					
						
							| 
									
										
										
										
											2019-03-13 00:37:11 +00:00
										 |  |  |       # Carries information about events that occur during pipeline execution. | 
					
						
							|  |  |  |       class Event | 
					
						
							| 
									
										
										
										
											2018-01-18 00:35:53 +00:00
										 |  |  |         include Google::Apis::Core::Hashable | 
					
						
							|  |  |  |        | 
					
						
							| 
									
										
										
										
											2020-08-07 00:38:13 +00:00
										 |  |  |         # A human-readable description of the event. Note that these strings can change | 
					
						
							|  |  |  |         # at any time without notice. Any application logic must use the information in | 
					
						
							|  |  |  |         # the `details` field. | 
					
						
							| 
									
										
										
										
											2019-03-13 00:37:11 +00:00
										 |  |  |         # Corresponds to the JSON property `description` | 
					
						
							|  |  |  |         # @return [String] | 
					
						
							|  |  |  |         attr_accessor :description | 
					
						
							| 
									
										
										
										
											2018-02-21 00:36:04 +00:00
										 |  |  |        | 
					
						
							| 
									
										
										
										
											2018-08-22 21:14:52 +00:00
										 |  |  |         # Machine-readable details about the event. | 
					
						
							| 
									
										
										
										
											2018-02-21 00:36:04 +00:00
										 |  |  |         # Corresponds to the JSON property `details` | 
					
						
							|  |  |  |         # @return [Hash<String,Object>] | 
					
						
							|  |  |  |         attr_accessor :details | 
					
						
							|  |  |  |        | 
					
						
							| 
									
										
										
										
											2018-08-22 21:14:52 +00:00
										 |  |  |         # The time at which the event occurred. | 
					
						
							| 
									
										
										
										
											2018-02-21 00:36:04 +00:00
										 |  |  |         # Corresponds to the JSON property `timestamp` | 
					
						
							|  |  |  |         # @return [String] | 
					
						
							|  |  |  |         attr_accessor :timestamp | 
					
						
							|  |  |  |        | 
					
						
							|  |  |  |         def initialize(**args) | 
					
						
							|  |  |  |            update!(**args) | 
					
						
							|  |  |  |         end | 
					
						
							|  |  |  |        | 
					
						
							|  |  |  |         # Update properties of this object | 
					
						
							|  |  |  |         def update!(**args) | 
					
						
							|  |  |  |           @description = args[:description] if args.key?(:description) | 
					
						
							|  |  |  |           @details = args[:details] if args.key?(:details) | 
					
						
							|  |  |  |           @timestamp = args[:timestamp] if args.key?(:timestamp) | 
					
						
							|  |  |  |         end | 
					
						
							|  |  |  |       end | 
					
						
							|  |  |  |        | 
					
						
							| 
									
										
										
										
											2020-08-07 00:38:13 +00:00
										 |  |  |       # An event generated when the execution of a pipeline has failed. Note that | 
					
						
							|  |  |  |       # other events can continue to occur after this event. | 
					
						
							| 
									
										
										
										
											2019-03-13 00:37:11 +00:00
										 |  |  |       class FailedEvent | 
					
						
							| 
									
										
										
										
											2018-01-18 00:35:53 +00:00
										 |  |  |         include Google::Apis::Core::Hashable | 
					
						
							|  |  |  |        | 
					
						
							| 
									
										
										
										
											2019-03-13 00:37:11 +00:00
										 |  |  |         # The human-readable description of the cause of the failure. | 
					
						
							|  |  |  |         # Corresponds to the JSON property `cause` | 
					
						
							| 
									
										
										
										
											2018-01-18 00:35:53 +00:00
										 |  |  |         # @return [String] | 
					
						
							| 
									
										
										
										
											2019-03-13 00:37:11 +00:00
										 |  |  |         attr_accessor :cause | 
					
						
							| 
									
										
										
										
											2018-01-18 00:35:53 +00:00
										 |  |  |        | 
					
						
							| 
									
										
										
										
											2019-03-13 00:37:11 +00:00
										 |  |  |         # The Google standard error code that best describes this failure. | 
					
						
							|  |  |  |         # Corresponds to the JSON property `code` | 
					
						
							| 
									
										
										
										
											2018-01-18 00:35:53 +00:00
										 |  |  |         # @return [String] | 
					
						
							| 
									
										
										
										
											2019-03-13 00:37:11 +00:00
										 |  |  |         attr_accessor :code | 
					
						
							| 
									
										
										
										
											2018-01-18 00:35:53 +00:00
										 |  |  |        | 
					
						
							|  |  |  |         def initialize(**args) | 
					
						
							|  |  |  |            update!(**args) | 
					
						
							|  |  |  |         end | 
					
						
							|  |  |  |        | 
					
						
							|  |  |  |         # Update properties of this object | 
					
						
							|  |  |  |         def update!(**args) | 
					
						
							| 
									
										
										
										
											2019-03-13 00:37:11 +00:00
										 |  |  |           @cause = args[:cause] if args.key?(:cause) | 
					
						
							|  |  |  |           @code = args[:code] if args.key?(:code) | 
					
						
							| 
									
										
										
										
											2018-01-18 00:35:53 +00:00
										 |  |  |         end | 
					
						
							|  |  |  |       end | 
					
						
							|  |  |  |        | 
					
						
							| 
									
										
										
										
											2019-03-13 00:37:11 +00:00
										 |  |  |       # The response message for Operations.ListOperations. | 
					
						
							|  |  |  |       class ListOperationsResponse | 
					
						
							| 
									
										
										
										
											2018-08-22 21:14:52 +00:00
										 |  |  |         include Google::Apis::Core::Hashable | 
					
						
							|  |  |  |        | 
					
						
							| 
									
										
										
										
											2019-03-13 00:37:11 +00:00
										 |  |  |         # The standard List next-page token. | 
					
						
							|  |  |  |         # Corresponds to the JSON property `nextPageToken` | 
					
						
							| 
									
										
										
										
											2018-08-22 21:14:52 +00:00
										 |  |  |         # @return [String] | 
					
						
							| 
									
										
										
										
											2019-03-13 00:37:11 +00:00
										 |  |  |         attr_accessor :next_page_token | 
					
						
							| 
									
										
										
										
											2018-08-22 21:14:52 +00:00
										 |  |  |        | 
					
						
							| 
									
										
										
										
											2019-03-13 00:37:11 +00:00
										 |  |  |         # A list of operations that matches the specified filter in the request. | 
					
						
							|  |  |  |         # Corresponds to the JSON property `operations` | 
					
						
							|  |  |  |         # @return [Array<Google::Apis::GenomicsV1::Operation>] | 
					
						
							|  |  |  |         attr_accessor :operations | 
					
						
							| 
									
										
										
										
											2018-08-22 21:14:52 +00:00
										 |  |  |        | 
					
						
							|  |  |  |         def initialize(**args) | 
					
						
							|  |  |  |            update!(**args) | 
					
						
							|  |  |  |         end | 
					
						
							|  |  |  |        | 
					
						
							|  |  |  |         # Update properties of this object | 
					
						
							|  |  |  |         def update!(**args) | 
					
						
							| 
									
										
										
										
											2019-03-13 00:37:11 +00:00
										 |  |  |           @next_page_token = args[:next_page_token] if args.key?(:next_page_token) | 
					
						
							|  |  |  |           @operations = args[:operations] if args.key?(:operations) | 
					
						
							| 
									
										
										
										
											2018-08-22 21:14:52 +00:00
										 |  |  |         end | 
					
						
							|  |  |  |       end | 
					
						
							|  |  |  |        | 
					
						
							| 
									
										
										
										
											2019-03-13 00:37:11 +00:00
										 |  |  |       # This resource represents a long-running operation that is the result of a | 
					
						
							|  |  |  |       # network API call. | 
					
						
							|  |  |  |       class Operation | 
					
						
							| 
									
										
										
										
											2018-01-18 00:35:53 +00:00
										 |  |  |         include Google::Apis::Core::Hashable | 
					
						
							|  |  |  |        | 
					
						
							| 
									
										
										
										
											2020-08-07 00:38:13 +00:00
										 |  |  |         # If the value is `false`, it means the operation is still in progress. If `true` | 
					
						
							|  |  |  |         # , the operation is completed, and either `error` or `response` is available. | 
					
						
							| 
									
										
										
										
											2019-03-13 00:37:11 +00:00
										 |  |  |         # Corresponds to the JSON property `done` | 
					
						
							|  |  |  |         # @return [Boolean] | 
					
						
							|  |  |  |         attr_accessor :done | 
					
						
							|  |  |  |         alias_method :done?, :done | 
					
						
							|  |  |  |        | 
					
						
							| 
									
										
										
										
											2020-08-07 00:38:13 +00:00
										 |  |  |         # The `Status` type defines a logical error model that is suitable for different | 
					
						
							|  |  |  |         # programming environments, including REST APIs and RPC APIs. It is used by [ | 
					
						
							|  |  |  |         # gRPC](https://github.com/grpc). Each `Status` message contains three pieces of | 
					
						
							|  |  |  |         # data: error code, error message, and error details. You can find out more | 
					
						
							|  |  |  |         # about this error model and how to work with it in the [API Design Guide](https: | 
					
						
							|  |  |  |         # //cloud.google.com/apis/design/errors). | 
					
						
							| 
									
										
										
										
											2019-03-13 00:37:11 +00:00
										 |  |  |         # Corresponds to the JSON property `error` | 
					
						
							|  |  |  |         # @return [Google::Apis::GenomicsV1::Status] | 
					
						
							|  |  |  |         attr_accessor :error | 
					
						
							|  |  |  |        | 
					
						
							|  |  |  |         # An OperationMetadata or Metadata object. This will always be returned with the | 
					
						
							|  |  |  |         # Operation. | 
					
						
							|  |  |  |         # Corresponds to the JSON property `metadata` | 
					
						
							|  |  |  |         # @return [Hash<String,Object>] | 
					
						
							|  |  |  |         attr_accessor :metadata | 
					
						
							| 
									
										
										
										
											2018-01-18 00:35:53 +00:00
										 |  |  |        | 
					
						
							| 
									
										
										
										
											2019-03-13 00:37:11 +00:00
										 |  |  |         # The server-assigned name, which is only unique within the same service that | 
					
						
							| 
									
										
										
										
											2020-08-07 00:38:13 +00:00
										 |  |  |         # originally returns it. For example: `operations/CJHU7Oi_ChDrveSpBRjfuL- | 
					
						
							| 
									
										
										
										
											2019-03-13 00:37:11 +00:00
										 |  |  |         # qzoWAgEw` | 
					
						
							|  |  |  |         # Corresponds to the JSON property `name` | 
					
						
							| 
									
										
										
										
											2018-01-18 00:35:53 +00:00
										 |  |  |         # @return [String] | 
					
						
							| 
									
										
										
										
											2019-03-13 00:37:11 +00:00
										 |  |  |         attr_accessor :name | 
					
						
							|  |  |  |        | 
					
						
							| 
									
										
										
										
											2019-03-26 00:36:46 +00:00
										 |  |  |         # An Empty object. | 
					
						
							| 
									
										
										
										
											2019-03-13 00:37:11 +00:00
										 |  |  |         # Corresponds to the JSON property `response` | 
					
						
							|  |  |  |         # @return [Hash<String,Object>] | 
					
						
							|  |  |  |         attr_accessor :response | 
					
						
							| 
									
										
										
										
											2018-01-18 00:35:53 +00:00
										 |  |  |        | 
					
						
							|  |  |  |         def initialize(**args) | 
					
						
							|  |  |  |            update!(**args) | 
					
						
							|  |  |  |         end | 
					
						
							|  |  |  |        | 
					
						
							|  |  |  |         # Update properties of this object | 
					
						
							|  |  |  |         def update!(**args) | 
					
						
							| 
									
										
										
										
											2019-03-13 00:37:11 +00:00
										 |  |  |           @done = args[:done] if args.key?(:done) | 
					
						
							|  |  |  |           @error = args[:error] if args.key?(:error) | 
					
						
							|  |  |  |           @metadata = args[:metadata] if args.key?(:metadata) | 
					
						
							|  |  |  |           @name = args[:name] if args.key?(:name) | 
					
						
							|  |  |  |           @response = args[:response] if args.key?(:response) | 
					
						
							| 
									
										
										
										
											2018-01-18 00:35:53 +00:00
										 |  |  |         end | 
					
						
							|  |  |  |       end | 
					
						
							|  |  |  |        | 
					
						
							| 
									
										
										
										
											2019-03-13 00:37:11 +00:00
										 |  |  |       # An event that occurred during an Operation. | 
					
						
							|  |  |  |       class OperationEvent | 
					
						
							| 
									
										
										
										
											2018-02-21 00:36:04 +00:00
										 |  |  |         include Google::Apis::Core::Hashable | 
					
						
							|  |  |  |        | 
					
						
							| 
									
										
										
										
											2019-03-13 00:37:11 +00:00
										 |  |  |         # Required description of event. | 
					
						
							|  |  |  |         # Corresponds to the JSON property `description` | 
					
						
							| 
									
										
										
										
											2018-02-21 00:36:04 +00:00
										 |  |  |         # @return [String] | 
					
						
							| 
									
										
										
										
											2019-03-13 00:37:11 +00:00
										 |  |  |         attr_accessor :description | 
					
						
							| 
									
										
										
										
											2018-02-21 00:36:04 +00:00
										 |  |  |        | 
					
						
							| 
									
										
										
										
											2019-03-13 00:37:11 +00:00
										 |  |  |         # Optional time of when event finished. An event can have a start time and no | 
					
						
							|  |  |  |         # finish time. If an event has a finish time, there must be a start time. | 
					
						
							|  |  |  |         # Corresponds to the JSON property `endTime` | 
					
						
							| 
									
										
										
										
											2018-02-21 00:36:04 +00:00
										 |  |  |         # @return [String] | 
					
						
							| 
									
										
										
										
											2019-03-13 00:37:11 +00:00
										 |  |  |         attr_accessor :end_time | 
					
						
							| 
									
										
										
										
											2018-02-21 00:36:04 +00:00
										 |  |  |        | 
					
						
							| 
									
										
										
										
											2019-03-13 00:37:11 +00:00
										 |  |  |         # Optional time of when event started. | 
					
						
							|  |  |  |         # Corresponds to the JSON property `startTime` | 
					
						
							|  |  |  |         # @return [String] | 
					
						
							|  |  |  |         attr_accessor :start_time | 
					
						
							| 
									
										
										
										
											2018-01-18 00:35:53 +00:00
										 |  |  |        | 
					
						
							|  |  |  |         def initialize(**args) | 
					
						
							|  |  |  |            update!(**args) | 
					
						
							|  |  |  |         end | 
					
						
							|  |  |  |        | 
					
						
							|  |  |  |         # Update properties of this object | 
					
						
							|  |  |  |         def update!(**args) | 
					
						
							| 
									
										
										
										
											2019-03-13 00:37:11 +00:00
										 |  |  |           @description = args[:description] if args.key?(:description) | 
					
						
							|  |  |  |           @end_time = args[:end_time] if args.key?(:end_time) | 
					
						
							|  |  |  |           @start_time = args[:start_time] if args.key?(:start_time) | 
					
						
							| 
									
										
										
										
											2018-01-18 00:35:53 +00:00
										 |  |  |         end | 
					
						
							|  |  |  |       end | 
					
						
							|  |  |  |        | 
					
						
							| 
									
										
										
										
											2019-03-13 00:37:11 +00:00
										 |  |  |       # Metadata describing an Operation. | 
					
						
							|  |  |  |       class OperationMetadata | 
					
						
							| 
									
										
										
										
											2018-01-18 00:35:53 +00:00
										 |  |  |         include Google::Apis::Core::Hashable | 
					
						
							|  |  |  |        | 
					
						
							| 
									
										
										
										
											2019-03-13 00:37:11 +00:00
										 |  |  |         # This field is deprecated. Use `labels` instead. Optionally provided by the | 
					
						
							|  |  |  |         # caller when submitting the request that creates the operation. | 
					
						
							|  |  |  |         # Corresponds to the JSON property `clientId` | 
					
						
							| 
									
										
										
										
											2018-01-18 00:35:53 +00:00
										 |  |  |         # @return [String] | 
					
						
							| 
									
										
										
										
											2019-03-13 00:37:11 +00:00
										 |  |  |         attr_accessor :client_id | 
					
						
							| 
									
										
										
										
											2018-01-18 00:35:53 +00:00
										 |  |  |        | 
					
						
							| 
									
										
										
										
											2019-03-13 00:37:11 +00:00
										 |  |  |         # The time at which the job was submitted to the Genomics service. | 
					
						
							|  |  |  |         # Corresponds to the JSON property `createTime` | 
					
						
							| 
									
										
										
										
											2018-01-18 00:35:53 +00:00
										 |  |  |         # @return [String] | 
					
						
							| 
									
										
										
										
											2019-03-13 00:37:11 +00:00
										 |  |  |         attr_accessor :create_time | 
					
						
							| 
									
										
										
										
											2018-01-18 00:35:53 +00:00
										 |  |  |        | 
					
						
							| 
									
										
										
										
											2019-03-13 00:37:11 +00:00
										 |  |  |         # The time at which the job stopped running. | 
					
						
							|  |  |  |         # Corresponds to the JSON property `endTime` | 
					
						
							| 
									
										
										
										
											2018-01-18 00:35:53 +00:00
										 |  |  |         # @return [String] | 
					
						
							| 
									
										
										
										
											2019-03-13 00:37:11 +00:00
										 |  |  |         attr_accessor :end_time | 
					
						
							| 
									
										
										
										
											2018-01-18 00:35:53 +00:00
										 |  |  |        | 
					
						
							| 
									
										
										
										
											2020-08-07 00:38:13 +00:00
										 |  |  |         # Optional event messages that were generated during the job's execution. This | 
					
						
							|  |  |  |         # also contains any warnings that were generated during import or export. | 
					
						
							| 
									
										
										
										
											2019-03-13 00:37:11 +00:00
										 |  |  |         # Corresponds to the JSON property `events` | 
					
						
							|  |  |  |         # @return [Array<Google::Apis::GenomicsV1::OperationEvent>] | 
					
						
							|  |  |  |         attr_accessor :events | 
					
						
							| 
									
										
										
										
											2018-01-18 00:35:53 +00:00
										 |  |  |        | 
					
						
							| 
									
										
										
										
											2020-08-07 00:38:13 +00:00
										 |  |  |         # Optionally provided by the caller when submitting the request that creates the | 
					
						
							|  |  |  |         # operation. | 
					
						
							| 
									
										
										
										
											2019-03-13 00:37:11 +00:00
										 |  |  |         # Corresponds to the JSON property `labels` | 
					
						
							|  |  |  |         # @return [Hash<String,String>] | 
					
						
							|  |  |  |         attr_accessor :labels | 
					
						
							| 
									
										
										
										
											2018-01-18 00:35:53 +00:00
										 |  |  |        | 
					
						
							| 
									
										
										
										
											2019-03-13 00:37:11 +00:00
										 |  |  |         # The Google Cloud Project in which the job is scoped. | 
					
						
							|  |  |  |         # Corresponds to the JSON property `projectId` | 
					
						
							| 
									
										
										
										
											2018-01-18 00:35:53 +00:00
										 |  |  |         # @return [String] | 
					
						
							| 
									
										
										
										
											2019-03-13 00:37:11 +00:00
										 |  |  |         attr_accessor :project_id | 
					
						
							| 
									
										
										
										
											2018-01-18 00:35:53 +00:00
										 |  |  |        | 
					
						
							| 
									
										
										
										
											2019-03-13 00:37:11 +00:00
										 |  |  |         # The original request that started the operation. Note that this will be in | 
					
						
							| 
									
										
										
										
											2020-08-07 00:38:13 +00:00
										 |  |  |         # current version of the API. If the operation was started with v1beta2 API and | 
					
						
							|  |  |  |         # a GetOperation is performed on v1 API, a v1 request will be returned. | 
					
						
							| 
									
										
										
										
											2019-03-13 00:37:11 +00:00
										 |  |  |         # Corresponds to the JSON property `request` | 
					
						
							|  |  |  |         # @return [Hash<String,Object>] | 
					
						
							|  |  |  |         attr_accessor :request | 
					
						
							| 
									
										
										
										
											2018-01-18 00:35:53 +00:00
										 |  |  |        | 
					
						
							| 
									
										
										
										
											2019-03-13 00:37:11 +00:00
										 |  |  |         # Runtime metadata on this Operation. | 
					
						
							|  |  |  |         # Corresponds to the JSON property `runtimeMetadata` | 
					
						
							|  |  |  |         # @return [Hash<String,Object>] | 
					
						
							|  |  |  |         attr_accessor :runtime_metadata | 
					
						
							| 
									
										
										
										
											2018-01-18 00:35:53 +00:00
										 |  |  |        | 
					
						
							| 
									
										
										
										
											2019-03-13 00:37:11 +00:00
										 |  |  |         # The time at which the job began to run. | 
					
						
							|  |  |  |         # Corresponds to the JSON property `startTime` | 
					
						
							| 
									
										
										
										
											2018-01-18 00:35:53 +00:00
										 |  |  |         # @return [String] | 
					
						
							| 
									
										
										
										
											2019-03-13 00:37:11 +00:00
										 |  |  |         attr_accessor :start_time | 
					
						
							| 
									
										
										
										
											2018-01-18 00:35:53 +00:00
										 |  |  |        | 
					
						
							|  |  |  |         def initialize(**args) | 
					
						
							|  |  |  |            update!(**args) | 
					
						
							|  |  |  |         end | 
					
						
							|  |  |  |        | 
					
						
							|  |  |  |         # Update properties of this object | 
					
						
							|  |  |  |         def update!(**args) | 
					
						
							| 
									
										
										
										
											2019-03-13 00:37:11 +00:00
										 |  |  |           @client_id = args[:client_id] if args.key?(:client_id) | 
					
						
							|  |  |  |           @create_time = args[:create_time] if args.key?(:create_time) | 
					
						
							|  |  |  |           @end_time = args[:end_time] if args.key?(:end_time) | 
					
						
							|  |  |  |           @events = args[:events] if args.key?(:events) | 
					
						
							|  |  |  |           @labels = args[:labels] if args.key?(:labels) | 
					
						
							|  |  |  |           @project_id = args[:project_id] if args.key?(:project_id) | 
					
						
							|  |  |  |           @request = args[:request] if args.key?(:request) | 
					
						
							|  |  |  |           @runtime_metadata = args[:runtime_metadata] if args.key?(:runtime_metadata) | 
					
						
							|  |  |  |           @start_time = args[:start_time] if args.key?(:start_time) | 
					
						
							| 
									
										
										
										
											2018-01-18 00:35:53 +00:00
										 |  |  |         end | 
					
						
							|  |  |  |       end | 
					
						
							|  |  |  |        | 
					
						
							| 
									
										
										
										
											2019-03-13 00:37:11 +00:00
										 |  |  |       # An event generated when the worker starts pulling an image. | 
					
						
							|  |  |  |       class PullStartedEvent | 
					
						
							| 
									
										
										
										
											2018-01-18 00:35:53 +00:00
										 |  |  |         include Google::Apis::Core::Hashable | 
					
						
							|  |  |  |        | 
					
						
							| 
									
										
										
										
											2019-03-13 00:37:11 +00:00
										 |  |  |         # The URI of the image that was pulled. | 
					
						
							|  |  |  |         # Corresponds to the JSON property `imageUri` | 
					
						
							| 
									
										
										
										
											2018-01-18 00:35:53 +00:00
										 |  |  |         # @return [String] | 
					
						
							| 
									
										
										
										
											2019-03-13 00:37:11 +00:00
										 |  |  |         attr_accessor :image_uri | 
					
						
							| 
									
										
										
										
											2018-01-18 00:35:53 +00:00
										 |  |  |        | 
					
						
							|  |  |  |         def initialize(**args) | 
					
						
							|  |  |  |            update!(**args) | 
					
						
							|  |  |  |         end | 
					
						
							|  |  |  |        | 
					
						
							|  |  |  |         # Update properties of this object | 
					
						
							|  |  |  |         def update!(**args) | 
					
						
							| 
									
										
										
										
											2019-03-13 00:37:11 +00:00
										 |  |  |           @image_uri = args[:image_uri] if args.key?(:image_uri) | 
					
						
							| 
									
										
										
										
											2018-01-18 00:35:53 +00:00
										 |  |  |         end | 
					
						
							|  |  |  |       end | 
					
						
							|  |  |  |        | 
					
						
							| 
									
										
										
										
											2019-03-13 00:37:11 +00:00
										 |  |  |       # An event generated when the worker stops pulling an image. | 
					
						
							|  |  |  |       class PullStoppedEvent | 
					
						
							| 
									
										
										
										
											2018-01-18 00:35:53 +00:00
										 |  |  |         include Google::Apis::Core::Hashable | 
					
						
							|  |  |  |        | 
					
						
							| 
									
										
										
										
											2019-03-13 00:37:11 +00:00
										 |  |  |         # The URI of the image that was pulled. | 
					
						
							|  |  |  |         # Corresponds to the JSON property `imageUri` | 
					
						
							| 
									
										
										
										
											2018-01-16 00:35:13 +00:00
										 |  |  |         # @return [String] | 
					
						
							| 
									
										
										
										
											2019-03-13 00:37:11 +00:00
										 |  |  |         attr_accessor :image_uri | 
					
						
							| 
									
										
										
										
											2017-03-31 19:53:27 +00:00
										 |  |  |        | 
					
						
							| 
									
										
										
										
											2018-01-18 00:35:53 +00:00
										 |  |  |         def initialize(**args) | 
					
						
							|  |  |  |            update!(**args) | 
					
						
							|  |  |  |         end | 
					
						
							| 
									
										
										
										
											2017-03-27 22:14:47 +00:00
										 |  |  |        | 
					
						
							| 
									
										
										
										
											2018-01-18 00:35:53 +00:00
										 |  |  |         # Update properties of this object | 
					
						
							|  |  |  |         def update!(**args) | 
					
						
							| 
									
										
										
										
											2019-03-13 00:37:11 +00:00
										 |  |  |           @image_uri = args[:image_uri] if args.key?(:image_uri) | 
					
						
							| 
									
										
										
										
											2018-01-18 00:35:53 +00:00
										 |  |  |         end | 
					
						
							|  |  |  |       end | 
					
						
							|  |  |  |        | 
					
						
							| 
									
										
										
										
											2019-03-13 00:37:11 +00:00
										 |  |  |       # The response to the RunPipeline method, returned in the operation's result | 
					
						
							|  |  |  |       # field on success. | 
					
						
							|  |  |  |       class RunPipelineResponse | 
					
						
							| 
									
										
										
										
											2018-01-18 00:35:53 +00:00
										 |  |  |         include Google::Apis::Core::Hashable | 
					
						
							|  |  |  |        | 
					
						
							| 
									
										
										
										
											2017-04-03 20:18:48 +00:00
										 |  |  |         def initialize(**args) | 
					
						
							|  |  |  |            update!(**args) | 
					
						
							|  |  |  |         end | 
					
						
							| 
									
										
										
										
											2017-03-30 22:30:51 +00:00
										 |  |  |        | 
					
						
							| 
									
										
										
										
											2017-04-03 20:18:48 +00:00
										 |  |  |         # Update properties of this object | 
					
						
							|  |  |  |         def update!(**args) | 
					
						
							|  |  |  |         end | 
					
						
							|  |  |  |       end | 
					
						
							| 
									
										
										
										
											2017-03-30 22:30:51 +00:00
										 |  |  |        | 
					
						
							| 
									
										
										
										
											2020-08-07 00:38:13 +00:00
										 |  |  |       # Runtime metadata that will be populated in the runtimeMetadata field of the | 
					
						
							|  |  |  |       # Operation associated with a RunPipeline execution. | 
					
						
							| 
									
										
										
										
											2019-03-13 00:37:11 +00:00
										 |  |  |       class RuntimeMetadata | 
					
						
							| 
									
										
										
										
											2017-06-14 17:02:03 +00:00
										 |  |  |         include Google::Apis::Core::Hashable | 
					
						
							|  |  |  |        | 
					
						
							| 
									
										
										
										
											2019-03-13 00:37:11 +00:00
										 |  |  |         # Describes a Compute Engine resource that is being managed by a running | 
					
						
							|  |  |  |         # pipeline. | 
					
						
							|  |  |  |         # Corresponds to the JSON property `computeEngine` | 
					
						
							|  |  |  |         # @return [Google::Apis::GenomicsV1::ComputeEngine] | 
					
						
							|  |  |  |         attr_accessor :compute_engine | 
					
						
							| 
									
										
										
										
											2017-06-14 17:02:03 +00:00
										 |  |  |        | 
					
						
							|  |  |  |         def initialize(**args) | 
					
						
							|  |  |  |            update!(**args) | 
					
						
							|  |  |  |         end | 
					
						
							|  |  |  |        | 
					
						
							|  |  |  |         # Update properties of this object | 
					
						
							|  |  |  |         def update!(**args) | 
					
						
							| 
									
										
										
										
											2019-03-13 00:37:11 +00:00
										 |  |  |           @compute_engine = args[:compute_engine] if args.key?(:compute_engine) | 
					
						
							| 
									
										
										
										
											2017-06-14 17:02:03 +00:00
										 |  |  |         end | 
					
						
							|  |  |  |       end | 
					
						
							|  |  |  |        | 
					
						
							| 
									
										
										
										
											2020-08-07 00:38:13 +00:00
										 |  |  |       # The `Status` type defines a logical error model that is suitable for different | 
					
						
							|  |  |  |       # programming environments, including REST APIs and RPC APIs. It is used by [ | 
					
						
							|  |  |  |       # gRPC](https://github.com/grpc). Each `Status` message contains three pieces of | 
					
						
							|  |  |  |       # data: error code, error message, and error details. You can find out more | 
					
						
							|  |  |  |       # about this error model and how to work with it in the [API Design Guide](https: | 
					
						
							|  |  |  |       # //cloud.google.com/apis/design/errors). | 
					
						
							| 
									
										
										
										
											2017-08-25 19:54:22 +00:00
										 |  |  |       class Status | 
					
						
							| 
									
										
										
										
											2017-03-27 22:14:47 +00:00
										 |  |  |         include Google::Apis::Core::Hashable | 
					
						
							|  |  |  |        | 
					
						
							| 
									
										
										
										
											2017-08-25 19:54:22 +00:00
										 |  |  |         # The status code, which should be an enum value of google.rpc.Code. | 
					
						
							|  |  |  |         # Corresponds to the JSON property `code` | 
					
						
							|  |  |  |         # @return [Fixnum] | 
					
						
							|  |  |  |         attr_accessor :code | 
					
						
							| 
									
										
										
										
											2017-06-14 17:02:03 +00:00
										 |  |  |        | 
					
						
							| 
									
										
										
										
											2020-08-07 00:38:13 +00:00
										 |  |  |         # A list of messages that carry the error details. There is a common set of | 
					
						
							| 
									
										
										
										
											2017-08-25 19:54:22 +00:00
										 |  |  |         # message types for APIs to use. | 
					
						
							|  |  |  |         # Corresponds to the JSON property `details` | 
					
						
							|  |  |  |         # @return [Array<Hash<String,Object>>] | 
					
						
							|  |  |  |         attr_accessor :details | 
					
						
							|  |  |  |        | 
					
						
							| 
									
										
										
										
											2020-08-07 00:38:13 +00:00
										 |  |  |         # A developer-facing error message, which should be in English. Any user-facing | 
					
						
							|  |  |  |         # error message should be localized and sent in the google.rpc.Status.details | 
					
						
							|  |  |  |         # field, or localized by the client. | 
					
						
							| 
									
										
										
										
											2017-08-25 19:54:22 +00:00
										 |  |  |         # Corresponds to the JSON property `message` | 
					
						
							|  |  |  |         # @return [String] | 
					
						
							|  |  |  |         attr_accessor :message | 
					
						
							| 
									
										
										
										
											2017-03-27 22:14:47 +00:00
										 |  |  |        | 
					
						
							|  |  |  |         def initialize(**args) | 
					
						
							|  |  |  |            update!(**args) | 
					
						
							|  |  |  |         end | 
					
						
							|  |  |  |        | 
					
						
							|  |  |  |         # Update properties of this object | 
					
						
							|  |  |  |         def update!(**args) | 
					
						
							| 
									
										
										
										
											2017-08-25 19:54:22 +00:00
										 |  |  |           @code = args[:code] if args.key?(:code) | 
					
						
							|  |  |  |           @details = args[:details] if args.key?(:details) | 
					
						
							|  |  |  |           @message = args[:message] if args.key?(:message) | 
					
						
							| 
									
										
										
										
											2017-03-27 22:14:47 +00:00
										 |  |  |         end | 
					
						
							|  |  |  |       end | 
					
						
							| 
									
										
										
										
											2018-01-18 00:35:53 +00:00
										 |  |  |        | 
					
						
							| 
									
										
										
										
											2020-08-07 00:38:13 +00:00
										 |  |  |       # An event generated when the execution of a container results in a non-zero | 
					
						
							|  |  |  |       # exit status that was not otherwise ignored. Execution will continue, but only | 
					
						
							|  |  |  |       # actions that are flagged as `ALWAYS_RUN` will be executed. Other actions will | 
					
						
							|  |  |  |       # be skipped. | 
					
						
							| 
									
										
										
										
											2018-02-21 00:36:04 +00:00
										 |  |  |       class UnexpectedExitStatusEvent | 
					
						
							|  |  |  |         include Google::Apis::Core::Hashable | 
					
						
							|  |  |  |        | 
					
						
							|  |  |  |         # The numeric ID of the action that started the container. | 
					
						
							|  |  |  |         # Corresponds to the JSON property `actionId` | 
					
						
							|  |  |  |         # @return [Fixnum] | 
					
						
							|  |  |  |         attr_accessor :action_id | 
					
						
							|  |  |  |        | 
					
						
							|  |  |  |         # The exit status of the container. | 
					
						
							|  |  |  |         # Corresponds to the JSON property `exitStatus` | 
					
						
							|  |  |  |         # @return [Fixnum] | 
					
						
							|  |  |  |         attr_accessor :exit_status | 
					
						
							|  |  |  |        | 
					
						
							|  |  |  |         def initialize(**args) | 
					
						
							|  |  |  |            update!(**args) | 
					
						
							|  |  |  |         end | 
					
						
							|  |  |  |        | 
					
						
							|  |  |  |         # Update properties of this object | 
					
						
							|  |  |  |         def update!(**args) | 
					
						
							|  |  |  |           @action_id = args[:action_id] if args.key?(:action_id) | 
					
						
							|  |  |  |           @exit_status = args[:exit_status] if args.key?(:exit_status) | 
					
						
							|  |  |  |         end | 
					
						
							|  |  |  |       end | 
					
						
							|  |  |  |        | 
					
						
							| 
									
										
										
										
											2020-08-07 00:38:13 +00:00
										 |  |  |       # An event generated after a worker VM has been assigned to run the pipeline. | 
					
						
							| 
									
										
										
										
											2018-02-21 00:36:04 +00:00
										 |  |  |       class WorkerAssignedEvent | 
					
						
							|  |  |  |         include Google::Apis::Core::Hashable | 
					
						
							|  |  |  |        | 
					
						
							|  |  |  |         # The worker's instance name. | 
					
						
							|  |  |  |         # Corresponds to the JSON property `instance` | 
					
						
							|  |  |  |         # @return [String] | 
					
						
							|  |  |  |         attr_accessor :instance | 
					
						
							|  |  |  |        | 
					
						
							| 
									
										
										
										
											2019-07-23 00:37:37 +00:00
										 |  |  |         # The machine type that was assigned for the worker. | 
					
						
							|  |  |  |         # Corresponds to the JSON property `machineType` | 
					
						
							|  |  |  |         # @return [String] | 
					
						
							|  |  |  |         attr_accessor :machine_type | 
					
						
							|  |  |  |        | 
					
						
							| 
									
										
										
										
											2018-02-21 00:36:04 +00:00
										 |  |  |         # The zone the worker is running in. | 
					
						
							|  |  |  |         # Corresponds to the JSON property `zone` | 
					
						
							|  |  |  |         # @return [String] | 
					
						
							|  |  |  |         attr_accessor :zone | 
					
						
							|  |  |  |        | 
					
						
							|  |  |  |         def initialize(**args) | 
					
						
							|  |  |  |            update!(**args) | 
					
						
							|  |  |  |         end | 
					
						
							|  |  |  |        | 
					
						
							|  |  |  |         # Update properties of this object | 
					
						
							|  |  |  |         def update!(**args) | 
					
						
							|  |  |  |           @instance = args[:instance] if args.key?(:instance) | 
					
						
							| 
									
										
										
										
											2019-07-23 00:37:37 +00:00
										 |  |  |           @machine_type = args[:machine_type] if args.key?(:machine_type) | 
					
						
							| 
									
										
										
										
											2018-02-21 00:36:04 +00:00
										 |  |  |           @zone = args[:zone] if args.key?(:zone) | 
					
						
							|  |  |  |         end | 
					
						
							|  |  |  |       end | 
					
						
							|  |  |  |        | 
					
						
							| 
									
										
										
										
											2020-08-07 00:38:13 +00:00
										 |  |  |       # An event generated when the worker VM that was assigned to the pipeline has | 
					
						
							|  |  |  |       # been released (deleted). | 
					
						
							| 
									
										
										
										
											2018-02-21 00:36:04 +00:00
										 |  |  |       class WorkerReleasedEvent | 
					
						
							|  |  |  |         include Google::Apis::Core::Hashable | 
					
						
							|  |  |  |        | 
					
						
							|  |  |  |         # The worker's instance name. | 
					
						
							|  |  |  |         # Corresponds to the JSON property `instance` | 
					
						
							|  |  |  |         # @return [String] | 
					
						
							|  |  |  |         attr_accessor :instance | 
					
						
							|  |  |  |        | 
					
						
							|  |  |  |         # The zone the worker was running in. | 
					
						
							|  |  |  |         # Corresponds to the JSON property `zone` | 
					
						
							|  |  |  |         # @return [String] | 
					
						
							|  |  |  |         attr_accessor :zone | 
					
						
							|  |  |  |        | 
					
						
							|  |  |  |         def initialize(**args) | 
					
						
							|  |  |  |            update!(**args) | 
					
						
							|  |  |  |         end | 
					
						
							|  |  |  |        | 
					
						
							|  |  |  |         # Update properties of this object | 
					
						
							|  |  |  |         def update!(**args) | 
					
						
							|  |  |  |           @instance = args[:instance] if args.key?(:instance) | 
					
						
							|  |  |  |           @zone = args[:zone] if args.key?(:zone) | 
					
						
							|  |  |  |         end | 
					
						
							|  |  |  |       end | 
					
						
							| 
									
										
										
										
											2015-07-20 21:49:34 +00:00
										 |  |  |     end | 
					
						
							|  |  |  |   end | 
					
						
							|  |  |  | end |