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.



1428
1429
1430
# File 'generated/google/apis/container_v1beta1/classes.rb', line 1428

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)


1421
1422
1423
# File 'generated/google/apis/container_v1beta1/classes.rb', line 1421

def feature
  @feature
end

#tierString

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

Returns:

  • (String)


1426
1427
1428
# File 'generated/google/apis/container_v1beta1/classes.rb', line 1426

def tier
  @tier
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



1433
1434
1435
1436
# File 'generated/google/apis/container_v1beta1/classes.rb', line 1433

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