class Google::Apis::AdminReportsV1::UsageReport::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]

datetime_value[RW]

RFC 3339 formatted value of the parameter. Corresponds to the JSON property `datetimeValue` @return [DateTime]

int_value[RW]

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

msg_value[RW]

Nested message value of the parameter. Corresponds to the JSON property `msgValue` @return [Array<Hash<String,Object>>]

name[RW]

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

string_value[RW]

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

Public Class Methods

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

Public Instance Methods

update!(**args) click to toggle source

Update properties of this object

# File generated/google/apis/admin_reports_v1/classes.rb, line 469
def update!(**args)
  @bool_value = args[:bool_value] if args.key?(:bool_value)
  @datetime_value = args[:datetime_value] if args.key?(:datetime_value)
  @int_value = args[:int_value] if args.key?(:int_value)
  @msg_value = args[:msg_value] if args.key?(:msg_value)
  @name = args[:name] if args.key?(:name)
  @string_value = args[:string_value] if args.key?(:string_value)
end