class Google::Apis::GenomicsV1alpha2::PipelineResources
The system resources for the pipeline run.
Attributes
Optional. The number of accelerators of the specified type to attach. By specifying this parameter, you will download and install the following third- party software onto your managed Compute Engine instances: NVIDIA® Tesla® drivers and NVIDIA® CUDA toolkit. Corresponds to the JSON property `acceleratorCount` @return [Fixnum]
Optional. The Compute Engine defined accelerator type. By specifying this parameter, you will download and install the following third-party software onto your managed Compute Engine instances: NVIDIA® Tesla® drivers and NVIDIA® CUDA toolkit. Please see cloud.google.com/compute/docs/gpus/ for a list of available accelerator types. Corresponds to the JSON property `acceleratorType` @return [String]
The size of the boot disk. Defaults to 10 (GB). Corresponds to the JSON property `bootDiskSizeGb` @return [Fixnum]
Disks to attach. Corresponds to the JSON property `disks` @return [Array<Google::Apis::GenomicsV1alpha2::Disk>]
The minimum number of cores to use. Defaults to 1. Corresponds to the JSON property `minimumCpuCores` @return [Fixnum]
The minimum amount of RAM to use. Defaults to 3.75 (GB) Corresponds to the JSON property `minimumRamGb` @return [Float]
Whether to assign an external IP to the instance. This is an experimental feature that may go away. Defaults to false. Corresponds to `–no_address` flag for [gcloud compute instances create] (cloud.google.com/sdk/ gcloud/reference/compute/instances/create). In order to use this, must be true for both create time and run time. Cannot be true at run time if false at create time. If you need to ssh into a private IP VM for debugging, you can ssh to a public VM and then ssh into the private VM's Internal IP. If noAddress is set, this pipeline run may only load docker images from Google
Container Registry and not Docker Hub. Before using this, you must [configure access to Google
services from internal IPs](cloud.google.com/compute/ docs/configure-private-google-access# configuring_access_to_google_services_from_internal_ips). Corresponds to the JSON property `noAddress` @return [Boolean]
Whether to assign an external IP to the instance. This is an experimental feature that may go away. Defaults to false. Corresponds to `–no_address` flag for [gcloud compute instances create] (cloud.google.com/sdk/ gcloud/reference/compute/instances/create). In order to use this, must be true for both create time and run time. Cannot be true at run time if false at create time. If you need to ssh into a private IP VM for debugging, you can ssh to a public VM and then ssh into the private VM's Internal IP. If noAddress is set, this pipeline run may only load docker images from Google
Container Registry and not Docker Hub. Before using this, you must [configure access to Google
services from internal IPs](cloud.google.com/compute/ docs/configure-private-google-access# configuring_access_to_google_services_from_internal_ips). Corresponds to the JSON property `noAddress` @return [Boolean]
Whether to use preemptible VMs. Defaults to `false`. In order to use this, must be true for both create time and run time. Cannot be true at run time if false at create time. Corresponds to the JSON property `preemptible` @return [Boolean]
Whether to use preemptible VMs. Defaults to `false`. In order to use this, must be true for both create time and run time. Cannot be true at run time if false at create time. Corresponds to the JSON property `preemptible` @return [Boolean]
List of Google
Compute Engine availability zones to which resource creation will restricted. If empty, any zone may be chosen. Corresponds to the JSON property `zones` @return [Array<String>]
Public Class Methods
# File lib/google/apis/genomics_v1alpha2/classes.rb, line 918 def initialize(**args) update!(**args) end
Public Instance Methods
Update properties of this object
# File lib/google/apis/genomics_v1alpha2/classes.rb, line 923 def update!(**args) @accelerator_count = args[:accelerator_count] if args.key?(:accelerator_count) @accelerator_type = args[:accelerator_type] if args.key?(:accelerator_type) @boot_disk_size_gb = args[:boot_disk_size_gb] if args.key?(:boot_disk_size_gb) @disks = args[:disks] if args.key?(:disks) @minimum_cpu_cores = args[:minimum_cpu_cores] if args.key?(:minimum_cpu_cores) @minimum_ram_gb = args[:minimum_ram_gb] if args.key?(:minimum_ram_gb) @no_address = args[:no_address] if args.key?(:no_address) @preemptible = args[:preemptible] if args.key?(:preemptible) @zones = args[:zones] if args.key?(:zones) end