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

Inherits:
Object
  • Object
show all
Includes:
Google::Apis::Core::Hashable, Google::Apis::Core::JsonObjectSupport
Defined in:
generated/google/apis/cloudtrace_v2beta1/classes.rb,
generated/google/apis/cloudtrace_v2beta1/representations.rb,
generated/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.



79
80
81
# File 'generated/google/apis/cloudtrace_v2beta1/classes.rb', line 79

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

Instance Attribute Details

#destinationString

The destination for writing trace data. Currently only BigQuery is supported. E.g.: "bigquery.googleapis.com/projects/[PROJECT_ID]/datasets/[DATASET]" Corresponds to the JSON property destination

Returns:

  • (String)


77
78
79
# File 'generated/google/apis/cloudtrace_v2beta1/classes.rb', line 77

def destination
  @destination
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



84
85
86
# File 'generated/google/apis/cloudtrace_v2beta1/classes.rb', line 84

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