Class: Google::Apis::CloudtraceV2beta1::OutputConfig

Inherits:
Object
  • Object
show all
Includes:
Google::Apis::Core::Hashable, Google::Apis::Core::JsonObjectSupport
Defined in:
lib/google/apis/cloudtrace_v2beta1/classes.rb,
lib/google/apis/cloudtrace_v2beta1/representations.rb,
lib/google/apis/cloudtrace_v2beta1/representations.rb

Overview

OutputConfig contains a destination for writing trace data.

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ OutputConfig

Returns a new instance of OutputConfig.



78
79
80
# File 'lib/google/apis/cloudtrace_v2beta1/classes.rb', line 78

def initialize(**args)
   update!(**args)
end

Instance Attribute Details

#destinationString

Required. The destination for writing trace data. Supported formats include: " bigquery.googleapis.com/projects/[PROJECT_ID]/datasets/[DATASET]" Corresponds to the JSON property destination

Returns:

  • (String)


76
77
78
# File 'lib/google/apis/cloudtrace_v2beta1/classes.rb', line 76

def destination
  @destination
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



83
84
85
# File 'lib/google/apis/cloudtrace_v2beta1/classes.rb', line 83

def update!(**args)
  @destination = args[:destination] if args.key?(:destination)
end