Class: Google::Apis::MybusinessplaceactionsV1::ListPlaceActionLinksResponse

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.ListPlaceActionLinks.

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ ListPlaceActionLinksResponse

Returns a new instance of ListPlaceActionLinksResponse.



56
57
58
# File 'lib/google/apis/mybusinessplaceactions_v1/classes.rb', line 56

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

Instance Attribute Details

#next_page_tokenString

If there are more place action links than the requested page size, then this field is populated with a token to fetch the next page of results. Corresponds to the JSON property nextPageToken

Returns:

  • (String)


49
50
51
# File 'lib/google/apis/mybusinessplaceactions_v1/classes.rb', line 49

def next_page_token
  @next_page_token
end

The returned list of place action links. Corresponds to the JSON property placeActionLinks



54
55
56
# File 'lib/google/apis/mybusinessplaceactions_v1/classes.rb', line 54

def place_action_links
  @place_action_links
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



61
62
63
64
# File 'lib/google/apis/mybusinessplaceactions_v1/classes.rb', line 61

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