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.



12123
12124
12125
# File 'lib/google/apis/apigee_v1/classes.rb', line 12123

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)


12100
12101
12102
# File 'lib/google/apis/apigee_v1/classes.rb', line 12100

def code
  @code
end

#errorString

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

Returns:

  • (String)


12105
12106
12107
# File 'lib/google/apis/apigee_v1/classes.rb', line 12105

def error
  @error
end

#metadataGoogle::Apis::ApigeeV1::GoogleCloudApigeeV1SecurityReportMetadata

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



12110
12111
12112
# File 'lib/google/apis/apigee_v1/classes.rb', line 12110

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>)


12116
12117
12118
# File 'lib/google/apis/apigee_v1/classes.rb', line 12116

def rows
  @rows
end

#stateString

State of retrieving ResultView. Corresponds to the JSON property state

Returns:

  • (String)


12121
12122
12123
# File 'lib/google/apis/apigee_v1/classes.rb', line 12121

def state
  @state
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



12128
12129
12130
12131
12132
12133
12134
# File 'lib/google/apis/apigee_v1/classes.rb', line 12128

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