Method: Google::Cloud::Monitoring::V3::NotificationChannel#type

Defined in:
proto_docs/google/monitoring/v3/notification.rb

#type::String

Returns The type of the notification channel. This field matches the value of the NotificationChannelDescriptor.type field.

Returns:

[View source]

146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
# File 'proto_docs/google/monitoring/v3/notification.rb', line 146

class NotificationChannel
  include ::Google::Protobuf::MessageExts
  extend ::Google::Protobuf::MessageExts::ClassMethods

  # @!attribute [rw] key
  #   @return [::String]
  # @!attribute [rw] value
  #   @return [::String]
  class LabelsEntry
    include ::Google::Protobuf::MessageExts
    extend ::Google::Protobuf::MessageExts::ClassMethods
  end

  # @!attribute [rw] key
  #   @return [::String]
  # @!attribute [rw] value
  #   @return [::String]
  class UserLabelsEntry
    include ::Google::Protobuf::MessageExts
    extend ::Google::Protobuf::MessageExts::ClassMethods
  end

  # Indicates whether the channel has been verified or not. It is illegal
  # to specify this field in a
  # {::Google::Cloud::Monitoring::V3::NotificationChannelService::Client#create_notification_channel `CreateNotificationChannel`}
  # or an
  # {::Google::Cloud::Monitoring::V3::NotificationChannelService::Client#update_notification_channel `UpdateNotificationChannel`}
  # operation.
  module VerificationStatus
    # Sentinel value used to indicate that the state is unknown, omitted, or
    # is not applicable (as in the case of channels that neither support
    # nor require verification in order to function).
    VERIFICATION_STATUS_UNSPECIFIED = 0

    # The channel has yet to be verified and requires verification to function.
    # Note that this state also applies to the case where the verification
    # process has been initiated by sending a verification code but where
    # the verification code has not been submitted to complete the process.
    UNVERIFIED = 1

    # It has been proven that notifications can be received on this
    # notification channel and that someone on the project has access
    # to messages that are delivered to that channel.
    VERIFIED = 2
  end
end