Class: Google::Apis::DoubleclicksearchV2::SavedColumn
- Inherits:
-
Object
- Object
- Google::Apis::DoubleclicksearchV2::SavedColumn
- Includes:
- Core::Hashable, Core::JsonObjectSupport
- Defined in:
- lib/google/apis/doubleclicksearch_v2/classes.rb,
lib/google/apis/doubleclicksearch_v2/representations.rb,
lib/google/apis/doubleclicksearch_v2/representations.rb
Overview
A saved column
Instance Attribute Summary collapse
-
#kind ⇒ String
Identifies this as a SavedColumn resource.
-
#saved_column_name ⇒ String
The name of the saved column.
-
#type ⇒ String
The type of data this saved column will produce.
Instance Method Summary collapse
-
#initialize(**args) ⇒ SavedColumn
constructor
A new instance of SavedColumn.
-
#update!(**args) ⇒ Object
Update properties of this object.
Constructor Details
#initialize(**args) ⇒ SavedColumn
Returns a new instance of SavedColumn.
920 921 922 |
# File 'lib/google/apis/doubleclicksearch_v2/classes.rb', line 920 def initialize(**args) update!(**args) end |
Instance Attribute Details
#kind ⇒ String
Identifies this as a SavedColumn resource. Value: the fixed string
doubleclicksearch#savedColumn.
Corresponds to the JSON property kind
908 909 910 |
# File 'lib/google/apis/doubleclicksearch_v2/classes.rb', line 908 def kind @kind end |
#saved_column_name ⇒ String
The name of the saved column.
Corresponds to the JSON property savedColumnName
913 914 915 |
# File 'lib/google/apis/doubleclicksearch_v2/classes.rb', line 913 def saved_column_name @saved_column_name end |
#type ⇒ String
The type of data this saved column will produce.
Corresponds to the JSON property type
918 919 920 |
# File 'lib/google/apis/doubleclicksearch_v2/classes.rb', line 918 def type @type end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
925 926 927 928 929 |
# File 'lib/google/apis/doubleclicksearch_v2/classes.rb', line 925 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 |