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

com.google.api.services.logging.v2.model.Link Maven / Gradle / Ivy

There is a newer version: v2-rev20241018-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.logging.v2.model;

/**
 * Describes a link connected to an analytics enabled bucket.
 *
 * 

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 Logging 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 Link extends com.google.api.client.json.GenericJson { /** * Optional. The information of a BigQuery Dataset. When a link is created, a BigQuery dataset is * created along with it, in the same project as the LogBucket it's linked to. This dataset will * also have BigQuery Views corresponding to the LogViews in the bucket. * The value may be {@code null}. */ @com.google.api.client.util.Key private BigQueryDataset bigqueryDataset; /** * Output only. The creation timestamp of the link. * The value may be {@code null}. */ @com.google.api.client.util.Key private String createTime; /** * Optional. Describes this link.The maximum length of the description is 8000 characters. * The value may be {@code null}. */ @com.google.api.client.util.Key private java.lang.String description; /** * Output only. The resource lifecycle state. * The value may be {@code null}. */ @com.google.api.client.util.Key private java.lang.String lifecycleState; /** * Output only. The resource name of the link. The name can have up to 100 characters. A valid * link id (at the end of the link name) must only have alphanumeric characters and underscores * within it. "projects/[PROJECT_ID]/locations/[LOCATION_ID]/buckets/[BUCKET_ID]/links/[LINK_ID]" * "organizations/[ORGANIZATION_ID]/locations/[LOCATION_ID]/buckets/[BUCKET_ID]/links/[LINK_ID]" " * billingAccounts/[BILLING_ACCOUNT_ID]/locations/[LOCATION_ID]/buckets/[BUCKET_ID]/links/[LINK_ID * ]" "folders/[FOLDER_ID]/locations/[LOCATION_ID]/buckets/[BUCKET_ID]/links/[LINK_ID]" For * example:`projects/my-project/locations/global/buckets/my-bucket/links/my_link * The value may be {@code null}. */ @com.google.api.client.util.Key private java.lang.String name; /** * Optional. The information of a BigQuery Dataset. When a link is created, a BigQuery dataset is * created along with it, in the same project as the LogBucket it's linked to. This dataset will * also have BigQuery Views corresponding to the LogViews in the bucket. * @return value or {@code null} for none */ public BigQueryDataset getBigqueryDataset() { return bigqueryDataset; } /** * Optional. The information of a BigQuery Dataset. When a link is created, a BigQuery dataset is * created along with it, in the same project as the LogBucket it's linked to. This dataset will * also have BigQuery Views corresponding to the LogViews in the bucket. * @param bigqueryDataset bigqueryDataset or {@code null} for none */ public Link setBigqueryDataset(BigQueryDataset bigqueryDataset) { this.bigqueryDataset = bigqueryDataset; return this; } /** * Output only. The creation timestamp of the link. * @return value or {@code null} for none */ public String getCreateTime() { return createTime; } /** * Output only. The creation timestamp of the link. * @param createTime createTime or {@code null} for none */ public Link setCreateTime(String createTime) { this.createTime = createTime; return this; } /** * Optional. Describes this link.The maximum length of the description is 8000 characters. * @return value or {@code null} for none */ public java.lang.String getDescription() { return description; } /** * Optional. Describes this link.The maximum length of the description is 8000 characters. * @param description description or {@code null} for none */ public Link setDescription(java.lang.String description) { this.description = description; return this; } /** * Output only. The resource lifecycle state. * @return value or {@code null} for none */ public java.lang.String getLifecycleState() { return lifecycleState; } /** * Output only. The resource lifecycle state. * @param lifecycleState lifecycleState or {@code null} for none */ public Link setLifecycleState(java.lang.String lifecycleState) { this.lifecycleState = lifecycleState; return this; } /** * Output only. The resource name of the link. The name can have up to 100 characters. A valid * link id (at the end of the link name) must only have alphanumeric characters and underscores * within it. "projects/[PROJECT_ID]/locations/[LOCATION_ID]/buckets/[BUCKET_ID]/links/[LINK_ID]" * "organizations/[ORGANIZATION_ID]/locations/[LOCATION_ID]/buckets/[BUCKET_ID]/links/[LINK_ID]" " * billingAccounts/[BILLING_ACCOUNT_ID]/locations/[LOCATION_ID]/buckets/[BUCKET_ID]/links/[LINK_ID * ]" "folders/[FOLDER_ID]/locations/[LOCATION_ID]/buckets/[BUCKET_ID]/links/[LINK_ID]" For * example:`projects/my-project/locations/global/buckets/my-bucket/links/my_link * @return value or {@code null} for none */ public java.lang.String getName() { return name; } /** * Output only. The resource name of the link. The name can have up to 100 characters. A valid * link id (at the end of the link name) must only have alphanumeric characters and underscores * within it. "projects/[PROJECT_ID]/locations/[LOCATION_ID]/buckets/[BUCKET_ID]/links/[LINK_ID]" * "organizations/[ORGANIZATION_ID]/locations/[LOCATION_ID]/buckets/[BUCKET_ID]/links/[LINK_ID]" " * billingAccounts/[BILLING_ACCOUNT_ID]/locations/[LOCATION_ID]/buckets/[BUCKET_ID]/links/[LINK_ID * ]" "folders/[FOLDER_ID]/locations/[LOCATION_ID]/buckets/[BUCKET_ID]/links/[LINK_ID]" For * example:`projects/my-project/locations/global/buckets/my-bucket/links/my_link * @param name name or {@code null} for none */ public Link setName(java.lang.String name) { this.name = name; return this; } @Override public Link set(String fieldName, Object value) { return (Link) super.set(fieldName, value); } @Override public Link clone() { return (Link) super.clone(); } }




© 2015 - 2024 Weber Informatics LLC | Privacy Policy