Reference documentation and code samples for the Service Management V1 API class Google::Api::Logging::LoggingDestination.
Configuration of a specific logging destination (the producer project or the consumer project).
Inherits
- Object
Extended By
- Google::Protobuf::MessageExts::ClassMethods
Includes
- Google::Protobuf::MessageExts
Methods
#logs
def logs() -> ::Array<::String>
Returns
- (::Array<::String>) — Names of the logs to be sent to this destination. Each name must be defined in the Service.logs section. If the log name is not a domain scoped name, it will be automatically prefixed with the service name followed by "/".
#logs=
def logs=(value) -> ::Array<::String>
Parameter
- value (::Array<::String>) — Names of the logs to be sent to this destination. Each name must be defined in the Service.logs section. If the log name is not a domain scoped name, it will be automatically prefixed with the service name followed by "/".
Returns
- (::Array<::String>) — Names of the logs to be sent to this destination. Each name must be defined in the Service.logs section. If the log name is not a domain scoped name, it will be automatically prefixed with the service name followed by "/".
#monitored_resource
def monitored_resource() -> ::String
Returns
- (::String) — The monitored resource type. The type must be defined in the Service.monitored_resources section.
#monitored_resource=
def monitored_resource=(value) -> ::String
Parameter
- value (::String) — The monitored resource type. The type must be defined in the Service.monitored_resources section.
Returns
- (::String) — The monitored resource type. The type must be defined in the Service.monitored_resources section.