Class: SDM::GoogleGKE

Inherits:
Object
  • Object
show all
Defined in:
lib/models/porcelain.rb

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(id: nil, name: nil, healthy: nil, endpoint: nil, certificate_authority: nil, certificate_authority_filename: nil, service_account_key: nil, service_account_key_filename: nil) ⇒ GoogleGKE

Returns a new instance of GoogleGKE.



1397
1398
1399
1400
1401
1402
1403
1404
1405
1406
1407
1408
1409
1410
1411
1412
1413
1414
1415
1416
1417
1418
1419
1420
1421
1422
1423
1424
1425
1426
1427
1428
1429
1430
1431
1432
1433
1434
1435
1436
1437
1438
# File 'lib/models/porcelain.rb', line 1397

def initialize(
	id:nil \
,
	name:nil \
,
	healthy:nil \
,
	endpoint:nil \
,
	certificate_authority:nil \
,
	certificate_authority_filename:nil \
,
	service_account_key:nil \
,
	service_account_key_filename:nil \
)
	if id != nil
		@id = id
	end
	if name != nil
		@name = name
	end
	if healthy != nil
		@healthy = healthy
	end
	if endpoint != nil
		@endpoint = endpoint
	end
	if certificate_authority != nil
		@certificate_authority = certificate_authority
	end
	if certificate_authority_filename != nil
		@certificate_authority_filename = certificate_authority_filename
	end
	if  != nil
		@service_account_key = 
	end
	if  != nil
		@service_account_key_filename = 
	end
end

Instance Attribute Details

#certificate_authorityObject

Returns the value of attribute certificate_authority.



1390
1391
1392
# File 'lib/models/porcelain.rb', line 1390

def certificate_authority
  @certificate_authority
end

#certificate_authority_filenameObject

Returns the value of attribute certificate_authority_filename.



1392
1393
1394
# File 'lib/models/porcelain.rb', line 1392

def certificate_authority_filename
  @certificate_authority_filename
end

#endpointObject

Returns the value of attribute endpoint.



1388
1389
1390
# File 'lib/models/porcelain.rb', line 1388

def endpoint
  @endpoint
end

#healthyObject

True if the datasource is reachable and the credentials are valid.



1386
1387
1388
# File 'lib/models/porcelain.rb', line 1386

def healthy
  @healthy
end

#idObject

Unique identifier of the Resource.



1382
1383
1384
# File 'lib/models/porcelain.rb', line 1382

def id
  @id
end

#nameObject

Unique human-readable name of the Resource.



1384
1385
1386
# File 'lib/models/porcelain.rb', line 1384

def name
  @name
end

#service_account_keyObject

Returns the value of attribute service_account_key.



1394
1395
1396
# File 'lib/models/porcelain.rb', line 1394

def 
  @service_account_key
end

#service_account_key_filenameObject

Returns the value of attribute service_account_key_filename.



1396
1397
1398
# File 'lib/models/porcelain.rb', line 1396

def 
  @service_account_key_filename
end