Class: Google::Apis::ContentV2_1::RenderAccountIssuesRequestPayload

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

Overview

The payload for configuring how the content should be rendered.

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ RenderAccountIssuesRequestPayload

Returns a new instance of RenderAccountIssuesRequestPayload.

[View source]

12009
12010
12011
# File 'lib/google/apis/content_v2_1/classes.rb', line 12009

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

Instance Attribute Details

#content_optionString

Optional. How the detailed content should be returned. Default option is to return the content as a pre-rendered HTML text. Corresponds to the JSON property contentOption

Returns:

  • (String)

12000
12001
12002
# File 'lib/google/apis/content_v2_1/classes.rb', line 12000

def content_option
  @content_option
end

#user_input_action_optionString

Optional. How actions with user input form should be handled. If not provided, actions will be returned as links that points merchant to Merchant Center where they can request the action. Corresponds to the JSON property userInputActionOption

Returns:

  • (String)

12007
12008
12009
# File 'lib/google/apis/content_v2_1/classes.rb', line 12007

def user_input_action_option
  @user_input_action_option
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object

[View source]

12014
12015
12016
12017
# File 'lib/google/apis/content_v2_1/classes.rb', line 12014

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