Class: Google::Apis::CloudchannelV1::GoogleCloudChannelV1alpha1Parameter
- Inherits:
-
Object
- Object
- Google::Apis::CloudchannelV1::GoogleCloudChannelV1alpha1Parameter
- 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
Definition for extended entitlement parameters.
Instance Attribute Summary collapse
-
#editable ⇒ Boolean
(also: #editable?)
Output only.
-
#name ⇒ String
Name of the parameter.
-
#value ⇒ Google::Apis::CloudchannelV1::GoogleCloudChannelV1alpha1Value
Data type and value of a parameter.
Instance Method Summary collapse
-
#initialize(**args) ⇒ GoogleCloudChannelV1alpha1Parameter
constructor
A new instance of GoogleCloudChannelV1alpha1Parameter.
-
#update!(**args) ⇒ Object
Update properties of this object.
Constructor Details
#initialize(**args) ⇒ GoogleCloudChannelV1alpha1Parameter
Returns a new instance of GoogleCloudChannelV1alpha1Parameter.
4137 4138 4139 |
# File 'lib/google/apis/cloudchannel_v1/classes.rb', line 4137 def initialize(**args) update!(**args) end |
Instance Attribute Details
#editable ⇒ Boolean Also known as: editable?
Output only. Specifies whether this parameter is allowed to be changed. For
example, for a Google Workspace Business Starter entitlement in commitment
plan, num_units is editable when entitlement is active.
Corresponds to the JSON property editable
4124 4125 4126 |
# File 'lib/google/apis/cloudchannel_v1/classes.rb', line 4124 def editable @editable end |
#name ⇒ String
Name of the parameter.
Corresponds to the JSON property name
4130 4131 4132 |
# File 'lib/google/apis/cloudchannel_v1/classes.rb', line 4130 def name @name end |
#value ⇒ Google::Apis::CloudchannelV1::GoogleCloudChannelV1alpha1Value
Data type and value of a parameter.
Corresponds to the JSON property value
4135 4136 4137 |
# File 'lib/google/apis/cloudchannel_v1/classes.rb', line 4135 def value @value end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
4142 4143 4144 4145 4146 |
# File 'lib/google/apis/cloudchannel_v1/classes.rb', line 4142 def update!(**args) @editable = args[:editable] if args.key?(:editable) @name = args[:name] if args.key?(:name) @value = args[:value] if args.key?(:value) end |