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

com.google.api.services.eventarc.v1.model.MessageBus 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;

/**
 * MessageBus for the messages flowing through the system. The admin has visibility and control over
 * the messages being published and consumed and can restrict publishers and subscribers to only a
 * subset of data available in the system by defining authorization policies.
 *
 * 

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 MessageBus extends com.google.api.client.json.GenericJson { /** * Optional. Resource annotations. * The value may be {@code null}. */ @com.google.api.client.util.Key private java.util.Map annotations; /** * Output only. The creation time. * The value may be {@code null}. */ @com.google.api.client.util.Key private String createTime; /** * 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; /** * Optional. Resource display name. * The value may be {@code null}. */ @com.google.api.client.util.Key private java.lang.String displayName; /** * Output only. This checksum is computed by the server based on the value of other fields, and * might be sent only on update and delete requests to ensure that the client has an up-to-date * value before proceeding. * The value may be {@code null}. */ @com.google.api.client.util.Key private java.lang.String etag; /** * Optional. Resource labels. * The value may be {@code null}. */ @com.google.api.client.util.Key private java.util.Map labels; /** * Optional. Config to control Platform logging for the Message Bus. This log configuration is * applied to the Message Bus itself, and all the Enrollments attached to it. * The value may be {@code null}. */ @com.google.api.client.util.Key private LoggingConfig loggingConfig; /** * Identifier. Resource name of the form * projects/{project}/locations/{location}/messageBuses/{message_bus} * The value may be {@code null}. */ @com.google.api.client.util.Key private java.lang.String name; /** * Output only. Server assigned unique identifier for the channel. The value is a UUID4 string and * guaranteed to remain unchanged until the resource is deleted. * The value may be {@code null}. */ @com.google.api.client.util.Key private java.lang.String uid; /** * Output only. The last-modified time. * The value may be {@code null}. */ @com.google.api.client.util.Key private String updateTime; /** * Optional. Resource annotations. * @return value or {@code null} for none */ public java.util.Map getAnnotations() { return annotations; } /** * Optional. Resource annotations. * @param annotations annotations or {@code null} for none */ public MessageBus setAnnotations(java.util.Map annotations) { this.annotations = annotations; return this; } /** * Output only. The creation time. * @return value or {@code null} for none */ public String getCreateTime() { return createTime; } /** * Output only. The creation time. * @param createTime createTime or {@code null} for none */ public MessageBus setCreateTime(String createTime) { this.createTime = createTime; return this; } /** * 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 MessageBus setCryptoKeyName(java.lang.String cryptoKeyName) { this.cryptoKeyName = cryptoKeyName; return this; } /** * Optional. Resource display name. * @return value or {@code null} for none */ public java.lang.String getDisplayName() { return displayName; } /** * Optional. Resource display name. * @param displayName displayName or {@code null} for none */ public MessageBus setDisplayName(java.lang.String displayName) { this.displayName = displayName; return this; } /** * Output only. This checksum is computed by the server based on the value of other fields, and * might be sent only on update and delete requests to ensure that the client has an up-to-date * value before proceeding. * @return value or {@code null} for none */ public java.lang.String getEtag() { return etag; } /** * Output only. This checksum is computed by the server based on the value of other fields, and * might be sent only on update and delete requests to ensure that the client has an up-to-date * value before proceeding. * @param etag etag or {@code null} for none */ public MessageBus setEtag(java.lang.String etag) { this.etag = etag; return this; } /** * Optional. Resource labels. * @return value or {@code null} for none */ public java.util.Map getLabels() { return labels; } /** * Optional. Resource labels. * @param labels labels or {@code null} for none */ public MessageBus setLabels(java.util.Map labels) { this.labels = labels; return this; } /** * Optional. Config to control Platform logging for the Message Bus. This log configuration is * applied to the Message Bus itself, and all the Enrollments attached to it. * @return value or {@code null} for none */ public LoggingConfig getLoggingConfig() { return loggingConfig; } /** * Optional. Config to control Platform logging for the Message Bus. This log configuration is * applied to the Message Bus itself, and all the Enrollments attached to it. * @param loggingConfig loggingConfig or {@code null} for none */ public MessageBus setLoggingConfig(LoggingConfig loggingConfig) { this.loggingConfig = loggingConfig; return this; } /** * Identifier. Resource name of the form * projects/{project}/locations/{location}/messageBuses/{message_bus} * @return value or {@code null} for none */ public java.lang.String getName() { return name; } /** * Identifier. Resource name of the form * projects/{project}/locations/{location}/messageBuses/{message_bus} * @param name name or {@code null} for none */ public MessageBus setName(java.lang.String name) { this.name = name; return this; } /** * Output only. Server assigned unique identifier for the channel. The value is a UUID4 string and * guaranteed to remain unchanged until the resource is deleted. * @return value or {@code null} for none */ public java.lang.String getUid() { return uid; } /** * Output only. Server assigned unique identifier for the channel. The value is a UUID4 string and * guaranteed to remain unchanged until the resource is deleted. * @param uid uid or {@code null} for none */ public MessageBus setUid(java.lang.String uid) { this.uid = uid; 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 MessageBus setUpdateTime(String updateTime) { this.updateTime = updateTime; return this; } @Override public MessageBus set(String fieldName, Object value) { return (MessageBus) super.set(fieldName, value); } @Override public MessageBus clone() { return (MessageBus) super.clone(); } }




© 2015 - 2025 Weber Informatics LLC | Privacy Policy