Class: Google::Apis::ContainerV1::PrivateClusterMasterGlobalAccessConfig

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

Overview

Configuration for controlling master global access settings.

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ PrivateClusterMasterGlobalAccessConfig

Returns a new instance of PrivateClusterMasterGlobalAccessConfig.



2877
2878
2879
# File 'generated/google/apis/container_v1/classes.rb', line 2877

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

Instance Attribute Details

#enabledBoolean Also known as: enabled?

Whenever master is accessible globally or not. Corresponds to the JSON property enabled

Returns:

  • (Boolean)


2874
2875
2876
# File 'generated/google/apis/container_v1/classes.rb', line 2874

def enabled
  @enabled
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



2882
2883
2884
# File 'generated/google/apis/container_v1/classes.rb', line 2882

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