Class: Google::Apis::ApigeeV1::GoogleCloudApigeeV1SecurityReportMetadata

Inherits:
Object
  • Object
show all
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

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ GoogleCloudApigeeV1SecurityReportMetadata

Returns a new instance of GoogleCloudApigeeV1SecurityReportMetadata.



8056
8057
8058
# File 'lib/google/apis/apigee_v1/classes.rb', line 8056

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

Instance Attribute Details

#dimensionsArray<String>

Dimensions of the SecurityReport. Corresponds to the JSON property dimensions

Returns:

  • (Array<String>)


8028
8029
8030
# File 'lib/google/apis/apigee_v1/classes.rb', line 8028

def dimensions
  @dimensions
end

#end_timestampString

End timestamp of the query range. Corresponds to the JSON property endTimestamp

Returns:

  • (String)


8033
8034
8035
# File 'lib/google/apis/apigee_v1/classes.rb', line 8033

def end_timestamp
  @end_timestamp
end

#metricsArray<String>

Metrics of the SecurityReport. Example: ["name:bot_count,func:sum,alias: sum_bot_count"] Corresponds to the JSON property metrics

Returns:

  • (Array<String>)


8039
8040
8041
# File 'lib/google/apis/apigee_v1/classes.rb', line 8039

def metrics
  @metrics
end

#mime_typeString

MIME type / Output format. Corresponds to the JSON property mimeType

Returns:

  • (String)


8044
8045
8046
# File 'lib/google/apis/apigee_v1/classes.rb', line 8044

def mime_type
  @mime_type
end

#start_timestampString

Start timestamp of the query range. Corresponds to the JSON property startTimestamp

Returns:

  • (String)


8049
8050
8051
# File 'lib/google/apis/apigee_v1/classes.rb', line 8049

def start_timestamp
  @start_timestamp
end

#time_unitString

Query GroupBy time unit. Example: "seconds", "minute", "hour" Corresponds to the JSON property timeUnit

Returns:

  • (String)


8054
8055
8056
# File 'lib/google/apis/apigee_v1/classes.rb', line 8054

def time_unit
  @time_unit
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



8061
8062
8063
8064
8065
8066
8067
8068
# File 'lib/google/apis/apigee_v1/classes.rb', line 8061

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