Class: Google::Apis::MybusinessplaceactionsV1::ListPlaceActionTypeMetadataResponse

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

Response message for PlaceActions.ListPlaceActionTypeMetadata.

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ ListPlaceActionTypeMetadataResponse

Returns a new instance of ListPlaceActionTypeMetadataResponse.



84
85
86
# File 'lib/google/apis/mybusinessplaceactions_v1/classes.rb', line 84

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

Instance Attribute Details

#next_page_tokenString

If the number of action types exceeded the requested page size, this field will be populated with a token to fetch the next page on a subsequent call to placeActionTypeMetadata.list. If there are no more results, this field will not be present in the response. Corresponds to the JSON property nextPageToken

Returns:

  • (String)


77
78
79
# File 'lib/google/apis/mybusinessplaceactions_v1/classes.rb', line 77

def next_page_token
  @next_page_token
end

#place_action_type_metadataArray<Google::Apis::MybusinessplaceactionsV1::PlaceActionTypeMetadata>

A collection of metadata for the available place action types. Corresponds to the JSON property placeActionTypeMetadata



82
83
84
# File 'lib/google/apis/mybusinessplaceactions_v1/classes.rb', line 82

def 
  @place_action_type_metadata
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



89
90
91
92
# File 'lib/google/apis/mybusinessplaceactions_v1/classes.rb', line 89

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