class Google::Apis::AdminReportsV1::NestedParameter

JSON template for a parameter used in various reports.

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]

multi_bool_value[RW]

Multiple boolean values of the parameter. Corresponds to the JSON property `multiBoolValue` @return [Array<Boolean>]

multi_int_value[RW]

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

multi_value[RW]

Multiple 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 473
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 478
def update!(**args)
  @bool_value = args[:bool_value] if args.key?(:bool_value)
  @int_value = args[:int_value] if args.key?(:int_value)
  @multi_bool_value = args[:multi_bool_value] if args.key?(:multi_bool_value)
  @multi_int_value = args[:multi_int_value] if args.key?(:multi_int_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