Class: Google::Cloud::Monitoring::V3::NotificationChannel

Inherits:
Object
  • Object
show all
Extended by:
Protobuf::MessageExts::ClassMethods
Includes:
Protobuf::MessageExts
Defined in:
proto_docs/google/monitoring/v3/notification.rb

Overview

A NotificationChannel is a medium through which an alert is delivered when a policy violation is detected. Examples of channels include email, SMS, and third-party messaging applications. Fields containing sensitive information like authentication tokens or contact info are only partially populated on retrieval.

Defined Under Namespace

Modules: VerificationStatus Classes: LabelsEntry, UserLabelsEntry

Instance Attribute Summary collapse

Instance Attribute Details

#creation_record::Google::Cloud::Monitoring::V3::MutationRecord



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
192
193
194
# File 'proto_docs/google/monitoring/v3/notification.rb', line 149

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

#description::String



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
192
193
194
# File 'proto_docs/google/monitoring/v3/notification.rb', line 149

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

#display_name::String



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
192
193
194
# File 'proto_docs/google/monitoring/v3/notification.rb', line 149

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

#enabled::Google::Protobuf::BoolValue



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
192
193
194
# File 'proto_docs/google/monitoring/v3/notification.rb', line 149

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

#labels::Google::Protobuf::Map{::String => ::String}



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
192
193
194
# File 'proto_docs/google/monitoring/v3/notification.rb', line 149

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

#mutation_records::Array<::Google::Cloud::Monitoring::V3::MutationRecord>



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
192
193
194
# File 'proto_docs/google/monitoring/v3/notification.rb', line 149

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

#name::String



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
192
193
194
# File 'proto_docs/google/monitoring/v3/notification.rb', line 149

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

#type::String



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
192
193
194
# File 'proto_docs/google/monitoring/v3/notification.rb', line 149

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

#user_labels::Google::Protobuf::Map{::String => ::String}



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
192
193
194
# File 'proto_docs/google/monitoring/v3/notification.rb', line 149

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

#verification_status::Google::Cloud::Monitoring::V3::NotificationChannel::VerificationStatus



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
192
193
194
# File 'proto_docs/google/monitoring/v3/notification.rb', line 149

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