Class: Google::Apis::AdminReportsV1::UsageReport::Parameter
- Inherits:
-
Object
- Object
- Google::Apis::AdminReportsV1::UsageReport::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.
-
#datetime_value ⇒ DateTime
RFC 3339 formatted value of the parameter.
-
#int_value ⇒ String
Integral value of the parameter.
-
#msg_value ⇒ Array<Hash<String,Object>>
Nested message value of the parameter.
-
#name ⇒ String
The name of the parameter.
-
#string_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.
464 465 466 |
# File 'generated/google/apis/admin_reports_v1/classes.rb', line 464 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
436 437 438 |
# File 'generated/google/apis/admin_reports_v1/classes.rb', line 436 def bool_value @bool_value end |
#datetime_value ⇒ DateTime
RFC 3339 formatted value of the parameter.
Corresponds to the JSON property datetimeValue
442 443 444 |
# File 'generated/google/apis/admin_reports_v1/classes.rb', line 442 def datetime_value @datetime_value end |
#int_value ⇒ String
Integral value of the parameter.
Corresponds to the JSON property intValue
447 448 449 |
# File 'generated/google/apis/admin_reports_v1/classes.rb', line 447 def int_value @int_value end |
#msg_value ⇒ Array<Hash<String,Object>>
Nested message value of the parameter.
Corresponds to the JSON property msgValue
452 453 454 |
# File 'generated/google/apis/admin_reports_v1/classes.rb', line 452 def msg_value @msg_value end |
#name ⇒ String
The name of the parameter.
Corresponds to the JSON property name
457 458 459 |
# File 'generated/google/apis/admin_reports_v1/classes.rb', line 457 def name @name end |
#string_value ⇒ String
String value of the parameter.
Corresponds to the JSON property stringValue
462 463 464 |
# File 'generated/google/apis/admin_reports_v1/classes.rb', line 462 def string_value @string_value end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
469 470 471 472 473 474 475 476 |
# 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 |