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?)
Output only.
-
#datetime_value ⇒ DateTime
The RFC 3339 formatted value of the parameter, for example 2010-10-28T10:26:35.
-
#int_value ⇒ Fixnum
Output only.
-
#msg_value ⇒ Array<Hash<String,Object>>
Output only.
-
#name ⇒ String
The name of the parameter.
-
#string_value ⇒ String
Output only.
Instance Method Summary collapse
-
#initialize(**args) ⇒ Parameter
constructor
A new instance of Parameter.
-
#update!(**args) ⇒ Object
Update properties of this object.
Constructor Details
#initialize(**args) ⇒ Parameter
Returns a new instance of Parameter.
615 616 617 |
# File 'generated/google/apis/admin_reports_v1/classes.rb', line 615 def initialize(**args) update!(**args) end |
Instance Attribute Details
#bool_value ⇒ Boolean Also known as: bool_value?
Output only. Boolean value of the parameter.
Corresponds to the JSON property boolValue
585 586 587 |
# File 'generated/google/apis/admin_reports_v1/classes.rb', line 585 def bool_value @bool_value end |
#datetime_value ⇒ DateTime
The RFC 3339 formatted value of the parameter, for example 2010-10-28T10:26:35.
000Z.
Corresponds to the JSON property datetimeValue
592 593 594 |
# File 'generated/google/apis/admin_reports_v1/classes.rb', line 592 def datetime_value @datetime_value end |
#int_value ⇒ Fixnum
Output only. Integer value of the parameter.
Corresponds to the JSON property intValue
597 598 599 |
# File 'generated/google/apis/admin_reports_v1/classes.rb', line 597 def int_value @int_value end |
#msg_value ⇒ Array<Hash<String,Object>>
Output only. Nested message value of the parameter.
Corresponds to the JSON property msgValue
602 603 604 |
# File 'generated/google/apis/admin_reports_v1/classes.rb', line 602 def msg_value @msg_value end |
#name ⇒ String
The name of the parameter. For the User Usage Report parameter names, see the
User Usage parameters reference.
Corresponds to the JSON property name
608 609 610 |
# File 'generated/google/apis/admin_reports_v1/classes.rb', line 608 def name @name end |
#string_value ⇒ String
Output only. String value of the parameter.
Corresponds to the JSON property stringValue
613 614 615 |
# File 'generated/google/apis/admin_reports_v1/classes.rb', line 613 def string_value @string_value end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
620 621 622 623 624 625 626 627 |
# File 'generated/google/apis/admin_reports_v1/classes.rb', line 620 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 |