Class: Google::Apis::IntegrationsV1alpha::GoogleCloudIntegrationsV1alphaMonitorExecutionStatsRequest

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

Overview

The request to get data for monarch connector config.

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ GoogleCloudIntegrationsV1alphaMonitorExecutionStatsRequest

Returns a new instance of GoogleCloudIntegrationsV1alphaMonitorExecutionStatsRequest.



7755
7756
7757
# File 'lib/google/apis/integrations_v1alpha/classes.rb', line 7755

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

Instance Attribute Details

#durationString

How long the series data range: "1h","1d",etc. Corresponds to the JSON property duration

Returns:

  • (String)


7725
7726
7727
# File 'lib/google/apis/integrations_v1alpha/classes.rb', line 7725

def duration
  @duration
end

#end_timeString

Final time to query over, or the current time if left unset. Corresponds to the JSON property endTime

Returns:

  • (String)


7730
7731
7732
# File 'lib/google/apis/integrations_v1alpha/classes.rb', line 7730

def end_time
  @end_time
end

#mash_queryGoogle::Apis::IntegrationsV1alpha::GoogleCloudIntegrationsV1alphaMonitorExecutionStatsRequestMashQuery

The MashQuery for searching data, set both queries for Join Operation. Corresponds to the JSON property mashQuery



7735
7736
7737
# File 'lib/google/apis/integrations_v1alpha/classes.rb', line 7735

def mash_query
  @mash_query
end

#metric_field_tableBoolean Also known as: metric_field_table?

Returns a table of all possible metric field values within the specified duration, ignoring any data samples. Useful for autocomplete functionality. Corresponds to the JSON property metricFieldTable

Returns:

  • (Boolean)


7741
7742
7743
# File 'lib/google/apis/integrations_v1alpha/classes.rb', line 7741

def metric_field_table
  @metric_field_table
end

#output_periodString

The output period for the query. Must be set if there is a window operation within the query and unset otherwise. Corresponds to the JSON property outputPeriod

Returns:

  • (String)


7748
7749
7750
# File 'lib/google/apis/integrations_v1alpha/classes.rb', line 7748

def output_period
  @output_period
end

#response_templateString

Required. Template for response. Corresponds to the JSON property responseTemplate

Returns:

  • (String)


7753
7754
7755
# File 'lib/google/apis/integrations_v1alpha/classes.rb', line 7753

def response_template
  @response_template
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



7760
7761
7762
7763
7764
7765
7766
7767
# File 'lib/google/apis/integrations_v1alpha/classes.rb', line 7760

def update!(**args)
  @duration = args[:duration] if args.key?(:duration)
  @end_time = args[:end_time] if args.key?(:end_time)
  @mash_query = args[:mash_query] if args.key?(:mash_query)
  @metric_field_table = args[:metric_field_table] if args.key?(:metric_field_table)
  @output_period = args[:output_period] if args.key?(:output_period)
  @response_template = args[:response_template] if args.key?(:response_template)
end