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

com.google.api.services.managedidentities.v1beta1.model.ExtendSchemaRequest Maven / Gradle / Ivy

There is a newer version: v1-rev20240530-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.managedidentities.v1beta1.model;

/**
 * ExtendSchemaRequest is the request message for ExtendSchema method.
 *
 * 

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 Managed Service for Microsoft Active Directory 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 ExtendSchemaRequest extends com.google.api.client.json.GenericJson { /** * Required. Description for Schema Change. * The value may be {@code null}. */ @com.google.api.client.util.Key private java.lang.String description; /** * File uploaded as a byte stream input. * The value may be {@code null}. */ @com.google.api.client.util.Key private java.lang.String fileContents; /** * File stored in Cloud Storage bucket and represented in the form * projects/{project_id}/buckets/{bucket_name}/objects/{object_name} File should be in the same * project as the domain. * The value may be {@code null}. */ @com.google.api.client.util.Key private java.lang.String gcsPath; /** * Required. Description for Schema Change. * @return value or {@code null} for none */ public java.lang.String getDescription() { return description; } /** * Required. Description for Schema Change. * @param description description or {@code null} for none */ public ExtendSchemaRequest setDescription(java.lang.String description) { this.description = description; return this; } /** * File uploaded as a byte stream input. * @see #decodeFileContents() * @return value or {@code null} for none */ public java.lang.String getFileContents() { return fileContents; } /** * File uploaded as a byte stream input. * @see #getFileContents() * @return Base64 decoded value or {@code null} for none * * @since 1.14 */ public byte[] decodeFileContents() { return com.google.api.client.util.Base64.decodeBase64(fileContents); } /** * File uploaded as a byte stream input. * @see #encodeFileContents() * @param fileContents fileContents or {@code null} for none */ public ExtendSchemaRequest setFileContents(java.lang.String fileContents) { this.fileContents = fileContents; return this; } /** * File uploaded as a byte stream input. * @see #setFileContents() * *

* The value is encoded Base64 or {@code null} for none. *

* * @since 1.14 */ public ExtendSchemaRequest encodeFileContents(byte[] fileContents) { this.fileContents = com.google.api.client.util.Base64.encodeBase64URLSafeString(fileContents); return this; } /** * File stored in Cloud Storage bucket and represented in the form * projects/{project_id}/buckets/{bucket_name}/objects/{object_name} File should be in the same * project as the domain. * @return value or {@code null} for none */ public java.lang.String getGcsPath() { return gcsPath; } /** * File stored in Cloud Storage bucket and represented in the form * projects/{project_id}/buckets/{bucket_name}/objects/{object_name} File should be in the same * project as the domain. * @param gcsPath gcsPath or {@code null} for none */ public ExtendSchemaRequest setGcsPath(java.lang.String gcsPath) { this.gcsPath = gcsPath; return this; } @Override public ExtendSchemaRequest set(String fieldName, Object value) { return (ExtendSchemaRequest) super.set(fieldName, value); } @Override public ExtendSchemaRequest clone() { return (ExtendSchemaRequest) super.clone(); } }




© 2015 - 2025 Weber Informatics LLC | Privacy Policy