Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 4 additions & 2 deletions container/google/cloud/container_v1/__init__.py
Original file line number Diff line number Diff line change
@@ -1,10 +1,12 @@
# Copyright 2017, Google LLC All rights reserved.
# -*- coding: utf-8 -*-
#
# Copyright 2018 Google LLC
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
# You may obtain a copy of the License at
#
# http://www.apache.org/licenses/LICENSE-2.0
# https://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applicable law or agreed to in writing, software
# distributed under the License is distributed on an "AS IS" BASIS,
Expand Down
1,111 changes: 816 additions & 295 deletions container/google/cloud/container_v1/gapic/cluster_manager_client.py

Large diffs are not rendered by default.

20 changes: 12 additions & 8 deletions container/google/cloud/container_v1/gapic/enums.py
Original file line number Diff line number Diff line change
@@ -1,10 +1,12 @@
# Copyright 2017, Google LLC All rights reserved.
# -*- coding: utf-8 -*-
#
# Copyright 2018 Google LLC
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
# You may obtain a copy of the License at
#
# http://www.apache.org/licenses/LICENSE-2.0
# https://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applicable law or agreed to in writing, software
# distributed under the License is distributed on an "AS IS" BASIS,
Expand All @@ -13,9 +15,11 @@
# limitations under the License.
"""Wrappers for protocol buffer enum types."""

import enum


class NetworkPolicy(object):
class Provider(object):
class Provider(enum.IntEnum):
"""
Allowed Network Policy providers.

Expand All @@ -28,7 +32,7 @@ class Provider(object):


class Cluster(object):
class Status(object):
class Status(enum.IntEnum):
"""
The current status of the cluster.

Expand All @@ -53,7 +57,7 @@ class Status(object):


class Operation(object):
class Status(object):
class Status(enum.IntEnum):
"""
Current status of the operation.

Expand All @@ -70,7 +74,7 @@ class Status(object):
DONE = 3
ABORTING = 4

class Type(object):
class Type(enum.IntEnum):
"""
Operation type.

Expand Down Expand Up @@ -113,7 +117,7 @@ class Type(object):


class SetMasterAuthRequest(object):
class Action(object):
class Action(enum.IntEnum):
"""
Operation type: what type update to perform.

Expand All @@ -133,7 +137,7 @@ class Action(object):


class NodePool(object):
class Status(object):
class Status(enum.IntEnum):
"""
The current status of the node pool instance.

Expand Down
Empty file.
Loading