Class: Google::Apis::FirebasedynamiclinksV1::DynamicLinkWarning

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

Overview

Dynamic Links warning messages.

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ DynamicLinkWarning

Returns a new instance of DynamicLinkWarning.



468
469
470
# File 'lib/google/apis/firebasedynamiclinks_v1/classes.rb', line 468

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

Instance Attribute Details

#warning_codeString

The warning code. Corresponds to the JSON property warningCode

Returns:

  • (String)


456
457
458
# File 'lib/google/apis/firebasedynamiclinks_v1/classes.rb', line 456

def warning_code
  @warning_code
end

The document describing the warning, and helps resolve. Corresponds to the JSON property warningDocumentLink

Returns:

  • (String)


461
462
463
# File 'lib/google/apis/firebasedynamiclinks_v1/classes.rb', line 461

def warning_document_link
  @warning_document_link
end

#warning_messageString

The warning message to help developers improve their requests. Corresponds to the JSON property warningMessage

Returns:

  • (String)


466
467
468
# File 'lib/google/apis/firebasedynamiclinks_v1/classes.rb', line 466

def warning_message
  @warning_message
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



473
474
475
476
477
# File 'lib/google/apis/firebasedynamiclinks_v1/classes.rb', line 473

def update!(**args)
  @warning_code = args[:warning_code] if args.key?(:warning_code)
  @warning_document_link = args[:warning_document_link] if args.key?(:warning_document_link)
  @warning_message = args[:warning_message] if args.key?(:warning_message)
end