Class: Google::Apis::GkehubV1alpha::ConfigManagementManaged

Inherits:
Object
  • Object
show all
Includes:
Core::Hashable, Core::JsonObjectSupport
Defined in:
lib/google/apis/gkehub_v1alpha/classes.rb,
lib/google/apis/gkehub_v1alpha/representations.rb,
lib/google/apis/gkehub_v1alpha/representations.rb

Overview

Configuration for Managed Config Sync.

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ ConfigManagementManaged

Returns a new instance of ConfigManagementManaged.



1080
1081
1082
# File 'lib/google/apis/gkehub_v1alpha/classes.rb', line 1080

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

Instance Attribute Details

#enabledBoolean Also known as: enabled?

Set to true to enable Managed Config Sync. Defaults to false which disables Managed Config Sync. Corresponds to the JSON property enabled

Returns:

  • (Boolean)


1077
1078
1079
# File 'lib/google/apis/gkehub_v1alpha/classes.rb', line 1077

def enabled
  @enabled
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



1085
1086
1087
# File 'lib/google/apis/gkehub_v1alpha/classes.rb', line 1085

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