Method: Google::Cloud::Monitoring::V3::NotificationChannel#user_labels
- Defined in:
- proto_docs/google/monitoring/v3/notification.rb
permalink #user_labels ⇒ ::Google::Protobuf::Map{::String => ::String}
Returns User-supplied key/value data that does not need to conform to
the corresponding NotificationChannelDescriptor
's schema, unlike
the labels
field. This field is intended to be used for organizing
and identifying the NotificationChannel
objects.
The field can contain up to 64 entries. Each key and value is limited to 63 Unicode characters or 128 bytes, whichever is smaller. Labels and values can contain only lowercase letters, numerals, underscores, and dashes. Keys must begin with a letter.
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 |