Class: Google::Apis::DataflowV1b3::DisplayData

Inherits:
Object
  • Object
show all
Includes:
Core::Hashable, Core::JsonObjectSupport
Defined in:
generated/google/apis/dataflow_v1b3/classes.rb,
generated/google/apis/dataflow_v1b3/representations.rb,
generated/google/apis/dataflow_v1b3/representations.rb

Overview

Data provided with a pipeline or transform to provide descriptive info.

Instance Attribute Summary collapse

Instance Method Summary collapse

Methods included from Core::JsonObjectSupport

#to_json

Methods included from Core::Hashable

process_value, #to_h

Constructor Details

#initialize(**args) ⇒ DisplayData

Returns a new instance of DisplayData



1817
1818
1819
# File 'generated/google/apis/dataflow_v1b3/classes.rb', line 1817

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

Instance Attribute Details

#bool_valueBoolean Also known as: bool_value?

Contains value if the data is of a boolean type. Corresponds to the JSON property boolValue

Returns:

  • (Boolean)


1764
1765
1766
# File 'generated/google/apis/dataflow_v1b3/classes.rb', line 1764

def bool_value
  @bool_value
end

#duration_valueString

Contains value if the data is of duration type. Corresponds to the JSON property durationValue

Returns:

  • (String)


1785
1786
1787
# File 'generated/google/apis/dataflow_v1b3/classes.rb', line 1785

def duration_value
  @duration_value
end

#float_valueFloat

Contains value if the data is of float type. Corresponds to the JSON property floatValue

Returns:

  • (Float)


1798
1799
1800
# File 'generated/google/apis/dataflow_v1b3/classes.rb', line 1798

def float_value
  @float_value
end

#int64_valueFixnum

Contains value if the data is of int64 type. Corresponds to the JSON property int64Value

Returns:

  • (Fixnum)


1780
1781
1782
# File 'generated/google/apis/dataflow_v1b3/classes.rb', line 1780

def int64_value
  @int64_value
end

#java_class_valueString

Contains value if the data is of java class type. Corresponds to the JSON property javaClassValue

Returns:

  • (String)


1770
1771
1772
# File 'generated/google/apis/dataflow_v1b3/classes.rb', line 1770

def java_class_value
  @java_class_value
end

#keyString

The key identifying the display data. This is intended to be used as a label for the display data when viewed in a dax monitoring system. Corresponds to the JSON property key

Returns:

  • (String)


1805
1806
1807
# File 'generated/google/apis/dataflow_v1b3/classes.rb', line 1805

def key
  @key
end

#labelString

An optional label to display in a dax UI for the element. Corresponds to the JSON property label

Returns:

  • (String)


1754
1755
1756
# File 'generated/google/apis/dataflow_v1b3/classes.rb', line 1754

def label
  @label
end

#namespaceString

The namespace for the key. This is usually a class name or programming language namespace (i.e. python module) which defines the display data. This allows a dax monitoring system to specially handle the data and perform custom rendering. Corresponds to the JSON property namespace

Returns:

  • (String)


1793
1794
1795
# File 'generated/google/apis/dataflow_v1b3/classes.rb', line 1793

def namespace
  @namespace
end

#short_str_valueString

A possible additional shorter value to display. For example a java_class_name_value of com.mypackage.MyDoFn will be stored with MyDoFn as the short_str_value and com.mypackage.MyDoFn as the java_class_name value. short_str_value can be displayed and java_class_name_value will be displayed as a tooltip. Corresponds to the JSON property shortStrValue

Returns:

  • (String)


1815
1816
1817
# File 'generated/google/apis/dataflow_v1b3/classes.rb', line 1815

def short_str_value
  @short_str_value
end

#str_valueString

Contains value if the data is of string type. Corresponds to the JSON property strValue

Returns:

  • (String)


1775
1776
1777
# File 'generated/google/apis/dataflow_v1b3/classes.rb', line 1775

def str_value
  @str_value
end

#timestamp_valueString

Contains value if the data is of timestamp type. Corresponds to the JSON property timestampValue

Returns:

  • (String)


1759
1760
1761
# File 'generated/google/apis/dataflow_v1b3/classes.rb', line 1759

def timestamp_value
  @timestamp_value
end

#urlString

An optional full URL. Corresponds to the JSON property url

Returns:

  • (String)


1749
1750
1751
# File 'generated/google/apis/dataflow_v1b3/classes.rb', line 1749

def url
  @url
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



1822
1823
1824
1825
1826
1827
1828
1829
1830
1831
1832
1833
1834
1835
# File 'generated/google/apis/dataflow_v1b3/classes.rb', line 1822

def update!(**args)
  @url = args[:url] if args.key?(:url)
  @label = args[:label] if args.key?(:label)
  @timestamp_value = args[:timestamp_value] if args.key?(:timestamp_value)
  @bool_value = args[:bool_value] if args.key?(:bool_value)
  @java_class_value = args[:java_class_value] if args.key?(:java_class_value)
  @str_value = args[:str_value] if args.key?(:str_value)
  @int64_value = args[:int64_value] if args.key?(:int64_value)
  @duration_value = args[:duration_value] if args.key?(:duration_value)
  @namespace = args[:namespace] if args.key?(:namespace)
  @float_value = args[:float_value] if args.key?(:float_value)
  @key = args[:key] if args.key?(:key)
  @short_str_value = args[:short_str_value] if args.key?(:short_str_value)
end