Class: Google::Apis::CloudchannelV1::GoogleCloudChannelV1alpha1Parameter

Inherits:
Object
  • Object
show all
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

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ GoogleCloudChannelV1alpha1Parameter

Returns a new instance of GoogleCloudChannelV1alpha1Parameter.



2668
2669
2670
# File 'lib/google/apis/cloudchannel_v1/classes.rb', line 2668

def initialize(**args)
   update!(**args)
end

Instance Attribute Details

#editableBoolean 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

Returns:

  • (Boolean)


2655
2656
2657
# File 'lib/google/apis/cloudchannel_v1/classes.rb', line 2655

def editable
  @editable
end

#nameString

Name of the parameter. Corresponds to the JSON property name

Returns:

  • (String)


2661
2662
2663
# File 'lib/google/apis/cloudchannel_v1/classes.rb', line 2661

def name
  @name
end

#valueGoogle::Apis::CloudchannelV1::GoogleCloudChannelV1alpha1Value

Data type and value of a parameter. Corresponds to the JSON property value



2666
2667
2668
# File 'lib/google/apis/cloudchannel_v1/classes.rb', line 2666

def value
  @value
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



2673
2674
2675
2676
2677
# File 'lib/google/apis/cloudchannel_v1/classes.rb', line 2673

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