Class: Google::Apis::ContainerV1beta1::FeatureConfig

Inherits:
Object
  • Object
show all
Includes:
Google::Apis::Core::Hashable, Google::Apis::Core::JsonObjectSupport
Defined in:
generated/google/apis/container_v1beta1/classes.rb,
generated/google/apis/container_v1beta1/representations.rb,
generated/google/apis/container_v1beta1/representations.rb

Overview

FeatureConfig is the configuration for a specific feature including the definition of the feature as well as the tier in which it resides.

Instance Attribute Summary collapse

Instance Method Summary collapse

Methods included from Google::Apis::Core::JsonObjectSupport

#to_json

Methods included from Google::Apis::Core::Hashable

process_value, #to_h

Constructor Details

#initialize(**args) ⇒ FeatureConfig

Returns a new instance of FeatureConfig



1269
1270
1271
# File 'generated/google/apis/container_v1beta1/classes.rb', line 1269

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

Instance Attribute Details

#featureString

The feature that is being configured with this value. Corresponds to the JSON property feature

Returns:

  • (String)


1262
1263
1264
# File 'generated/google/apis/container_v1beta1/classes.rb', line 1262

def feature
  @feature
end

#tierString

The tier in which the configured feature resides. Corresponds to the JSON property tier

Returns:

  • (String)


1267
1268
1269
# File 'generated/google/apis/container_v1beta1/classes.rb', line 1267

def tier
  @tier
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



1274
1275
1276
1277
# File 'generated/google/apis/container_v1beta1/classes.rb', line 1274

def update!(**args)
  @feature = args[:feature] if args.key?(:feature)
  @tier = args[:tier] if args.key?(:tier)
end