Class: Google::Apis::ApigeeV1::GoogleCloudApigeeV1SecurityReportMetadata
- Inherits:
-
Object
- Object
- Google::Apis::ApigeeV1::GoogleCloudApigeeV1SecurityReportMetadata
- 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
Overview
Metadata for the security report.
Instance Attribute Summary collapse
-
#dimensions ⇒ Array<String>
Dimensions of the SecurityReport.
-
#end_timestamp ⇒ String
End timestamp of the query range.
-
#metrics ⇒ Array<String>
Metrics of the SecurityReport.
-
#mime_type ⇒ String
MIME type / Output format.
-
#start_timestamp ⇒ String
Start timestamp of the query range.
-
#time_unit ⇒ String
Query GroupBy time unit.
Instance Method Summary collapse
-
#initialize(**args) ⇒ GoogleCloudApigeeV1SecurityReportMetadata
constructor
A new instance of GoogleCloudApigeeV1SecurityReportMetadata.
-
#update!(**args) ⇒ Object
Update properties of this object.
Constructor Details
#initialize(**args) ⇒ GoogleCloudApigeeV1SecurityReportMetadata
Returns a new instance of GoogleCloudApigeeV1SecurityReportMetadata.
11848 11849 11850 |
# File 'lib/google/apis/apigee_v1/classes.rb', line 11848 def initialize(**args) update!(**args) end |
Instance Attribute Details
#dimensions ⇒ Array<String>
Dimensions of the SecurityReport.
Corresponds to the JSON property dimensions
11820 11821 11822 |
# File 'lib/google/apis/apigee_v1/classes.rb', line 11820 def dimensions @dimensions end |
#end_timestamp ⇒ String
End timestamp of the query range.
Corresponds to the JSON property endTimestamp
11825 11826 11827 |
# File 'lib/google/apis/apigee_v1/classes.rb', line 11825 def @end_timestamp end |
#metrics ⇒ Array<String>
Metrics of the SecurityReport. Example: ["name:bot_count,func:sum,alias:
sum_bot_count"]
Corresponds to the JSON property metrics
11831 11832 11833 |
# File 'lib/google/apis/apigee_v1/classes.rb', line 11831 def metrics @metrics end |
#mime_type ⇒ String
MIME type / Output format.
Corresponds to the JSON property mimeType
11836 11837 11838 |
# File 'lib/google/apis/apigee_v1/classes.rb', line 11836 def mime_type @mime_type end |
#start_timestamp ⇒ String
Start timestamp of the query range.
Corresponds to the JSON property startTimestamp
11841 11842 11843 |
# File 'lib/google/apis/apigee_v1/classes.rb', line 11841 def @start_timestamp end |
#time_unit ⇒ String
Query GroupBy time unit. Example: "seconds", "minute", "hour"
Corresponds to the JSON property timeUnit
11846 11847 11848 |
# File 'lib/google/apis/apigee_v1/classes.rb', line 11846 def time_unit @time_unit end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
11853 11854 11855 11856 11857 11858 11859 11860 |
# File 'lib/google/apis/apigee_v1/classes.rb', line 11853 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) @mime_type = args[:mime_type] if args.key?(:mime_type) @start_timestamp = args[:start_timestamp] if args.key?(:start_timestamp) @time_unit = args[:time_unit] if args.key?(:time_unit) end |