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.



30623
30624
30625
# File 'lib/google/apis/searchads360_v23/classes.rb', line 30623

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)


30616
30617
30618
# File 'lib/google/apis/searchads360_v23/classes.rb', line 30616

def field_type
  @field_type
end

#field_valueString

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

Returns:

  • (String)


30621
30622
30623
# File 'lib/google/apis/searchads360_v23/classes.rb', line 30621

def field_value
  @field_value
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



30628
30629
30630
30631
# File 'lib/google/apis/searchads360_v23/classes.rb', line 30628

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