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.



184
185
186
# File 'lib/google/apis/mybusinessplaceactions_v1/classes.rb', line 184

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)


177
178
179
# File 'lib/google/apis/mybusinessplaceactions_v1/classes.rb', line 177

def display_name
  @display_name
end

#place_action_typeString

The place action type. Corresponds to the JSON property placeActionType

Returns:

  • (String)


182
183
184
# File 'lib/google/apis/mybusinessplaceactions_v1/classes.rb', line 182

def place_action_type
  @place_action_type
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



189
190
191
192
# File 'lib/google/apis/mybusinessplaceactions_v1/classes.rb', line 189

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