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

com.google.api.services.eventarc.v1.model.GoogleChannelConfig Maven / Gradle / Ivy

There is a newer version: v1-rev20250103-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.eventarc.v1.model;

/**
 * A GoogleChannelConfig is a resource that stores the custom settings respected by Eventarc first-
 * party triggers in the matching region. Once configured, first-party event data will be protected
 * using the specified custom managed encryption key instead of Google-managed encryption keys.
 *
 * 

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 Eventarc 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 GoogleChannelConfig extends com.google.api.client.json.GenericJson { /** * Optional. Resource name of a KMS crypto key (managed by the user) used to encrypt/decrypt their * event data. It must match the pattern `projects/locations/keyRings/cryptoKeys`. * The value may be {@code null}. */ @com.google.api.client.util.Key private java.lang.String cryptoKeyName; /** * Required. The resource name of the config. Must be in the format of, * `projects/{project}/locations/{location}/googleChannelConfig`. * The value may be {@code null}. */ @com.google.api.client.util.Key private java.lang.String name; /** * Output only. The last-modified time. * The value may be {@code null}. */ @com.google.api.client.util.Key private String updateTime; /** * Optional. Resource name of a KMS crypto key (managed by the user) used to encrypt/decrypt their * event data. It must match the pattern `projects/locations/keyRings/cryptoKeys`. * @return value or {@code null} for none */ public java.lang.String getCryptoKeyName() { return cryptoKeyName; } /** * Optional. Resource name of a KMS crypto key (managed by the user) used to encrypt/decrypt their * event data. It must match the pattern `projects/locations/keyRings/cryptoKeys`. * @param cryptoKeyName cryptoKeyName or {@code null} for none */ public GoogleChannelConfig setCryptoKeyName(java.lang.String cryptoKeyName) { this.cryptoKeyName = cryptoKeyName; return this; } /** * Required. The resource name of the config. Must be in the format of, * `projects/{project}/locations/{location}/googleChannelConfig`. * @return value or {@code null} for none */ public java.lang.String getName() { return name; } /** * Required. The resource name of the config. Must be in the format of, * `projects/{project}/locations/{location}/googleChannelConfig`. * @param name name or {@code null} for none */ public GoogleChannelConfig setName(java.lang.String name) { this.name = name; return this; } /** * Output only. The last-modified time. * @return value or {@code null} for none */ public String getUpdateTime() { return updateTime; } /** * Output only. The last-modified time. * @param updateTime updateTime or {@code null} for none */ public GoogleChannelConfig setUpdateTime(String updateTime) { this.updateTime = updateTime; return this; } @Override public GoogleChannelConfig set(String fieldName, Object value) { return (GoogleChannelConfig) super.set(fieldName, value); } @Override public GoogleChannelConfig clone() { return (GoogleChannelConfig) super.clone(); } }




© 2015 - 2025 Weber Informatics LLC | Privacy Policy