generated/google/apis/container_v1/classes.rb in google-api-client-0.9.pre3 vs generated/google/apis/container_v1/classes.rb in google-api-client-0.9.pre4

- old
+ new

@@ -101,87 +101,85 @@ attr_accessor :network # The IP address range of the container pods in this cluster, in [CIDR](http:// # en.wikipedia.org/wiki/Classless_Inter-Domain_Routing) notation (e.g. `10.96.0. # 0/14`). Leave blank to have one automatically chosen or specify a `/14` block - # in `10.0.0.0/8` or `172.16.0.0/12`. + # in `10.0.0.0/8`. # Corresponds to the JSON property `clusterIpv4Cidr` # @return [String] attr_accessor :cluster_ipv4_cidr - # [Output only] Server-defined URL for the resource. @OutputOnly. + # [Output only] Server-defined URL for the resource. # Corresponds to the JSON property `selfLink` # @return [String] attr_accessor :self_link # [Output only] The name of the Google Compute Engine [zone](/compute/docs/zones# - # available) in which the cluster resides. @OutputOnly. + # available) in which the cluster resides. # Corresponds to the JSON property `zone` # @return [String] attr_accessor :zone # [Output only] The IP address of this cluster's Kubernetes master endpoint. The # endpoint can be accessed from the internet at `https://username:password@ - # endpoint/`. @OutputOnly. See the `masterAuth` property of this resource for - # username and password information. + # endpoint/`. See the `masterAuth` property of this resource for username and + # password information. # Corresponds to the JSON property `endpoint` # @return [String] attr_accessor :endpoint # [Output only] The software version of Kubernetes master and kubelets used in - # the cluster when it was first created. The version can be upgraded over time. @ - # OutputOnly. + # the cluster when it was first created. The version can be upgraded over time. # Corresponds to the JSON property `initialClusterVersion` # @return [String] attr_accessor :initial_cluster_version - # [Output only] The current software version of the master endpoint. @OutputOnly. + # [Output only] The current software version of the master endpoint. # Corresponds to the JSON property `currentMasterVersion` # @return [String] attr_accessor :current_master_version # [Output only] The current version of the node software components. If they are # currently at different versions because they're in the process of being - # upgraded, this reflects the minimum version of any of them. @OutputOnly. + # upgraded, this reflects the minimum version of any of them. # Corresponds to the JSON property `currentNodeVersion` # @return [String] attr_accessor :current_node_version - # [Output only] The time the cluster was created, in [RFC3339](href='https://www. - # ietf.org/rfc/rfc3339.txt) text format. @OutputOnly. + # [Output only] The time the cluster was created, in [RFC3339](https://www.ietf. + # org/rfc/rfc3339.txt) text format. # Corresponds to the JSON property `createTime` # @return [String] attr_accessor :create_time - # [Output only] The current status of this cluster. @OutputOnly. + # [Output only] The current status of this cluster. # Corresponds to the JSON property `status` # @return [String] attr_accessor :status # [Output only] Additional information about the current status of this cluster, - # if available. @OutputOnly. + # if available. # Corresponds to the JSON property `statusMessage` # @return [String] attr_accessor :status_message # [Output only] The size of the address space on each node for hosting - # containers. This is provisioned from within the container_ipv4_cidr range. @ - # OutputOnly. + # containers. This is provisioned from within the container_ipv4_cidr range. # Corresponds to the JSON property `nodeIpv4CidrSize` # @return [Fixnum] attr_accessor :node_ipv4_cidr_size # [Output only] The IP address range of the Kubernetes services in this cluster, # in [CIDR](http://en.wikipedia.org/wiki/Classless_Inter-Domain_Routing) # notation (e.g. `1.2.3.4/29`). Service addresses are typically put in the last / - # 16 from the container CIDR. @OutputOnly. + # 16 from the container CIDR. # Corresponds to the JSON property `servicesIpv4Cidr` # @return [String] attr_accessor :services_ipv4_cidr # [Output only] The resource URLs of [instance groups](/compute/docs/instance- - # groups/) associated with this cluster. @OutputOnly. + # groups/) associated with this cluster. # Corresponds to the JSON property `instanceGroupUrls` # @return [Array<String>] attr_accessor :instance_group_urls def initialize(**args) @@ -224,19 +222,21 @@ # Corresponds to the JSON property `machineType` # @return [String] attr_accessor :machine_type # Size of the disk attached to each node, specified in GB. The smallest allowed - # disk size is 10GB, and the default is 100GB. + # disk size is 10GB. If unspecified, the default disk size is 100GB. # Corresponds to the JSON property `diskSizeGb` # @return [Fixnum] attr_accessor :disk_size_gb # The set of Google API scopes to be made available on all of the node VMs under - # the "default" service account. Currently, the following scopes are necessary - # to ensure the correct functioning of the cluster: * "https://www.googleapis. - # com/auth/compute" * "https://www.googleapis.com/auth/devstorage.read_only" + # the "default" service account. The following scopes are recommended, but not + # required, and by default are not included: * `https://www.googleapis.com/auth/ + # compute` is required for mounting persistent storage on your nodes. * `https:// + # www.googleapis.com/auth/devstorage.read_only` is required for communicating + # with *gcr.io*. If unspecified, no scopes are added. # Corresponds to the JSON property `oauthScopes` # @return [Array<String>] attr_accessor :oauth_scopes def initialize(**args) @@ -268,23 +268,23 @@ # Corresponds to the JSON property `password` # @return [String] attr_accessor :password # [Output only] Base64 encoded public certificate that is the root of trust for - # the cluster. @OutputOnly. + # the cluster. # Corresponds to the JSON property `clusterCaCertificate` # @return [String] attr_accessor :cluster_ca_certificate # [Output only] Base64 encoded public certificate used by clients to - # authenticate to the cluster endpoint. @OutputOnly. + # authenticate to the cluster endpoint. # Corresponds to the JSON property `clientCertificate` # @return [String] attr_accessor :client_certificate # [Output only] Base64 encoded private key used by clients to authenticate to - # the cluster endpoint. @OutputOnly. + # the cluster endpoint. # Corresponds to the JSON property `clientKey` # @return [String] attr_accessor :client_key def initialize(**args) @@ -322,42 +322,42 @@ # Defines the operation resource. All fields are output only. class Operation include Google::Apis::Core::Hashable - # The server-assigned ID for the operation. @OutputOnly. + # The server-assigned ID for the operation. # Corresponds to the JSON property `name` # @return [String] attr_accessor :name # The name of the Google Compute Engine [zone](/compute/docs/zones#available) in - # which the operation is taking place. @OutputOnly. + # which the operation is taking place. # Corresponds to the JSON property `zone` # @return [String] attr_accessor :zone - # The operation type. @OutputOnly. + # The operation type. # Corresponds to the JSON property `operationType` # @return [String] attr_accessor :operation_type - # The current status of the operation. @OutputOnly. + # The current status of the operation. # Corresponds to the JSON property `status` # @return [String] attr_accessor :status - # If an error has occurred, a textual description of the error. @OutputOnly. + # If an error has occurred, a textual description of the error. # Corresponds to the JSON property `statusMessage` # @return [String] attr_accessor :status_message - # Server-defined URL for the resource. @OutputOnly. + # Server-defined URL for the resource. # Corresponds to the JSON property `selfLink` # @return [String] attr_accessor :self_link - # Server-defined URL for the target of the operation. @OutputOnly. + # Server-defined URL for the target of the operation. # Corresponds to the JSON property `targetLink` # @return [String] attr_accessor :target_link def initialize(**args) @@ -429,9 +429,34 @@ end # Update properties of this object def update!(**args) @operations = args[:operations] unless args[:operations].nil? + end + end + + # Container Engine Server configuration. + class ServerConfig + include Google::Apis::Core::Hashable + + # What version this server deploys by default. + # Corresponds to the JSON property `defaultClusterVersion` + # @return [String] + attr_accessor :default_cluster_version + + # List of valid node upgrade target versions. + # Corresponds to the JSON property `validNodeVersions` + # @return [Array<String>] + attr_accessor :valid_node_versions + + def initialize(**args) + update!(**args) + end + + # Update properties of this object + def update!(**args) + @default_cluster_version = args[:default_cluster_version] unless args[:default_cluster_version].nil? + @valid_node_versions = args[:valid_node_versions] unless args[:valid_node_versions].nil? end end end end end