Class: Google::Apis::GkehubV2::FeatureConfigRef

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

Instance Method Summary collapse

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

#configString

Input only. Resource name of FeatureConfig, in the format: projects/project/ locations/global/featureConfigs/feature_config`. Corresponds to the JSON propertyconfig`

Returns:

  • (String)


1385
1386
1387
# File 'lib/google/apis/gkehub_v2/classes.rb', line 1385

def config
  @config
end

#config_update_timeString

Output only. When the FeatureConfig was last applied and copied to FeatureSpec. Corresponds to the JSON property configUpdateTime

Returns:

  • (String)


1390
1391
1392
# File 'lib/google/apis/gkehub_v2/classes.rb', line 1390

def config_update_time
  @config_update_time
end

#uuidString

Output only. An id that uniquely identify a FeatureConfig object. Corresponds to the JSON property uuid

Returns:

  • (String)


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