Class: Google::Apis::Searchads360V23::GoogleAdsSearchads360V23CommonValue

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

Overview

A generic data container.

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ GoogleAdsSearchads360V23CommonValue

Returns a new instance of GoogleAdsSearchads360V23CommonValue.



12974
12975
12976
# File 'lib/google/apis/searchads360_v23/classes.rb', line 12974

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

Instance Attribute Details

#boolean_valueBoolean Also known as: boolean_value?

A boolean. Corresponds to the JSON property booleanValue

Returns:

  • (Boolean)


12951
12952
12953
# File 'lib/google/apis/searchads360_v23/classes.rb', line 12951

def boolean_value
  @boolean_value
end

#double_valueFloat

A double. Corresponds to the JSON property doubleValue

Returns:

  • (Float)


12957
12958
12959
# File 'lib/google/apis/searchads360_v23/classes.rb', line 12957

def double_value
  @double_value
end

#float_valueFloat

A float. Corresponds to the JSON property floatValue

Returns:

  • (Float)


12962
12963
12964
# File 'lib/google/apis/searchads360_v23/classes.rb', line 12962

def float_value
  @float_value
end

#int64_valueFixnum

An int64. Corresponds to the JSON property int64Value

Returns:

  • (Fixnum)


12967
12968
12969
# File 'lib/google/apis/searchads360_v23/classes.rb', line 12967

def int64_value
  @int64_value
end

#string_valueString

A string. Corresponds to the JSON property stringValue

Returns:

  • (String)


12972
12973
12974
# File 'lib/google/apis/searchads360_v23/classes.rb', line 12972

def string_value
  @string_value
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



12979
12980
12981
12982
12983
12984
12985
# File 'lib/google/apis/searchads360_v23/classes.rb', line 12979

def update!(**args)
  @boolean_value = args[:boolean_value] if args.key?(:boolean_value)
  @double_value = args[:double_value] if args.key?(:double_value)
  @float_value = args[:float_value] if args.key?(:float_value)
  @int64_value = args[:int64_value] if args.key?(:int64_value)
  @string_value = args[:string_value] if args.key?(:string_value)
end