class Google::Apis::ServiceusageV1beta1::LoggingDestination

Configuration of a specific logging destination (the producer project or the consumer project).

Attributes

logs[RW]

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 “/”. Corresponds to the JSON property `logs` @return [Array<String>]

monitored_resource[RW]

The monitored resource type. The type must be defined in the Service. monitored_resources section. Corresponds to the JSON property `monitoredResource` @return [String]

Public Class Methods

new(**args) click to toggle source
# File lib/google/apis/serviceusage_v1beta1/classes.rb, line 2724
def initialize(**args)
   update!(**args)
end

Public Instance Methods

update!(**args) click to toggle source

Update properties of this object

# File lib/google/apis/serviceusage_v1beta1/classes.rb, line 2729
def update!(**args)
  @logs = args[:logs] if args.key?(:logs)
  @monitored_resource = args[:monitored_resource] if args.key?(:monitored_resource)
end