Class: Google::Apis::CloudchannelV1::GoogleCloudChannelV1Value
- Inherits:
-
Object
- Object
- Google::Apis::CloudchannelV1::GoogleCloudChannelV1Value
- Includes:
- Google::Apis::Core::Hashable, Google::Apis::Core::JsonObjectSupport
- Defined in:
- lib/google/apis/cloudchannel_v1/classes.rb,
lib/google/apis/cloudchannel_v1/representations.rb,
lib/google/apis/cloudchannel_v1/representations.rb
Overview
Data type and value of a parameter.
Instance Attribute Summary collapse
-
#bool_value ⇒ Boolean
(also: #bool_value?)
Represents a boolean value.
-
#double_value ⇒ Float
Represents a double value.
-
#int64_value ⇒ Fixnum
Represents an int64 value.
-
#proto_value ⇒ Hash<String,Object>
Represents an 'Any' proto value.
-
#string_value ⇒ String
Represents a string value.
Instance Method Summary collapse
-
#initialize(**args) ⇒ GoogleCloudChannelV1Value
constructor
A new instance of GoogleCloudChannelV1Value.
-
#update!(**args) ⇒ Object
Update properties of this object.
Constructor Details
#initialize(**args) ⇒ GoogleCloudChannelV1Value
Returns a new instance of GoogleCloudChannelV1Value.
3743 3744 3745 |
# File 'lib/google/apis/cloudchannel_v1/classes.rb', line 3743 def initialize(**args) update!(**args) end |
Instance Attribute Details
#bool_value ⇒ Boolean Also known as: bool_value?
Represents a boolean value.
Corresponds to the JSON property boolValue
3720 3721 3722 |
# File 'lib/google/apis/cloudchannel_v1/classes.rb', line 3720 def bool_value @bool_value end |
#double_value ⇒ Float
Represents a double value.
Corresponds to the JSON property doubleValue
3726 3727 3728 |
# File 'lib/google/apis/cloudchannel_v1/classes.rb', line 3726 def double_value @double_value end |
#int64_value ⇒ Fixnum
Represents an int64 value.
Corresponds to the JSON property int64Value
3731 3732 3733 |
# File 'lib/google/apis/cloudchannel_v1/classes.rb', line 3731 def int64_value @int64_value end |
#proto_value ⇒ Hash<String,Object>
Represents an 'Any' proto value.
Corresponds to the JSON property protoValue
3736 3737 3738 |
# File 'lib/google/apis/cloudchannel_v1/classes.rb', line 3736 def proto_value @proto_value end |
#string_value ⇒ String
Represents a string value.
Corresponds to the JSON property stringValue
3741 3742 3743 |
# File 'lib/google/apis/cloudchannel_v1/classes.rb', line 3741 def string_value @string_value end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
3748 3749 3750 3751 3752 3753 3754 |
# File 'lib/google/apis/cloudchannel_v1/classes.rb', line 3748 def update!(**args) @bool_value = args[:bool_value] if args.key?(:bool_value) @double_value = args[:double_value] if args.key?(:double_value) @int64_value = args[:int64_value] if args.key?(:int64_value) @proto_value = args[:proto_value] if args.key?(:proto_value) @string_value = args[:string_value] if args.key?(:string_value) end |