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

com.google.cloud.securitycenter.v1.NotificationConfigOrBuilder Maven / Gradle / Ivy

There is a newer version: 2.62.0
Show newest version
/*
 * Copyright 2024 Google LLC
 *
 * 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
 *
 *     https://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.
 */
// Generated by the protocol buffer compiler.  DO NOT EDIT!
// source: google/cloud/securitycenter/v1/notification_config.proto

// Protobuf Java Version: 3.25.3
package com.google.cloud.securitycenter.v1;

public interface NotificationConfigOrBuilder
    extends
    // @@protoc_insertion_point(interface_extends:google.cloud.securitycenter.v1.NotificationConfig)
    com.google.protobuf.MessageOrBuilder {

  /**
   *
   *
   * 
   * The relative resource name of this notification config. See:
   * https://cloud.google.com/apis/design/resource_names#relative_resource_name
   * Example:
   * "organizations/{organization_id}/notificationConfigs/notify_public_bucket",
   * "folders/{folder_id}/notificationConfigs/notify_public_bucket",
   * or "projects/{project_id}/notificationConfigs/notify_public_bucket".
   * 
* * string name = 1; * * @return The name. */ java.lang.String getName(); /** * * *
   * The relative resource name of this notification config. See:
   * https://cloud.google.com/apis/design/resource_names#relative_resource_name
   * Example:
   * "organizations/{organization_id}/notificationConfigs/notify_public_bucket",
   * "folders/{folder_id}/notificationConfigs/notify_public_bucket",
   * or "projects/{project_id}/notificationConfigs/notify_public_bucket".
   * 
* * string name = 1; * * @return The bytes for name. */ com.google.protobuf.ByteString getNameBytes(); /** * * *
   * The description of the notification config (max of 1024 characters).
   * 
* * string description = 2; * * @return The description. */ java.lang.String getDescription(); /** * * *
   * The description of the notification config (max of 1024 characters).
   * 
* * string description = 2; * * @return The bytes for description. */ com.google.protobuf.ByteString getDescriptionBytes(); /** * * *
   * The Pub/Sub topic to send notifications to. Its format is
   * "projects/[project_id]/topics/[topic]".
   * 
* * string pubsub_topic = 3 [(.google.api.resource_reference) = { ... } * * @return The pubsubTopic. */ java.lang.String getPubsubTopic(); /** * * *
   * The Pub/Sub topic to send notifications to. Its format is
   * "projects/[project_id]/topics/[topic]".
   * 
* * string pubsub_topic = 3 [(.google.api.resource_reference) = { ... } * * @return The bytes for pubsubTopic. */ com.google.protobuf.ByteString getPubsubTopicBytes(); /** * * *
   * Output only. The service account that needs "pubsub.topics.publish"
   * permission to publish to the Pub/Sub topic.
   * 
* * string service_account = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; * * @return The serviceAccount. */ java.lang.String getServiceAccount(); /** * * *
   * Output only. The service account that needs "pubsub.topics.publish"
   * permission to publish to the Pub/Sub topic.
   * 
* * string service_account = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; * * @return The bytes for serviceAccount. */ com.google.protobuf.ByteString getServiceAccountBytes(); /** * * *
   * The config for triggering streaming-based notifications.
   * 
* * .google.cloud.securitycenter.v1.NotificationConfig.StreamingConfig streaming_config = 5; * * * @return Whether the streamingConfig field is set. */ boolean hasStreamingConfig(); /** * * *
   * The config for triggering streaming-based notifications.
   * 
* * .google.cloud.securitycenter.v1.NotificationConfig.StreamingConfig streaming_config = 5; * * * @return The streamingConfig. */ com.google.cloud.securitycenter.v1.NotificationConfig.StreamingConfig getStreamingConfig(); /** * * *
   * The config for triggering streaming-based notifications.
   * 
* * .google.cloud.securitycenter.v1.NotificationConfig.StreamingConfig streaming_config = 5; * */ com.google.cloud.securitycenter.v1.NotificationConfig.StreamingConfigOrBuilder getStreamingConfigOrBuilder(); com.google.cloud.securitycenter.v1.NotificationConfig.NotifyConfigCase getNotifyConfigCase(); }




© 2015 - 2024 Weber Informatics LLC | Privacy Policy