Class: Google::Apis::Searchads360V23::GoogleAdsSearchads360V23ResourcesQualifyingQuestion

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

Qualifying Questions for Lead Form.

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ GoogleAdsSearchads360V23ResourcesQualifyingQuestion

Returns a new instance of GoogleAdsSearchads360V23ResourcesQualifyingQuestion.



32818
32819
32820
# File 'lib/google/apis/searchads360_v23/classes.rb', line 32818

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

Instance Attribute Details

#localeString

Output only. The locale of the qualifying question. Corresponds to the JSON property locale

Returns:

  • (String)


32800
32801
32802
# File 'lib/google/apis/searchads360_v23/classes.rb', line 32800

def locale
  @locale
end

#qualifying_question_idFixnum

Output only. The id of the qualifying question. Corresponds to the JSON property qualifyingQuestionId

Returns:

  • (Fixnum)


32805
32806
32807
# File 'lib/google/apis/searchads360_v23/classes.rb', line 32805

def qualifying_question_id
  @qualifying_question_id
end

#resource_nameString

Output only. The resource name of the qualifying question. ' qualifyingQuestions/qualifyingQuestionId' Corresponds to the JSON property resourceName

Returns:

  • (String)


32811
32812
32813
# File 'lib/google/apis/searchads360_v23/classes.rb', line 32811

def resource_name
  @resource_name
end

#textString

Output only. The qualifying question. Corresponds to the JSON property text

Returns:

  • (String)


32816
32817
32818
# File 'lib/google/apis/searchads360_v23/classes.rb', line 32816

def text
  @text
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



32823
32824
32825
32826
32827
32828
# File 'lib/google/apis/searchads360_v23/classes.rb', line 32823

def update!(**args)
  @locale = args[:locale] if args.key?(:locale)
  @qualifying_question_id = args[:qualifying_question_id] if args.key?(:qualifying_question_id)
  @resource_name = args[:resource_name] if args.key?(:resource_name)
  @text = args[:text] if args.key?(:text)
end