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.



7670
7671
7672
# File 'lib/google/apis/integrations_v1alpha/classes.rb', line 7670

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)


7640
7641
7642
# File 'lib/google/apis/integrations_v1alpha/classes.rb', line 7640

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)


7645
7646
7647
# File 'lib/google/apis/integrations_v1alpha/classes.rb', line 7645

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



7650
7651
7652
# File 'lib/google/apis/integrations_v1alpha/classes.rb', line 7650

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)


7656
7657
7658
# File 'lib/google/apis/integrations_v1alpha/classes.rb', line 7656

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)


7663
7664
7665
# File 'lib/google/apis/integrations_v1alpha/classes.rb', line 7663

def output_period
  @output_period
end

#response_templateString

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

Returns:

  • (String)


7668
7669
7670
# File 'lib/google/apis/integrations_v1alpha/classes.rb', line 7668

def response_template
  @response_template
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



7675
7676
7677
7678
7679
7680
7681
7682
# File 'lib/google/apis/integrations_v1alpha/classes.rb', line 7675

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