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

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

/**
 * Connection represents an instance of connector.
 *
 * 

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 GoogleCloudConnectorsV1Connection extends com.google.api.client.json.GenericJson { /** * Optional. Configuration for establishing the connection's authentication with an external * system. * The value may be {@code null}. */ @com.google.api.client.util.Key private GoogleCloudConnectorsV1AuthConfig authConfig; /** * Optional. Configuration for configuring the connection with an external system. * The value may be {@code null}. */ @com.google.api.client.util.Key private java.util.List configVariables; static { // hack to force ProGuard to consider GoogleCloudConnectorsV1ConfigVariable used, since otherwise it would be stripped out // see https://github.com/google/google-api-java-client/issues/543 com.google.api.client.util.Data.nullOf(GoogleCloudConnectorsV1ConfigVariable.class); } /** * Required. Connector version on which the connection is created. The format is: * projects/locations/providers/connectors/versions Only global location is supported for * ConnectorVersion resource. * The value may be {@code null}. */ @com.google.api.client.util.Key private java.lang.String connectorVersion; /** * Output only. Created time. * The value may be {@code null}. */ @com.google.api.client.util.Key private String createTime; /** * Optional. Description of the resource. * The value may be {@code null}. */ @com.google.api.client.util.Key private java.lang.String description; /** * Optional. Configuration of the Connector's destination. Only accepted for Connectors that * accepts user defined destination(s). * The value may be {@code null}. */ @com.google.api.client.util.Key private java.util.List destinationConfigs; /** * Output only. GCR location where the envoy image is stored. formatted like: * gcr.io/{bucketName}/{imageName} * The value may be {@code null}. */ @com.google.api.client.util.Key private java.lang.String envoyImageLocation; /** * Output only. GCR location where the runtime image is stored. formatted like: * gcr.io/{bucketName}/{imageName} * The value may be {@code null}. */ @com.google.api.client.util.Key private java.lang.String imageLocation; /** * Optional. Resource labels to represent user-provided metadata. Refer to cloud documentation on * labels for more details. https://cloud.google.com/compute/docs/labeling-resources * The value may be {@code null}. */ @com.google.api.client.util.Key private java.util.Map labels; /** * Optional. Configuration that indicates whether or not the Connection can be edited. * The value may be {@code null}. */ @com.google.api.client.util.Key private GoogleCloudConnectorsV1LockConfig lockConfig; /** * Output only. Resource name of the Connection. Format: * projects/{project}/locations/{location}/connections/{connection} * The value may be {@code null}. */ @com.google.api.client.util.Key private java.lang.String name; /** * Optional. Node configuration for the connection. * The value may be {@code null}. */ @com.google.api.client.util.Key private GoogleCloudConnectorsV1NodeConfig nodeConfig; /** * Optional. Service account needed for runtime plane to access GCP resources. * The value may be {@code null}. */ @com.google.api.client.util.Key private java.lang.String serviceAccount; /** * Output only. The name of the Service Directory service name. Used for Private Harpoon to * resolve the ILB address. e.g. "projects/cloud-connectors-e2e-testing/locations/us- * central1/namespaces/istio-system/services/istio-ingressgateway-connectors" * The value may be {@code null}. */ @com.google.api.client.util.Key private java.lang.String serviceDirectory; /** * Output only. Current status of the connection. * The value may be {@code null}. */ @com.google.api.client.util.Key private GoogleCloudConnectorsV1ConnectionStatus status; /** * Optional. Suspended indicates if a user has suspended a connection or not. * The value may be {@code null}. */ @com.google.api.client.util.Key private java.lang.Boolean suspended; /** * Output only. Updated time. * The value may be {@code null}. */ @com.google.api.client.util.Key private String updateTime; /** * Optional. Configuration for establishing the connection's authentication with an external * system. * @return value or {@code null} for none */ public GoogleCloudConnectorsV1AuthConfig getAuthConfig() { return authConfig; } /** * Optional. Configuration for establishing the connection's authentication with an external * system. * @param authConfig authConfig or {@code null} for none */ public GoogleCloudConnectorsV1Connection setAuthConfig(GoogleCloudConnectorsV1AuthConfig authConfig) { this.authConfig = authConfig; return this; } /** * Optional. Configuration for configuring the connection with an external system. * @return value or {@code null} for none */ public java.util.List getConfigVariables() { return configVariables; } /** * Optional. Configuration for configuring the connection with an external system. * @param configVariables configVariables or {@code null} for none */ public GoogleCloudConnectorsV1Connection setConfigVariables(java.util.List configVariables) { this.configVariables = configVariables; return this; } /** * Required. Connector version on which the connection is created. The format is: * projects/locations/providers/connectors/versions Only global location is supported for * ConnectorVersion resource. * @return value or {@code null} for none */ public java.lang.String getConnectorVersion() { return connectorVersion; } /** * Required. Connector version on which the connection is created. The format is: * projects/locations/providers/connectors/versions Only global location is supported for * ConnectorVersion resource. * @param connectorVersion connectorVersion or {@code null} for none */ public GoogleCloudConnectorsV1Connection setConnectorVersion(java.lang.String connectorVersion) { this.connectorVersion = connectorVersion; return this; } /** * Output only. Created time. * @return value or {@code null} for none */ public String getCreateTime() { return createTime; } /** * Output only. Created time. * @param createTime createTime or {@code null} for none */ public GoogleCloudConnectorsV1Connection setCreateTime(String createTime) { this.createTime = createTime; return this; } /** * Optional. Description of the resource. * @return value or {@code null} for none */ public java.lang.String getDescription() { return description; } /** * Optional. Description of the resource. * @param description description or {@code null} for none */ public GoogleCloudConnectorsV1Connection setDescription(java.lang.String description) { this.description = description; return this; } /** * Optional. Configuration of the Connector's destination. Only accepted for Connectors that * accepts user defined destination(s). * @return value or {@code null} for none */ public java.util.List getDestinationConfigs() { return destinationConfigs; } /** * Optional. Configuration of the Connector's destination. Only accepted for Connectors that * accepts user defined destination(s). * @param destinationConfigs destinationConfigs or {@code null} for none */ public GoogleCloudConnectorsV1Connection setDestinationConfigs(java.util.List destinationConfigs) { this.destinationConfigs = destinationConfigs; return this; } /** * Output only. GCR location where the envoy image is stored. formatted like: * gcr.io/{bucketName}/{imageName} * @return value or {@code null} for none */ public java.lang.String getEnvoyImageLocation() { return envoyImageLocation; } /** * Output only. GCR location where the envoy image is stored. formatted like: * gcr.io/{bucketName}/{imageName} * @param envoyImageLocation envoyImageLocation or {@code null} for none */ public GoogleCloudConnectorsV1Connection setEnvoyImageLocation(java.lang.String envoyImageLocation) { this.envoyImageLocation = envoyImageLocation; return this; } /** * Output only. GCR location where the runtime image is stored. formatted like: * gcr.io/{bucketName}/{imageName} * @return value or {@code null} for none */ public java.lang.String getImageLocation() { return imageLocation; } /** * Output only. GCR location where the runtime image is stored. formatted like: * gcr.io/{bucketName}/{imageName} * @param imageLocation imageLocation or {@code null} for none */ public GoogleCloudConnectorsV1Connection setImageLocation(java.lang.String imageLocation) { this.imageLocation = imageLocation; return this; } /** * Optional. Resource labels to represent user-provided metadata. Refer to cloud documentation on * labels for more details. https://cloud.google.com/compute/docs/labeling-resources * @return value or {@code null} for none */ public java.util.Map getLabels() { return labels; } /** * Optional. Resource labels to represent user-provided metadata. Refer to cloud documentation on * labels for more details. https://cloud.google.com/compute/docs/labeling-resources * @param labels labels or {@code null} for none */ public GoogleCloudConnectorsV1Connection setLabels(java.util.Map labels) { this.labels = labels; return this; } /** * Optional. Configuration that indicates whether or not the Connection can be edited. * @return value or {@code null} for none */ public GoogleCloudConnectorsV1LockConfig getLockConfig() { return lockConfig; } /** * Optional. Configuration that indicates whether or not the Connection can be edited. * @param lockConfig lockConfig or {@code null} for none */ public GoogleCloudConnectorsV1Connection setLockConfig(GoogleCloudConnectorsV1LockConfig lockConfig) { this.lockConfig = lockConfig; return this; } /** * Output only. Resource name of the Connection. Format: * projects/{project}/locations/{location}/connections/{connection} * @return value or {@code null} for none */ public java.lang.String getName() { return name; } /** * Output only. Resource name of the Connection. Format: * projects/{project}/locations/{location}/connections/{connection} * @param name name or {@code null} for none */ public GoogleCloudConnectorsV1Connection setName(java.lang.String name) { this.name = name; return this; } /** * Optional. Node configuration for the connection. * @return value or {@code null} for none */ public GoogleCloudConnectorsV1NodeConfig getNodeConfig() { return nodeConfig; } /** * Optional. Node configuration for the connection. * @param nodeConfig nodeConfig or {@code null} for none */ public GoogleCloudConnectorsV1Connection setNodeConfig(GoogleCloudConnectorsV1NodeConfig nodeConfig) { this.nodeConfig = nodeConfig; return this; } /** * Optional. Service account needed for runtime plane to access GCP resources. * @return value or {@code null} for none */ public java.lang.String getServiceAccount() { return serviceAccount; } /** * Optional. Service account needed for runtime plane to access GCP resources. * @param serviceAccount serviceAccount or {@code null} for none */ public GoogleCloudConnectorsV1Connection setServiceAccount(java.lang.String serviceAccount) { this.serviceAccount = serviceAccount; return this; } /** * Output only. The name of the Service Directory service name. Used for Private Harpoon to * resolve the ILB address. e.g. "projects/cloud-connectors-e2e-testing/locations/us- * central1/namespaces/istio-system/services/istio-ingressgateway-connectors" * @return value or {@code null} for none */ public java.lang.String getServiceDirectory() { return serviceDirectory; } /** * Output only. The name of the Service Directory service name. Used for Private Harpoon to * resolve the ILB address. e.g. "projects/cloud-connectors-e2e-testing/locations/us- * central1/namespaces/istio-system/services/istio-ingressgateway-connectors" * @param serviceDirectory serviceDirectory or {@code null} for none */ public GoogleCloudConnectorsV1Connection setServiceDirectory(java.lang.String serviceDirectory) { this.serviceDirectory = serviceDirectory; return this; } /** * Output only. Current status of the connection. * @return value or {@code null} for none */ public GoogleCloudConnectorsV1ConnectionStatus getStatus() { return status; } /** * Output only. Current status of the connection. * @param status status or {@code null} for none */ public GoogleCloudConnectorsV1Connection setStatus(GoogleCloudConnectorsV1ConnectionStatus status) { this.status = status; return this; } /** * Optional. Suspended indicates if a user has suspended a connection or not. * @return value or {@code null} for none */ public java.lang.Boolean getSuspended() { return suspended; } /** * Optional. Suspended indicates if a user has suspended a connection or not. * @param suspended suspended or {@code null} for none */ public GoogleCloudConnectorsV1Connection setSuspended(java.lang.Boolean suspended) { this.suspended = suspended; return this; } /** * Output only. Updated time. * @return value or {@code null} for none */ public String getUpdateTime() { return updateTime; } /** * Output only. Updated time. * @param updateTime updateTime or {@code null} for none */ public GoogleCloudConnectorsV1Connection setUpdateTime(String updateTime) { this.updateTime = updateTime; return this; } @Override public GoogleCloudConnectorsV1Connection set(String fieldName, Object value) { return (GoogleCloudConnectorsV1Connection) super.set(fieldName, value); } @Override public GoogleCloudConnectorsV1Connection clone() { return (GoogleCloudConnectorsV1Connection) super.clone(); } }




© 2015 - 2025 Weber Informatics LLC | Privacy Policy