Class: Google::Apis::GkehubV2::FeatureConfigRef
- Inherits:
-
Object
- Object
- Google::Apis::GkehubV2::FeatureConfigRef
- Includes:
- Core::Hashable, Core::JsonObjectSupport
- Defined in:
- lib/google/apis/gkehub_v2/classes.rb,
lib/google/apis/gkehub_v2/representations.rb,
lib/google/apis/gkehub_v2/representations.rb
Overview
Information of the FeatureConfig applied on the MembershipFeature.
Instance Attribute Summary collapse
-
#config ⇒ String
Input only.
-
#config_update_time ⇒ String
Output only.
-
#uuid ⇒ String
Output only.
Instance Method Summary collapse
-
#initialize(**args) ⇒ FeatureConfigRef
constructor
A new instance of FeatureConfigRef.
-
#update!(**args) ⇒ Object
Update properties of this object.
Constructor Details
#initialize(**args) ⇒ FeatureConfigRef
Returns a new instance of FeatureConfigRef.
1397 1398 1399 |
# File 'lib/google/apis/gkehub_v2/classes.rb', line 1397 def initialize(**args) update!(**args) end |
Instance Attribute Details
#config ⇒ String
Input only. Resource name of FeatureConfig, in the format: projects/
project/
locations/global/featureConfigs/
feature_config`.
Corresponds to the JSON property
config`
1385 1386 1387 |
# File 'lib/google/apis/gkehub_v2/classes.rb', line 1385 def config @config end |
#config_update_time ⇒ String
Output only. When the FeatureConfig was last applied and copied to FeatureSpec.
Corresponds to the JSON property configUpdateTime
1390 1391 1392 |
# File 'lib/google/apis/gkehub_v2/classes.rb', line 1390 def config_update_time @config_update_time end |
#uuid ⇒ String
Output only. An id that uniquely identify a FeatureConfig object.
Corresponds to the JSON property uuid
1395 1396 1397 |
# File 'lib/google/apis/gkehub_v2/classes.rb', line 1395 def uuid @uuid end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
1402 1403 1404 1405 1406 |
# File 'lib/google/apis/gkehub_v2/classes.rb', line 1402 def update!(**args) @config = args[:config] if args.key?(:config) @config_update_time = args[:config_update_time] if args.key?(:config_update_time) @uuid = args[:uuid] if args.key?(:uuid) end |