class Google::Apis::AdminReportsV1::Activity::Event::Parameter

Attributes

bool_value[RW]

Boolean value of the parameter. Corresponds to the JSON property `boolValue` @return [Boolean]

bool_value?[RW]

Boolean value of the parameter. Corresponds to the JSON property `boolValue` @return [Boolean]

int_value[RW]

Integer value of the parameter. Corresponds to the JSON property `intValue` @return [Fixnum]

message_value[RW]

Nested parameter value pairs associated with this parameter. Complex value type for a parameter are returned as a list of parameter values. For example, the address parameter may have a value as `[`parameter: [`name: city, value: abc`]`]` Corresponds to the JSON property `messageValue` @return [Google::Apis::AdminReportsV1::Activity::Event::Parameter::MessageValue]

multi_int_value[RW]

Integer values of the parameter. Corresponds to the JSON property `multiIntValue` @return [Array<Fixnum>]

multi_message_value[RW]

List of `messageValue` objects. Corresponds to the JSON property `multiMessageValue` @return [Array<Google::Apis::AdminReportsV1::Activity::Event::Parameter::MultiMessageValue>]

multi_value[RW]

String values of the parameter. Corresponds to the JSON property `multiValue` @return [Array<String>]

name[RW]

The name of the parameter. Corresponds to the JSON property `name` @return [String]

value[RW]

String value of the parameter. Corresponds to the JSON property `value` @return [String]

Public Class Methods

new(**args) click to toggle source
# File lib/google/apis/admin_reports_v1/classes.rb, line 256
def initialize(**args)
   update!(**args)
end

Public Instance Methods

update!(**args) click to toggle source

Update properties of this object

# File lib/google/apis/admin_reports_v1/classes.rb, line 261
def update!(**args)
  @bool_value = args[:bool_value] if args.key?(:bool_value)
  @int_value = args[:int_value] if args.key?(:int_value)
  @message_value = args[:message_value] if args.key?(:message_value)
  @multi_int_value = args[:multi_int_value] if args.key?(:multi_int_value)
  @multi_message_value = args[:multi_message_value] if args.key?(:multi_message_value)
  @multi_value = args[:multi_value] if args.key?(:multi_value)
  @name = args[:name] if args.key?(:name)
  @value = args[:value] if args.key?(:value)
end