Class: Google::Apis::Searchads360V23::GoogleAdsSearchads360V23ResourcesLeadFormSubmissionField

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

Fields in the submitted lead form.

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ GoogleAdsSearchads360V23ResourcesLeadFormSubmissionField

Returns a new instance of GoogleAdsSearchads360V23ResourcesLeadFormSubmissionField.



30796
30797
30798
# File 'lib/google/apis/searchads360_v23/classes.rb', line 30796

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

Instance Attribute Details

#field_typeString

Output only. Field type for lead form fields. Corresponds to the JSON property fieldType

Returns:

  • (String)


30789
30790
30791
# File 'lib/google/apis/searchads360_v23/classes.rb', line 30789

def field_type
  @field_type
end

#field_valueString

Output only. Field value for lead form fields. Corresponds to the JSON property fieldValue

Returns:

  • (String)


30794
30795
30796
# File 'lib/google/apis/searchads360_v23/classes.rb', line 30794

def field_value
  @field_value
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



30801
30802
30803
30804
# File 'lib/google/apis/searchads360_v23/classes.rb', line 30801

def update!(**args)
  @field_type = args[:field_type] if args.key?(:field_type)
  @field_value = args[:field_value] if args.key?(:field_value)
end