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

com.google.api.services.run.v2.model.GoogleCloudRunV2GCSVolumeSource Maven / Gradle / Ivy

There is a newer version: v2-rev20241213-2.0.0
Show newest version
/*
 * 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.run.v2.model;

/**
 * Represents a volume backed by a Cloud Storage bucket using Cloud Storage FUSE.
 *
 * 

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 Cloud Run Admin 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 GoogleCloudRunV2GCSVolumeSource extends com.google.api.client.json.GenericJson { /** * Cloud Storage Bucket name. * The value may be {@code null}. */ @com.google.api.client.util.Key private java.lang.String bucket; /** * A list of additional flags to pass to the gcsfuse CLI. Options should be specified without the * leading "--". * The value may be {@code null}. */ @com.google.api.client.util.Key private java.util.List mountOptions; /** * If true, the volume will be mounted as read only for all mounts. * The value may be {@code null}. */ @com.google.api.client.util.Key private java.lang.Boolean readOnly; /** * Cloud Storage Bucket name. * @return value or {@code null} for none */ public java.lang.String getBucket() { return bucket; } /** * Cloud Storage Bucket name. * @param bucket bucket or {@code null} for none */ public GoogleCloudRunV2GCSVolumeSource setBucket(java.lang.String bucket) { this.bucket = bucket; return this; } /** * A list of additional flags to pass to the gcsfuse CLI. Options should be specified without the * leading "--". * @return value or {@code null} for none */ public java.util.List getMountOptions() { return mountOptions; } /** * A list of additional flags to pass to the gcsfuse CLI. Options should be specified without the * leading "--". * @param mountOptions mountOptions or {@code null} for none */ public GoogleCloudRunV2GCSVolumeSource setMountOptions(java.util.List mountOptions) { this.mountOptions = mountOptions; return this; } /** * If true, the volume will be mounted as read only for all mounts. * @return value or {@code null} for none */ public java.lang.Boolean getReadOnly() { return readOnly; } /** * If true, the volume will be mounted as read only for all mounts. * @param readOnly readOnly or {@code null} for none */ public GoogleCloudRunV2GCSVolumeSource setReadOnly(java.lang.Boolean readOnly) { this.readOnly = readOnly; return this; } @Override public GoogleCloudRunV2GCSVolumeSource set(String fieldName, Object value) { return (GoogleCloudRunV2GCSVolumeSource) super.set(fieldName, value); } @Override public GoogleCloudRunV2GCSVolumeSource clone() { return (GoogleCloudRunV2GCSVolumeSource) super.clone(); } }




© 2015 - 2025 Weber Informatics LLC | Privacy Policy