Class: Google::Apis::CloudsearchV1::AppsDynamiteV1ApiCompatV1ActionConfirm

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

Overview

Confirmation dialog config.

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ AppsDynamiteV1ApiCompatV1ActionConfirm

Returns a new instance of AppsDynamiteV1ApiCompatV1ActionConfirm.



4203
4204
4205
# File 'lib/google/apis/cloudsearch_v1/classes.rb', line 4203

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

Instance Attribute Details

#dismiss_textString

"Cancel" button label. Corresponds to the JSON property dismiss_text

Returns:

  • (String)


4186
4187
4188
# File 'lib/google/apis/cloudsearch_v1/classes.rb', line 4186

def dismiss_text
  @dismiss_text
end

#ok_textString

"OK" button label. Corresponds to the JSON property ok_text

Returns:

  • (String)


4191
4192
4193
# File 'lib/google/apis/cloudsearch_v1/classes.rb', line 4191

def ok_text
  @ok_text
end

#textString

Confirmation dialog body text. Corresponds to the JSON property text

Returns:

  • (String)


4196
4197
4198
# File 'lib/google/apis/cloudsearch_v1/classes.rb', line 4196

def text
  @text
end

#titleString

Confirmation dialog title. Corresponds to the JSON property title

Returns:

  • (String)


4201
4202
4203
# File 'lib/google/apis/cloudsearch_v1/classes.rb', line 4201

def title
  @title
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



4208
4209
4210
4211
4212
4213
# File 'lib/google/apis/cloudsearch_v1/classes.rb', line 4208

def update!(**args)
  @dismiss_text = args[:dismiss_text] if args.key?(:dismiss_text)
  @ok_text = args[:ok_text] if args.key?(:ok_text)
  @text = args[:text] if args.key?(:text)
  @title = args[:title] if args.key?(:title)
end