class Google::Apis::ContainerV1beta1::NodeConfig

Attributes

machine_type[RW]

The name of a Google Compute Engine machine type (e.g. n1-standard-1). If unspecified, the default machine type is n1-standard-1. Corresponds to the JSON property `machineType` @return [String]

service_accounts[RW]

The optional list of ServiceAccounts, each with their specified scopes, to be made available on all of the node VMs. In addition to the service accounts and scopes specified, the “default” account will always be created with the following scopes to ensure the correct functioning of the cluster:

Corresponds to the JSON property `serviceAccounts` @return [Array<Google::Apis::ContainerV1beta1::ServiceAccount>]

source_image[RW]

The fully-specified name of a Google Compute Engine image. For example: https:/ /www.googleapis.com/compute/v1/projects/debian-cloud/global/images/backports- debian-7-wheezy-vYYYYMMDD (where YYYMMDD is the version date). If specifying an image, you are responsible for ensuring its compatibility with the Debian 7 backports image. We recommend leaving this field blank to accept the default backports-debian-7-wheezy value. Corresponds to the JSON property `sourceImage` @return [String]

Public Class Methods

new(**args) click to toggle source
# File generated/google/apis/container_v1beta1/classes.rb, line 365
def initialize(**args)
   update!(**args)
end

Public Instance Methods

update!(**args) click to toggle source

Update properties of this object

# File generated/google/apis/container_v1beta1/classes.rb, line 370
def update!(**args)
  @machine_type = args[:machine_type] unless args[:machine_type].nil?
  @service_accounts = args[:service_accounts] unless args[:service_accounts].nil?
  @source_image = args[:source_image] unless args[:source_image].nil?
end