Class: Google::Apis::AdminReportsV1::NestedParameter
- Inherits:
-
Object
- Object
- Google::Apis::AdminReportsV1::NestedParameter
- Includes:
- Core::Hashable, Core::JsonObjectSupport
- Defined in:
- lib/google/apis/admin_reports_v1/classes.rb,
lib/google/apis/admin_reports_v1/representations.rb,
lib/google/apis/admin_reports_v1/representations.rb
Overview
JSON template for a parameter used in various reports.
Instance Attribute Summary collapse
-
#bool_value ⇒ Boolean
(also: #bool_value?)
Boolean value of the parameter.
-
#int_value ⇒ Fixnum
Integer value of the parameter.
-
#multi_bool_value ⇒ Array<Boolean>
Multiple boolean values of the parameter.
-
#multi_int_value ⇒ Array<Fixnum>
Multiple integer values of the parameter.
-
#multi_value ⇒ Array<String>
Multiple string values of the parameter.
-
#name ⇒ String
The name of the parameter.
-
#value ⇒ String
String value of the parameter.
Instance Method Summary collapse
-
#initialize(**args) ⇒ NestedParameter
constructor
A new instance of NestedParameter.
-
#update!(**args) ⇒ Object
Update properties of this object.
Constructor Details
#initialize(**args) ⇒ NestedParameter
Returns a new instance of NestedParameter.
900 901 902 |
# File 'lib/google/apis/admin_reports_v1/classes.rb', line 900 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
867 868 869 |
# File 'lib/google/apis/admin_reports_v1/classes.rb', line 867 def bool_value @bool_value end |
#int_value ⇒ Fixnum
Integer value of the parameter.
Corresponds to the JSON property intValue
873 874 875 |
# File 'lib/google/apis/admin_reports_v1/classes.rb', line 873 def int_value @int_value end |
#multi_bool_value ⇒ Array<Boolean>
Multiple boolean values of the parameter.
Corresponds to the JSON property multiBoolValue
878 879 880 |
# File 'lib/google/apis/admin_reports_v1/classes.rb', line 878 def multi_bool_value @multi_bool_value end |
#multi_int_value ⇒ Array<Fixnum>
Multiple integer values of the parameter.
Corresponds to the JSON property multiIntValue
883 884 885 |
# File 'lib/google/apis/admin_reports_v1/classes.rb', line 883 def multi_int_value @multi_int_value end |
#multi_value ⇒ Array<String>
Multiple string values of the parameter.
Corresponds to the JSON property multiValue
888 889 890 |
# File 'lib/google/apis/admin_reports_v1/classes.rb', line 888 def multi_value @multi_value end |
#name ⇒ String
The name of the parameter.
Corresponds to the JSON property name
893 894 895 |
# File 'lib/google/apis/admin_reports_v1/classes.rb', line 893 def name @name end |
#value ⇒ String
String value of the parameter.
Corresponds to the JSON property value
898 899 900 |
# File 'lib/google/apis/admin_reports_v1/classes.rb', line 898 def value @value end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
905 906 907 908 909 910 911 912 913 |
# File 'lib/google/apis/admin_reports_v1/classes.rb', line 905 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 |