Class: Google::Apis::ApigeeV1::GoogleCloudApigeeV1SecurityReport

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

SecurityReport saves all the information about the created security report.

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ GoogleCloudApigeeV1SecurityReport

Returns a new instance of GoogleCloudApigeeV1SecurityReport.



10447
10448
10449
# File 'lib/google/apis/apigee_v1/classes.rb', line 10447

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

Instance Attribute Details

#createdString

Creation time of the query. Corresponds to the JSON property created

Returns:

  • (String)


10381
10382
10383
# File 'lib/google/apis/apigee_v1/classes.rb', line 10381

def created
  @created
end

#display_nameString

Display Name specified by the user. Corresponds to the JSON property displayName

Returns:

  • (String)


10386
10387
10388
# File 'lib/google/apis/apigee_v1/classes.rb', line 10386

def display_name
  @display_name
end

#envgroup_hostnameString

Hostname is available only when query is executed at host level. Corresponds to the JSON property envgroupHostname

Returns:

  • (String)


10391
10392
10393
# File 'lib/google/apis/apigee_v1/classes.rb', line 10391

def envgroup_hostname
  @envgroup_hostname
end

#errorString

Error is set when query fails. Corresponds to the JSON property error

Returns:

  • (String)


10396
10397
10398
# File 'lib/google/apis/apigee_v1/classes.rb', line 10396

def error
  @error
end

#execution_timeString

ExecutionTime is available only after the query is completed. Corresponds to the JSON property executionTime

Returns:

  • (String)


10401
10402
10403
# File 'lib/google/apis/apigee_v1/classes.rb', line 10401

def execution_time
  @execution_time
end

#query_paramsGoogle::Apis::ApigeeV1::GoogleCloudApigeeV1SecurityReportMetadata

Metadata for the security report. Corresponds to the JSON property queryParams



10406
10407
10408
# File 'lib/google/apis/apigee_v1/classes.rb', line 10406

def query_params
  @query_params
end

#report_definition_idString

Report Definition ID. Corresponds to the JSON property reportDefinitionId

Returns:

  • (String)


10411
10412
10413
# File 'lib/google/apis/apigee_v1/classes.rb', line 10411

def report_definition_id
  @report_definition_id
end

#resultGoogle::Apis::ApigeeV1::GoogleCloudApigeeV1SecurityReportResultMetadata

Contains informations about the security report results. Corresponds to the JSON property result



10416
10417
10418
# File 'lib/google/apis/apigee_v1/classes.rb', line 10416

def result
  @result
end

#result_file_sizeString

ResultFileSize is available only after the query is completed. Corresponds to the JSON property resultFileSize

Returns:

  • (String)


10421
10422
10423
# File 'lib/google/apis/apigee_v1/classes.rb', line 10421

def result_file_size
  @result_file_size
end

#result_rowsFixnum

ResultRows is available only after the query is completed. Corresponds to the JSON property resultRows

Returns:

  • (Fixnum)


10426
10427
10428
# File 'lib/google/apis/apigee_v1/classes.rb', line 10426

def result_rows
  @result_rows
end

#selfString

Self link of the query. Example: /organizations/myorg/environments/myenv/ securityReports/9cfc0d85-0f30-46d6-ae6f-318d0cb961bd or following format if query is running at host level: /organizations/myorg/hostSecurityReports/ 9cfc0d85-0f30-46d6-ae6f-318d0cb961bd Corresponds to the JSON property self

Returns:

  • (String)


10434
10435
10436
# File 'lib/google/apis/apigee_v1/classes.rb', line 10434

def self
  @self
end

#stateString

Query state could be "enqueued", "running", "completed", "expired" and "failed" . Corresponds to the JSON property state

Returns:

  • (String)


10440
10441
10442
# File 'lib/google/apis/apigee_v1/classes.rb', line 10440

def state
  @state
end

#updatedString

Output only. Last updated timestamp for the query. Corresponds to the JSON property updated

Returns:

  • (String)


10445
10446
10447
# File 'lib/google/apis/apigee_v1/classes.rb', line 10445

def updated
  @updated
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



10452
10453
10454
10455
10456
10457
10458
10459
10460
10461
10462
10463
10464
10465
10466
# File 'lib/google/apis/apigee_v1/classes.rb', line 10452

def update!(**args)
  @created = args[:created] if args.key?(:created)
  @display_name = args[:display_name] if args.key?(:display_name)
  @envgroup_hostname = args[:envgroup_hostname] if args.key?(:envgroup_hostname)
  @error = args[:error] if args.key?(:error)
  @execution_time = args[:execution_time] if args.key?(:execution_time)
  @query_params = args[:query_params] if args.key?(:query_params)
  @report_definition_id = args[:report_definition_id] if args.key?(:report_definition_id)
  @result = args[:result] if args.key?(:result)
  @result_file_size = args[:result_file_size] if args.key?(:result_file_size)
  @result_rows = args[:result_rows] if args.key?(:result_rows)
  @self = args[:self] if args.key?(:self)
  @state = args[:state] if args.key?(:state)
  @updated = args[:updated] if args.key?(:updated)
end