All Downloads are FREE. Search and download functionalities are using the official Maven repository.

com.google.api.services.notebooks.v2.model.GPUDriverConfig Maven / Gradle / Ivy

/*
 * 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.
 */
/*
 * This code was generated by https://github.com/googleapis/google-api-java-client-services/
 * Modify at your own risk.
 */

package com.google.api.services.notebooks.v2.model;

/**
 * A GPU driver configuration
 *
 * 

This is the Java data model class that specifies how to parse/serialize into the JSON that is * transmitted over HTTP when working with the Notebooks API. For a detailed explanation see: * https://developers.google.com/api-client-library/java/google-http-java-client/json *

* * @author Google, Inc. */ @SuppressWarnings("javadoc") public final class GPUDriverConfig extends com.google.api.client.json.GenericJson { /** * Optional. Specify a custom Cloud Storage path where the GPU driver is stored. If not specified, * we'll automatically choose from official GPU drivers. * The value may be {@code null}. */ @com.google.api.client.util.Key private java.lang.String customGpuDriverPath; /** * Optional. Whether the end user authorizes Google Cloud to install GPU driver on this VM * instance. If this field is empty or set to false, the GPU driver won't be installed. Only * applicable to instances with GPUs. * The value may be {@code null}. */ @com.google.api.client.util.Key private java.lang.Boolean enableGpuDriver; /** * Optional. Specify a custom Cloud Storage path where the GPU driver is stored. If not specified, * we'll automatically choose from official GPU drivers. * @return value or {@code null} for none */ public java.lang.String getCustomGpuDriverPath() { return customGpuDriverPath; } /** * Optional. Specify a custom Cloud Storage path where the GPU driver is stored. If not specified, * we'll automatically choose from official GPU drivers. * @param customGpuDriverPath customGpuDriverPath or {@code null} for none */ public GPUDriverConfig setCustomGpuDriverPath(java.lang.String customGpuDriverPath) { this.customGpuDriverPath = customGpuDriverPath; return this; } /** * Optional. Whether the end user authorizes Google Cloud to install GPU driver on this VM * instance. If this field is empty or set to false, the GPU driver won't be installed. Only * applicable to instances with GPUs. * @return value or {@code null} for none */ public java.lang.Boolean getEnableGpuDriver() { return enableGpuDriver; } /** * Optional. Whether the end user authorizes Google Cloud to install GPU driver on this VM * instance. If this field is empty or set to false, the GPU driver won't be installed. Only * applicable to instances with GPUs. * @param enableGpuDriver enableGpuDriver or {@code null} for none */ public GPUDriverConfig setEnableGpuDriver(java.lang.Boolean enableGpuDriver) { this.enableGpuDriver = enableGpuDriver; return this; } @Override public GPUDriverConfig set(String fieldName, Object value) { return (GPUDriverConfig) super.set(fieldName, value); } @Override public GPUDriverConfig clone() { return (GPUDriverConfig) super.clone(); } }




© 2015 - 2025 Weber Informatics LLC | Privacy Policy