google-api-client 0.9.4 → 0.9.5

Sign up to get free protection for your applications and to get access to all the features.
Files changed (134) hide show
  1. checksums.yaml +4 -4
  2. data/CHANGELOG.md +5 -0
  3. data/README.md +34 -0
  4. data/api_names.yaml +3 -0
  5. data/api_names_out.yaml +1058 -20
  6. data/bin/generate-api +1 -1
  7. data/generated/google/apis/adexchangebuyer_v1_4.rb +1 -1
  8. data/generated/google/apis/adexchangebuyer_v1_4/classes.rb +203 -6
  9. data/generated/google/apis/adexchangebuyer_v1_4/representations.rb +78 -0
  10. data/generated/google/apis/adexchangebuyer_v1_4/service.rb +36 -0
  11. data/generated/google/apis/admin_directory_v1.rb +1 -1
  12. data/generated/google/apis/adsense_v1_4.rb +1 -1
  13. data/generated/google/apis/adsensehost_v4_1.rb +1 -1
  14. data/generated/google/apis/androidenterprise_v1.rb +2 -3
  15. data/generated/google/apis/androidenterprise_v1/classes.rb +11 -4
  16. data/generated/google/apis/androidenterprise_v1/representations.rb +1 -0
  17. data/generated/google/apis/androidenterprise_v1/service.rb +5 -6
  18. data/generated/google/apis/androidpublisher_v2.rb +1 -1
  19. data/generated/google/apis/androidpublisher_v2/classes.rb +47 -0
  20. data/generated/google/apis/androidpublisher_v2/representations.rb +6 -0
  21. data/generated/google/apis/appengine_v1beta5.rb +2 -3
  22. data/generated/google/apis/appengine_v1beta5/classes.rb +143 -8
  23. data/generated/google/apis/appengine_v1beta5/representations.rb +42 -0
  24. data/generated/google/apis/appengine_v1beta5/service.rb +48 -6
  25. data/generated/google/apis/appstate_v1.rb +1 -1
  26. data/generated/google/apis/bigquery_v2.rb +1 -1
  27. data/generated/google/apis/bigquery_v2/classes.rb +68 -14
  28. data/generated/google/apis/bigquery_v2/representations.rb +30 -0
  29. data/generated/google/apis/books_v1.rb +1 -1
  30. data/generated/google/apis/books_v1/classes.rb +68 -3
  31. data/generated/google/apis/books_v1/representations.rb +21 -0
  32. data/generated/google/apis/calendar_v3.rb +2 -2
  33. data/generated/google/apis/calendar_v3/service.rb +1 -1
  34. data/generated/google/apis/cloudbuild_v1.rb +1 -1
  35. data/generated/google/apis/cloudmonitoring_v2beta2.rb +1 -1
  36. data/generated/google/apis/cloudresourcemanager_v1.rb +1 -1
  37. data/generated/google/apis/cloudresourcemanager_v1/service.rb +2 -2
  38. data/generated/google/apis/cloudresourcemanager_v1beta1.rb +1 -1
  39. data/generated/google/apis/cloudresourcemanager_v1beta1/service.rb +2 -2
  40. data/generated/google/apis/clouduseraccounts_beta.rb +1 -1
  41. data/generated/google/apis/clouduseraccounts_beta/classes.rb +1 -1
  42. data/generated/google/apis/compute_beta.rb +1 -1
  43. data/generated/google/apis/compute_beta/classes.rb +138 -108
  44. data/generated/google/apis/compute_beta/representations.rb +16 -18
  45. data/generated/google/apis/compute_beta/service.rb +52 -2
  46. data/generated/google/apis/compute_v1.rb +1 -1
  47. data/generated/google/apis/compute_v1/classes.rb +55 -74
  48. data/generated/google/apis/compute_v1/representations.rb +14 -18
  49. data/generated/google/apis/compute_v1/service.rb +45 -1
  50. data/generated/google/apis/container_v1.rb +3 -3
  51. data/generated/google/apis/container_v1/classes.rb +200 -42
  52. data/generated/google/apis/container_v1/representations.rb +54 -0
  53. data/generated/google/apis/container_v1/service.rb +31 -30
  54. data/generated/google/apis/content_v2.rb +1 -1
  55. data/generated/google/apis/datastore_v1beta2.rb +2 -2
  56. data/generated/google/apis/datastore_v1beta2/service.rb +1 -1
  57. data/generated/google/apis/deploymentmanager_v2.rb +2 -3
  58. data/generated/google/apis/deploymentmanager_v2/classes.rb +7 -1
  59. data/generated/google/apis/deploymentmanager_v2/representations.rb +1 -0
  60. data/generated/google/apis/deploymentmanager_v2/service.rb +26 -27
  61. data/generated/google/apis/dfareporting_v2_3.rb +2 -2
  62. data/generated/google/apis/dfareporting_v2_3/classes.rb +1 -1
  63. data/generated/google/apis/dfareporting_v2_3/service.rb +2 -2
  64. data/generated/google/apis/dns_v1.rb +1 -1
  65. data/generated/google/apis/doubleclicksearch_v2.rb +1 -1
  66. data/generated/google/apis/doubleclicksearch_v2/classes.rb +6 -4
  67. data/generated/google/apis/drive_v2.rb +1 -1
  68. data/generated/google/apis/drive_v2/classes.rb +10 -4
  69. data/generated/google/apis/drive_v2/representations.rb +1 -0
  70. data/generated/google/apis/drive_v3.rb +1 -1
  71. data/generated/google/apis/drive_v3/classes.rb +7 -0
  72. data/generated/google/apis/drive_v3/representations.rb +1 -0
  73. data/generated/google/apis/fusiontables_v2.rb +1 -1
  74. data/generated/google/apis/games_configuration_v1configuration.rb +1 -1
  75. data/generated/google/apis/games_management_v1management.rb +1 -1
  76. data/generated/google/apis/games_v1.rb +1 -1
  77. data/generated/google/apis/genomics_v1.rb +2 -2
  78. data/generated/google/apis/genomics_v1/classes.rb +770 -82
  79. data/generated/google/apis/genomics_v1/representations.rb +287 -24
  80. data/generated/google/apis/genomics_v1/service.rb +412 -13
  81. data/generated/google/apis/gmail_v1.rb +1 -1
  82. data/generated/google/apis/groupssettings_v1.rb +1 -1
  83. data/generated/google/apis/groupssettings_v1/classes.rb +13 -6
  84. data/generated/google/apis/groupssettings_v1/representations.rb +1 -0
  85. data/generated/google/apis/identitytoolkit_v3.rb +1 -1
  86. data/generated/google/apis/identitytoolkit_v3/classes.rb +50 -0
  87. data/generated/google/apis/identitytoolkit_v3/representations.rb +10 -0
  88. data/generated/google/apis/logging_v2beta1.rb +2 -3
  89. data/generated/google/apis/logging_v2beta1/classes.rb +219 -63
  90. data/generated/google/apis/logging_v2beta1/representations.rb +24 -1
  91. data/generated/google/apis/logging_v2beta1/service.rb +25 -32
  92. data/generated/google/apis/oauth2_v2.rb +2 -2
  93. data/generated/google/apis/oauth2_v2/service.rb +1 -1
  94. data/generated/google/apis/plus_domains_v1.rb +1 -1
  95. data/generated/google/apis/plus_v1.rb +1 -1
  96. data/generated/google/apis/pubsub_v1.rb +1 -1
  97. data/generated/google/apis/pubsub_v1/classes.rb +20 -12
  98. data/generated/google/apis/pubsub_v1/service.rb +32 -35
  99. data/generated/google/apis/reseller_v1.rb +1 -1
  100. data/generated/google/apis/reseller_v1/classes.rb +23 -9
  101. data/generated/google/apis/reseller_v1/representations.rb +2 -0
  102. data/generated/google/apis/sheets_v1.rb +43 -0
  103. data/generated/google/apis/sheets_v1/classes.rb +4542 -0
  104. data/generated/google/apis/sheets_v1/representations.rb +1703 -0
  105. data/generated/google/apis/sheets_v1/service.rb +363 -0
  106. data/generated/google/apis/sqladmin_v1beta4.rb +3 -2
  107. data/generated/google/apis/sqladmin_v1beta4/classes.rb +4 -3
  108. data/generated/google/apis/sqladmin_v1beta4/service.rb +2 -1
  109. data/generated/google/apis/storage_v1.rb +1 -1
  110. data/generated/google/apis/vision_v1.rb +2 -2
  111. data/generated/google/apis/vision_v1/classes.rb +11 -11
  112. data/generated/google/apis/vision_v1/service.rb +1 -1
  113. data/generated/google/apis/webmasters_v3.rb +2 -2
  114. data/generated/google/apis/webmasters_v3/classes.rb +7 -0
  115. data/generated/google/apis/webmasters_v3/representations.rb +1 -0
  116. data/generated/google/apis/webmasters_v3/service.rb +1 -1
  117. data/generated/google/apis/youtube_partner_v1.rb +37 -0
  118. data/generated/google/apis/youtube_partner_v1/classes.rb +3656 -0
  119. data/generated/google/apis/youtube_partner_v1/representations.rb +1452 -0
  120. data/generated/google/apis/youtube_partner_v1/service.rb +3165 -0
  121. data/generated/google/apis/youtube_v3.rb +3 -2
  122. data/generated/google/apis/youtube_v3/classes.rb +100 -3
  123. data/generated/google/apis/youtube_v3/representations.rb +50 -0
  124. data/generated/google/apis/youtube_v3/service.rb +2 -1
  125. data/generated/google/apis/youtubereporting_v1.rb +1 -1
  126. data/generated/google/apis/youtubereporting_v1/classes.rb +17 -0
  127. data/generated/google/apis/youtubereporting_v1/representations.rb +2 -0
  128. data/generated/google/apis/youtubereporting_v1/service.rb +21 -3
  129. data/google-api-client.gemspec +2 -0
  130. data/lib/google/apis.rb +12 -2
  131. data/lib/google/apis/version.rb +1 -1
  132. data/script/generate +5 -2
  133. data/spec/google/apis/logging_spec.rb +55 -0
  134. metadata +12 -4
@@ -20,13 +20,13 @@ module Google
20
20
  module Apis
21
21
  # Google Container Engine API
22
22
  #
23
- # The Google Container Engine API is used for building and managing container
24
- # based applications, powered by the open source Kubernetes technology.
23
+ # Builds and manages clusters that run container-based applications, powered by
24
+ # open source Kubernetes technology.
25
25
  #
26
26
  # @see https://cloud.google.com/container-engine/
27
27
  module ContainerV1
28
28
  VERSION = 'V1'
29
- REVISION = '20150603'
29
+ REVISION = '20160321'
30
30
 
31
31
  # View and manage your data across Google Cloud Platform services
32
32
  AUTH_CLOUD_PLATFORM = 'https://www.googleapis.com/auth/cloud-platform'
@@ -31,6 +31,12 @@ module Google
31
31
  # @return [Array<Google::Apis::ContainerV1::Cluster>]
32
32
  attr_accessor :clusters
33
33
 
34
+ # If any zones are listed here, the list of clusters returned may be missing
35
+ # those zones.
36
+ # Corresponds to the JSON property `missingZones`
37
+ # @return [Array<String>]
38
+ attr_accessor :missing_zones
39
+
34
40
  def initialize(**args)
35
41
  update!(**args)
36
42
  end
@@ -38,6 +44,7 @@ module Google
38
44
  # Update properties of this object
39
45
  def update!(**args)
40
46
  @clusters = args[:clusters] if args.key?(:clusters)
47
+ @missing_zones = args[:missing_zones] if args.key?(:missing_zones)
41
48
  end
42
49
  end
43
50
 
@@ -59,14 +66,16 @@ module Google
59
66
  attr_accessor :description
60
67
 
61
68
  # The number of nodes to create in this cluster. You must ensure that your
62
- # Compute Engine [resource quota](/compute/docs/resource-quotas) is sufficient
63
- # for this number of instances. You must also have available firewall and routes
64
- # quota.
69
+ # Compute Engine resource quota is sufficient for this number of instances. You
70
+ # must also have available firewall and routes quota. For requests, this field
71
+ # should only be used in lieu of a "node_pool" object, since this configuration (
72
+ # along with the "node_config") will be used to create a "NodePool" object with
73
+ # an auto-generated name. Do not use this and a node_pool at the same time.
65
74
  # Corresponds to the JSON property `initialNodeCount`
66
75
  # @return [Fixnum]
67
76
  attr_accessor :initial_node_count
68
77
 
69
- # Per-node parameters.
78
+ # Parameters that describe the nodes in a cluster.
70
79
  # Corresponds to the JSON property `nodeConfig`
71
80
  # @return [Google::Apis::ContainerV1::NodeConfig]
72
81
  attr_accessor :node_config
@@ -77,25 +86,25 @@ module Google
77
86
  # @return [Google::Apis::ContainerV1::MasterAuth]
78
87
  attr_accessor :master_auth
79
88
 
80
- # The logging service that the cluster should write logs to. Currently available
81
- # options: * "logging.googleapis.com" - the Google Cloud Logging service * "none"
82
- # - no logs will be exported from the cluster * "" - default value; the default
83
- # is "logging.googleapis.com"
89
+ # The logging service the cluster should use to write logs. Currently available
90
+ # options: * `logging.googleapis.com` - the Google Cloud Logging service. * `
91
+ # none` - no logs will be exported from the cluster. * if left as an empty
92
+ # string,`logging.googleapis.com` will be used.
84
93
  # Corresponds to the JSON property `loggingService`
85
94
  # @return [String]
86
95
  attr_accessor :logging_service
87
96
 
88
- # The monitoring service that the cluster should write metrics to. Currently
89
- # available options: * "monitoring.googleapis.com" - the Google Cloud Monitoring
90
- # service * "none" - no metrics will be exported from the cluster * "" - default
91
- # value; the default is "monitoring.googleapis.com"
97
+ # The monitoring service the cluster should use to write metrics. Currently
98
+ # available options: * `monitoring.googleapis.com` - the Google Cloud Monitoring
99
+ # service. * `none` - no metrics will be exported from the cluster. * if left as
100
+ # an empty string, `monitoring.googleapis.com` will be used.
92
101
  # Corresponds to the JSON property `monitoringService`
93
102
  # @return [String]
94
103
  attr_accessor :monitoring_service
95
104
 
96
- # The name of the Google Compute Engine [network](/compute/docs/networking#
97
- # networks_1) to which the cluster is connected. If left unspecified, the "
98
- # default" network will be used.
105
+ # The name of the Google Compute Engine [network](/compute/docs/networks-and-
106
+ # firewalls#networks) to which the cluster is connected. If left unspecified,
107
+ # the `default` network will be used.
99
108
  # Corresponds to the JSON property `network`
100
109
  # @return [String]
101
110
  attr_accessor :network
@@ -108,6 +117,18 @@ module Google
108
117
  # @return [String]
109
118
  attr_accessor :cluster_ipv4_cidr
110
119
 
120
+ # Configuration for the addons that can be automatically spun up in the cluster,
121
+ # enabling additional functionality.
122
+ # Corresponds to the JSON property `addonsConfig`
123
+ # @return [Google::Apis::ContainerV1::AddonsConfig]
124
+ attr_accessor :addons_config
125
+
126
+ # The name of the Google Compute Engine [subnetwork](/compute/docs/subnetworks)
127
+ # to which the cluster is connected.
128
+ # Corresponds to the JSON property `subnetwork`
129
+ # @return [String]
130
+ attr_accessor :subnetwork
131
+
111
132
  # [Output only] Server-defined URL for the resource.
112
133
  # Corresponds to the JSON property `selfLink`
113
134
  # @return [String]
@@ -119,15 +140,15 @@ module Google
119
140
  # @return [String]
120
141
  attr_accessor :zone
121
142
 
122
- # [Output only] The IP address of this cluster's Kubernetes master endpoint. The
123
- # endpoint can be accessed from the internet at `https://username:password@
124
- # endpoint/`. See the `masterAuth` property of this resource for username and
125
- # password information.
143
+ # [Output only] The IP address of this cluster's master endpoint. The endpoint
144
+ # can be accessed from the internet at `https://username:password@endpoint/`.
145
+ # See the `masterAuth` property of this resource for username and password
146
+ # information.
126
147
  # Corresponds to the JSON property `endpoint`
127
148
  # @return [String]
128
149
  attr_accessor :endpoint
129
150
 
130
- # [Output only] The software version of Kubernetes master and kubelets used in
151
+ # [Output only] The software version of the master endpoint and kubelets used in
131
152
  # the cluster when it was first created. The version can be upgraded over time.
132
153
  # Corresponds to the JSON property `initialClusterVersion`
133
154
  # @return [String]
@@ -139,8 +160,8 @@ module Google
139
160
  attr_accessor :current_master_version
140
161
 
141
162
  # [Output only] The current version of the node software components. If they are
142
- # currently at different versions because they're in the process of being
143
- # upgraded, this reflects the minimum version of any of them.
163
+ # currently at multiple versions because they're in the process of being
164
+ # upgraded, this reflects the minimum version of all nodes.
144
165
  # Corresponds to the JSON property `currentNodeVersion`
145
166
  # @return [String]
146
167
  attr_accessor :current_node_version
@@ -163,15 +184,15 @@ module Google
163
184
  attr_accessor :status_message
164
185
 
165
186
  # [Output only] The size of the address space on each node for hosting
166
- # containers. This is provisioned from within the container_ipv4_cidr range.
187
+ # containers. This is provisioned from within the `container_ipv4_cidr` range.
167
188
  # Corresponds to the JSON property `nodeIpv4CidrSize`
168
189
  # @return [Fixnum]
169
190
  attr_accessor :node_ipv4_cidr_size
170
191
 
171
192
  # [Output only] The IP address range of the Kubernetes services in this cluster,
172
193
  # in [CIDR](http://en.wikipedia.org/wiki/Classless_Inter-Domain_Routing)
173
- # notation (e.g. `1.2.3.4/29`). Service addresses are typically put in the last /
174
- # 16 from the container CIDR.
194
+ # notation (e.g. `1.2.3.4/29`). Service addresses are typically put in the last `
195
+ # /16` from the container CIDR.
175
196
  # Corresponds to the JSON property `servicesIpv4Cidr`
176
197
  # @return [String]
177
198
  attr_accessor :services_ipv4_cidr
@@ -182,6 +203,11 @@ module Google
182
203
  # @return [Array<String>]
183
204
  attr_accessor :instance_group_urls
184
205
 
206
+ # [Output only] The number of nodes currently in the cluster.
207
+ # Corresponds to the JSON property `currentNodeCount`
208
+ # @return [Fixnum]
209
+ attr_accessor :current_node_count
210
+
185
211
  def initialize(**args)
186
212
  update!(**args)
187
213
  end
@@ -197,6 +223,8 @@ module Google
197
223
  @monitoring_service = args[:monitoring_service] if args.key?(:monitoring_service)
198
224
  @network = args[:network] if args.key?(:network)
199
225
  @cluster_ipv4_cidr = args[:cluster_ipv4_cidr] if args.key?(:cluster_ipv4_cidr)
226
+ @addons_config = args[:addons_config] if args.key?(:addons_config)
227
+ @subnetwork = args[:subnetwork] if args.key?(:subnetwork)
200
228
  @self_link = args[:self_link] if args.key?(:self_link)
201
229
  @zone = args[:zone] if args.key?(:zone)
202
230
  @endpoint = args[:endpoint] if args.key?(:endpoint)
@@ -209,10 +237,11 @@ module Google
209
237
  @node_ipv4_cidr_size = args[:node_ipv4_cidr_size] if args.key?(:node_ipv4_cidr_size)
210
238
  @services_ipv4_cidr = args[:services_ipv4_cidr] if args.key?(:services_ipv4_cidr)
211
239
  @instance_group_urls = args[:instance_group_urls] if args.key?(:instance_group_urls)
240
+ @current_node_count = args[:current_node_count] if args.key?(:current_node_count)
212
241
  end
213
242
  end
214
243
 
215
- # Per-node parameters.
244
+ # Parameters that describe the nodes in a cluster.
216
245
  class NodeConfig
217
246
  include Google::Apis::Core::Hashable
218
247
 
@@ -234,11 +263,26 @@ module Google
234
263
  # required, and by default are not included: * `https://www.googleapis.com/auth/
235
264
  # compute` is required for mounting persistent storage on your nodes. * `https://
236
265
  # www.googleapis.com/auth/devstorage.read_only` is required for communicating
237
- # with *gcr.io*. If unspecified, no scopes are added.
266
+ # with **gcr.io** (the [Google Container Registry](/container-registry/)). If
267
+ # unspecified, no scopes are added, unless Cloud Logging or Cloud Monitoring are
268
+ # enabled, in which case their required scopes will be added.
238
269
  # Corresponds to the JSON property `oauthScopes`
239
270
  # @return [Array<String>]
240
271
  attr_accessor :oauth_scopes
241
272
 
273
+ # The metadata key/value pairs assigned to instances in the cluster. Keys must
274
+ # conform to the regexp [a-zA-Z0-9-_]+ and be less than 128 bytes in length.
275
+ # These are reflected as part of a URL in the metadata server. Additionally, to
276
+ # avoid ambiguity, keys must not conflict with any other metadata keys for the
277
+ # project or be one of the four reserved keys: "instance-template", "kube-env", "
278
+ # startup-script", and "user-data" Values are free-form strings, and only have
279
+ # meaning as interpreted by the image running in the instance. The only
280
+ # restriction placed on them is that each value's size must be less than or
281
+ # equal to 32 KB. The total size of all keys and values must be less than 512 KB.
282
+ # Corresponds to the JSON property `metadata`
283
+ # @return [Hash<String,String>]
284
+ attr_accessor :metadata
285
+
242
286
  def initialize(**args)
243
287
  update!(**args)
244
288
  end
@@ -248,6 +292,7 @@ module Google
248
292
  @machine_type = args[:machine_type] if args.key?(:machine_type)
249
293
  @disk_size_gb = args[:disk_size_gb] if args.key?(:disk_size_gb)
250
294
  @oauth_scopes = args[:oauth_scopes] if args.key?(:oauth_scopes)
295
+ @metadata = args[:metadata] if args.key?(:metadata)
251
296
  end
252
297
  end
253
298
 
@@ -256,32 +301,31 @@ module Google
256
301
  class MasterAuth
257
302
  include Google::Apis::Core::Hashable
258
303
 
259
- # The username to use for HTTP basic authentication when accessing the
260
- # Kubernetes master endpoint.
304
+ # The username to use for HTTP basic authentication to the master endpoint.
261
305
  # Corresponds to the JSON property `username`
262
306
  # @return [String]
263
307
  attr_accessor :username
264
308
 
265
- # The password to use for HTTP basic authentication when accessing the
266
- # Kubernetes master endpoint. Because the master endpoint is open to the
267
- # internet, you should create a strong password.
309
+ # The password to use for HTTP basic authentication to the master endpoint.
310
+ # Because the master endpoint is open to the Internet, you should create a
311
+ # strong password.
268
312
  # Corresponds to the JSON property `password`
269
313
  # @return [String]
270
314
  attr_accessor :password
271
315
 
272
- # [Output only] Base64 encoded public certificate that is the root of trust for
316
+ # [Output only] Base64-encoded public certificate that is the root of trust for
273
317
  # the cluster.
274
318
  # Corresponds to the JSON property `clusterCaCertificate`
275
319
  # @return [String]
276
320
  attr_accessor :cluster_ca_certificate
277
321
 
278
- # [Output only] Base64 encoded public certificate used by clients to
322
+ # [Output only] Base64-encoded public certificate used by clients to
279
323
  # authenticate to the cluster endpoint.
280
324
  # Corresponds to the JSON property `clientCertificate`
281
325
  # @return [String]
282
326
  attr_accessor :client_certificate
283
327
 
284
- # [Output only] Base64 encoded private key used by clients to authenticate to
328
+ # [Output only] Base64-encoded private key used by clients to authenticate to
285
329
  # the cluster endpoint.
286
330
  # Corresponds to the JSON property `clientKey`
287
331
  # @return [String]
@@ -301,6 +345,81 @@ module Google
301
345
  end
302
346
  end
303
347
 
348
+ # Configuration for the addons that can be automatically spun up in the cluster,
349
+ # enabling additional functionality.
350
+ class AddonsConfig
351
+ include Google::Apis::Core::Hashable
352
+
353
+ # Configuration options for the HTTP (L7) load balancing controller addon, which
354
+ # makes it easy to set up HTTP load balancers for services in a cluster.
355
+ # Corresponds to the JSON property `httpLoadBalancing`
356
+ # @return [Google::Apis::ContainerV1::HttpLoadBalancing]
357
+ attr_accessor :http_load_balancing
358
+
359
+ # Configuration options for the horizontal pod autoscaling feature, which
360
+ # increases or decreases the number of replica pods a replication controller has
361
+ # based on the resource usage of the existing pods.
362
+ # Corresponds to the JSON property `horizontalPodAutoscaling`
363
+ # @return [Google::Apis::ContainerV1::HorizontalPodAutoscaling]
364
+ attr_accessor :horizontal_pod_autoscaling
365
+
366
+ def initialize(**args)
367
+ update!(**args)
368
+ end
369
+
370
+ # Update properties of this object
371
+ def update!(**args)
372
+ @http_load_balancing = args[:http_load_balancing] if args.key?(:http_load_balancing)
373
+ @horizontal_pod_autoscaling = args[:horizontal_pod_autoscaling] if args.key?(:horizontal_pod_autoscaling)
374
+ end
375
+ end
376
+
377
+ # Configuration options for the HTTP (L7) load balancing controller addon, which
378
+ # makes it easy to set up HTTP load balancers for services in a cluster.
379
+ class HttpLoadBalancing
380
+ include Google::Apis::Core::Hashable
381
+
382
+ # Whether the HTTP Load Balancing controller is enabled in the cluster. When
383
+ # enabled, it runs a small pod in the cluster that manages the load balancers.
384
+ # Corresponds to the JSON property `disabled`
385
+ # @return [Boolean]
386
+ attr_accessor :disabled
387
+ alias_method :disabled?, :disabled
388
+
389
+ def initialize(**args)
390
+ update!(**args)
391
+ end
392
+
393
+ # Update properties of this object
394
+ def update!(**args)
395
+ @disabled = args[:disabled] if args.key?(:disabled)
396
+ end
397
+ end
398
+
399
+ # Configuration options for the horizontal pod autoscaling feature, which
400
+ # increases or decreases the number of replica pods a replication controller has
401
+ # based on the resource usage of the existing pods.
402
+ class HorizontalPodAutoscaling
403
+ include Google::Apis::Core::Hashable
404
+
405
+ # Whether the Horizontal Pod Autoscaling feature is enabled in the cluster. When
406
+ # enabled, it ensures that a Heapster pod is running in the cluster, which is
407
+ # also used by the Cloud Monitoring service.
408
+ # Corresponds to the JSON property `disabled`
409
+ # @return [Boolean]
410
+ attr_accessor :disabled
411
+ alias_method :disabled?, :disabled
412
+
413
+ def initialize(**args)
414
+ update!(**args)
415
+ end
416
+
417
+ # Update properties of this object
418
+ def update!(**args)
419
+ @disabled = args[:disabled] if args.key?(:disabled)
420
+ end
421
+ end
422
+
304
423
  # CreateClusterRequest creates a cluster.
305
424
  class CreateClusterRequest
306
425
  include Google::Apis::Core::Hashable
@@ -320,7 +439,8 @@ module Google
320
439
  end
321
440
  end
322
441
 
323
- # Defines the operation resource. All fields are output only.
442
+ # This operation resource represents operations that may have happened or are
443
+ # happening on the cluster. All fields are output only.
324
444
  class Operation
325
445
  include Google::Apis::Core::Hashable
326
446
 
@@ -345,6 +465,11 @@ module Google
345
465
  # @return [String]
346
466
  attr_accessor :status
347
467
 
468
+ # Detailed operation progress, if available.
469
+ # Corresponds to the JSON property `detail`
470
+ # @return [String]
471
+ attr_accessor :detail
472
+
348
473
  # If an error has occurred, a textual description of the error.
349
474
  # Corresponds to the JSON property `statusMessage`
350
475
  # @return [String]
@@ -370,17 +495,19 @@ module Google
370
495
  @zone = args[:zone] if args.key?(:zone)
371
496
  @operation_type = args[:operation_type] if args.key?(:operation_type)
372
497
  @status = args[:status] if args.key?(:status)
498
+ @detail = args[:detail] if args.key?(:detail)
373
499
  @status_message = args[:status_message] if args.key?(:status_message)
374
500
  @self_link = args[:self_link] if args.key?(:self_link)
375
501
  @target_link = args[:target_link] if args.key?(:target_link)
376
502
  end
377
503
  end
378
504
 
379
- # UpdateClusterRequest updates a cluster.
505
+ # UpdateClusterRequest updates the settings of a cluster.
380
506
  class UpdateClusterRequest
381
507
  include Google::Apis::Core::Hashable
382
508
 
383
- # ClusterUpdate describes an update to the cluster.
509
+ # ClusterUpdate describes an update to the cluster. Exactly one update can be
510
+ # applied to a cluster with each request, so at most one field can be provided.
384
511
  # Corresponds to the JSON property `update`
385
512
  # @return [Google::Apis::ContainerV1::ClusterUpdate]
386
513
  attr_accessor :update
@@ -395,16 +522,37 @@ module Google
395
522
  end
396
523
  end
397
524
 
398
- # ClusterUpdate describes an update to the cluster.
525
+ # ClusterUpdate describes an update to the cluster. Exactly one update can be
526
+ # applied to a cluster with each request, so at most one field can be provided.
399
527
  class ClusterUpdate
400
528
  include Google::Apis::Core::Hashable
401
529
 
402
- # The Kubernetes version to change the nodes to (typically an upgrade). Use "-"
530
+ # The Kubernetes version to change the nodes to (typically an upgrade). Use `-`
403
531
  # to upgrade to the latest version supported by the server.
404
532
  # Corresponds to the JSON property `desiredNodeVersion`
405
533
  # @return [String]
406
534
  attr_accessor :desired_node_version
407
535
 
536
+ # The monitoring service the cluster should use to write metrics. Currently
537
+ # available options: * "monitoring.googleapis.com" - the Google Cloud Monitoring
538
+ # service * "none" - no metrics will be exported from the cluster
539
+ # Corresponds to the JSON property `desiredMonitoringService`
540
+ # @return [String]
541
+ attr_accessor :desired_monitoring_service
542
+
543
+ # Configuration for the addons that can be automatically spun up in the cluster,
544
+ # enabling additional functionality.
545
+ # Corresponds to the JSON property `desiredAddonsConfig`
546
+ # @return [Google::Apis::ContainerV1::AddonsConfig]
547
+ attr_accessor :desired_addons_config
548
+
549
+ # The Kubernetes version to change the master to. The only valid value is the
550
+ # latest supported version. Use "-" to have the server automatically select the
551
+ # latest version.
552
+ # Corresponds to the JSON property `desiredMasterVersion`
553
+ # @return [String]
554
+ attr_accessor :desired_master_version
555
+
408
556
  def initialize(**args)
409
557
  update!(**args)
410
558
  end
@@ -412,6 +560,9 @@ module Google
412
560
  # Update properties of this object
413
561
  def update!(**args)
414
562
  @desired_node_version = args[:desired_node_version] if args.key?(:desired_node_version)
563
+ @desired_monitoring_service = args[:desired_monitoring_service] if args.key?(:desired_monitoring_service)
564
+ @desired_addons_config = args[:desired_addons_config] if args.key?(:desired_addons_config)
565
+ @desired_master_version = args[:desired_master_version] if args.key?(:desired_master_version)
415
566
  end
416
567
  end
417
568
 
@@ -424,6 +575,12 @@ module Google
424
575
  # @return [Array<Google::Apis::ContainerV1::Operation>]
425
576
  attr_accessor :operations
426
577
 
578
+ # If any zones are listed here, the list of operations returned may be missing
579
+ # the operations from those zones.
580
+ # Corresponds to the JSON property `missingZones`
581
+ # @return [Array<String>]
582
+ attr_accessor :missing_zones
583
+
427
584
  def initialize(**args)
428
585
  update!(**args)
429
586
  end
@@ -431,14 +588,15 @@ module Google
431
588
  # Update properties of this object
432
589
  def update!(**args)
433
590
  @operations = args[:operations] if args.key?(:operations)
591
+ @missing_zones = args[:missing_zones] if args.key?(:missing_zones)
434
592
  end
435
593
  end
436
594
 
437
- # Container Engine Server configuration.
595
+ # Container Engine service configuration.
438
596
  class ServerConfig
439
597
  include Google::Apis::Core::Hashable
440
598
 
441
- # What version this server deploys by default.
599
+ # Version of Kubernetes the service deploys by default.
442
600
  # Corresponds to the JSON property `defaultClusterVersion`
443
601
  # @return [String]
444
602
  attr_accessor :default_cluster_version