Class: Google::Apis::ApigeeV1::GoogleCloudApigeeV1OptimizedStatsResponse

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

Overview

This message type encapsulates a response format for Js Optimized Scenario

Instance Attribute Summary collapse

Instance Method Summary collapse

Methods included from Core::JsonObjectSupport

#to_json

Methods included from Core::Hashable

process_value, #to_h

Constructor Details

#initialize(**args) ⇒ GoogleCloudApigeeV1OptimizedStatsResponse

Returns a new instance of GoogleCloudApigeeV1OptimizedStatsResponse.



2707
2708
2709
# File 'generated/google/apis/apigee_v1/classes.rb', line 2707

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

Instance Attribute Details

#meta_dataGoogle::Apis::ApigeeV1::GoogleCloudApigeeV1Metadata

This message type encapsulates additional information about query execution Corresponds to the JSON property metaData



2693
2694
2695
# File 'generated/google/apis/apigee_v1/classes.rb', line 2693

def 
  @meta_data
end

#result_truncatedBoolean Also known as: result_truncated?

This ia a boolean field to indicate if the results were truncated based on the limit parameter. Corresponds to the JSON property resultTruncated

Returns:

  • (Boolean)


2699
2700
2701
# File 'generated/google/apis/apigee_v1/classes.rb', line 2699

def result_truncated
  @result_truncated
end

#statsGoogle::Apis::ApigeeV1::GoogleCloudApigeeV1OptimizedStatsNode

This field contains a stats results Corresponds to the JSON property stats



2705
2706
2707
# File 'generated/google/apis/apigee_v1/classes.rb', line 2705

def stats
  @stats
end

#time_unitArray<Fixnum>

This field contains a list of time unit values. Time unit refers to an epoch timestamp value. Corresponds to the JSON property TimeUnit

Returns:

  • (Array<Fixnum>)


2688
2689
2690
# File 'generated/google/apis/apigee_v1/classes.rb', line 2688

def time_unit
  @time_unit
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



2712
2713
2714
2715
2716
2717
# File 'generated/google/apis/apigee_v1/classes.rb', line 2712

def update!(**args)
  @time_unit = args[:time_unit] if args.key?(:time_unit)
  @meta_data = args[:meta_data] if args.key?(:meta_data)
  @result_truncated = args[:result_truncated] if args.key?(:result_truncated)
  @stats = args[:stats] if args.key?(:stats)
end