Class: Google::Apis::ApigeeV1::GoogleCloudApigeeV1QueryMetadata
- Inherits:
-
Object
- Object
- Google::Apis::ApigeeV1::GoogleCloudApigeeV1QueryMetadata
- Includes:
- Core::Hashable, Core::JsonObjectSupport
- Defined in:
- lib/google/apis/apigee_v1/classes.rb,
lib/google/apis/apigee_v1/representations.rb,
lib/google/apis/apigee_v1/representations.rb
Instance Attribute Summary collapse
-
#dimensions ⇒ Array<String>
Dimensions of the AsyncQuery.
-
#end_timestamp ⇒ String
End timestamp of the query range.
-
#metrics ⇒ Array<String>
Metrics of the AsyncQuery.
-
#output_format ⇒ String
Output format.
-
#start_timestamp ⇒ String
Start timestamp of the query range.
-
#time_unit ⇒ String
Query GroupBy time unit.
Instance Method Summary collapse
-
#initialize(**args) ⇒ GoogleCloudApigeeV1QueryMetadata
constructor
A new instance of GoogleCloudApigeeV1QueryMetadata.
-
#update!(**args) ⇒ Object
Update properties of this object.
Constructor Details
#initialize(**args) ⇒ GoogleCloudApigeeV1QueryMetadata
Returns a new instance of GoogleCloudApigeeV1QueryMetadata.
7944 7945 7946 |
# File 'lib/google/apis/apigee_v1/classes.rb', line 7944 def initialize(**args) update!(**args) end |
Instance Attribute Details
#dimensions ⇒ Array<String>
Dimensions of the AsyncQuery.
Corresponds to the JSON property dimensions
7916 7917 7918 |
# File 'lib/google/apis/apigee_v1/classes.rb', line 7916 def dimensions @dimensions end |
#end_timestamp ⇒ String
End timestamp of the query range.
Corresponds to the JSON property endTimestamp
7921 7922 7923 |
# File 'lib/google/apis/apigee_v1/classes.rb', line 7921 def @end_timestamp end |
#metrics ⇒ Array<String>
Metrics of the AsyncQuery. Example: ["name:message_count,func:sum,alias:
sum_message_count"]
Corresponds to the JSON property metrics
7927 7928 7929 |
# File 'lib/google/apis/apigee_v1/classes.rb', line 7927 def metrics @metrics end |
#output_format ⇒ String
Output format.
Corresponds to the JSON property outputFormat
7932 7933 7934 |
# File 'lib/google/apis/apigee_v1/classes.rb', line 7932 def output_format @output_format end |
#start_timestamp ⇒ String
Start timestamp of the query range.
Corresponds to the JSON property startTimestamp
7937 7938 7939 |
# File 'lib/google/apis/apigee_v1/classes.rb', line 7937 def @start_timestamp end |
#time_unit ⇒ String
Query GroupBy time unit.
Corresponds to the JSON property timeUnit
7942 7943 7944 |
# File 'lib/google/apis/apigee_v1/classes.rb', line 7942 def time_unit @time_unit end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
7949 7950 7951 7952 7953 7954 7955 7956 |
# File 'lib/google/apis/apigee_v1/classes.rb', line 7949 def update!(**args) @dimensions = args[:dimensions] if args.key?(:dimensions) @end_timestamp = args[:end_timestamp] if args.key?(:end_timestamp) @metrics = args[:metrics] if args.key?(:metrics) @output_format = args[:output_format] if args.key?(:output_format) @start_timestamp = args[:start_timestamp] if args.key?(:start_timestamp) @time_unit = args[:time_unit] if args.key?(:time_unit) end |