Class: Google::Apis::MybusinessbusinesscallsV1::ListBusinessCallsInsightsResponse

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

Overview

Response message for ListBusinessCallsInsights.

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ ListBusinessCallsInsightsResponse

Returns a new instance of ListBusinessCallsInsightsResponse.



236
237
238
# File 'lib/google/apis/mybusinessbusinesscalls_v1/classes.rb', line 236

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

Instance Attribute Details

#business_calls_insightsArray<Google::Apis::MybusinessbusinesscallsV1::BusinessCallsInsights>

A collection of business calls insights for the location. Corresponds to the JSON property businessCallsInsights



226
227
228
# File 'lib/google/apis/mybusinessbusinesscalls_v1/classes.rb', line 226

def business_calls_insights
  @business_calls_insights
end

#next_page_tokenString

A token, which can be sent as page_token to retrieve the next page. If this field is omitted, there are no subsequent pages. Some of the metric_types (e.g, AGGREGATE_COUNT) returns a single page. For these metrics, the next_page_token will be empty. Corresponds to the JSON property nextPageToken

Returns:

  • (String)


234
235
236
# File 'lib/google/apis/mybusinessbusinesscalls_v1/classes.rb', line 234

def next_page_token
  @next_page_token
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



241
242
243
244
# File 'lib/google/apis/mybusinessbusinesscalls_v1/classes.rb', line 241

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