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

com.google.api.services.bigqueryconnection.v1beta1.model.Connection Maven / Gradle / Ivy

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

/**
 * Configuration parameters to establish connection with an external data source, except the
 * credential attributes.
 *
 * 

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 BigQuery Connection 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 Connection extends com.google.api.client.json.GenericJson { /** * Cloud SQL properties. * The value may be {@code null}. */ @com.google.api.client.util.Key private CloudSqlProperties cloudSql; /** * Output only. The creation timestamp of the connection. * The value may be {@code null}. */ @com.google.api.client.util.Key @com.google.api.client.json.JsonString private java.lang.Long creationTime; /** * User provided description. * The value may be {@code null}. */ @com.google.api.client.util.Key private java.lang.String description; /** * User provided display name for the connection. * The value may be {@code null}. */ @com.google.api.client.util.Key private java.lang.String friendlyName; /** * Output only. True, if credential is configured for this connection. * The value may be {@code null}. */ @com.google.api.client.util.Key private java.lang.Boolean hasCredential; /** * Output only. The last update timestamp of the connection. * The value may be {@code null}. */ @com.google.api.client.util.Key @com.google.api.client.json.JsonString private java.lang.Long lastModifiedTime; /** * The resource name of the connection in the form of: * `projects/{project_id}/locations/{location_id}/connections/{connection_id}` * The value may be {@code null}. */ @com.google.api.client.util.Key private java.lang.String name; /** * Cloud SQL properties. * @return value or {@code null} for none */ public CloudSqlProperties getCloudSql() { return cloudSql; } /** * Cloud SQL properties. * @param cloudSql cloudSql or {@code null} for none */ public Connection setCloudSql(CloudSqlProperties cloudSql) { this.cloudSql = cloudSql; return this; } /** * Output only. The creation timestamp of the connection. * @return value or {@code null} for none */ public java.lang.Long getCreationTime() { return creationTime; } /** * Output only. The creation timestamp of the connection. * @param creationTime creationTime or {@code null} for none */ public Connection setCreationTime(java.lang.Long creationTime) { this.creationTime = creationTime; return this; } /** * User provided description. * @return value or {@code null} for none */ public java.lang.String getDescription() { return description; } /** * User provided description. * @param description description or {@code null} for none */ public Connection setDescription(java.lang.String description) { this.description = description; return this; } /** * User provided display name for the connection. * @return value or {@code null} for none */ public java.lang.String getFriendlyName() { return friendlyName; } /** * User provided display name for the connection. * @param friendlyName friendlyName or {@code null} for none */ public Connection setFriendlyName(java.lang.String friendlyName) { this.friendlyName = friendlyName; return this; } /** * Output only. True, if credential is configured for this connection. * @return value or {@code null} for none */ public java.lang.Boolean getHasCredential() { return hasCredential; } /** * Output only. True, if credential is configured for this connection. * @param hasCredential hasCredential or {@code null} for none */ public Connection setHasCredential(java.lang.Boolean hasCredential) { this.hasCredential = hasCredential; return this; } /** * Output only. The last update timestamp of the connection. * @return value or {@code null} for none */ public java.lang.Long getLastModifiedTime() { return lastModifiedTime; } /** * Output only. The last update timestamp of the connection. * @param lastModifiedTime lastModifiedTime or {@code null} for none */ public Connection setLastModifiedTime(java.lang.Long lastModifiedTime) { this.lastModifiedTime = lastModifiedTime; return this; } /** * The resource name of the connection in the form of: * `projects/{project_id}/locations/{location_id}/connections/{connection_id}` * @return value or {@code null} for none */ public java.lang.String getName() { return name; } /** * The resource name of the connection in the form of: * `projects/{project_id}/locations/{location_id}/connections/{connection_id}` * @param name name or {@code null} for none */ public Connection setName(java.lang.String name) { this.name = name; return this; } @Override public Connection set(String fieldName, Object value) { return (Connection) super.set(fieldName, value); } @Override public Connection clone() { return (Connection) super.clone(); } }




© 2015 - 2025 Weber Informatics LLC | Privacy Policy