Class: Google::Apis::ApigeeV1::GoogleCloudApigeeV1SecurityFeedbackFeedbackContext

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

FeedbackContext captures the intent of the submitted feedback.

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ GoogleCloudApigeeV1SecurityFeedbackFeedbackContext

Returns a new instance of GoogleCloudApigeeV1SecurityFeedbackFeedbackContext.



11285
11286
11287
# File 'lib/google/apis/apigee_v1/classes.rb', line 11285

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

Instance Attribute Details

#attributeString

Required. The attribute the user is providing feedback about. Corresponds to the JSON property attribute

Returns:

  • (String)


11278
11279
11280
# File 'lib/google/apis/apigee_v1/classes.rb', line 11278

def attribute
  @attribute
end

#valuesArray<String>

Required. The values of the attribute the user is providing feedback about. Corresponds to the JSON property values

Returns:

  • (Array<String>)


11283
11284
11285
# File 'lib/google/apis/apigee_v1/classes.rb', line 11283

def values
  @values
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



11290
11291
11292
11293
# File 'lib/google/apis/apigee_v1/classes.rb', line 11290

def update!(**args)
  @attribute = args[:attribute] if args.key?(:attribute)
  @values = args[:values] if args.key?(:values)
end