Method: SDM::GoogleGKE#initialize
- Defined in:
- lib/models/porcelain.rb
#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.
1583 1584 1585 1586 1587 1588 1589 1590 1591 1592 1593 1594 1595 1596 1597 1598 1599 1600 1601 1602 1603 1604 1605 1606 1607 1608 1609 1610 1611 1612 1613 1614 1615 1616 1617 |
# File 'lib/models/porcelain.rb', line 1583 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 != nil @certificate_authority = end if != nil @certificate_authority_filename = end if service_account_key != nil @service_account_key = service_account_key end if service_account_key_filename != nil @service_account_key_filename = service_account_key_filename end end |