Class: Google::Apis::DoubleclicksearchV2::SavedColumn

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

Overview

A saved column

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) ⇒ SavedColumn

Returns a new instance of SavedColumn.



880
881
882
# File 'generated/google/apis/doubleclicksearch_v2/classes.rb', line 880

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

Instance Attribute Details

#kindString

Identifies this as a SavedColumn resource. Value: the fixed string doubleclicksearch#savedColumn. Corresponds to the JSON property kind

Returns:

  • (String)


868
869
870
# File 'generated/google/apis/doubleclicksearch_v2/classes.rb', line 868

def kind
  @kind
end

#saved_column_nameString

The name of the saved column. Corresponds to the JSON property savedColumnName

Returns:

  • (String)


873
874
875
# File 'generated/google/apis/doubleclicksearch_v2/classes.rb', line 873

def saved_column_name
  @saved_column_name
end

#typeString

The type of data this saved column will produce. Corresponds to the JSON property type

Returns:

  • (String)


878
879
880
# File 'generated/google/apis/doubleclicksearch_v2/classes.rb', line 878

def type
  @type
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



885
886
887
888
889
# File 'generated/google/apis/doubleclicksearch_v2/classes.rb', line 885

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