Sha256: 1984b35c0885c093f9a0b89dd71239b76294c0495ba61495543276df226b0071

Contents?: true

Size: 1.62 KB

Versions: 5

Compression:

Stored size: 1.62 KB

Contents

# Generated by the protocol buffer compiler.  DO NOT EDIT!
# source: google/cloud/security_center/v1p1beta1/notification_config.proto


require 'google/protobuf'

require 'google/api/annotations_pb'
require 'google/api/field_behavior_pb'
require 'google/api/resource_pb'
Google::Protobuf::DescriptorPool.generated_pool.build do
  add_message "google.cloud.securitycenter.v1p1beta1.NotificationConfig" do
    optional :name, :string, 1
    optional :description, :string, 2
    optional :event_type, :enum, 3, "google.cloud.securitycenter.v1p1beta1.NotificationConfig.EventType"
    optional :pubsub_topic, :string, 4
    optional :service_account, :string, 5
    oneof :notify_config do
      optional :streaming_config, :message, 6, "google.cloud.securitycenter.v1p1beta1.NotificationConfig.StreamingConfig"
    end
  end
  add_message "google.cloud.securitycenter.v1p1beta1.NotificationConfig.StreamingConfig" do
    optional :filter, :string, 1
  end
  add_enum "google.cloud.securitycenter.v1p1beta1.NotificationConfig.EventType" do
    value :EVENT_TYPE_UNSPECIFIED, 0
    value :FINDING, 1
  end
end

module Google::Cloud::SecurityCenter::V1p1beta1
  NotificationConfig = Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.securitycenter.v1p1beta1.NotificationConfig").msgclass
  NotificationConfig::StreamingConfig = Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.securitycenter.v1p1beta1.NotificationConfig.StreamingConfig").msgclass
  NotificationConfig::EventType = Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.securitycenter.v1p1beta1.NotificationConfig.EventType").enummodule
end

Version data entries

5 entries across 5 versions & 1 rubygems

Version Path
google-cloud-security_center-0.10.0 lib/google/cloud/security_center/v1p1beta1/notification_config_pb.rb
google-cloud-security_center-0.9.0 lib/google/cloud/security_center/v1p1beta1/notification_config_pb.rb
google-cloud-security_center-0.8.0 lib/google/cloud/security_center/v1p1beta1/notification_config_pb.rb
google-cloud-security_center-0.7.0 lib/google/cloud/security_center/v1p1beta1/notification_config_pb.rb
google-cloud-security_center-0.6.0 lib/google/cloud/security_center/v1p1beta1/notification_config_pb.rb