Class: Google::Apis::AdminReportsV1::Activity::Event::Parameter
- Inherits:
-
Object
- Object
- Google::Apis::AdminReportsV1::Activity::Event::Parameter
- Includes:
- Core::Hashable, Core::JsonObjectSupport
- Defined in:
- generated/google/apis/admin_reports_v1/classes.rb,
generated/google/apis/admin_reports_v1/representations.rb,
generated/google/apis/admin_reports_v1/representations.rb
Instance Attribute Summary collapse
-
#bool_value ⇒ Boolean
(also: #bool_value?)
Boolean value of the parameter.
-
#int_value ⇒ String
Integral value of the parameter.
-
#multi_int_value ⇒ Array<String>
Multi-int value of the parameter.
-
#multi_value ⇒ Array<String>
Multi-string value of the parameter.
-
#name ⇒ String
The name of the parameter.
-
#value ⇒ String
String value of the parameter.
Instance Method Summary collapse
-
#initialize(**args) ⇒ Parameter
constructor
A new instance of Parameter.
-
#update!(**args) ⇒ Object
Update properties of this object.
Methods included from Core::JsonObjectSupport
Methods included from Core::Hashable
Constructor Details
#initialize(**args) ⇒ Parameter
Returns a new instance of Parameter.
218 219 220 |
# File 'generated/google/apis/admin_reports_v1/classes.rb', line 218 def initialize(**args) update!(**args) end |
Instance Attribute Details
#bool_value ⇒ Boolean Also known as: bool_value?
Boolean value of the parameter.
Corresponds to the JSON property boolValue
190 191 192 |
# File 'generated/google/apis/admin_reports_v1/classes.rb', line 190 def bool_value @bool_value end |
#int_value ⇒ String
Integral value of the parameter.
Corresponds to the JSON property intValue
196 197 198 |
# File 'generated/google/apis/admin_reports_v1/classes.rb', line 196 def int_value @int_value end |
#multi_int_value ⇒ Array<String>
Multi-int value of the parameter.
Corresponds to the JSON property multiIntValue
201 202 203 |
# File 'generated/google/apis/admin_reports_v1/classes.rb', line 201 def multi_int_value @multi_int_value end |
#multi_value ⇒ Array<String>
Multi-string value of the parameter.
Corresponds to the JSON property multiValue
206 207 208 |
# File 'generated/google/apis/admin_reports_v1/classes.rb', line 206 def multi_value @multi_value end |
#name ⇒ String
The name of the parameter.
Corresponds to the JSON property name
211 212 213 |
# File 'generated/google/apis/admin_reports_v1/classes.rb', line 211 def name @name end |
#value ⇒ String
String value of the parameter.
Corresponds to the JSON property value
216 217 218 |
# File 'generated/google/apis/admin_reports_v1/classes.rb', line 216 def value @value end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
223 224 225 226 227 228 229 230 |
# File 'generated/google/apis/admin_reports_v1/classes.rb', line 223 def update!(**args) @bool_value = args[:bool_value] if args.key?(:bool_value) @int_value = args[:int_value] if args.key?(:int_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 |