Class: Google::Apis::WorkstationsV1::PrivateClusterConfig
- Inherits:
-
Object
- Object
- Google::Apis::WorkstationsV1::PrivateClusterConfig
- Includes:
- Core::Hashable, Core::JsonObjectSupport
- Defined in:
- lib/google/apis/workstations_v1/classes.rb,
lib/google/apis/workstations_v1/representations.rb,
lib/google/apis/workstations_v1/representations.rb
Instance Attribute Summary collapse
-
#allowed_projects ⇒ Array<String>
Corresponds to the JSON property
allowedProjects. -
#cluster_hostname ⇒ String
Corresponds to the JSON property
clusterHostname. -
#enable_private_endpoint ⇒ Boolean
(also: #enable_private_endpoint?)
Corresponds to the JSON property
enablePrivateEndpoint. -
#service_attachment_uri ⇒ String
Corresponds to the JSON property
serviceAttachmentUri.
Instance Method Summary collapse
-
#initialize(**args) ⇒ PrivateClusterConfig
constructor
A new instance of PrivateClusterConfig.
-
#update!(**args) ⇒ Object
Update properties of this object.
Constructor Details
#initialize(**args) ⇒ PrivateClusterConfig
Returns a new instance of PrivateClusterConfig.
1350 1351 1352 |
# File 'lib/google/apis/workstations_v1/classes.rb', line 1350 def initialize(**args) update!(**args) end |
Instance Attribute Details
#allowed_projects ⇒ Array<String>
Corresponds to the JSON property allowedProjects
1332 1333 1334 |
# File 'lib/google/apis/workstations_v1/classes.rb', line 1332 def allowed_projects @allowed_projects end |
#cluster_hostname ⇒ String
Corresponds to the JSON property clusterHostname
1337 1338 1339 |
# File 'lib/google/apis/workstations_v1/classes.rb', line 1337 def cluster_hostname @cluster_hostname end |
#enable_private_endpoint ⇒ Boolean Also known as: enable_private_endpoint?
Corresponds to the JSON property enablePrivateEndpoint
1342 1343 1344 |
# File 'lib/google/apis/workstations_v1/classes.rb', line 1342 def enable_private_endpoint @enable_private_endpoint end |
#service_attachment_uri ⇒ String
Corresponds to the JSON property serviceAttachmentUri
1348 1349 1350 |
# File 'lib/google/apis/workstations_v1/classes.rb', line 1348 def @service_attachment_uri end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
1355 1356 1357 1358 1359 1360 |
# File 'lib/google/apis/workstations_v1/classes.rb', line 1355 def update!(**args) @allowed_projects = args[:allowed_projects] if args.key?(:allowed_projects) @cluster_hostname = args[:cluster_hostname] if args.key?(:cluster_hostname) @enable_private_endpoint = args[:enable_private_endpoint] if args.key?(:enable_private_endpoint) @service_attachment_uri = args[:service_attachment_uri] if args.key?(:service_attachment_uri) end |