Class: Google::Apis::Searchads360V0::GoogleAdsSearchads360V0CommonValue

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

Overview

A generic data container.

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ GoogleAdsSearchads360V0CommonValue

Returns a new instance of GoogleAdsSearchads360V0CommonValue.



3071
3072
3073
# File 'lib/google/apis/searchads360_v0/classes.rb', line 3071

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)


3048
3049
3050
# File 'lib/google/apis/searchads360_v0/classes.rb', line 3048

def boolean_value
  @boolean_value
end

#double_valueFloat

A double. Corresponds to the JSON property doubleValue

Returns:

  • (Float)


3054
3055
3056
# File 'lib/google/apis/searchads360_v0/classes.rb', line 3054

def double_value
  @double_value
end

#float_valueFloat

A float. Corresponds to the JSON property floatValue

Returns:

  • (Float)


3059
3060
3061
# File 'lib/google/apis/searchads360_v0/classes.rb', line 3059

def float_value
  @float_value
end

#int64_valueFixnum

An int64. Corresponds to the JSON property int64Value

Returns:

  • (Fixnum)


3064
3065
3066
# File 'lib/google/apis/searchads360_v0/classes.rb', line 3064

def int64_value
  @int64_value
end

#string_valueString

A string. Corresponds to the JSON property stringValue

Returns:

  • (String)


3069
3070
3071
# File 'lib/google/apis/searchads360_v0/classes.rb', line 3069

def string_value
  @string_value
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



3076
3077
3078
3079
3080
3081
3082
# File 'lib/google/apis/searchads360_v0/classes.rb', line 3076

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