6.0.0 • Published 5 years ago

@datafire/google_container v6.0.0

Weekly downloads
1
License
MIT
Repository
github
Last release
5 years ago

@datafire/google_container

Client library for Kubernetes Engine API

Installation and Usage

npm install --save @datafire/google_container
let google_container = require('@datafire/google_container').create({
  access_token: "",
  refresh_token: "",
  client_id: "",
  client_secret: "",
  redirect_uri: ""
});

.then(data => {
  console.log(data);
});

Description

Builds and manages container-based applications, powered by the open source Kubernetes technology.

Actions

oauthCallback

Exchange the code passed to your redirect URI for an access_token

google_container.oauthCallback({
  "code": ""
}, context)

Input

  • input object
    • code required string

Output

  • output object
    • access_token string
    • refresh_token string
    • token_type string
    • scope string
    • expiration string

oauthRefresh

Exchange a refresh_token for an access_token

google_container.oauthRefresh(null, context)

Input

This action has no parameters

Output

  • output object
    • access_token string
    • refresh_token string
    • token_type string
    • scope string
    • expiration string

container.projects.zones.clusters.list

Lists all clusters owned by a project in either the specified zone or all zones.

google_container.container.projects.zones.clusters.list({
  "projectId": "",
  "zone": ""
}, context)

Input

  • input object
    • projectId required string: Required. Deprecated. The Google Developers Console project ID or project number. This field has been deprecated and replaced by the parent field.
    • zone required string: Required. Deprecated. The name of the Google Compute Engine zone in which the cluster resides, or "-" for all zones. This field has been deprecated and replaced by the parent field.
    • parent string: The parent (project and location) where the clusters will be listed. Specified in the format projects/*/locations/*. Location "-" matches all zones and all regions.
    • $.xgafv string (values: 1, 2): V1 error format.
    • access_token string: OAuth access token.
    • alt string (values: json, media, proto): Data format for response.
    • callback string: JSONP
    • fields string: Selector specifying which fields to include in a partial response.
    • key string: API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token.
    • oauth_token string: OAuth 2.0 token for the current user.
    • prettyPrint boolean: Returns response with indentations and line breaks.
    • quotaUser string: Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters.
    • upload_protocol string: Upload protocol for media (e.g. "raw", "multipart").
    • uploadType string: Legacy upload protocol for media (e.g. "media", "multipart").

Output

container.projects.zones.clusters.create

Creates a cluster, consisting of the specified number and type of Google Compute Engine instances. By default, the cluster is created in the project's default network. One firewall is added for the cluster. After cluster creation, the Kubelet creates routes for each node to allow the containers on that node to communicate with all other instances in the cluster. Finally, an entry is added to the project's global metadata indicating which CIDR range the cluster is using.

google_container.container.projects.zones.clusters.create({
  "projectId": "",
  "zone": ""
}, context)

Input

  • input object
    • projectId required string: Required. Deprecated. The Google Developers Console project ID or project number. This field has been deprecated and replaced by the parent field.
    • zone required string: Required. Deprecated. The name of the Google Compute Engine zone in which the cluster resides. This field has been deprecated and replaced by the parent field.
    • body CreateClusterRequest
    • $.xgafv string (values: 1, 2): V1 error format.
    • access_token string: OAuth access token.
    • alt string (values: json, media, proto): Data format for response.
    • callback string: JSONP
    • fields string: Selector specifying which fields to include in a partial response.
    • key string: API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token.
    • oauth_token string: OAuth 2.0 token for the current user.
    • prettyPrint boolean: Returns response with indentations and line breaks.
    • quotaUser string: Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters.
    • upload_protocol string: Upload protocol for media (e.g. "raw", "multipart").
    • uploadType string: Legacy upload protocol for media (e.g. "media", "multipart").

Output

container.projects.zones.clusters.delete

Deletes the cluster, including the Kubernetes endpoint and all worker nodes. Firewalls and routes that were configured during cluster creation are also deleted. Other Google Compute Engine resources that might be in use by the cluster, such as load balancer resources, are not deleted if they weren't present when the cluster was initially created.

google_container.container.projects.zones.clusters.delete({
  "projectId": "",
  "zone": "",
  "clusterId": ""
}, context)

Input

  • input object
    • projectId required string: Required. Deprecated. The Google Developers Console project ID or project number. This field has been deprecated and replaced by the name field.
    • zone required string: Required. Deprecated. The name of the Google Compute Engine zone in which the cluster resides. This field has been deprecated and replaced by the name field.
    • clusterId required string: Required. Deprecated. The name of the cluster to delete. This field has been deprecated and replaced by the name field.
    • name string: The name (project, location, cluster) of the cluster to delete. Specified in the format projects/*/locations/*/clusters/*.
    • $.xgafv string (values: 1, 2): V1 error format.
    • access_token string: OAuth access token.
    • alt string (values: json, media, proto): Data format for response.
    • callback string: JSONP
    • fields string: Selector specifying which fields to include in a partial response.
    • key string: API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token.
    • oauth_token string: OAuth 2.0 token for the current user.
    • prettyPrint boolean: Returns response with indentations and line breaks.
    • quotaUser string: Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters.
    • upload_protocol string: Upload protocol for media (e.g. "raw", "multipart").
    • uploadType string: Legacy upload protocol for media (e.g. "media", "multipart").

Output

container.projects.zones.clusters.get

Gets the details for a specific cluster.

google_container.container.projects.zones.clusters.get({
  "projectId": "",
  "zone": "",
  "clusterId": ""
}, context)

Input

  • input object
    • projectId required string: Required. Deprecated. The Google Developers Console project ID or project number. This field has been deprecated and replaced by the name field.
    • zone required string: Required. Deprecated. The name of the Google Compute Engine zone in which the cluster resides. This field has been deprecated and replaced by the name field.
    • clusterId required string: Required. Deprecated. The name of the cluster to retrieve. This field has been deprecated and replaced by the name field.
    • name string: The name (project, location, cluster) of the cluster to retrieve. Specified in the format projects/*/locations/*/clusters/*.
    • $.xgafv string (values: 1, 2): V1 error format.
    • access_token string: OAuth access token.
    • alt string (values: json, media, proto): Data format for response.
    • callback string: JSONP
    • fields string: Selector specifying which fields to include in a partial response.
    • key string: API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token.
    • oauth_token string: OAuth 2.0 token for the current user.
    • prettyPrint boolean: Returns response with indentations and line breaks.
    • quotaUser string: Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters.
    • upload_protocol string: Upload protocol for media (e.g. "raw", "multipart").
    • uploadType string: Legacy upload protocol for media (e.g. "media", "multipart").

Output

container.projects.zones.clusters.update

Updates the settings for a specific cluster.

google_container.container.projects.zones.clusters.update({
  "projectId": "",
  "zone": "",
  "clusterId": ""
}, context)

Input

  • input object
    • projectId required string: Required. Deprecated. The Google Developers Console project ID or project number. This field has been deprecated and replaced by the name field.
    • zone required string: Required. Deprecated. The name of the Google Compute Engine zone in which the cluster resides. This field has been deprecated and replaced by the name field.
    • clusterId required string: Required. Deprecated. The name of the cluster to upgrade. This field has been deprecated and replaced by the name field.
    • body UpdateClusterRequest
    • $.xgafv string (values: 1, 2): V1 error format.
    • access_token string: OAuth access token.
    • alt string (values: json, media, proto): Data format for response.
    • callback string: JSONP
    • fields string: Selector specifying which fields to include in a partial response.
    • key string: API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token.
    • oauth_token string: OAuth 2.0 token for the current user.
    • prettyPrint boolean: Returns response with indentations and line breaks.
    • quotaUser string: Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters.
    • upload_protocol string: Upload protocol for media (e.g. "raw", "multipart").
    • uploadType string: Legacy upload protocol for media (e.g. "media", "multipart").

Output

container.projects.zones.clusters.addons

Sets the addons for a specific cluster.

google_container.container.projects.zones.clusters.addons({
  "projectId": "",
  "zone": "",
  "clusterId": ""
}, context)

Input

  • input object
    • projectId required string: Required. Deprecated. The Google Developers Console project ID or project number. This field has been deprecated and replaced by the name field.
    • zone required string: Required. Deprecated. The name of the Google Compute Engine zone in which the cluster resides. This field has been deprecated and replaced by the name field.
    • clusterId required string: Required. Deprecated. The name of the cluster to upgrade. This field has been deprecated and replaced by the name field.
    • body SetAddonsConfigRequest
    • $.xgafv string (values: 1, 2): V1 error format.
    • access_token string: OAuth access token.
    • alt string (values: json, media, proto): Data format for response.
    • callback string: JSONP
    • fields string: Selector specifying which fields to include in a partial response.
    • key string: API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token.
    • oauth_token string: OAuth 2.0 token for the current user.
    • prettyPrint boolean: Returns response with indentations and line breaks.
    • quotaUser string: Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters.
    • upload_protocol string: Upload protocol for media (e.g. "raw", "multipart").
    • uploadType string: Legacy upload protocol for media (e.g. "media", "multipart").

Output

container.projects.zones.clusters.legacyAbac

Enables or disables the ABAC authorization mechanism on a cluster.

google_container.container.projects.zones.clusters.legacyAbac({
  "projectId": "",
  "zone": "",
  "clusterId": ""
}, context)

Input

  • input object
    • projectId required string: Required. Deprecated. The Google Developers Console project ID or project number. This field has been deprecated and replaced by the name field.
    • zone required string: Required. Deprecated. The name of the Google Compute Engine zone in which the cluster resides. This field has been deprecated and replaced by the name field.
    • clusterId required string: Required. Deprecated. The name of the cluster to update. This field has been deprecated and replaced by the name field.
    • body SetLegacyAbacRequest
    • $.xgafv string (values: 1, 2): V1 error format.
    • access_token string: OAuth access token.
    • alt string (values: json, media, proto): Data format for response.
    • callback string: JSONP
    • fields string: Selector specifying which fields to include in a partial response.
    • key string: API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token.
    • oauth_token string: OAuth 2.0 token for the current user.
    • prettyPrint boolean: Returns response with indentations and line breaks.
    • quotaUser string: Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters.
    • upload_protocol string: Upload protocol for media (e.g. "raw", "multipart").
    • uploadType string: Legacy upload protocol for media (e.g. "media", "multipart").

Output

container.projects.zones.clusters.locations

Sets the locations for a specific cluster. Deprecated. Use projects.locations.clusters.update instead.

google_container.container.projects.zones.clusters.locations({
  "projectId": "",
  "zone": "",
  "clusterId": ""
}, context)

Input

  • input object
    • projectId required string: Required. Deprecated. The Google Developers Console project ID or project number. This field has been deprecated and replaced by the name field.
    • zone required string: Required. Deprecated. The name of the Google Compute Engine zone in which the cluster resides. This field has been deprecated and replaced by the name field.
    • clusterId required string: Required. Deprecated. The name of the cluster to upgrade. This field has been deprecated and replaced by the name field.
    • body SetLocationsRequest
    • $.xgafv string (values: 1, 2): V1 error format.
    • access_token string: OAuth access token.
    • alt string (values: json, media, proto): Data format for response.
    • callback string: JSONP
    • fields string: Selector specifying which fields to include in a partial response.
    • key string: API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token.
    • oauth_token string: OAuth 2.0 token for the current user.
    • prettyPrint boolean: Returns response with indentations and line breaks.
    • quotaUser string: Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters.
    • upload_protocol string: Upload protocol for media (e.g. "raw", "multipart").
    • uploadType string: Legacy upload protocol for media (e.g. "media", "multipart").

Output

container.projects.zones.clusters.logging

Sets the logging service for a specific cluster.

google_container.container.projects.zones.clusters.logging({
  "projectId": "",
  "zone": "",
  "clusterId": ""
}, context)

Input

  • input object
    • projectId required string: Required. Deprecated. The Google Developers Console project ID or project number. This field has been deprecated and replaced by the name field.
    • zone required string: Required. Deprecated. The name of the Google Compute Engine zone in which the cluster resides. This field has been deprecated and replaced by the name field.
    • clusterId required string: Required. Deprecated. The name of the cluster to upgrade. This field has been deprecated and replaced by the name field.
    • body SetLoggingServiceRequest
    • $.xgafv string (values: 1, 2): V1 error format.
    • access_token string: OAuth access token.
    • alt string (values: json, media, proto): Data format for response.
    • callback string: JSONP
    • fields string: Selector specifying which fields to include in a partial response.
    • key string: API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token.
    • oauth_token string: OAuth 2.0 token for the current user.
    • prettyPrint boolean: Returns response with indentations and line breaks.
    • quotaUser string: Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters.
    • upload_protocol string: Upload protocol for media (e.g. "raw", "multipart").
    • uploadType string: Legacy upload protocol for media (e.g. "media", "multipart").

Output

container.projects.zones.clusters.master

Updates the master for a specific cluster.

google_container.container.projects.zones.clusters.master({
  "projectId": "",
  "zone": "",
  "clusterId": ""
}, context)

Input

  • input object
    • projectId required string: Required. Deprecated. The Google Developers Console project ID or project number. This field has been deprecated and replaced by the name field.
    • zone required string: Required. Deprecated. The name of the Google Compute Engine zone in which the cluster resides. This field has been deprecated and replaced by the name field.
    • clusterId required string: Required. Deprecated. The name of the cluster to upgrade. This field has been deprecated and replaced by the name field.
    • body UpdateMasterRequest
    • $.xgafv string (values: 1, 2): V1 error format.
    • access_token string: OAuth access token.
    • alt string (values: json, media, proto): Data format for response.
    • callback string: JSONP
    • fields string: Selector specifying which fields to include in a partial response.
    • key string: API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token.
    • oauth_token string: OAuth 2.0 token for the current user.
    • prettyPrint boolean: Returns response with indentations and line breaks.
    • quotaUser string: Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters.
    • upload_protocol string: Upload protocol for media (e.g. "raw", "multipart").
    • uploadType string: Legacy upload protocol for media (e.g. "media", "multipart").

Output

container.projects.zones.clusters.monitoring

Sets the monitoring service for a specific cluster.

google_container.container.projects.zones.clusters.monitoring({
  "projectId": "",
  "zone": "",
  "clusterId": ""
}, context)

Input

  • input object
    • projectId required string: Required. Deprecated. The Google Developers Console project ID or project number. This field has been deprecated and replaced by the name field.
    • zone required string: Required. Deprecated. The name of the Google Compute Engine zone in which the cluster resides. This field has been deprecated and replaced by the name field.
    • clusterId required string: Required. Deprecated. The name of the cluster to upgrade. This field has been deprecated and replaced by the name field.
    • body SetMonitoringServiceRequest
    • $.xgafv string (values: 1, 2): V1 error format.
    • access_token string: OAuth access token.
    • alt string (values: json, media, proto): Data format for response.
    • callback string: JSONP
    • fields string: Selector specifying which fields to include in a partial response.
    • key string: API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token.
    • oauth_token string: OAuth 2.0 token for the current user.
    • prettyPrint boolean: Returns response with indentations and line breaks.
    • quotaUser string: Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters.
    • upload_protocol string: Upload protocol for media (e.g. "raw", "multipart").
    • uploadType string: Legacy upload protocol for media (e.g. "media", "multipart").

Output

container.projects.zones.clusters.nodePools.list

Lists the node pools for a cluster.

google_container.container.projects.zones.clusters.nodePools.list({
  "projectId": "",
  "zone": "",
  "clusterId": ""
}, context)

Input

  • input object
    • projectId required string: Required. Deprecated. The Google Developers Console project ID or project number. This field has been deprecated and replaced by the parent field.
    • zone required string: Required. Deprecated. The name of the Google Compute Engine zone in which the cluster resides. This field has been deprecated and replaced by the parent field.
    • clusterId required string: Required. Deprecated. The name of the cluster. This field has been deprecated and replaced by the parent field.
    • parent string: The parent (project, location, cluster id) where the node pools will be listed. Specified in the format projects/*/locations/*/clusters/*.
    • $.xgafv string (values: 1, 2): V1 error format.
    • access_token string: OAuth access token.
    • alt string (values: json, media, proto): Data format for response.
    • callback string: JSONP
    • fields string: Selector specifying which fields to include in a partial response.
    • key string: API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token.
    • oauth_token string: OAuth 2.0 token for the current user.
    • prettyPrint boolean: Returns response with indentations and line breaks.
    • quotaUser string: Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters.
    • upload_protocol string: Upload protocol for media (e.g. "raw", "multipart").
    • uploadType string: Legacy upload protocol for media (e.g. "media", "multipart").

Output

container.projects.zones.clusters.nodePools.create

Creates a node pool for a cluster.

google_container.container.projects.zones.clusters.nodePools.create({
  "projectId": "",
  "zone": "",
  "clusterId": ""
}, context)

Input

  • input object
    • projectId required string: Required. Deprecated. The Google Developers Console project ID or project number. This field has been deprecated and replaced by the parent field.
    • zone required string: Required. Deprecated. The name of the Google Compute Engine zone in which the cluster resides. This field has been deprecated and replaced by the parent field.
    • clusterId required string: Required. Deprecated. The name of the cluster. This field has been deprecated and replaced by the parent field.
    • body CreateNodePoolRequest
    • $.xgafv string (values: 1, 2): V1 error format.
    • access_token string: OAuth access token.
    • alt string (values: json, media, proto): Data format for response.
    • callback string: JSONP
    • fields string: Selector specifying which fields to include in a partial response.
    • key string: API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token.
    • oauth_token string: OAuth 2.0 token for the current user.
    • prettyPrint boolean: Returns response with indentations and line breaks.
    • quotaUser string: Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters.
    • upload_protocol string: Upload protocol for media (e.g. "raw", "multipart").
    • uploadType string: Legacy upload protocol for media (e.g. "media", "multipart").

Output

container.projects.zones.clusters.nodePools.delete

Deletes a node pool from a cluster.

google_container.container.projects.zones.clusters.nodePools.delete({
  "projectId": "",
  "zone": "",
  "clusterId": "",
  "nodePoolId": ""
}, context)

Input

  • input object
    • projectId required string: Required. Deprecated. The Google Developers Console project ID or project number. This field has been deprecated and replaced by the name field.
    • zone required string: Required. Deprecated. The name of the Google Compute Engine zone in which the cluster resides. This field has been deprecated and replaced by the name field.
    • clusterId required string: Required. Deprecated. The name of the cluster. This field has been deprecated and replaced by the name field.
    • nodePoolId required string: Required. Deprecated. The name of the node pool to delete. This field has been deprecated and replaced by the name field.
    • name string: The name (project, location, cluster, node pool id) of the node pool to delete. Specified in the format projects/*/locations/*/clusters/*/nodePools/*.
    • $.xgafv string (values: 1, 2): V1 error format.
    • access_token string: OAuth access token.
    • alt string (values: json, media, proto): Data format for response.
    • callback string: JSONP
    • fields string: Selector specifying which fields to include in a partial response.
    • key string: API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token.
    • oauth_token string: OAuth 2.0 token for the current user.
    • prettyPrint boolean: Returns response with indentations and line breaks.
    • quotaUser string: Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters.
    • upload_protocol string: Upload protocol for media (e.g. "raw", "multipart").
    • uploadType string: Legacy upload protocol for media (e.g. "media", "multipart").

Output

container.projects.zones.clusters.nodePools.get

Retrieves the requested node pool.

google_container.container.projects.zones.clusters.nodePools.get({
  "projectId": "",
  "zone": "",
  "clusterId": "",
  "nodePoolId": ""
}, context)

Input

  • input object
    • projectId required string: Required. Deprecated. The Google Developers Console project ID or project number. This field has been deprecated and replaced by the name field.
    • zone required string: Required. Deprecated. The name of the Google Compute Engine zone in which the cluster resides. This field has been deprecated and replaced by the name field.
    • clusterId required string: Required. Deprecated. The name of the cluster. This field has been deprecated and replaced by the name field.
    • nodePoolId required string: Required. Deprecated. The name of the node pool. This field has been deprecated and replaced by the name field.
    • name string: The name (project, location, cluster, node pool id) of the node pool to get. Specified in the format projects/*/locations/*/clusters/*/nodePools/*.
    • $.xgafv string (values: 1, 2): V1 error format.
    • access_token string: OAuth access token.
    • alt string (values: json, media, proto): Data format for response.
    • callback string: JSONP
    • fields string: Selector specifying which fields to include in a partial response.
    • key string: API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token.
    • oauth_token string: OAuth 2.0 token for the current user.
    • prettyPrint boolean: Returns response with indentations and line breaks.
    • quotaUser string: Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters.
    • upload_protocol string: Upload protocol for media (e.g. "raw", "multipart").
    • uploadType string: Legacy upload protocol for media (e.g. "media", "multipart").

Output

container.projects.zones.clusters.nodePools.autoscaling

Sets the autoscaling settings of a specific node pool.

google_container.container.projects.zones.clusters.nodePools.autoscaling({
  "projectId": "",
  "zone": "",
  "clusterId": "",
  "nodePoolId": ""
}, context)

Input

  • input object
    • projectId required string: Required. Deprecated. The Google Developers Console project ID or project number. This field has been deprecated and replaced by the name field.
    • zone required string: Required. Deprecated. The name of the Google Compute Engine zone in which the cluster resides. This field has been deprecated and replaced by the name field.
    • clusterId required string: Required. Deprecated. The name of the cluster to upgrade. This field has been deprecated and replaced by the name field.
    • nodePoolId required string: Required. Deprecated. The name of the node pool to upgrade. This field has been deprecated and replaced by the name field.
    • body SetNodePoolAutoscalingRequest
    • $.xgafv string (values: 1, 2): V1 error format.
    • access_token string: OAuth access token.
    • alt string (values: json, media, proto): Data format for response.
    • callback string: JSONP
    • fields string: Selector specifying which fields to include in a partial response.
    • key string: API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token.
    • oauth_token string: OAuth 2.0 token for the current user.
    • prettyPrint boolean: Returns response with indentations and line breaks.
    • quotaUser string: Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters.
    • upload_protocol string: Upload protocol for media (e.g. "raw", "multipart").
    • uploadType string: Legacy upload protocol for media (e.g. "media", "multipart").

Output

container.projects.zones.clusters.nodePools.setManagement

Sets the NodeManagement options for a node pool.

google_container.container.projects.zones.clusters.nodePools.setManagement({
  "projectId": "",
  "zone": "",
  "clusterId": "",
  "nodePoolId": ""
}, context)

Input

  • input object
    • projectId required string: Required. Deprecated. The Google Developers Console project ID or project number. This field has been deprecated and replaced by the name field.
    • zone required string: Required. Deprecated. The name of the Google Compute Engine zone in which the cluster resides. This field has been deprecated and replaced by the name field.
    • clusterId required string: Required. Deprecated. The name of the cluster to update. This field has been deprecated and replaced by the name field.
    • nodePoolId required string: Required. Deprecated. The name of the node pool to update. This field has been deprecated and replaced by the name field.
    • body SetNodePoolManagementRequest
    • $.xgafv string (values: 1, 2): V1 error format.
    • access_token string: OAuth access token.
    • alt string (values: json, media, proto): Data format for response.
    • callback string: JSONP
    • fields string: Selector specifying which fields to include in a partial response.
    • key string: API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token.
    • oauth_token string: OAuth 2.0 token for the current user.
    • prettyPrint boolean: Returns response with indentations and line breaks.
    • quotaUser string: Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters.
    • upload_protocol string: Upload protocol for media (e.g. "raw", "multipart").
    • uploadType string: Legacy upload protocol for media (e.g. "media", "multipart").

Output

container.projects.zones.clusters.nodePools.setSize

SetNodePoolSizeRequest sets the size of a node pool. The new size will be used for all replicas, including future replicas created by modifying NodePool.locations.

google_container.container.projects.zones.clusters.nodePools.setSize({
  "projectId": "",
  "zone": "",
  "clusterId": "",
  "nodePoolId": ""
}, context)

Input

  • input object
    • projectId required string: Required. Deprecated. The Google Developers Console project ID or project number. This field has been deprecated and replaced by the name field.
    • zone required string: Required. Deprecated. The name of the Google Compute Engine zone in which the cluster resides. This field has been deprecated and replaced by the name field.
    • clusterId required string: Required. Deprecated. The name of the cluster to update. This field has been deprecated and replaced by the name field.
    • nodePoolId required string: Required. Deprecated. The name of the node pool to update. This field has been deprecated and replaced by the name field.
    • body SetNodePoolSizeRequest
    • $.xgafv string (values: 1, 2): V1 error format.
    • access_token string: OAuth access token.
    • alt string (values: json, media, proto): Data format for response.
    • callback string: JSONP
    • fields string: Selector specifying which fields to include in a partial response.
    • key string: API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token.
    • oauth_token string: OAuth 2.0 token for the current user.
    • prettyPrint boolean: Returns response with indentations and line breaks.
    • quotaUser string: Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters.
    • upload_protocol string: Upload protocol for media (e.g. "raw", "multipart").
    • uploadType string: Legacy upload protocol for media (e.g. "media", "multipart").

Output

container.projects.zones.clusters.nodePools.update

Updates the version and/or image type of a specific node pool.

google_container.container.projects.zones.clusters.nodePools.update({
  "projectId": "",
  "zone": "",
  "clusterId": "",
  "nodePoolId": ""
}, context)

Input

  • input object
    • projectId required string: Required. Deprecated. The Google Developers Console project ID or project number. This field has been deprecated and replaced by the name field.
    • zone required string: Required. Deprecated. The name of the Google Compute Engine zone in which the cluster resides. This field has been deprecated and replaced by the name field.
    • clusterId required string: Required. Deprecated. The name of the cluster to upgrade. This field has been deprecated and replaced by the name field.
    • nodePoolId required string: Required. Deprecated. The name of the node pool to upgrade. This field has been deprecated and replaced by the name field.
    • body UpdateNodePoolRequest
    • $.xgafv string (values: 1, 2): V1 error format.
    • access_token string: OAuth access token.
    • alt string (values: json, media, proto): Data format for response.
    • callback string: JSONP
    • fields string: Selector specifying which fields to include in a partial response.
    • key string: API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token.
    • oauth_token string: OAuth 2.0 token for the current user.
    • prettyPrint boolean: Returns response with indentations and line breaks.
    • quotaUser string: Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters.
    • upload_protocol string: Upload protocol for media (e.g. "raw", "multipart").
    • uploadType string: Legacy upload protocol for media (e.g. "media", "multipart").

Output

container.projects.zones.clusters.nodePools.rollback

Rolls back a previously Aborted or Failed NodePool upgrade. This makes no changes if the last upgrade successfully completed.

google_container.container.projects.zones.clusters.nodePools.rollback({
  "projectId": "",
  "zone": "",
  "clusterId": "",
  "nodePoolId": ""
}, context)

Input

  • input object
    • projectId required string: Required. Deprecated. The Google Developers Console project ID or project number. This field has been deprecated and replaced by the name field.
    • zone required string: Required. Deprecated. The name of the Google Compute Engine zone in which the cluster resides. This field has been deprecated and replaced by the name field.
    • clusterId required string: Required. Deprecated. The name of the cluster to rollback. This field has been deprecated and replaced by the name field.
    • nodePoolId required string: Required. Deprecated. The name of the node pool to rollback. This field has been deprecated and replaced by the name field.
    • body RollbackNodePoolUpgradeRequest
    • $.xgafv string (values: 1, 2): V1 error format.
    • access_token string: OAuth access token.
    • alt string (values: json, media, proto): Data format for response.
    • callback string: JSONP
    • fields string: Selector specifying which fields to include in a partial response.
    • key string: API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token.
    • oauth_token string: OAuth 2.0 token for the current user.
    • prettyPrint boolean: Returns response with indentations and line breaks.
    • quotaUser string: Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters.
    • upload_protocol string: Upload protocol for media (e.g. "raw", "multipart").
    • uploadType string: Legacy upload protocol for media (e.g. "media", "multipart").

Output

container.projects.zones.clusters.resourceLabels

Sets labels on a cluster.

google_container.container.projects.zones.clusters.resourceLabels({
  "projectId": "",
  "zone": "",
  "clusterId": ""
}, context)

Input

  • input object
    • projectId required string: Required. Deprecated. The Google Developers Console project ID or project number. This field has been deprecated and replaced by the name field.
    • zone required string: Required. Deprecated. The name of the Google Compute Engine zone in which the cluster resides. This field has been deprecated and replaced by the name field.
    • clusterId required string: Required. Deprecated. The name of the cluster. This field has been deprecated and replaced by the name field.
    • body SetLabelsRequest
    • $.xgafv string (values: 1, 2): V1 error format.
    • access_token string: OAuth access token.
    • alt string (values: json, media, proto): Data format for response.
    • callback string: JSONP
    • fields string: Selector specifying which fields to include in a partial response.
    • key string: API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token.
    • oauth_token string: OAuth 2.0 token for the current user.
    • prettyPrint boolean: Returns response with indentations and line breaks.
    • quotaUser string: Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters.
    • upload_protocol string: Upload protocol for media (e.g. "raw", "multipart").
    • uploadType string: Legacy upload protocol for media (e.g. "media", "multipart").

Output

container.projects.zones.clusters.completeIpRotation

Completes master IP rotation.

google_container.container.projects.zones.clusters.completeIpRotation({
  "projectId": "",
  "zone": "",
  "clusterId": ""
}, context)

Input

  • input object
    • projectId required string: Required. Deprecated. The Google Developers Console project ID or project number. This field has been deprecated and replaced by the name field.
    • zone required string: Required. Deprecated. The name of the Google Compute Engine zone in which the cluster resides. This field has been deprecated and replaced by the name field.
    • clusterId required string: Required. Deprecated. The name of the cluster. This field has been deprecated and replaced by the name field.
    • body CompleteIPRotationRequest
    • $.xgafv string (values: 1, 2): V1 error format.
    • access_token string: OAuth access token.
    • alt string (values: json, media, proto): Data format for response.
    • callback string: JSONP
    • fields string: Selector specifying which fields to include in a partial response.
    • key string: API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token.
    • oauth_token string: OAuth 2.0 token for the current user.
    • prettyPrint boolean: Returns response with indentations and line breaks.
    • quotaUser string: Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters.
    • upload_protocol string: Upload protocol for media (e.g. "raw", "multipart").
    • uploadType string: Legacy upload protocol for media (e.g. "media", "multipart").

Output

container.projects.zones.clusters.setMaintenancePolicy

Sets the maintenance policy for a cluster.

google_container.container.projects.zones.clusters.setMaintenancePolicy({
  "projectId": "",
  "zone": "",
  "clusterId": ""
}, context)

Input

  • input object
    • projectId required string: Required. The Google Developers Console project ID or project number.
    • zone required string: Required. The name of the Google Compute Engine zone in which the cluster resides.
    • clusterId required string: Required. The name of the cluster to update.
    • body SetMaintenancePolicyRequest
    • $.xgafv string (values: 1, 2): V1 error format.
    • access_token string: OAuth access token.
    • alt string (values: json, media, proto): Data format for response.
    • callback string: JSONP
    • fields string: Selector specifying which fields to include in a partial response.
    • key string: API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token.
    • oauth_token string: OAuth 2.0 token for the current user.
    • prettyPrint boolean: Returns response with indentations and line breaks.
    • quotaUser string: Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters.
    • upload_protocol string: Upload protocol for media (e.g. "raw", "multipart").
    • uploadType string: Legacy upload protocol for media (e.g. "media", "multipart").

Output

container.projects.zones.clusters.setMasterAuth

Sets master auth materials. Currently supports changing the admin password or a specific cluster, either via password generation or explicitly setting the password.

google_container.container.projects.zones.clusters.setMasterAuth({
  "projectId": "",
  "zone": "",
  "clusterId": ""
}, context)

Input

  • input object
    • projectId required string: Required. Deprecated. The Google Developers Console project ID or project number. This field has been deprecated and replaced by the name field.
    • zone required string: Required. Deprecated. The name of the Google Compute Engine zone in which the cluster resides. This field has been deprecated and replaced by the name field.
    • clusterId required string: Required. Deprecated. The name of the cluster to upgrade. This field has been deprecated and replaced by the name field.
    • body SetMasterAuthRequest
    • $.xgafv string (values: 1, 2): V1 error format.
    • access_token string: OAuth access token.
    • alt string (values: json, media, proto): Data format for response.
    • callback string: JSONP
    • fields string: Selector specifying which fields to include in a partial response.
    • key string: API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token.
    • oauth_token string: OAuth 2.0 token for the current user.
    • prettyPrint boolean: Returns response with indentations and line breaks.
    • quotaUser string: Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters.
    • upload_protocol string: Upload protocol for media (e.g. "raw", "multipart").
    • uploadType string: Legacy upload protocol for media (e.g. "media", "multipart").

Output

container.projects.zones.clusters.setNetworkPolicy

Enables or disables Network Policy for a cluster.

google_container.container.projects.zones.clusters.setNetworkPolicy({
  "projectId": "",
  "zone": "",
  "clusterId": ""
}, context)

Input

  • input object
    • projectId required string: Required. Deprecated. The Google Developers Console project ID or project number. This field has been deprecated and replaced by the name field.
    • zone required string: Required. Deprecated. The name of the Google Compute Engine zone in which the cluster resides. This field has been deprecated and replaced by the name field.
    • clusterId required string: Required. Deprecated. The name of the cluster. This field has been deprecated and replaced by the name field.
    • body SetNetworkPolicyRequest
    • $.xgafv string (values: 1, 2): V1 error format.
    • access_token string: OAuth access token.
    • alt string (values: json, media, proto): Data format for response.
    • callback string: JSONP
    • fields string: Selector specifying which fields to include in a partial response.
    • key string: API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token.
    • oauth_token string: OAuth 2.0 token for the current user.
    • prettyPrint boolean: Returns response with indentations and line breaks.
    • quotaUser string: Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters.
    • upload_protocol string: Upload protocol for media (e.g. "raw", "multipart").
    • uploadType string: Legacy upload protocol for media (e.g. "media", "multipart").

Output

container.projects.zones.clusters.startIpRotation

Starts master IP rotation.

google_container.container.projects.zones.clusters.startIpRotation({
  "projectId": "",
  "zone": "",
  "clusterId": ""
}, context)

Input

  • input object
    • projectId required string: Required. Deprecated. The Google Developers Console project ID or project number. This field has been deprecated and replaced by the name field.
    • zone required string: Required. Deprecated. The name of the Google Compute Engine zone in which the cluster resides. This field has been deprecated and replaced by the name field.
    • clusterId required string: Required. Deprecated. The name of the cluster. This field has been deprecated and replaced by the name field.
    • body StartIPRotationRequest
    • $.xgafv string (values: 1, 2): V1 error format.
    • access_token string: OAuth access token.
    • alt string (values: json, media, proto): Data format for response.
    • callback string: JSONP
    • fields string: Selector specifying which fields to include in a partial response.
    • key string: API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token.
    • oauth_token string: OAuth 2.0 token for the current user.
    • prettyPrint boolean: Returns response with indentations and line breaks.
    • quotaUser string: Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters.
    • upload_protocol string: Upload protocol for media (e.g. "raw", "multipart").
    • uploadType string: Legacy upload protocol for media (e.g. "media", "multipart").

Output

container.projects.zones.operations.list

Lists all operations in a project in the specified zone or all zones.

google_container.container.projects.zones.operations.list({
  "projectId": "",
  "zone": ""
}, context)

Input

  • input object
    • projectId required string: Required. Deprecated. The Google Developers Console project ID or project number. This field has been deprecated and replaced by the parent field.
    • zone required string: Required. Deprecated. The name of the Google Compute Engine zone to return operations for, or - for all zones. This field has been deprecated and replaced by the parent field.
    • parent string: The parent (project and location) where the operations will be listed. Specified in the format projects/*/locations/*. Location "-" matches all zones and all regions.
    • $.xgafv string (values: 1, 2): V1 error format.
    • access_token string: OAuth access token.
    • alt string (values: json, media, proto): Data format for response.
    • callback string: JSONP
    • fields string: Selector specifying which fields to include in a partial response.
    • key string: API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token.
    • oauth_token string: OAuth 2.0 token for the current user.
    • prettyPrint boolean: Returns response with indentations and line breaks.
    • quotaUser string: Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters.
    • upload_protocol string: Upload protocol for media (e.g. "raw", "multipart").
    • uploadType string: Legacy upload protocol for media (e.g. "media", "multipart").

Output

container.projects.zones.operations.get

Gets the specified operation.

google_container.container.projects.zones.operations.get({
  "projectId": "",
  "zone": "",
  "operationId": ""
}, context)

Input

  • input object
    • projectId required string: Required. Deprecated. The Google Developers Console project ID or project number. This field has been deprecated and replaced by the name field.
    • zone required string: Required. Deprecated. The name of the Google Compute Engine zone in which the cluster resides. This field has been deprecated and replaced by the name field.
    • operationId required string: Required. Deprecated. The server-assigned name of the operation. This field has been deprecated and replaced by the name field.
    • name string: The name (project, location, operation id) of the operation to get. Specified in the format projects/*/locations/*/operations/*.
    • $.xgafv string (values: 1, 2): V1 error format.
    • access_token string: OAuth access token.
    • alt string (values: json, media, proto): Data format for response.
    • callback string: JSONP
    • fields string: Selector specifying which fields to include in a partial response.
    • key string: API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token.
    • oauth_token string: OAuth 2.0 token for the current user.
    • prettyPrint boolean: Returns response with indentations and line breaks.
    • quotaUser string: Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters.
    • upload_protocol string: Upload protocol for media (e.g. "raw", "multipart").
    • uploadType string: Legacy upload protocol for media (e.g. "media", "multipart").

Output

container.projects.zones.operations.cancel

Cancels the specified operation.

google_container.container.projects.zones.operations.cancel({
  "projectId": "",
  "zone": "",
  "operationId": ""
}, context)

Input

  • input object
    • projectId required string: Required. Deprecated. The Google Developers Console project ID or project number. This field has been deprecated and replaced by the name field.
    • zone required string: Required. Deprecated. The name of the Google Compute Engine zone in which the operation resides. This field has been deprecated and replaced by the name field.
    • operationId required string: Required. Deprecated. The server-assigned name of the operation. This field has been deprecated and replaced by the name field.
    • body CancelOperationRequest
    • $.xgafv string (values: 1, 2): V1 error format.
    • access_token string: OAuth access token.
    • alt string (values: json, media, proto): Data format for response.
    • callback string: JSONP
    • fields string: Selector specifying which fields to include in a partial response.
    • key string: API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token.
    • oauth_token string: OAuth 2.0 token for the current user.
    • prettyPrint boolean: Returns response with indentations and line breaks.
    • quotaUser string: Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters.
    • upload_protocol string: Upload protocol for media (e.g. "raw", "multipart").
    • uploadType string: Legacy upload protocol for media (e.g. "media", "multipart").

Output

container.projects.zones.getServerconfig

Returns configuration info about the Google Kubernetes Engine service.

google_container.container.projects.zones.getServerconfig({
  "projectId": "",
  "zone": ""
}, context)

Input

  • input object
    • projectId required string: Required. Deprecated. The Google Developers Console project ID or project number. This field has been deprecated and replaced by the name field.
    • zone required string: Required. Deprecated. The name of the Google Compute Engine zone to return operations for. This field has been deprecated and replaced by the name field.
    • name string: The name (project and location) of the server config to get, specified in the format projects/*/locations/*.
    • $.xgafv string (values: 1, 2): V1 error format.
    • access_token string: OAuth access token.
    • alt string (values: json, media, proto): Data format for response.
    • callback string: JSONP
    • fields string: Selector specifying which fields to include in a partial response.
    • key string: API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token.
    • oauth_token string: OAuth 2.0 token for the current user.
    • prettyPrint boolean: Returns response with indentations and line breaks.
    • quotaUser string: Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters.
    • upload_protocol string: Upload protocol for media (e.g. "raw", "multipart").
    • uploadType string: Legacy upload protocol for media (e.g. "media", "multipart").

Output

container.projects.locations.clusters.nodePools.delete

Deletes a node pool from a cluster.

google_container.container.projects.locations.clusters.nodePools.delete({
  "name": ""
}, context)

Input

  • input object
    • name required string: The name (project, location, cluster, node pool id) of the node pool to delete. Specified in the format projects/*/locations/*/clusters/*/nodePools/*.
    • clusterId string: Required. Deprecated. The name of the cluster. This field has been deprecated and replaced by the name field.
    • nodePoolId string: Required. Deprecated. The name of the node pool to delete. This field has been deprecated and replaced by the name field.
    • projectId string: Required. Deprecated. The Google Developers Console project ID or project number. This field has been deprecated and replaced by the name field.
    • zone string: Required. Deprecated. The name of the Google Compute Engine zone in which the cluster resides. This field has been deprecated and replaced by the name field.
    • $.xgafv string (values: 1, 2): V1 error format.
    • access_token string: OAuth access token.
    • alt string (values: json, media, proto): Data format for response.
    • callback string: JSONP
    • fields string: Selector specifying which fields to include in a partial response.
    • key string: API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token.
    • oauth_token string: OAuth 2.0 token for the current user.
    • prettyPrint boolean: Returns response with indentations and line breaks.
    • quotaUser string: Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters.
    • upload_protocol string: Upload protocol for media (e.g. "raw", "multipart").
    • uploadType string: Legacy upload protocol for media (e.g. "media", "multipart").

Output

container.projects.locations.operations.get

Gets the specified operation.

google_container.container.projects.locations.operations.get({
  "name": ""
}, context)

Input

  • input object
    • name required string: The name (project, location, operation id) of the operation to get. Specified in the format projects/*/locations/*/operations/*.
    • operationId string: Required. Deprecated. The server-assigned name of the operation. This field has been deprecated and replaced by the name field.
    • projectId string: Required. Deprecated. The Google Developers Console project ID or project number. This field has been deprecated and replaced by the name field.
    • zone string: Required. Deprecated. The nam
6.0.0

5 years ago

5.0.0

7 years ago

4.0.0

7 years ago

3.0.0

8 years ago

2.0.3

8 years ago

2.0.2

8 years ago

2.0.1

8 years ago

2.0.0

8 years ago