Class: Google::Apis::MybusinessplaceactionsV1::PlaceActionTypeMetadata

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

Overview

Metadata for supported place action types.

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ PlaceActionTypeMetadata

Returns a new instance of PlaceActionTypeMetadata.



440
441
442
# File 'lib/google/apis/mybusinessplaceactions_v1/classes.rb', line 440

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

Instance Attribute Details

#display_nameString

The localized display name for the attribute, if available; otherwise, the English display name. Corresponds to the JSON property displayName

Returns:

  • (String)


433
434
435
# File 'lib/google/apis/mybusinessplaceactions_v1/classes.rb', line 433

def display_name
  @display_name
end

#place_action_typeString

The place action type. Corresponds to the JSON property placeActionType

Returns:

  • (String)


438
439
440
# File 'lib/google/apis/mybusinessplaceactions_v1/classes.rb', line 438

def place_action_type
  @place_action_type
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



445
446
447
448
# File 'lib/google/apis/mybusinessplaceactions_v1/classes.rb', line 445

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