Class: Google::Apis::ApigeeV1::GoogleCloudApigeeV1SecurityReportResultView

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

The response for security report result view APIs.

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ GoogleCloudApigeeV1SecurityReportResultView

Returns a new instance of GoogleCloudApigeeV1SecurityReportResultView.



10460
10461
10462
# File 'lib/google/apis/apigee_v1/classes.rb', line 10460

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

Instance Attribute Details

#codeFixnum

Error code when there is a failure. Corresponds to the JSON property code

Returns:

  • (Fixnum)


10437
10438
10439
# File 'lib/google/apis/apigee_v1/classes.rb', line 10437

def code
  @code
end

#errorString

Error message when there is a failure. Corresponds to the JSON property error

Returns:

  • (String)


10442
10443
10444
# File 'lib/google/apis/apigee_v1/classes.rb', line 10442

def error
  @error
end

#metadataGoogle::Apis::ApigeeV1::GoogleCloudApigeeV1SecurityReportMetadata

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



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

def 
  @metadata
end

#rowsArray<Object>

Rows of security report result. Each row is a JSON object. Example: sum( message_count): 1, developer_app: "(not set)",… Corresponds to the JSON property rows

Returns:

  • (Array<Object>)


10453
10454
10455
# File 'lib/google/apis/apigee_v1/classes.rb', line 10453

def rows
  @rows
end

#stateString

State of retrieving ResultView. Corresponds to the JSON property state

Returns:

  • (String)


10458
10459
10460
# File 'lib/google/apis/apigee_v1/classes.rb', line 10458

def state
  @state
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



10465
10466
10467
10468
10469
10470
10471
# File 'lib/google/apis/apigee_v1/classes.rb', line 10465

def update!(**args)
  @code = args[:code] if args.key?(:code)
  @error = args[:error] if args.key?(:error)
  @metadata = args[:metadata] if args.key?(:metadata)
  @rows = args[:rows] if args.key?(:rows)
  @state = args[:state] if args.key?(:state)
end