google_api_container v0.7.0 GoogleApi.Container.V1.Api.Projects View Source

API calls for all endpoints tagged Projects.

Link to this section Summary

Functions

Lists subnetworks that are usable for creating clusters in a project.

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.

Gets the public component of the cluster signing keys in JSON Web Key format. This API is not yet intended for general use, and is not available for all clusters.

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

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

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

Gets the OIDC discovery document for the cluster. See the OpenID Connect Discovery 1.0 specification for details. This API is not yet intended for general use, and is not available for all clusters.

Returns configuration info about the Google Kubernetes Engine service.

Lists all operations in a project in a specific zone or all zones.

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.

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.

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

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

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

Returns configuration info about the Google Kubernetes Engine service.

Link to this section Functions

Link to this function

container_projects_aggregated_usable_subnetworks_list(connection, parent, optional_params \\ [], opts \\ []) View Source

Lists subnetworks that are usable for creating clusters in a project.

Parameters

  • connection (GoogleApi.Container.V1.Connection): Connection to server
  • parent (String.t): The parent project where subnetworks are usable. Specified in the format 'projects/*'.
  • optional_params (KeywordList): [optional] Optional parameters

    • :$.xgafv (String.t): V1 error format.
    • :access_token (String.t): OAuth access token.
    • :alt (String.t): Data format for response.
    • :callback (String.t): JSONP
    • :fields (String.t): Selector specifying which fields to include in a partial response.
    • :key (String.t): 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.t): OAuth 2.0 token for the current user.
    • :prettyPrint (boolean()): Returns response with indentations and line breaks.
    • :quotaUser (String.t): 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.t): Upload protocol for media (e.g. "raw", "multipart").
    • :uploadType (String.t): Legacy upload protocol for media (e.g. "media", "multipart").
    • :filter (String.t): Filtering currently only supports equality on the networkProjectId and must be in the form: "networkProjectId=[PROJECTID]", where `networkProjectId` is the project which owns the listed subnetworks. This defaults to the parent project ID.
    • :pageSize (integer()): The max number of results per page that should be returned. If the number of available results is larger than `page_size`, a `next_page_token` is returned which can be used to get the next page of results in subsequent requests. Acceptable values are 0 to 500, inclusive. (Default: 500)
    • :pageToken (String.t): Specifies a page token to use. Set this to the nextPageToken returned by previous list requests to get the next page of results.

Returns

{:ok, %GoogleApi.Container.V1.Model.ListUsableSubnetworksResponse{}} on success {:error, info} on failure

Link to this function

container_projects_locations_clusters_complete_ip_rotation(connection, name, optional_params \\ [], opts \\ []) View Source

Completes master IP rotation.

Parameters

  • connection (GoogleApi.Container.V1.Connection): Connection to server
  • name (String.t): The name (project, location, cluster id) of the cluster to complete IP rotation. Specified in the format 'projects//locations//clusters/*'.
  • optional_params (KeywordList): [optional] Optional parameters

    • :$.xgafv (String.t): V1 error format.
    • :access_token (String.t): OAuth access token.
    • :alt (String.t): Data format for response.
    • :callback (String.t): JSONP
    • :fields (String.t): Selector specifying which fields to include in a partial response.
    • :key (String.t): 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.t): OAuth 2.0 token for the current user.
    • :prettyPrint (boolean()): Returns response with indentations and line breaks.
    • :quotaUser (String.t): 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.t): Upload protocol for media (e.g. "raw", "multipart").
    • :uploadType (String.t): Legacy upload protocol for media (e.g. "media", "multipart").
    • :body (CompleteIpRotationRequest):

Returns

{:ok, %GoogleApi.Container.V1.Model.Operation{}} on success {:error, info} on failure

Link to this function

container_projects_locations_clusters_create(connection, parent, optional_params \\ [], opts \\ []) View Source

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.

Parameters

  • connection (GoogleApi.Container.V1.Connection): Connection to server
  • parent (String.t): The parent (project and location) where the cluster will be created. Specified in the format 'projects//locations/'.
  • optional_params (KeywordList): [optional] Optional parameters

    • :$.xgafv (String.t): V1 error format.
    • :access_token (String.t): OAuth access token.
    • :alt (String.t): Data format for response.
    • :callback (String.t): JSONP
    • :fields (String.t): Selector specifying which fields to include in a partial response.
    • :key (String.t): 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.t): OAuth 2.0 token for the current user.
    • :prettyPrint (boolean()): Returns response with indentations and line breaks.
    • :quotaUser (String.t): 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.t): Upload protocol for media (e.g. "raw", "multipart").
    • :uploadType (String.t): Legacy upload protocol for media (e.g. "media", "multipart").
    • :body (CreateClusterRequest):

Returns

{:ok, %GoogleApi.Container.V1.Model.Operation{}} on success {:error, info} on failure

Link to this function

container_projects_locations_clusters_get_jwks(connection, parent, optional_params \\ [], opts \\ []) View Source

Gets the public component of the cluster signing keys in JSON Web Key format. This API is not yet intended for general use, and is not available for all clusters.

Parameters

  • connection (GoogleApi.Container.V1.Connection): Connection to server
  • parent (String.t): The cluster (project, location, cluster id) to get keys for. Specified in the format 'projects//locations//clusters/*'.
  • optional_params (KeywordList): [optional] Optional parameters

    • :$.xgafv (String.t): V1 error format.
    • :access_token (String.t): OAuth access token.
    • :alt (String.t): Data format for response.
    • :callback (String.t): JSONP
    • :fields (String.t): Selector specifying which fields to include in a partial response.
    • :key (String.t): 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.t): OAuth 2.0 token for the current user.
    • :prettyPrint (boolean()): Returns response with indentations and line breaks.
    • :quotaUser (String.t): 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.t): Upload protocol for media (e.g. "raw", "multipart").
    • :uploadType (String.t): Legacy upload protocol for media (e.g. "media", "multipart").

Returns

{:ok, %GoogleApi.Container.V1.Model.GetJsonWebKeysResponse{}} on success {:error, info} on failure

Link to this function

container_projects_locations_clusters_list(connection, parent, optional_params \\ [], opts \\ []) View Source

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

Parameters

  • connection (GoogleApi.Container.V1.Connection): Connection to server
  • parent (String.t): The parent (project and location) where the clusters will be listed. Specified in the format 'projects//locations/'. Location "-" matches all zones and all regions.
  • optional_params (KeywordList): [optional] Optional parameters

    • :$.xgafv (String.t): V1 error format.
    • :access_token (String.t): OAuth access token.
    • :alt (String.t): Data format for response.
    • :callback (String.t): JSONP
    • :fields (String.t): Selector specifying which fields to include in a partial response.
    • :key (String.t): 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.t): OAuth 2.0 token for the current user.
    • :prettyPrint (boolean()): Returns response with indentations and line breaks.
    • :quotaUser (String.t): 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.t): Upload protocol for media (e.g. "raw", "multipart").
    • :uploadType (String.t): Legacy upload protocol for media (e.g. "media", "multipart").
    • :projectId (String.t): Deprecated. The Google Developers Console project ID or project number. This field has been deprecated and replaced by the parent field.
    • :zone (String.t): 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.

Returns

{:ok, %GoogleApi.Container.V1.Model.ListClustersResponse{}} on success {:error, info} on failure

Link to this function

container_projects_locations_clusters_node_pools_create(connection, parent, optional_params \\ [], opts \\ []) View Source

Creates a node pool for a cluster.

Parameters

  • connection (GoogleApi.Container.V1.Connection): Connection to server
  • parent (String.t): The parent (project, location, cluster id) where the node pool will be created. Specified in the format 'projects//locations//clusters/*'.
  • optional_params (KeywordList): [optional] Optional parameters

    • :$.xgafv (String.t): V1 error format.
    • :access_token (String.t): OAuth access token.
    • :alt (String.t): Data format for response.
    • :callback (String.t): JSONP
    • :fields (String.t): Selector specifying which fields to include in a partial response.
    • :key (String.t): 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.t): OAuth 2.0 token for the current user.
    • :prettyPrint (boolean()): Returns response with indentations and line breaks.
    • :quotaUser (String.t): 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.t): Upload protocol for media (e.g. "raw", "multipart").
    • :uploadType (String.t): Legacy upload protocol for media (e.g. "media", "multipart").
    • :body (CreateNodePoolRequest):

Returns

{:ok, %GoogleApi.Container.V1.Model.Operation{}} on success {:error, info} on failure

Link to this function

container_projects_locations_clusters_node_pools_delete(connection, name, optional_params \\ [], opts \\ []) View Source

Deletes a node pool from a cluster.

Parameters

  • connection (GoogleApi.Container.V1.Connection): Connection to server
  • name (String.t): The name (project, location, cluster, node pool id) of the node pool to delete. Specified in the format 'projects//locations//clusters//nodePools/'.
  • optional_params (KeywordList): [optional] Optional parameters

    • :$.xgafv (String.t): V1 error format.
    • :access_token (String.t): OAuth access token.
    • :alt (String.t): Data format for response.
    • :callback (String.t): JSONP
    • :fields (String.t): Selector specifying which fields to include in a partial response.
    • :key (String.t): 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.t): OAuth 2.0 token for the current user.
    • :prettyPrint (boolean()): Returns response with indentations and line breaks.
    • :quotaUser (String.t): 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.t): Upload protocol for media (e.g. "raw", "multipart").
    • :uploadType (String.t): Legacy upload protocol for media (e.g. "media", "multipart").
    • :clusterId (String.t): Deprecated. The name of the cluster. This field has been deprecated and replaced by the name field.
    • :nodePoolId (String.t): Deprecated. The name of the node pool to delete. This field has been deprecated and replaced by the name field.
    • :projectId (String.t): Deprecated. The Google Developers Console project ID or project number. This field has been deprecated and replaced by the name field.
    • :zone (String.t): 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.

Returns

{:ok, %GoogleApi.Container.V1.Model.Operation{}} on success {:error, info} on failure

Link to this function

container_projects_locations_clusters_node_pools_list(connection, parent, optional_params \\ [], opts \\ []) View Source

Lists the node pools for a cluster.

Parameters

  • connection (GoogleApi.Container.V1.Connection): Connection to server
  • parent (String.t): The parent (project, location, cluster id) where the node pools will be listed. Specified in the format 'projects//locations//clusters/*'.
  • optional_params (KeywordList): [optional] Optional parameters

    • :$.xgafv (String.t): V1 error format.
    • :access_token (String.t): OAuth access token.
    • :alt (String.t): Data format for response.
    • :callback (String.t): JSONP
    • :fields (String.t): Selector specifying which fields to include in a partial response.
    • :key (String.t): 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.t): OAuth 2.0 token for the current user.
    • :prettyPrint (boolean()): Returns response with indentations and line breaks.
    • :quotaUser (String.t): 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.t): Upload protocol for media (e.g. "raw", "multipart").
    • :uploadType (String.t): Legacy upload protocol for media (e.g. "media", "multipart").
    • :clusterId (String.t): Deprecated. The name of the cluster. This field has been deprecated and replaced by the parent field.
    • :projectId (String.t): Deprecated. The Google Developers Console project ID or project number. This field has been deprecated and replaced by the parent field.
    • :zone (String.t): 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.

Returns

{:ok, %GoogleApi.Container.V1.Model.ListNodePoolsResponse{}} on success {:error, info} on failure

Link to this function

container_projects_locations_clusters_node_pools_rollback(connection, name, optional_params \\ [], opts \\ []) View Source

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

Parameters

  • connection (GoogleApi.Container.V1.Connection): Connection to server
  • name (String.t): The name (project, location, cluster, node pool id) of the node poll to rollback upgrade. Specified in the format 'projects//locations//clusters//nodePools/'.
  • optional_params (KeywordList): [optional] Optional parameters

    • :$.xgafv (String.t): V1 error format.
    • :access_token (String.t): OAuth access token.
    • :alt (String.t): Data format for response.
    • :callback (String.t): JSONP
    • :fields (String.t): Selector specifying which fields to include in a partial response.
    • :key (String.t): 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.t): OAuth 2.0 token for the current user.
    • :prettyPrint (boolean()): Returns response with indentations and line breaks.
    • :quotaUser (String.t): 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.t): Upload protocol for media (e.g. "raw", "multipart").
    • :uploadType (String.t): Legacy upload protocol for media (e.g. "media", "multipart").
    • :body (RollbackNodePoolUpgradeRequest):

Returns

{:ok, %GoogleApi.Container.V1.Model.Operation{}} on success {:error, info} on failure

Link to this function

container_projects_locations_clusters_node_pools_set_autoscaling(connection, name, optional_params \\ [], opts \\ []) View Source

Sets the autoscaling settings for the specified node pool.

Parameters

  • connection (GoogleApi.Container.V1.Connection): Connection to server
  • name (String.t): The name (project, location, cluster, node pool) of the node pool to set autoscaler settings. Specified in the format 'projects//locations//clusters//nodePools/'.
  • optional_params (KeywordList): [optional] Optional parameters

    • :$.xgafv (String.t): V1 error format.
    • :access_token (String.t): OAuth access token.
    • :alt (String.t): Data format for response.
    • :callback (String.t): JSONP
    • :fields (String.t): Selector specifying which fields to include in a partial response.
    • :key (String.t): 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.t): OAuth 2.0 token for the current user.
    • :prettyPrint (boolean()): Returns response with indentations and line breaks.
    • :quotaUser (String.t): 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.t): Upload protocol for media (e.g. "raw", "multipart").
    • :uploadType (String.t): Legacy upload protocol for media (e.g. "media", "multipart").
    • :body (SetNodePoolAutoscalingRequest):

Returns

{:ok, %GoogleApi.Container.V1.Model.Operation{}} on success {:error, info} on failure

Link to this function

container_projects_locations_clusters_node_pools_set_management(connection, name, optional_params \\ [], opts \\ []) View Source

Sets the NodeManagement options for a node pool.

Parameters

  • connection (GoogleApi.Container.V1.Connection): Connection to server
  • name (String.t): The name (project, location, cluster, node pool id) of the node pool to set management properties. Specified in the format 'projects//locations//clusters//nodePools/'.
  • optional_params (KeywordList): [optional] Optional parameters

    • :$.xgafv (String.t): V1 error format.
    • :access_token (String.t): OAuth access token.
    • :alt (String.t): Data format for response.
    • :callback (String.t): JSONP
    • :fields (String.t): Selector specifying which fields to include in a partial response.
    • :key (String.t): 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.t): OAuth 2.0 token for the current user.
    • :prettyPrint (boolean()): Returns response with indentations and line breaks.
    • :quotaUser (String.t): 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.t): Upload protocol for media (e.g. "raw", "multipart").
    • :uploadType (String.t): Legacy upload protocol for media (e.g. "media", "multipart").
    • :body (SetNodePoolManagementRequest):

Returns

{:ok, %GoogleApi.Container.V1.Model.Operation{}} on success {:error, info} on failure

Link to this function

container_projects_locations_clusters_node_pools_set_size(connection, name, optional_params \\ [], opts \\ []) View Source

Sets the size for a specific node pool.

Parameters

  • connection (GoogleApi.Container.V1.Connection): Connection to server
  • name (String.t): The name (project, location, cluster, node pool id) of the node pool to set size. Specified in the format 'projects//locations//clusters//nodePools/'.
  • optional_params (KeywordList): [optional] Optional parameters

    • :$.xgafv (String.t): V1 error format.
    • :access_token (String.t): OAuth access token.
    • :alt (String.t): Data format for response.
    • :callback (String.t): JSONP
    • :fields (String.t): Selector specifying which fields to include in a partial response.
    • :key (String.t): 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.t): OAuth 2.0 token for the current user.
    • :prettyPrint (boolean()): Returns response with indentations and line breaks.
    • :quotaUser (String.t): 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.t): Upload protocol for media (e.g. "raw", "multipart").
    • :uploadType (String.t): Legacy upload protocol for media (e.g. "media", "multipart").
    • :body (SetNodePoolSizeRequest):

Returns

{:ok, %GoogleApi.Container.V1.Model.Operation{}} on success {:error, info} on failure

Link to this function

container_projects_locations_clusters_node_pools_update(connection, name, optional_params \\ [], opts \\ []) View Source

Updates the version and/or image type for the specified node pool.

Parameters

  • connection (GoogleApi.Container.V1.Connection): Connection to server
  • name (String.t): The name (project, location, cluster, node pool) of the node pool to update. Specified in the format 'projects//locations//clusters//nodePools/'.
  • optional_params (KeywordList): [optional] Optional parameters

    • :$.xgafv (String.t): V1 error format.
    • :access_token (String.t): OAuth access token.
    • :alt (String.t): Data format for response.
    • :callback (String.t): JSONP
    • :fields (String.t): Selector specifying which fields to include in a partial response.
    • :key (String.t): 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.t): OAuth 2.0 token for the current user.
    • :prettyPrint (boolean()): Returns response with indentations and line breaks.
    • :quotaUser (String.t): 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.t): Upload protocol for media (e.g. "raw", "multipart").
    • :uploadType (String.t): Legacy upload protocol for media (e.g. "media", "multipart").
    • :body (UpdateNodePoolRequest):

Returns

{:ok, %GoogleApi.Container.V1.Model.Operation{}} on success {:error, info} on failure

Link to this function

container_projects_locations_clusters_set_addons(connection, name, optional_params \\ [], opts \\ []) View Source

Sets the addons for a specific cluster.

Parameters

  • connection (GoogleApi.Container.V1.Connection): Connection to server
  • name (String.t): The name (project, location, cluster) of the cluster to set addons. Specified in the format 'projects//locations//clusters/*'.
  • optional_params (KeywordList): [optional] Optional parameters

    • :$.xgafv (String.t): V1 error format.
    • :access_token (String.t): OAuth access token.
    • :alt (String.t): Data format for response.
    • :callback (String.t): JSONP
    • :fields (String.t): Selector specifying which fields to include in a partial response.
    • :key (String.t): 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.t): OAuth 2.0 token for the current user.
    • :prettyPrint (boolean()): Returns response with indentations and line breaks.
    • :quotaUser (String.t): 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.t): Upload protocol for media (e.g. "raw", "multipart").
    • :uploadType (String.t): Legacy upload protocol for media (e.g. "media", "multipart").
    • :body (SetAddonsConfigRequest):

Returns

{:ok, %GoogleApi.Container.V1.Model.Operation{}} on success {:error, info} on failure

Link to this function

container_projects_locations_clusters_set_legacy_abac(connection, name, optional_params \\ [], opts \\ []) View Source

Enables or disables the ABAC authorization mechanism on a cluster.

Parameters

  • connection (GoogleApi.Container.V1.Connection): Connection to server
  • name (String.t): The name (project, location, cluster id) of the cluster to set legacy abac. Specified in the format 'projects//locations//clusters/*'.
  • optional_params (KeywordList): [optional] Optional parameters

    • :$.xgafv (String.t): V1 error format.
    • :access_token (String.t): OAuth access token.
    • :alt (String.t): Data format for response.
    • :callback (String.t): JSONP
    • :fields (String.t): Selector specifying which fields to include in a partial response.
    • :key (String.t): 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.t): OAuth 2.0 token for the current user.
    • :prettyPrint (boolean()): Returns response with indentations and line breaks.
    • :quotaUser (String.t): 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.t): Upload protocol for media (e.g. "raw", "multipart").
    • :uploadType (String.t): Legacy upload protocol for media (e.g. "media", "multipart").
    • :body (SetLegacyAbacRequest):

Returns

{:ok, %GoogleApi.Container.V1.Model.Operation{}} on success {:error, info} on failure

Link to this function

container_projects_locations_clusters_set_locations(connection, name, optional_params \\ [], opts \\ []) View Source

Sets the locations for a specific cluster.

Parameters

  • connection (GoogleApi.Container.V1.Connection): Connection to server
  • name (String.t): The name (project, location, cluster) of the cluster to set locations. Specified in the format 'projects//locations//clusters/*'.
  • optional_params (KeywordList): [optional] Optional parameters

    • :$.xgafv (String.t): V1 error format.
    • :access_token (String.t): OAuth access token.
    • :alt (String.t): Data format for response.
    • :callback (String.t): JSONP
    • :fields (String.t): Selector specifying which fields to include in a partial response.
    • :key (String.t): 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.t): OAuth 2.0 token for the current user.
    • :prettyPrint (boolean()): Returns response with indentations and line breaks.
    • :quotaUser (String.t): 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.t): Upload protocol for media (e.g. "raw", "multipart").
    • :uploadType (String.t): Legacy upload protocol for media (e.g. "media", "multipart").
    • :body (SetLocationsRequest):

Returns

{:ok, %GoogleApi.Container.V1.Model.Operation{}} on success {:error, info} on failure

Link to this function

container_projects_locations_clusters_set_logging(connection, name, optional_params \\ [], opts \\ []) View Source

Sets the logging service for a specific cluster.

Parameters

  • connection (GoogleApi.Container.V1.Connection): Connection to server
  • name (String.t): The name (project, location, cluster) of the cluster to set logging. Specified in the format 'projects//locations//clusters/*'.
  • optional_params (KeywordList): [optional] Optional parameters

    • :$.xgafv (String.t): V1 error format.
    • :access_token (String.t): OAuth access token.
    • :alt (String.t): Data format for response.
    • :callback (String.t): JSONP
    • :fields (String.t): Selector specifying which fields to include in a partial response.
    • :key (String.t): 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.t): OAuth 2.0 token for the current user.
    • :prettyPrint (boolean()): Returns response with indentations and line breaks.
    • :quotaUser (String.t): 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.t): Upload protocol for media (e.g. "raw", "multipart").
    • :uploadType (String.t): Legacy upload protocol for media (e.g. "media", "multipart").
    • :body (SetLoggingServiceRequest):

Returns

{:ok, %GoogleApi.Container.V1.Model.Operation{}} on success {:error, info} on failure

Link to this function

container_projects_locations_clusters_set_maintenance_policy(connection, name, optional_params \\ [], opts \\ []) View Source

Sets the maintenance policy for a cluster.

Parameters

  • connection (GoogleApi.Container.V1.Connection): Connection to server
  • name (String.t): The name (project, location, cluster id) of the cluster to set maintenance policy. Specified in the format 'projects//locations//clusters/*'.
  • optional_params (KeywordList): [optional] Optional parameters

    • :$.xgafv (String.t): V1 error format.
    • :access_token (String.t): OAuth access token.
    • :alt (String.t): Data format for response.
    • :callback (String.t): JSONP
    • :fields (String.t): Selector specifying which fields to include in a partial response.
    • :key (String.t): 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.t): OAuth 2.0 token for the current user.
    • :prettyPrint (boolean()): Returns response with indentations and line breaks.
    • :quotaUser (String.t): 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.t): Upload protocol for media (e.g. "raw", "multipart").
    • :uploadType (String.t): Legacy upload protocol for media (e.g. "media", "multipart").
    • :body (SetMaintenancePolicyRequest):

Returns

{:ok, %GoogleApi.Container.V1.Model.Operation{}} on success {:error, info} on failure

Link to this function

container_projects_locations_clusters_set_master_auth(connection, name, optional_params \\ [], opts \\ []) View Source

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

Parameters

  • connection (GoogleApi.Container.V1.Connection): Connection to server
  • name (String.t): The name (project, location, cluster) of the cluster to set auth. Specified in the format 'projects//locations//clusters/*'.
  • optional_params (KeywordList): [optional] Optional parameters

    • :$.xgafv (String.t): V1 error format.
    • :access_token (String.t): OAuth access token.
    • :alt (String.t): Data format for response.
    • :callback (String.t): JSONP
    • :fields (String.t): Selector specifying which fields to include in a partial response.
    • :key (String.t): 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.t): OAuth 2.0 token for the current user.
    • :prettyPrint (boolean()): Returns response with indentations and line breaks.
    • :quotaUser (String.t): 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.t): Upload protocol for media (e.g. "raw", "multipart").
    • :uploadType (String.t): Legacy upload protocol for media (e.g. "media", "multipart").
    • :body (SetMasterAuthRequest):

Returns

{:ok, %GoogleApi.Container.V1.Model.Operation{}} on success {:error, info} on failure

Link to this function

container_projects_locations_clusters_set_monitoring(connection, name, optional_params \\ [], opts \\ []) View Source

Sets the monitoring service for a specific cluster.

Parameters

  • connection (GoogleApi.Container.V1.Connection): Connection to server
  • name (String.t): The name (project, location, cluster) of the cluster to set monitoring. Specified in the format 'projects//locations//clusters/*'.
  • optional_params (KeywordList): [optional] Optional parameters

    • :$.xgafv (String.t): V1 error format.
    • :access_token (String.t): OAuth access token.
    • :alt (String.t): Data format for response.
    • :callback (String.t): JSONP
    • :fields (String.t): Selector specifying which fields to include in a partial response.
    • :key (String.t): 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.t): OAuth 2.0 token for the current user.
    • :prettyPrint (boolean()): Returns response with indentations and line breaks.
    • :quotaUser (String.t): 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.t): Upload protocol for media (e.g. "raw", "multipart").
    • :uploadType (String.t): Legacy upload protocol for media (e.g. "media", "multipart").
    • :body (SetMonitoringServiceRequest):

Returns

{:ok, %GoogleApi.Container.V1.Model.Operation{}} on success {:error, info} on failure

Link to this function

container_projects_locations_clusters_set_network_policy(connection, name, optional_params \\ [], opts \\ []) View Source

Enables or disables Network Policy for a cluster.

Parameters

  • connection (GoogleApi.Container.V1.Connection): Connection to server
  • name (String.t): The name (project, location, cluster id) of the cluster to set networking policy. Specified in the format 'projects//locations//clusters/*'.
  • optional_params (KeywordList): [optional] Optional parameters

    • :$.xgafv (String.t): V1 error format.
    • :access_token (String.t): OAuth access token.
    • :alt (String.t): Data format for response.
    • :callback (String.t): JSONP
    • :fields (String.t): Selector specifying which fields to include in a partial response.
    • :key (String.t): 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.t): OAuth 2.0 token for the current user.
    • :prettyPrint (boolean()): Returns response with indentations and line breaks.
    • :quotaUser (String.t): 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.t): Upload protocol for media (e.g. "raw", "multipart").
    • :uploadType (String.t): Legacy upload protocol for media (e.g. "media", "multipart").
    • :body (SetNetworkPolicyRequest):

Returns

{:ok, %GoogleApi.Container.V1.Model.Operation{}} on success {:error, info} on failure

Link to this function

container_projects_locations_clusters_set_resource_labels(connection, name, optional_params \\ [], opts \\ []) View Source

Sets labels on a cluster.

Parameters

  • connection (GoogleApi.Container.V1.Connection): Connection to server
  • name (String.t): The name (project, location, cluster id) of the cluster to set labels. Specified in the format 'projects//locations//clusters/*'.
  • optional_params (KeywordList): [optional] Optional parameters

    • :$.xgafv (String.t): V1 error format.
    • :access_token (String.t): OAuth access token.
    • :alt (String.t): Data format for response.
    • :callback (String.t): JSONP
    • :fields (String.t): Selector specifying which fields to include in a partial response.
    • :key (String.t): 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.t): OAuth 2.0 token for the current user.
    • :prettyPrint (boolean()): Returns response with indentations and line breaks.
    • :quotaUser (String.t): 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.t): Upload protocol for media (e.g. "raw", "multipart").
    • :uploadType (String.t): Legacy upload protocol for media (e.g. "media", "multipart").
    • :body (SetLabelsRequest):

Returns

{:ok, %GoogleApi.Container.V1.Model.Operation{}} on success {:error, info} on failure

Link to this function

container_projects_locations_clusters_start_ip_rotation(connection, name, optional_params \\ [], opts \\ []) View Source

Starts master IP rotation.

Parameters

  • connection (GoogleApi.Container.V1.Connection): Connection to server
  • name (String.t): The name (project, location, cluster id) of the cluster to start IP rotation. Specified in the format 'projects//locations//clusters/*'.
  • optional_params (KeywordList): [optional] Optional parameters

    • :$.xgafv (String.t): V1 error format.
    • :access_token (String.t): OAuth access token.
    • :alt (String.t): Data format for response.
    • :callback (String.t): JSONP
    • :fields (String.t): Selector specifying which fields to include in a partial response.
    • :key (String.t): 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.t): OAuth 2.0 token for the current user.
    • :prettyPrint (boolean()): Returns response with indentations and line breaks.
    • :quotaUser (String.t): 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.t): Upload protocol for media (e.g. "raw", "multipart").
    • :uploadType (String.t): Legacy upload protocol for media (e.g. "media", "multipart").
    • :body (StartIpRotationRequest):

Returns

{:ok, %GoogleApi.Container.V1.Model.Operation{}} on success {:error, info} on failure

Link to this function

container_projects_locations_clusters_update_master(connection, name, optional_params \\ [], opts \\ []) View Source

Updates the master for a specific cluster.

Parameters

  • connection (GoogleApi.Container.V1.Connection): Connection to server
  • name (String.t): The name (project, location, cluster) of the cluster to update. Specified in the format 'projects//locations//clusters/*'.
  • optional_params (KeywordList): [optional] Optional parameters

    • :$.xgafv (String.t): V1 error format.
    • :access_token (String.t): OAuth access token.
    • :alt (String.t): Data format for response.
    • :callback (String.t): JSONP
    • :fields (String.t): Selector specifying which fields to include in a partial response.
    • :key (String.t): 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.t): OAuth 2.0 token for the current user.
    • :prettyPrint (boolean()): Returns response with indentations and line breaks.
    • :quotaUser (String.t): 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.t): Upload protocol for media (e.g. "raw", "multipart").
    • :uploadType (String.t): Legacy upload protocol for media (e.g. "media", "multipart").
    • :body (UpdateMasterRequest):

Returns

{:ok, %GoogleApi.Container.V1.Model.Operation{}} on success {:error, info} on failure

Link to this function

container_projects_locations_clusters_well_known_get_openid_configuration(connection, parent, optional_params \\ [], opts \\ []) View Source

Gets the OIDC discovery document for the cluster. See the OpenID Connect Discovery 1.0 specification for details. This API is not yet intended for general use, and is not available for all clusters.

Parameters

  • connection (GoogleApi.Container.V1.Connection): Connection to server
  • parent (String.t): The cluster (project, location, cluster id) to get the discovery document for. Specified in the format 'projects//locations//clusters/*'.
  • optional_params (KeywordList): [optional] Optional parameters

    • :$.xgafv (String.t): V1 error format.
    • :access_token (String.t): OAuth access token.
    • :alt (String.t): Data format for response.
    • :callback (String.t): JSONP
    • :fields (String.t): Selector specifying which fields to include in a partial response.
    • :key (String.t): 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.t): OAuth 2.0 token for the current user.
    • :prettyPrint (boolean()): Returns response with indentations and line breaks.
    • :quotaUser (String.t): 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.t): Upload protocol for media (e.g. "raw", "multipart").
    • :uploadType (String.t): Legacy upload protocol for media (e.g. "media", "multipart").

Returns

{:ok, %GoogleApi.Container.V1.Model.GetOpenIdConfigResponse{}} on success {:error, info} on failure

Link to this function

container_projects_locations_get_server_config(connection, name, optional_params \\ [], opts \\ []) View Source

Returns configuration info about the Google Kubernetes Engine service.

Parameters

  • connection (GoogleApi.Container.V1.Connection): Connection to server
  • name (String.t): The name (project and location) of the server config to get, specified in the format 'projects//locations/'.
  • optional_params (KeywordList): [optional] Optional parameters

    • :$.xgafv (String.t): V1 error format.
    • :access_token (String.t): OAuth access token.
    • :alt (String.t): Data format for response.
    • :callback (String.t): JSONP
    • :fields (String.t): Selector specifying which fields to include in a partial response.
    • :key (String.t): 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.t): OAuth 2.0 token for the current user.
    • :prettyPrint (boolean()): Returns response with indentations and line breaks.
    • :quotaUser (String.t): 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.t): Upload protocol for media (e.g. "raw", "multipart").
    • :uploadType (String.t): Legacy upload protocol for media (e.g. "media", "multipart").
    • :projectId (String.t): Deprecated. The Google Developers Console project ID or project number. This field has been deprecated and replaced by the name field.
    • :zone (String.t): Deprecated. The name of the Google Compute Engine zone to return operations for. This field has been deprecated and replaced by the name field.

Returns

{:ok, %GoogleApi.Container.V1.Model.ServerConfig{}} on success {:error, info} on failure

Link to this function

container_projects_locations_operations_cancel(connection, name, optional_params \\ [], opts \\ []) View Source

Cancels the specified operation.

Parameters

  • connection (GoogleApi.Container.V1.Connection): Connection to server
  • name (String.t): The name (project, location, operation id) of the operation to cancel. Specified in the format 'projects//locations//operations/*'.
  • optional_params (KeywordList): [optional] Optional parameters

    • :$.xgafv (String.t): V1 error format.
    • :access_token (String.t): OAuth access token.
    • :alt (String.t): Data format for response.
    • :callback (String.t): JSONP
    • :fields (String.t): Selector specifying which fields to include in a partial response.
    • :key (String.t): 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.t): OAuth 2.0 token for the current user.
    • :prettyPrint (boolean()): Returns response with indentations and line breaks.
    • :quotaUser (String.t): 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.t): Upload protocol for media (e.g. "raw", "multipart").
    • :uploadType (String.t): Legacy upload protocol for media (e.g. "media", "multipart").
    • :body (CancelOperationRequest):

Returns

{:ok, %GoogleApi.Container.V1.Model.Empty{}} on success {:error, info} on failure

Link to this function

container_projects_locations_operations_get(connection, name, optional_params \\ [], opts \\ []) View Source

Gets the specified operation.

Parameters

  • connection (GoogleApi.Container.V1.Connection): Connection to server
  • name (String.t): The name (project, location, operation id) of the operation to get. Specified in the format 'projects//locations//operations/*'.
  • optional_params (KeywordList): [optional] Optional parameters

    • :$.xgafv (String.t): V1 error format.
    • :access_token (String.t): OAuth access token.
    • :alt (String.t): Data format for response.
    • :callback (String.t): JSONP
    • :fields (String.t): Selector specifying which fields to include in a partial response.
    • :key (String.t): 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.t): OAuth 2.0 token for the current user.
    • :prettyPrint (boolean()): Returns response with indentations and line breaks.
    • :quotaUser (String.t): 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.t): Upload protocol for media (e.g. "raw", "multipart").
    • :uploadType (String.t): Legacy upload protocol for media (e.g. "media", "multipart").
    • :operationId (String.t): Deprecated. The server-assigned `name` of the operation. This field has been deprecated and replaced by the name field.
    • :projectId (String.t): Deprecated. The Google Developers Console project ID or project number. This field has been deprecated and replaced by the name field.
    • :zone (String.t): 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.
    • :zone (String.t): 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.

Returns

{:ok, %GoogleApi.Container.V1.Model.Operation{}} on success {:error, info} on failure

Link to this function

container_projects_locations_operations_list(connection, parent, optional_params \\ [], opts \\ []) View Source

Lists all operations in a project in a specific zone or all zones.

Parameters

  • connection (GoogleApi.Container.V1.Connection): Connection to server
  • parent (String.t): The parent (project and location) where the operations will be listed. Specified in the format 'projects//locations/'. Location "-" matches all zones and all regions.
  • optional_params (KeywordList): [optional] Optional parameters

    • :$.xgafv (String.t): V1 error format.
    • :access_token (String.t): OAuth access token.
    • :alt (String.t): Data format for response.
    • :callback (String.t): JSONP
    • :fields (String.t): Selector specifying which fields to include in a partial response.
    • :key (String.t): 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.t): OAuth 2.0 token for the current user.
    • :prettyPrint (boolean()): Returns response with indentations and line breaks.
    • :quotaUser (String.t): 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.t): Upload protocol for media (e.g. "raw", "multipart").
    • :uploadType (String.t): Legacy upload protocol for media (e.g. "media", "multipart").
    • :projectId (String.t): Deprecated. The Google Developers Console project ID or project number. This field has been deprecated and replaced by the parent field.
    • :zone (String.t): 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.

Returns

{:ok, %GoogleApi.Container.V1.Model.ListOperationsResponse{}} on success {:error, info} on failure

Link to this function

container_projects_zones_clusters_addons(connection, project_id, zone, cluster_id, optional_params \\ [], opts \\ []) View Source

Sets the addons for a specific cluster.

Parameters

  • connection (GoogleApi.Container.V1.Connection): Connection to server
  • project_id (String.t): Deprecated. The Google Developers Console project ID or project number. This field has been deprecated and replaced by the name field.
  • zone (String.t): 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.
  • cluster_id (String.t): Deprecated. The name of the cluster to upgrade. This field has been deprecated and replaced by the name field.
  • optional_params (KeywordList): [optional] Optional parameters

    • :$.xgafv (String.t): V1 error format.
    • :access_token (String.t): OAuth access token.
    • :alt (String.t): Data format for response.
    • :callback (String.t): JSONP
    • :fields (String.t): Selector specifying which fields to include in a partial response.
    • :key (String.t): 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.t): OAuth 2.0 token for the current user.
    • :prettyPrint (boolean()): Returns response with indentations and line breaks.
    • :quotaUser (String.t): 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.t): Upload protocol for media (e.g. "raw", "multipart").
    • :uploadType (String.t): Legacy upload protocol for media (e.g. "media", "multipart").
    • :body (SetAddonsConfigRequest):

Returns

{:ok, %GoogleApi.Container.V1.Model.Operation{}} on success {:error, info} on failure

Link to this function

container_projects_zones_clusters_complete_ip_rotation(connection, project_id, zone, cluster_id, optional_params \\ [], opts \\ []) View Source

Completes master IP rotation.

Parameters

  • connection (GoogleApi.Container.V1.Connection): Connection to server
  • project_id (String.t): Deprecated. The Google Developers Console project ID or project number. This field has been deprecated and replaced by the name field.
  • zone (String.t): 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.
  • cluster_id (String.t): Deprecated. The name of the cluster. This field has been deprecated and replaced by the name field.
  • optional_params (KeywordList): [optional] Optional parameters

    • :$.xgafv (String.t): V1 error format.
    • :access_token (String.t): OAuth access token.
    • :alt (String.t): Data format for response.
    • :callback (String.t): JSONP
    • :fields (String.t): Selector specifying which fields to include in a partial response.
    • :key (String.t): 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.t): OAuth 2.0 token for the current user.
    • :prettyPrint (boolean()): Returns response with indentations and line breaks.
    • :quotaUser (String.t): 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.t): Upload protocol for media (e.g. "raw", "multipart").
    • :uploadType (String.t): Legacy upload protocol for media (e.g. "media", "multipart").
    • :body (CompleteIpRotationRequest):

Returns

{:ok, %GoogleApi.Container.V1.Model.Operation{}} on success {:error, info} on failure

Link to this function

container_projects_zones_clusters_create(connection, project_id, zone, optional_params \\ [], opts \\ []) View Source

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.

Parameters

  • connection (GoogleApi.Container.V1.Connection): Connection to server
  • project_id (String.t): Deprecated. The Google Developers Console project ID or project number. This field has been deprecated and replaced by the parent field.
  • zone (String.t): 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.
  • optional_params (KeywordList): [optional] Optional parameters

    • :$.xgafv (String.t): V1 error format.
    • :access_token (String.t): OAuth access token.
    • :alt (String.t): Data format for response.
    • :callback (String.t): JSONP
    • :fields (String.t): Selector specifying which fields to include in a partial response.
    • :key (String.t): 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.t): OAuth 2.0 token for the current user.
    • :prettyPrint (boolean()): Returns response with indentations and line breaks.
    • :quotaUser (String.t): 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.t): Upload protocol for media (e.g. "raw", "multipart").
    • :uploadType (String.t): Legacy upload protocol for media (e.g. "media", "multipart").
    • :body (CreateClusterRequest):

Returns

{:ok, %GoogleApi.Container.V1.Model.Operation{}} on success {:error, info} on failure

Link to this function

container_projects_zones_clusters_delete(connection, project_id, zone, cluster_id, optional_params \\ [], opts \\ []) View Source

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.

Parameters

  • connection (GoogleApi.Container.V1.Connection): Connection to server
  • project_id (String.t): Deprecated. The Google Developers Console project ID or project number. This field has been deprecated and replaced by the name field.
  • zone (String.t): 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.
  • cluster_id (String.t): Deprecated. The name of the cluster to delete. This field has been deprecated and replaced by the name field.
  • optional_params (KeywordList): [optional] Optional parameters

    • :$.xgafv (String.t): V1 error format.
    • :access_token (String.t): OAuth access token.
    • :alt (String.t): Data format for response.
    • :callback (String.t): JSONP
    • :fields (String.t): Selector specifying which fields to include in a partial response.
    • :key (String.t): 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.t): OAuth 2.0 token for the current user.
    • :prettyPrint (boolean()): Returns response with indentations and line breaks.
    • :quotaUser (String.t): 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.t): Upload protocol for media (e.g. "raw", "multipart").
    • :uploadType (String.t): Legacy upload protocol for media (e.g. "media", "multipart").
    • :name (String.t): The name (project, location, cluster) of the cluster to delete. Specified in the format 'projects//locations//clusters/*'.

Returns

{:ok, %GoogleApi.Container.V1.Model.Operation{}} on success {:error, info} on failure

Link to this function

container_projects_zones_clusters_get(connection, project_id, zone, cluster_id, optional_params \\ [], opts \\ []) View Source

Gets the details of a specific cluster.

Parameters

  • connection (GoogleApi.Container.V1.Connection): Connection to server
  • project_id (String.t): Deprecated. The Google Developers Console project ID or project number. This field has been deprecated and replaced by the name field.
  • zone (String.t): 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.
  • cluster_id (String.t): Deprecated. The name of the cluster to retrieve. This field has been deprecated and replaced by the name field.
  • optional_params (KeywordList): [optional] Optional parameters

    • :$.xgafv (String.t): V1 error format.
    • :access_token (String.t): OAuth access token.
    • :alt (String.t): Data format for response.
    • :callback (String.t): JSONP
    • :fields (String.t): Selector specifying which fields to include in a partial response.
    • :key (String.t): 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.t): OAuth 2.0 token for the current user.
    • :prettyPrint (boolean()): Returns response with indentations and line breaks.
    • :quotaUser (String.t): 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.t): Upload protocol for media (e.g. "raw", "multipart").
    • :uploadType (String.t): Legacy upload protocol for media (e.g. "media", "multipart").
    • :name (String.t): The name (project, location, cluster) of the cluster to retrieve. Specified in the format 'projects//locations//clusters/*'.

Returns

{:ok, %GoogleApi.Container.V1.Model.Cluster{}} on success {:error, info} on failure

Link to this function

container_projects_zones_clusters_legacy_abac(connection, project_id, zone, cluster_id, optional_params \\ [], opts \\ []) View Source

Enables or disables the ABAC authorization mechanism on a cluster.

Parameters

  • connection (GoogleApi.Container.V1.Connection): Connection to server
  • project_id (String.t): Deprecated. The Google Developers Console project ID or project number. This field has been deprecated and replaced by the name field.
  • zone (String.t): 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.
  • cluster_id (String.t): Deprecated. The name of the cluster to update. This field has been deprecated and replaced by the name field.
  • optional_params (KeywordList): [optional] Optional parameters

    • :$.xgafv (String.t): V1 error format.
    • :access_token (String.t): OAuth access token.
    • :alt (String.t): Data format for response.
    • :callback (String.t): JSONP
    • :fields (String.t): Selector specifying which fields to include in a partial response.
    • :key (String.t): 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.t): OAuth 2.0 token for the current user.
    • :prettyPrint (boolean()): Returns response with indentations and line breaks.
    • :quotaUser (String.t): 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.t): Upload protocol for media (e.g. "raw", "multipart").
    • :uploadType (String.t): Legacy upload protocol for media (e.g. "media", "multipart").
    • :body (SetLegacyAbacRequest):

Returns

{:ok, %GoogleApi.Container.V1.Model.Operation{}} on success {:error, info} on failure

Link to this function

container_projects_zones_clusters_list(connection, project_id, zone, optional_params \\ [], opts \\ []) View Source

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

Parameters

  • connection (GoogleApi.Container.V1.Connection): Connection to server
  • project_id (String.t): Deprecated. The Google Developers Console project ID or project number. This field has been deprecated and replaced by the parent field.
  • zone (String.t): 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.
  • optional_params (KeywordList): [optional] Optional parameters

    • :$.xgafv (String.t): V1 error format.
    • :access_token (String.t): OAuth access token.
    • :alt (String.t): Data format for response.
    • :callback (String.t): JSONP
    • :fields (String.t): Selector specifying which fields to include in a partial response.
    • :key (String.t): 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.t): OAuth 2.0 token for the current user.
    • :prettyPrint (boolean()): Returns response with indentations and line breaks.
    • :quotaUser (String.t): 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.t): Upload protocol for media (e.g. "raw", "multipart").
    • :uploadType (String.t): Legacy upload protocol for media (e.g. "media", "multipart").
    • :parent (String.t): The parent (project and location) where the clusters will be listed. Specified in the format 'projects//locations/'. Location "-" matches all zones and all regions.

Returns

{:ok, %GoogleApi.Container.V1.Model.ListClustersResponse{}} on success {:error, info} on failure

Link to this function

container_projects_zones_clusters_locations(connection, project_id, zone, cluster_id, optional_params \\ [], opts \\ []) View Source

Sets the locations for a specific cluster.

Parameters

  • connection (GoogleApi.Container.V1.Connection): Connection to server
  • project_id (String.t): Deprecated. The Google Developers Console project ID or project number. This field has been deprecated and replaced by the name field.
  • zone (String.t): 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.
  • cluster_id (String.t): Deprecated. The name of the cluster to upgrade. This field has been deprecated and replaced by the name field.
  • optional_params (KeywordList): [optional] Optional parameters

    • :$.xgafv (String.t): V1 error format.
    • :access_token (String.t): OAuth access token.
    • :alt (String.t): Data format for response.
    • :callback (String.t): JSONP
    • :fields (String.t): Selector specifying which fields to include in a partial response.
    • :key (String.t): 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.t): OAuth 2.0 token for the current user.
    • :prettyPrint (boolean()): Returns response with indentations and line breaks.
    • :quotaUser (String.t): 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.t): Upload protocol for media (e.g. "raw", "multipart").
    • :uploadType (String.t): Legacy upload protocol for media (e.g. "media", "multipart").
    • :body (SetLocationsRequest):

Returns

{:ok, %GoogleApi.Container.V1.Model.Operation{}} on success {:error, info} on failure

Link to this function

container_projects_zones_clusters_logging(connection, project_id, zone, cluster_id, optional_params \\ [], opts \\ []) View Source

Sets the logging service for a specific cluster.

Parameters

  • connection (GoogleApi.Container.V1.Connection): Connection to server
  • project_id (String.t): Deprecated. The Google Developers Console project ID or project number. This field has been deprecated and replaced by the name field.
  • zone (String.t): 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.
  • cluster_id (String.t): Deprecated. The name of the cluster to upgrade. This field has been deprecated and replaced by the name field.
  • optional_params (KeywordList): [optional] Optional parameters

    • :$.xgafv (String.t): V1 error format.
    • :access_token (String.t): OAuth access token.
    • :alt (String.t): Data format for response.
    • :callback (String.t): JSONP
    • :fields (String.t): Selector specifying which fields to include in a partial response.
    • :key (String.t): 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.t): OAuth 2.0 token for the current user.
    • :prettyPrint (boolean()): Returns response with indentations and line breaks.
    • :quotaUser (String.t): 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.t): Upload protocol for media (e.g. "raw", "multipart").
    • :uploadType (String.t): Legacy upload protocol for media (e.g. "media", "multipart").
    • :body (SetLoggingServiceRequest):

Returns

{:ok, %GoogleApi.Container.V1.Model.Operation{}} on success {:error, info} on failure

Link to this function

container_projects_zones_clusters_master(connection, project_id, zone, cluster_id, optional_params \\ [], opts \\ []) View Source

Updates the master for a specific cluster.

Parameters

  • connection (GoogleApi.Container.V1.Connection): Connection to server
  • project_id (String.t): Deprecated. The Google Developers Console project ID or project number. This field has been deprecated and replaced by the name field.
  • zone (String.t): 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.
  • cluster_id (String.t): Deprecated. The name of the cluster to upgrade. This field has been deprecated and replaced by the name field.
  • optional_params (KeywordList): [optional] Optional parameters

    • :$.xgafv (String.t): V1 error format.
    • :access_token (String.t): OAuth access token.
    • :alt (String.t): Data format for response.
    • :callback (String.t): JSONP
    • :fields (String.t): Selector specifying which fields to include in a partial response.
    • :key (String.t): 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.t): OAuth 2.0 token for the current user.
    • :prettyPrint (boolean()): Returns response with indentations and line breaks.
    • :quotaUser (String.t): 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.t): Upload protocol for media (e.g. "raw", "multipart").
    • :uploadType (String.t): Legacy upload protocol for media (e.g. "media", "multipart").
    • :body (UpdateMasterRequest):

Returns

{:ok, %GoogleApi.Container.V1.Model.Operation{}} on success {:error, info} on failure

Link to this function

container_projects_zones_clusters_monitoring(connection, project_id, zone, cluster_id, optional_params \\ [], opts \\ []) View Source

Sets the monitoring service for a specific cluster.

Parameters

  • connection (GoogleApi.Container.V1.Connection): Connection to server
  • project_id (String.t): Deprecated. The Google Developers Console project ID or project number. This field has been deprecated and replaced by the name field.
  • zone (String.t): 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.
  • cluster_id (String.t): Deprecated. The name of the cluster to upgrade. This field has been deprecated and replaced by the name field.
  • optional_params (KeywordList): [optional] Optional parameters

    • :$.xgafv (String.t): V1 error format.
    • :access_token (String.t): OAuth access token.
    • :alt (String.t): Data format for response.
    • :callback (String.t): JSONP
    • :fields (String.t): Selector specifying which fields to include in a partial response.
    • :key (String.t): 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.t): OAuth 2.0 token for the current user.
    • :prettyPrint (boolean()): Returns response with indentations and line breaks.
    • :quotaUser (String.t): 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.t): Upload protocol for media (e.g. "raw", "multipart").
    • :uploadType (String.t): Legacy upload protocol for media (e.g. "media", "multipart").
    • :body (SetMonitoringServiceRequest):

Returns

{:ok, %GoogleApi.Container.V1.Model.Operation{}} on success {:error, info} on failure

Link to this function

container_projects_zones_clusters_node_pools_autoscaling(connection, project_id, zone, cluster_id, node_pool_id, optional_params \\ [], opts \\ []) View Source

Sets the autoscaling settings for the specified node pool.

Parameters

  • connection (GoogleApi.Container.V1.Connection): Connection to server
  • project_id (String.t): Deprecated. The Google Developers Console project ID or project number. This field has been deprecated and replaced by the name field.
  • zone (String.t): 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.
  • cluster_id (String.t): Deprecated. The name of the cluster to upgrade. This field has been deprecated and replaced by the name field.
  • node_pool_id (String.t): Deprecated. The name of the node pool to upgrade. This field has been deprecated and replaced by the name field.
  • optional_params (KeywordList): [optional] Optional parameters

    • :$.xgafv (String.t): V1 error format.
    • :access_token (String.t): OAuth access token.
    • :alt (String.t): Data format for response.
    • :callback (String.t): JSONP
    • :fields (String.t): Selector specifying which fields to include in a partial response.
    • :key (String.t): 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.t): OAuth 2.0 token for the current user.
    • :prettyPrint (boolean()): Returns response with indentations and line breaks.
    • :quotaUser (String.t): 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.t): Upload protocol for media (e.g. "raw", "multipart").
    • :uploadType (String.t): Legacy upload protocol for media (e.g. "media", "multipart").
    • :body (SetNodePoolAutoscalingRequest):

Returns

{:ok, %GoogleApi.Container.V1.Model.Operation{}} on success {:error, info} on failure

Link to this function

container_projects_zones_clusters_node_pools_create(connection, project_id, zone, cluster_id, optional_params \\ [], opts \\ []) View Source

Creates a node pool for a cluster.

Parameters

  • connection (GoogleApi.Container.V1.Connection): Connection to server
  • project_id (String.t): Deprecated. The Google Developers Console project ID or project number. This field has been deprecated and replaced by the parent field.
  • zone (String.t): 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.
  • cluster_id (String.t): Deprecated. The name of the cluster. This field has been deprecated and replaced by the parent field.
  • optional_params (KeywordList): [optional] Optional parameters

    • :$.xgafv (String.t): V1 error format.
    • :access_token (String.t): OAuth access token.
    • :alt (String.t): Data format for response.
    • :callback (String.t): JSONP
    • :fields (String.t): Selector specifying which fields to include in a partial response.
    • :key (String.t): 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.t): OAuth 2.0 token for the current user.
    • :prettyPrint (boolean()): Returns response with indentations and line breaks.
    • :quotaUser (String.t): 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.t): Upload protocol for media (e.g. "raw", "multipart").
    • :uploadType (String.t): Legacy upload protocol for media (e.g. "media", "multipart").
    • :body (CreateNodePoolRequest):

Returns

{:ok, %GoogleApi.Container.V1.Model.Operation{}} on success {:error, info} on failure

Link to this function

container_projects_zones_clusters_node_pools_delete(connection, project_id, zone, cluster_id, node_pool_id, optional_params \\ [], opts \\ []) View Source

Deletes a node pool from a cluster.

Parameters

  • connection (GoogleApi.Container.V1.Connection): Connection to server
  • project_id (String.t): Deprecated. The Google Developers Console project ID or project number. This field has been deprecated and replaced by the name field.
  • zone (String.t): 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.
  • cluster_id (String.t): Deprecated. The name of the cluster. This field has been deprecated and replaced by the name field.
  • node_pool_id (String.t): Deprecated. The name of the node pool to delete. This field has been deprecated and replaced by the name field.
  • optional_params (KeywordList): [optional] Optional parameters

    • :$.xgafv (String.t): V1 error format.
    • :access_token (String.t): OAuth access token.
    • :alt (String.t): Data format for response.
    • :callback (String.t): JSONP
    • :fields (String.t): Selector specifying which fields to include in a partial response.
    • :key (String.t): 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.t): OAuth 2.0 token for the current user.
    • :prettyPrint (boolean()): Returns response with indentations and line breaks.
    • :quotaUser (String.t): 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.t): Upload protocol for media (e.g. "raw", "multipart").
    • :uploadType (String.t): Legacy upload protocol for media (e.g. "media", "multipart").
    • :name (String.t): The name (project, location, cluster, node pool id) of the node pool to delete. Specified in the format 'projects//locations//clusters//nodePools/'.

Returns

{:ok, %GoogleApi.Container.V1.Model.Operation{}} on success {:error, info} on failure

Link to this function

container_projects_zones_clusters_node_pools_get(connection, project_id, zone, cluster_id, node_pool_id, optional_params \\ [], opts \\ []) View Source

Retrieves the requested node pool.

Parameters

  • connection (GoogleApi.Container.V1.Connection): Connection to server
  • project_id (String.t): Deprecated. The Google Developers Console project ID or project number. This field has been deprecated and replaced by the name field.
  • zone (String.t): 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.
  • cluster_id (String.t): Deprecated. The name of the cluster. This field has been deprecated and replaced by the name field.
  • node_pool_id (String.t): Deprecated. The name of the node pool. This field has been deprecated and replaced by the name field.
  • optional_params (KeywordList): [optional] Optional parameters

    • :$.xgafv (String.t): V1 error format.
    • :access_token (String.t): OAuth access token.
    • :alt (String.t): Data format for response.
    • :callback (String.t): JSONP
    • :fields (String.t): Selector specifying which fields to include in a partial response.
    • :key (String.t): 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.t): OAuth 2.0 token for the current user.
    • :prettyPrint (boolean()): Returns response with indentations and line breaks.
    • :quotaUser (String.t): 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.t): Upload protocol for media (e.g. "raw", "multipart").
    • :uploadType (String.t): Legacy upload protocol for media (e.g. "media", "multipart").
    • :name (String.t): The name (project, location, cluster, node pool id) of the node pool to get. Specified in the format 'projects//locations//clusters//nodePools/'.

Returns

{:ok, %GoogleApi.Container.V1.Model.NodePool{}} on success {:error, info} on failure

Link to this function

container_projects_zones_clusters_node_pools_list(connection, project_id, zone, cluster_id, optional_params \\ [], opts \\ []) View Source

Lists the node pools for a cluster.

Parameters

  • connection (GoogleApi.Container.V1.Connection): Connection to server
  • project_id (String.t): Deprecated. The Google Developers Console project ID or project number. This field has been deprecated and replaced by the parent field.
  • zone (String.t): 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.
  • cluster_id (String.t): Deprecated. The name of the cluster. This field has been deprecated and replaced by the parent field.
  • optional_params (KeywordList): [optional] Optional parameters

    • :$.xgafv (String.t): V1 error format.
    • :access_token (String.t): OAuth access token.
    • :alt (String.t): Data format for response.
    • :callback (String.t): JSONP
    • :fields (String.t): Selector specifying which fields to include in a partial response.
    • :key (String.t): 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.t): OAuth 2.0 token for the current user.
    • :prettyPrint (boolean()): Returns response with indentations and line breaks.
    • :quotaUser (String.t): 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.t): Upload protocol for media (e.g. "raw", "multipart").
    • :uploadType (String.t): Legacy upload protocol for media (e.g. "media", "multipart").
    • :parent (String.t): The parent (project, location, cluster id) where the node pools will be listed. Specified in the format 'projects//locations//clusters/*'.

Returns

{:ok, %GoogleApi.Container.V1.Model.ListNodePoolsResponse{}} on success {:error, info} on failure

Link to this function

container_projects_zones_clusters_node_pools_rollback(connection, project_id, zone, cluster_id, node_pool_id, optional_params \\ [], opts \\ []) View Source

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

Parameters

  • connection (GoogleApi.Container.V1.Connection): Connection to server
  • project_id (String.t): Deprecated. The Google Developers Console project ID or project number. This field has been deprecated and replaced by the name field.
  • zone (String.t): 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.
  • cluster_id (String.t): Deprecated. The name of the cluster to rollback. This field has been deprecated and replaced by the name field.
  • node_pool_id (String.t): Deprecated. The name of the node pool to rollback. This field has been deprecated and replaced by the name field.
  • optional_params (KeywordList): [optional] Optional parameters

    • :$.xgafv (String.t): V1 error format.
    • :access_token (String.t): OAuth access token.
    • :alt (String.t): Data format for response.
    • :callback (String.t): JSONP
    • :fields (String.t): Selector specifying which fields to include in a partial response.
    • :key (String.t): 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.t): OAuth 2.0 token for the current user.
    • :prettyPrint (boolean()): Returns response with indentations and line breaks.
    • :quotaUser (String.t): 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.t): Upload protocol for media (e.g. "raw", "multipart").
    • :uploadType (String.t): Legacy upload protocol for media (e.g. "media", "multipart").
    • :body (RollbackNodePoolUpgradeRequest):

Returns

{:ok, %GoogleApi.Container.V1.Model.Operation{}} on success {:error, info} on failure

Link to this function

container_projects_zones_clusters_node_pools_set_management(connection, project_id, zone, cluster_id, node_pool_id, optional_params \\ [], opts \\ []) View Source

Sets the NodeManagement options for a node pool.

Parameters

  • connection (GoogleApi.Container.V1.Connection): Connection to server
  • project_id (String.t): Deprecated. The Google Developers Console project ID or project number. This field has been deprecated and replaced by the name field.
  • zone (String.t): 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.
  • cluster_id (String.t): Deprecated. The name of the cluster to update. This field has been deprecated and replaced by the name field.
  • node_pool_id (String.t): Deprecated. The name of the node pool to update. This field has been deprecated and replaced by the name field.
  • optional_params (KeywordList): [optional] Optional parameters

    • :$.xgafv (String.t): V1 error format.
    • :access_token (String.t): OAuth access token.
    • :alt (String.t): Data format for response.
    • :callback (String.t): JSONP
    • :fields (String.t): Selector specifying which fields to include in a partial response.
    • :key (String.t): 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.t): OAuth 2.0 token for the current user.
    • :prettyPrint (boolean()): Returns response with indentations and line breaks.
    • :quotaUser (String.t): 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.t): Upload protocol for media (e.g. "raw", "multipart").
    • :uploadType (String.t): Legacy upload protocol for media (e.g. "media", "multipart").
    • :body (SetNodePoolManagementRequest):

Returns

{:ok, %GoogleApi.Container.V1.Model.Operation{}} on success {:error, info} on failure

Link to this function

container_projects_zones_clusters_node_pools_set_size(connection, project_id, zone, cluster_id, node_pool_id, optional_params \\ [], opts \\ []) View Source

Sets the size for a specific node pool.

Parameters

  • connection (GoogleApi.Container.V1.Connection): Connection to server
  • project_id (String.t): Deprecated. The Google Developers Console project ID or project number. This field has been deprecated and replaced by the name field.
  • zone (String.t): 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.
  • cluster_id (String.t): Deprecated. The name of the cluster to update. This field has been deprecated and replaced by the name field.
  • node_pool_id (String.t): Deprecated. The name of the node pool to update. This field has been deprecated and replaced by the name field.
  • optional_params (KeywordList): [optional] Optional parameters

    • :$.xgafv (String.t): V1 error format.
    • :access_token (String.t): OAuth access token.
    • :alt (String.t): Data format for response.
    • :callback (String.t): JSONP
    • :fields (String.t): Selector specifying which fields to include in a partial response.
    • :key (String.t): 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.t): OAuth 2.0 token for the current user.
    • :prettyPrint (boolean()): Returns response with indentations and line breaks.
    • :quotaUser (String.t): 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.t): Upload protocol for media (e.g. "raw", "multipart").
    • :uploadType (String.t): Legacy upload protocol for media (e.g. "media", "multipart").
    • :body (SetNodePoolSizeRequest):

Returns

{:ok, %GoogleApi.Container.V1.Model.Operation{}} on success {:error, info} on failure

Link to this function

container_projects_zones_clusters_node_pools_update(connection, project_id, zone, cluster_id, node_pool_id, optional_params \\ [], opts \\ []) View Source

Updates the version and/or image type for the specified node pool.

Parameters

  • connection (GoogleApi.Container.V1.Connection): Connection to server
  • project_id (String.t): Deprecated. The Google Developers Console project ID or project number. This field has been deprecated and replaced by the name field.
  • zone (String.t): 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.
  • cluster_id (String.t): Deprecated. The name of the cluster to upgrade. This field has been deprecated and replaced by the name field.
  • node_pool_id (String.t): Deprecated. The name of the node pool to upgrade. This field has been deprecated and replaced by the name field.
  • optional_params (KeywordList): [optional] Optional parameters

    • :$.xgafv (String.t): V1 error format.
    • :access_token (String.t): OAuth access token.
    • :alt (String.t): Data format for response.
    • :callback (String.t): JSONP
    • :fields (String.t): Selector specifying which fields to include in a partial response.
    • :key (String.t): 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.t): OAuth 2.0 token for the current user.
    • :prettyPrint (boolean()): Returns response with indentations and line breaks.
    • :quotaUser (String.t): 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.t): Upload protocol for media (e.g. "raw", "multipart").
    • :uploadType (String.t): Legacy upload protocol for media (e.g. "media", "multipart").
    • :body (UpdateNodePoolRequest):

Returns

{:ok, %GoogleApi.Container.V1.Model.Operation{}} on success {:error, info} on failure

Link to this function

container_projects_zones_clusters_resource_labels(connection, project_id, zone, cluster_id, optional_params \\ [], opts \\ []) View Source

Sets labels on a cluster.

Parameters

  • connection (GoogleApi.Container.V1.Connection): Connection to server
  • project_id (String.t): Deprecated. The Google Developers Console project ID or project number. This field has been deprecated and replaced by the name field.
  • zone (String.t): 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.
  • cluster_id (String.t): Deprecated. The name of the cluster. This field has been deprecated and replaced by the name field.
  • optional_params (KeywordList): [optional] Optional parameters

    • :$.xgafv (String.t): V1 error format.
    • :access_token (String.t): OAuth access token.
    • :alt (String.t): Data format for response.
    • :callback (String.t): JSONP
    • :fields (String.t): Selector specifying which fields to include in a partial response.
    • :key (String.t): 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.t): OAuth 2.0 token for the current user.
    • :prettyPrint (boolean()): Returns response with indentations and line breaks.
    • :quotaUser (String.t): 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.t): Upload protocol for media (e.g. "raw", "multipart").
    • :uploadType (String.t): Legacy upload protocol for media (e.g. "media", "multipart").
    • :body (SetLabelsRequest):

Returns

{:ok, %GoogleApi.Container.V1.Model.Operation{}} on success {:error, info} on failure

Link to this function

container_projects_zones_clusters_set_maintenance_policy(connection, project_id, zone, cluster_id, optional_params \\ [], opts \\ []) View Source

Sets the maintenance policy for a cluster.

Parameters

  • connection (GoogleApi.Container.V1.Connection): Connection to server
  • project_id (String.t): The Google Developers Console project ID or project number.
  • zone (String.t): The name of the Google Compute Engine zone in which the cluster resides.
  • cluster_id (String.t): The name of the cluster to update.
  • optional_params (KeywordList): [optional] Optional parameters

    • :$.xgafv (String.t): V1 error format.
    • :access_token (String.t): OAuth access token.
    • :alt (String.t): Data format for response.
    • :callback (String.t): JSONP
    • :fields (String.t): Selector specifying which fields to include in a partial response.
    • :key (String.t): 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.t): OAuth 2.0 token for the current user.
    • :prettyPrint (boolean()): Returns response with indentations and line breaks.
    • :quotaUser (String.t): 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.t): Upload protocol for media (e.g. "raw", "multipart").
    • :uploadType (String.t): Legacy upload protocol for media (e.g. "media", "multipart").
    • :body (SetMaintenancePolicyRequest):

Returns

{:ok, %GoogleApi.Container.V1.Model.Operation{}} on success {:error, info} on failure

Link to this function

container_projects_zones_clusters_set_master_auth(connection, project_id, zone, cluster_id, optional_params \\ [], opts \\ []) View Source

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

Parameters

  • connection (GoogleApi.Container.V1.Connection): Connection to server
  • project_id (String.t): Deprecated. The Google Developers Console project ID or project number. This field has been deprecated and replaced by the name field.
  • zone (String.t): 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.
  • cluster_id (String.t): Deprecated. The name of the cluster to upgrade. This field has been deprecated and replaced by the name field.
  • optional_params (KeywordList): [optional] Optional parameters

    • :$.xgafv (String.t): V1 error format.
    • :access_token (String.t): OAuth access token.
    • :alt (String.t): Data format for response.
    • :callback (String.t): JSONP
    • :fields (String.t): Selector specifying which fields to include in a partial response.
    • :key (String.t): 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.t): OAuth 2.0 token for the current user.
    • :prettyPrint (boolean()): Returns response with indentations and line breaks.
    • :quotaUser (String.t): 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.t): Upload protocol for media (e.g. "raw", "multipart").
    • :uploadType (String.t): Legacy upload protocol for media (e.g. "media", "multipart").
    • :body (SetMasterAuthRequest):

Returns

{:ok, %GoogleApi.Container.V1.Model.Operation{}} on success {:error, info} on failure

Link to this function

container_projects_zones_clusters_set_network_policy(connection, project_id, zone, cluster_id, optional_params \\ [], opts \\ []) View Source

Enables or disables Network Policy for a cluster.

Parameters

  • connection (GoogleApi.Container.V1.Connection): Connection to server
  • project_id (String.t): Deprecated. The Google Developers Console project ID or project number. This field has been deprecated and replaced by the name field.
  • zone (String.t): 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.
  • cluster_id (String.t): Deprecated. The name of the cluster. This field has been deprecated and replaced by the name field.
  • optional_params (KeywordList): [optional] Optional parameters

    • :$.xgafv (String.t): V1 error format.
    • :access_token (String.t): OAuth access token.
    • :alt (String.t): Data format for response.
    • :callback (String.t): JSONP
    • :fields (String.t): Selector specifying which fields to include in a partial response.
    • :key (String.t): 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.t): OAuth 2.0 token for the current user.
    • :prettyPrint (boolean()): Returns response with indentations and line breaks.
    • :quotaUser (String.t): 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.t): Upload protocol for media (e.g. "raw", "multipart").
    • :uploadType (String.t): Legacy upload protocol for media (e.g. "media", "multipart").
    • :body (SetNetworkPolicyRequest):

Returns

{:ok, %GoogleApi.Container.V1.Model.Operation{}} on success {:error, info} on failure

Link to this function

container_projects_zones_clusters_start_ip_rotation(connection, project_id, zone, cluster_id, optional_params \\ [], opts \\ []) View Source

Starts master IP rotation.

Parameters

  • connection (GoogleApi.Container.V1.Connection): Connection to server
  • project_id (String.t): Deprecated. The Google Developers Console project ID or project number. This field has been deprecated and replaced by the name field.
  • zone (String.t): 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.
  • cluster_id (String.t): Deprecated. The name of the cluster. This field has been deprecated and replaced by the name field.
  • optional_params (KeywordList): [optional] Optional parameters

    • :$.xgafv (String.t): V1 error format.
    • :access_token (String.t): OAuth access token.
    • :alt (String.t): Data format for response.
    • :callback (String.t): JSONP
    • :fields (String.t): Selector specifying which fields to include in a partial response.
    • :key (String.t): 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.t): OAuth 2.0 token for the current user.
    • :prettyPrint (boolean()): Returns response with indentations and line breaks.
    • :quotaUser (String.t): 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.t): Upload protocol for media (e.g. "raw", "multipart").
    • :uploadType (String.t): Legacy upload protocol for media (e.g. "media", "multipart").
    • :body (StartIpRotationRequest):

Returns

{:ok, %GoogleApi.Container.V1.Model.Operation{}} on success {:error, info} on failure

Link to this function

container_projects_zones_clusters_update(connection, project_id, zone, cluster_id, optional_params \\ [], opts \\ []) View Source

Updates the settings of a specific cluster.

Parameters

  • connection (GoogleApi.Container.V1.Connection): Connection to server
  • project_id (String.t): Deprecated. The Google Developers Console project ID or project number. This field has been deprecated and replaced by the name field.
  • zone (String.t): 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.
  • cluster_id (String.t): Deprecated. The name of the cluster to upgrade. This field has been deprecated and replaced by the name field.
  • optional_params (KeywordList): [optional] Optional parameters

    • :$.xgafv (String.t): V1 error format.
    • :access_token (String.t): OAuth access token.
    • :alt (String.t): Data format for response.
    • :callback (String.t): JSONP
    • :fields (String.t): Selector specifying which fields to include in a partial response.
    • :key (String.t): 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.t): OAuth 2.0 token for the current user.
    • :prettyPrint (boolean()): Returns response with indentations and line breaks.
    • :quotaUser (String.t): 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.t): Upload protocol for media (e.g. "raw", "multipart").
    • :uploadType (String.t): Legacy upload protocol for media (e.g. "media", "multipart").
    • :body (UpdateClusterRequest):

Returns

{:ok, %GoogleApi.Container.V1.Model.Operation{}} on success {:error, info} on failure

Link to this function

container_projects_zones_get_serverconfig(connection, project_id, zone, optional_params \\ [], opts \\ []) View Source

Returns configuration info about the Google Kubernetes Engine service.

Parameters

  • connection (GoogleApi.Container.V1.Connection): Connection to server
  • project_id (String.t): Deprecated. The Google Developers Console project ID or project number. This field has been deprecated and replaced by the name field.
  • zone (String.t): Deprecated. The name of the Google Compute Engine zone to return operations for. This field has been deprecated and replaced by the name field.
  • optional_params (KeywordList): [optional] Optional parameters

    • :$.xgafv (String.t): V1 error format.
    • :access_token (String.t): OAuth access token.
    • :alt (String.t): Data format for response.
    • :callback (String.t): JSONP
    • :fields (String.t): Selector specifying which fields to include in a partial response.
    • :key (String.t): 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.t): OAuth 2.0 token for the current user.
    • :prettyPrint (boolean()): Returns response with indentations and line breaks.
    • :quotaUser (String.t): 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.t): Upload protocol for media (e.g. "raw", "multipart").
    • :uploadType (String.t): Legacy upload protocol for media (e.g. "media", "multipart").
    • :name (String.t): The name (project and location) of the server config to get, specified in the format 'projects//locations/'.

Returns

{:ok, %GoogleApi.Container.V1.Model.ServerConfig{}} on success {:error, info} on failure

Link to this function

container_projects_zones_operations_cancel(connection, project_id, zone, operation_id, optional_params \\ [], opts \\ []) View Source

Cancels the specified operation.

Parameters

  • connection (GoogleApi.Container.V1.Connection): Connection to server
  • project_id (String.t): Deprecated. The Google Developers Console project ID or project number. This field has been deprecated and replaced by the name field.
  • zone (String.t): 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.
  • operation_id (String.t): Deprecated. The server-assigned `name` of the operation. This field has been deprecated and replaced by the name field.
  • optional_params (KeywordList): [optional] Optional parameters

    • :$.xgafv (String.t): V1 error format.
    • :access_token (String.t): OAuth access token.
    • :alt (String.t): Data format for response.
    • :callback (String.t): JSONP
    • :fields (String.t): Selector specifying which fields to include in a partial response.
    • :key (String.t): 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.t): OAuth 2.0 token for the current user.
    • :prettyPrint (boolean()): Returns response with indentations and line breaks.
    • :quotaUser (String.t): 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.t): Upload protocol for media (e.g. "raw", "multipart").
    • :uploadType (String.t): Legacy upload protocol for media (e.g. "media", "multipart").
    • :body (CancelOperationRequest):

Returns

{:ok, %GoogleApi.Container.V1.Model.Empty{}} on success {:error, info} on failure

Link to this function

container_projects_zones_operations_get(connection, project_id, zone, operation_id, optional_params \\ [], opts \\ []) View Source

Gets the specified operation.

Parameters

  • connection (GoogleApi.Container.V1.Connection): Connection to server
  • project_id (String.t): Deprecated. The Google Developers Console project ID or project number. This field has been deprecated and replaced by the name field.
  • zone (String.t): 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.
  • operation_id (String.t): Deprecated. The server-assigned `name` of the operation. This field has been deprecated and replaced by the name field.
  • optional_params (KeywordList): [optional] Optional parameters

    • :$.xgafv (String.t): V1 error format.
    • :access_token (String.t): OAuth access token.
    • :alt (String.t): Data format for response.
    • :callback (String.t): JSONP
    • :fields (String.t): Selector specifying which fields to include in a partial response.
    • :key (String.t): 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.t): OAuth 2.0 token for the current user.
    • :prettyPrint (boolean()): Returns response with indentations and line breaks.
    • :quotaUser (String.t): 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.t): Upload protocol for media (e.g. "raw", "multipart").
    • :uploadType (String.t): Legacy upload protocol for media (e.g. "media", "multipart").
    • :name (String.t): The name (project, location, operation id) of the operation to get. Specified in the format 'projects//locations//operations/*'.

Returns

{:ok, %GoogleApi.Container.V1.Model.Operation{}} on success {:error, info} on failure

Link to this function

container_projects_zones_operations_list(connection, project_id, zone, optional_params \\ [], opts \\ []) View Source

Lists all operations in a project in a specific zone or all zones.

Parameters

  • connection (GoogleApi.Container.V1.Connection): Connection to server
  • project_id (String.t): Deprecated. The Google Developers Console project ID or project number. This field has been deprecated and replaced by the parent field.
  • zone (String.t): 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.
  • optional_params (KeywordList): [optional] Optional parameters

    • :$.xgafv (String.t): V1 error format.
    • :access_token (String.t): OAuth access token.
    • :alt (String.t): Data format for response.
    • :callback (String.t): JSONP
    • :fields (String.t): Selector specifying which fields to include in a partial response.
    • :key (String.t): 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.t): OAuth 2.0 token for the current user.
    • :prettyPrint (boolean()): Returns response with indentations and line breaks.
    • :quotaUser (String.t): 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.t): Upload protocol for media (e.g. "raw", "multipart").
    • :uploadType (String.t): Legacy upload protocol for media (e.g. "media", "multipart").
    • :parent (String.t): The parent (project and location) where the operations will be listed. Specified in the format 'projects//locations/'. Location "-" matches all zones and all regions.

Returns

{:ok, %GoogleApi.Container.V1.Model.ListOperationsResponse{}} on success {:error, info} on failure