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

com.google.api.services.integrations.v1alpha.model.GoogleCloudConnectorsV1AuthConfig 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.integrations.v1alpha.model;

/**
 * AuthConfig defines details of a authentication type.
 *
 * 

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 Application Integration 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 GoogleCloudConnectorsV1AuthConfig extends com.google.api.client.json.GenericJson { /** * List containing additional auth configs. * The value may be {@code null}. */ @com.google.api.client.util.Key private java.util.List additionalVariables; /** * The type of authentication configured. * The value may be {@code null}. */ @com.google.api.client.util.Key private java.lang.String authType; /** * Oauth2ClientCredentials. * The value may be {@code null}. */ @com.google.api.client.util.Key private GoogleCloudConnectorsV1AuthConfigOauth2ClientCredentials oauth2ClientCredentials; /** * Oauth2JwtBearer. * The value may be {@code null}. */ @com.google.api.client.util.Key private GoogleCloudConnectorsV1AuthConfigOauth2JwtBearer oauth2JwtBearer; /** * SSH Public Key. * The value may be {@code null}. */ @com.google.api.client.util.Key private GoogleCloudConnectorsV1AuthConfigSshPublicKey sshPublicKey; /** * UserPassword. * The value may be {@code null}. */ @com.google.api.client.util.Key private GoogleCloudConnectorsV1AuthConfigUserPassword userPassword; /** * List containing additional auth configs. * @return value or {@code null} for none */ public java.util.List getAdditionalVariables() { return additionalVariables; } /** * List containing additional auth configs. * @param additionalVariables additionalVariables or {@code null} for none */ public GoogleCloudConnectorsV1AuthConfig setAdditionalVariables(java.util.List additionalVariables) { this.additionalVariables = additionalVariables; return this; } /** * The type of authentication configured. * @return value or {@code null} for none */ public java.lang.String getAuthType() { return authType; } /** * The type of authentication configured. * @param authType authType or {@code null} for none */ public GoogleCloudConnectorsV1AuthConfig setAuthType(java.lang.String authType) { this.authType = authType; return this; } /** * Oauth2ClientCredentials. * @return value or {@code null} for none */ public GoogleCloudConnectorsV1AuthConfigOauth2ClientCredentials getOauth2ClientCredentials() { return oauth2ClientCredentials; } /** * Oauth2ClientCredentials. * @param oauth2ClientCredentials oauth2ClientCredentials or {@code null} for none */ public GoogleCloudConnectorsV1AuthConfig setOauth2ClientCredentials(GoogleCloudConnectorsV1AuthConfigOauth2ClientCredentials oauth2ClientCredentials) { this.oauth2ClientCredentials = oauth2ClientCredentials; return this; } /** * Oauth2JwtBearer. * @return value or {@code null} for none */ public GoogleCloudConnectorsV1AuthConfigOauth2JwtBearer getOauth2JwtBearer() { return oauth2JwtBearer; } /** * Oauth2JwtBearer. * @param oauth2JwtBearer oauth2JwtBearer or {@code null} for none */ public GoogleCloudConnectorsV1AuthConfig setOauth2JwtBearer(GoogleCloudConnectorsV1AuthConfigOauth2JwtBearer oauth2JwtBearer) { this.oauth2JwtBearer = oauth2JwtBearer; return this; } /** * SSH Public Key. * @return value or {@code null} for none */ public GoogleCloudConnectorsV1AuthConfigSshPublicKey getSshPublicKey() { return sshPublicKey; } /** * SSH Public Key. * @param sshPublicKey sshPublicKey or {@code null} for none */ public GoogleCloudConnectorsV1AuthConfig setSshPublicKey(GoogleCloudConnectorsV1AuthConfigSshPublicKey sshPublicKey) { this.sshPublicKey = sshPublicKey; return this; } /** * UserPassword. * @return value or {@code null} for none */ public GoogleCloudConnectorsV1AuthConfigUserPassword getUserPassword() { return userPassword; } /** * UserPassword. * @param userPassword userPassword or {@code null} for none */ public GoogleCloudConnectorsV1AuthConfig setUserPassword(GoogleCloudConnectorsV1AuthConfigUserPassword userPassword) { this.userPassword = userPassword; return this; } @Override public GoogleCloudConnectorsV1AuthConfig set(String fieldName, Object value) { return (GoogleCloudConnectorsV1AuthConfig) super.set(fieldName, value); } @Override public GoogleCloudConnectorsV1AuthConfig clone() { return (GoogleCloudConnectorsV1AuthConfig) super.clone(); } }




© 2015 - 2025 Weber Informatics LLC | Privacy Policy