Class: Google::Apis::DataflowV1b3::DisplayData
- Inherits:
- 
      Object
      
        - Object
- Google::Apis::DataflowV1b3::DisplayData
 
- 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
- 
  
    
      #bool_value  ⇒ Boolean 
    
    
      (also: #bool_value?)
    
  
  
  
  
    
    
  
  
  
  
  
  
    Contains value if the data is of a boolean type. 
- 
  
    
      #duration_value  ⇒ String 
    
    
  
  
  
  
    
    
  
  
  
  
  
  
    Contains value if the data is of duration type. 
- 
  
    
      #float_value  ⇒ Float 
    
    
  
  
  
  
    
    
  
  
  
  
  
  
    Contains value if the data is of float type. 
- 
  
    
      #int64_value  ⇒ Fixnum 
    
    
  
  
  
  
    
    
  
  
  
  
  
  
    Contains value if the data is of int64 type. 
- 
  
    
      #java_class_value  ⇒ String 
    
    
  
  
  
  
    
    
  
  
  
  
  
  
    Contains value if the data is of java class type. 
- 
  
    
      #key  ⇒ String 
    
    
  
  
  
  
    
    
  
  
  
  
  
  
    The key identifying the display data. 
- 
  
    
      #label  ⇒ String 
    
    
  
  
  
  
    
    
  
  
  
  
  
  
    An optional label to display in a dax UI for the element. 
- 
  
    
      #namespace  ⇒ String 
    
    
  
  
  
  
    
    
  
  
  
  
  
  
    The namespace for the key. 
- 
  
    
      #short_str_value  ⇒ String 
    
    
  
  
  
  
    
    
  
  
  
  
  
  
    A possible additional shorter value to display. 
- 
  
    
      #str_value  ⇒ String 
    
    
  
  
  
  
    
    
  
  
  
  
  
  
    Contains value if the data is of string type. 
- 
  
    
      #timestamp_value  ⇒ String 
    
    
  
  
  
  
    
    
  
  
  
  
  
  
    Contains value if the data is of timestamp type. 
- 
  
    
      #url  ⇒ String 
    
    
  
  
  
  
    
    
  
  
  
  
  
  
    An optional full URL. 
Instance Method Summary collapse
- 
  
    
      #initialize(**args)  ⇒ DisplayData 
    
    
  
  
  
    constructor
  
  
  
  
  
  
  
    A new instance of DisplayData. 
- 
  
    
      #update!(**args)  ⇒ Object 
    
    
  
  
  
  
  
  
  
  
  
    Update properties of this object. 
Methods included from Core::JsonObjectSupport
Methods included from Core::Hashable
Constructor Details
#initialize(**args) ⇒ DisplayData
Returns a new instance of DisplayData
| 886 887 888 | # File 'generated/google/apis/dataflow_v1b3/classes.rb', line 886 def initialize(**args) update!(**args) end | 
Instance Attribute Details
#bool_value ⇒ Boolean Also known as: bool_value?
Contains value if the data is of a boolean type.
Corresponds to the JSON property boolValue
| 818 819 820 | # File 'generated/google/apis/dataflow_v1b3/classes.rb', line 818 def bool_value @bool_value end | 
#duration_value ⇒ String
Contains value if the data is of duration type.
Corresponds to the JSON property durationValue
| 824 825 826 | # File 'generated/google/apis/dataflow_v1b3/classes.rb', line 824 def duration_value @duration_value end | 
#float_value ⇒ Float
Contains value if the data is of float type.
Corresponds to the JSON property floatValue
| 829 830 831 | # File 'generated/google/apis/dataflow_v1b3/classes.rb', line 829 def float_value @float_value end | 
#int64_value ⇒ Fixnum
Contains value if the data is of int64 type.
Corresponds to the JSON property int64Value
| 834 835 836 | # File 'generated/google/apis/dataflow_v1b3/classes.rb', line 834 def int64_value @int64_value end | 
#java_class_value ⇒ String
Contains value if the data is of java class type.
Corresponds to the JSON property javaClassValue
| 839 840 841 | # File 'generated/google/apis/dataflow_v1b3/classes.rb', line 839 def java_class_value @java_class_value end | 
#key ⇒ String
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
| 846 847 848 | # File 'generated/google/apis/dataflow_v1b3/classes.rb', line 846 def key @key end | 
#label ⇒ String
An optional label to display in a dax UI for the element.
Corresponds to the JSON property label
| 851 852 853 | # File 'generated/google/apis/dataflow_v1b3/classes.rb', line 851 def label @label end | 
#namespace ⇒ String
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
| 859 860 861 | # File 'generated/google/apis/dataflow_v1b3/classes.rb', line 859 def namespace @namespace end | 
#short_str_value ⇒ String
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
| 869 870 871 | # File 'generated/google/apis/dataflow_v1b3/classes.rb', line 869 def short_str_value @short_str_value end | 
#str_value ⇒ String
Contains value if the data is of string type.
Corresponds to the JSON property strValue
| 874 875 876 | # File 'generated/google/apis/dataflow_v1b3/classes.rb', line 874 def str_value @str_value end | 
#timestamp_value ⇒ String
Contains value if the data is of timestamp type.
Corresponds to the JSON property timestampValue
| 879 880 881 | # File 'generated/google/apis/dataflow_v1b3/classes.rb', line 879 def @timestamp_value end | 
#url ⇒ String
An optional full URL.
Corresponds to the JSON property url
| 884 885 886 | # File 'generated/google/apis/dataflow_v1b3/classes.rb', line 884 def url @url end | 
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
| 891 892 893 894 895 896 897 898 899 900 901 902 903 904 | # File 'generated/google/apis/dataflow_v1b3/classes.rb', line 891 def update!(**args) @bool_value = args[:bool_value] if args.key?(:bool_value) @duration_value = args[:duration_value] if args.key?(:duration_value) @float_value = args[:float_value] if args.key?(:float_value) @int64_value = args[:int64_value] if args.key?(:int64_value) @java_class_value = args[:java_class_value] if args.key?(:java_class_value) @key = args[:key] if args.key?(:key) @label = args[:label] if args.key?(:label) @namespace = args[:namespace] if args.key?(:namespace) @short_str_value = args[:short_str_value] if args.key?(:short_str_value) @str_value = args[:str_value] if args.key?(:str_value) @timestamp_value = args[:timestamp_value] if args.key?(:timestamp_value) @url = args[:url] if args.key?(:url) end |