Class: Google::Container::V1::Operation

Inherits:
Object
  • Object
show all
Defined in:
lib/google/cloud/container/v1/doc/google/container/v1/cluster_service.rb

Overview

This operation resource represents operations that may have happened or are happening on the cluster. All fields are output only.

Defined Under Namespace

Modules: Status, Type

Instance Attribute Summary collapse

Instance Attribute Details

#cluster_conditionsArray<Google::Container::V1::StatusCondition>



932
933
934
935
936
937
938
939
940
941
942
943
944
945
946
947
948
949
950
951
952
953
954
955
956
957
958
959
960
961
962
963
964
965
966
967
968
969
970
971
972
973
974
975
976
977
978
979
980
981
982
983
984
985
986
987
988
989
990
991
992
993
994
995
996
997
998
999
1000
1001
1002
1003
1004
# File 'lib/google/cloud/container/v1/doc/google/container/v1/cluster_service.rb', line 932

class Operation
  # Current status of the operation.
  module Status
    # Not set.
    STATUS_UNSPECIFIED = 0

    # The operation has been created.
    PENDING = 1

    # The operation is currently running.
    RUNNING = 2

    # The operation is done, either cancelled or completed.
    DONE = 3

    # The operation is aborting.
    ABORTING = 4
  end

  # Operation type.
  module Type
    # Not set.
    TYPE_UNSPECIFIED = 0

    # Cluster create.
    CREATE_CLUSTER = 1

    # Cluster delete.
    DELETE_CLUSTER = 2

    # A master upgrade.
    UPGRADE_MASTER = 3

    # A node upgrade.
    UPGRADE_NODES = 4

    # Cluster repair.
    REPAIR_CLUSTER = 5

    # Cluster update.
    UPDATE_CLUSTER = 6

    # Node pool create.
    CREATE_NODE_POOL = 7

    # Node pool delete.
    DELETE_NODE_POOL = 8

    # Set node pool management.
    SET_NODE_POOL_MANAGEMENT = 9

    # Automatic node pool repair.
    AUTO_REPAIR_NODES = 10

    # Automatic node upgrade.
    AUTO_UPGRADE_NODES = 11

    # Set labels.
    SET_LABELS = 12

    # Set/generate master auth materials
    SET_MASTER_AUTH = 13

    # Set node pool size.
    SET_NODE_POOL_SIZE = 14

    # Updates network policy for a cluster.
    SET_NETWORK_POLICY = 15

    # Set the maintenance policy.
    SET_MAINTENANCE_POLICY = 16
  end
end

#detailString



932
933
934
935
936
937
938
939
940
941
942
943
944
945
946
947
948
949
950
951
952
953
954
955
956
957
958
959
960
961
962
963
964
965
966
967
968
969
970
971
972
973
974
975
976
977
978
979
980
981
982
983
984
985
986
987
988
989
990
991
992
993
994
995
996
997
998
999
1000
1001
1002
1003
1004
# File 'lib/google/cloud/container/v1/doc/google/container/v1/cluster_service.rb', line 932

class Operation
  # Current status of the operation.
  module Status
    # Not set.
    STATUS_UNSPECIFIED = 0

    # The operation has been created.
    PENDING = 1

    # The operation is currently running.
    RUNNING = 2

    # The operation is done, either cancelled or completed.
    DONE = 3

    # The operation is aborting.
    ABORTING = 4
  end

  # Operation type.
  module Type
    # Not set.
    TYPE_UNSPECIFIED = 0

    # Cluster create.
    CREATE_CLUSTER = 1

    # Cluster delete.
    DELETE_CLUSTER = 2

    # A master upgrade.
    UPGRADE_MASTER = 3

    # A node upgrade.
    UPGRADE_NODES = 4

    # Cluster repair.
    REPAIR_CLUSTER = 5

    # Cluster update.
    UPDATE_CLUSTER = 6

    # Node pool create.
    CREATE_NODE_POOL = 7

    # Node pool delete.
    DELETE_NODE_POOL = 8

    # Set node pool management.
    SET_NODE_POOL_MANAGEMENT = 9

    # Automatic node pool repair.
    AUTO_REPAIR_NODES = 10

    # Automatic node upgrade.
    AUTO_UPGRADE_NODES = 11

    # Set labels.
    SET_LABELS = 12

    # Set/generate master auth materials
    SET_MASTER_AUTH = 13

    # Set node pool size.
    SET_NODE_POOL_SIZE = 14

    # Updates network policy for a cluster.
    SET_NETWORK_POLICY = 15

    # Set the maintenance policy.
    SET_MAINTENANCE_POLICY = 16
  end
end

#end_timeString



932
933
934
935
936
937
938
939
940
941
942
943
944
945
946
947
948
949
950
951
952
953
954
955
956
957
958
959
960
961
962
963
964
965
966
967
968
969
970
971
972
973
974
975
976
977
978
979
980
981
982
983
984
985
986
987
988
989
990
991
992
993
994
995
996
997
998
999
1000
1001
1002
1003
1004
# File 'lib/google/cloud/container/v1/doc/google/container/v1/cluster_service.rb', line 932

class Operation
  # Current status of the operation.
  module Status
    # Not set.
    STATUS_UNSPECIFIED = 0

    # The operation has been created.
    PENDING = 1

    # The operation is currently running.
    RUNNING = 2

    # The operation is done, either cancelled or completed.
    DONE = 3

    # The operation is aborting.
    ABORTING = 4
  end

  # Operation type.
  module Type
    # Not set.
    TYPE_UNSPECIFIED = 0

    # Cluster create.
    CREATE_CLUSTER = 1

    # Cluster delete.
    DELETE_CLUSTER = 2

    # A master upgrade.
    UPGRADE_MASTER = 3

    # A node upgrade.
    UPGRADE_NODES = 4

    # Cluster repair.
    REPAIR_CLUSTER = 5

    # Cluster update.
    UPDATE_CLUSTER = 6

    # Node pool create.
    CREATE_NODE_POOL = 7

    # Node pool delete.
    DELETE_NODE_POOL = 8

    # Set node pool management.
    SET_NODE_POOL_MANAGEMENT = 9

    # Automatic node pool repair.
    AUTO_REPAIR_NODES = 10

    # Automatic node upgrade.
    AUTO_UPGRADE_NODES = 11

    # Set labels.
    SET_LABELS = 12

    # Set/generate master auth materials
    SET_MASTER_AUTH = 13

    # Set node pool size.
    SET_NODE_POOL_SIZE = 14

    # Updates network policy for a cluster.
    SET_NETWORK_POLICY = 15

    # Set the maintenance policy.
    SET_MAINTENANCE_POLICY = 16
  end
end

#locationString



932
933
934
935
936
937
938
939
940
941
942
943
944
945
946
947
948
949
950
951
952
953
954
955
956
957
958
959
960
961
962
963
964
965
966
967
968
969
970
971
972
973
974
975
976
977
978
979
980
981
982
983
984
985
986
987
988
989
990
991
992
993
994
995
996
997
998
999
1000
1001
1002
1003
1004
# File 'lib/google/cloud/container/v1/doc/google/container/v1/cluster_service.rb', line 932

class Operation
  # Current status of the operation.
  module Status
    # Not set.
    STATUS_UNSPECIFIED = 0

    # The operation has been created.
    PENDING = 1

    # The operation is currently running.
    RUNNING = 2

    # The operation is done, either cancelled or completed.
    DONE = 3

    # The operation is aborting.
    ABORTING = 4
  end

  # Operation type.
  module Type
    # Not set.
    TYPE_UNSPECIFIED = 0

    # Cluster create.
    CREATE_CLUSTER = 1

    # Cluster delete.
    DELETE_CLUSTER = 2

    # A master upgrade.
    UPGRADE_MASTER = 3

    # A node upgrade.
    UPGRADE_NODES = 4

    # Cluster repair.
    REPAIR_CLUSTER = 5

    # Cluster update.
    UPDATE_CLUSTER = 6

    # Node pool create.
    CREATE_NODE_POOL = 7

    # Node pool delete.
    DELETE_NODE_POOL = 8

    # Set node pool management.
    SET_NODE_POOL_MANAGEMENT = 9

    # Automatic node pool repair.
    AUTO_REPAIR_NODES = 10

    # Automatic node upgrade.
    AUTO_UPGRADE_NODES = 11

    # Set labels.
    SET_LABELS = 12

    # Set/generate master auth materials
    SET_MASTER_AUTH = 13

    # Set node pool size.
    SET_NODE_POOL_SIZE = 14

    # Updates network policy for a cluster.
    SET_NETWORK_POLICY = 15

    # Set the maintenance policy.
    SET_MAINTENANCE_POLICY = 16
  end
end

#nameString



932
933
934
935
936
937
938
939
940
941
942
943
944
945
946
947
948
949
950
951
952
953
954
955
956
957
958
959
960
961
962
963
964
965
966
967
968
969
970
971
972
973
974
975
976
977
978
979
980
981
982
983
984
985
986
987
988
989
990
991
992
993
994
995
996
997
998
999
1000
1001
1002
1003
1004
# File 'lib/google/cloud/container/v1/doc/google/container/v1/cluster_service.rb', line 932

class Operation
  # Current status of the operation.
  module Status
    # Not set.
    STATUS_UNSPECIFIED = 0

    # The operation has been created.
    PENDING = 1

    # The operation is currently running.
    RUNNING = 2

    # The operation is done, either cancelled or completed.
    DONE = 3

    # The operation is aborting.
    ABORTING = 4
  end

  # Operation type.
  module Type
    # Not set.
    TYPE_UNSPECIFIED = 0

    # Cluster create.
    CREATE_CLUSTER = 1

    # Cluster delete.
    DELETE_CLUSTER = 2

    # A master upgrade.
    UPGRADE_MASTER = 3

    # A node upgrade.
    UPGRADE_NODES = 4

    # Cluster repair.
    REPAIR_CLUSTER = 5

    # Cluster update.
    UPDATE_CLUSTER = 6

    # Node pool create.
    CREATE_NODE_POOL = 7

    # Node pool delete.
    DELETE_NODE_POOL = 8

    # Set node pool management.
    SET_NODE_POOL_MANAGEMENT = 9

    # Automatic node pool repair.
    AUTO_REPAIR_NODES = 10

    # Automatic node upgrade.
    AUTO_UPGRADE_NODES = 11

    # Set labels.
    SET_LABELS = 12

    # Set/generate master auth materials
    SET_MASTER_AUTH = 13

    # Set node pool size.
    SET_NODE_POOL_SIZE = 14

    # Updates network policy for a cluster.
    SET_NETWORK_POLICY = 15

    # Set the maintenance policy.
    SET_MAINTENANCE_POLICY = 16
  end
end

#nodepool_conditionsArray<Google::Container::V1::StatusCondition>



932
933
934
935
936
937
938
939
940
941
942
943
944
945
946
947
948
949
950
951
952
953
954
955
956
957
958
959
960
961
962
963
964
965
966
967
968
969
970
971
972
973
974
975
976
977
978
979
980
981
982
983
984
985
986
987
988
989
990
991
992
993
994
995
996
997
998
999
1000
1001
1002
1003
1004
# File 'lib/google/cloud/container/v1/doc/google/container/v1/cluster_service.rb', line 932

class Operation
  # Current status of the operation.
  module Status
    # Not set.
    STATUS_UNSPECIFIED = 0

    # The operation has been created.
    PENDING = 1

    # The operation is currently running.
    RUNNING = 2

    # The operation is done, either cancelled or completed.
    DONE = 3

    # The operation is aborting.
    ABORTING = 4
  end

  # Operation type.
  module Type
    # Not set.
    TYPE_UNSPECIFIED = 0

    # Cluster create.
    CREATE_CLUSTER = 1

    # Cluster delete.
    DELETE_CLUSTER = 2

    # A master upgrade.
    UPGRADE_MASTER = 3

    # A node upgrade.
    UPGRADE_NODES = 4

    # Cluster repair.
    REPAIR_CLUSTER = 5

    # Cluster update.
    UPDATE_CLUSTER = 6

    # Node pool create.
    CREATE_NODE_POOL = 7

    # Node pool delete.
    DELETE_NODE_POOL = 8

    # Set node pool management.
    SET_NODE_POOL_MANAGEMENT = 9

    # Automatic node pool repair.
    AUTO_REPAIR_NODES = 10

    # Automatic node upgrade.
    AUTO_UPGRADE_NODES = 11

    # Set labels.
    SET_LABELS = 12

    # Set/generate master auth materials
    SET_MASTER_AUTH = 13

    # Set node pool size.
    SET_NODE_POOL_SIZE = 14

    # Updates network policy for a cluster.
    SET_NETWORK_POLICY = 15

    # Set the maintenance policy.
    SET_MAINTENANCE_POLICY = 16
  end
end

#operation_typeGoogle::Container::V1::Operation::Type



932
933
934
935
936
937
938
939
940
941
942
943
944
945
946
947
948
949
950
951
952
953
954
955
956
957
958
959
960
961
962
963
964
965
966
967
968
969
970
971
972
973
974
975
976
977
978
979
980
981
982
983
984
985
986
987
988
989
990
991
992
993
994
995
996
997
998
999
1000
1001
1002
1003
1004
# File 'lib/google/cloud/container/v1/doc/google/container/v1/cluster_service.rb', line 932

class Operation
  # Current status of the operation.
  module Status
    # Not set.
    STATUS_UNSPECIFIED = 0

    # The operation has been created.
    PENDING = 1

    # The operation is currently running.
    RUNNING = 2

    # The operation is done, either cancelled or completed.
    DONE = 3

    # The operation is aborting.
    ABORTING = 4
  end

  # Operation type.
  module Type
    # Not set.
    TYPE_UNSPECIFIED = 0

    # Cluster create.
    CREATE_CLUSTER = 1

    # Cluster delete.
    DELETE_CLUSTER = 2

    # A master upgrade.
    UPGRADE_MASTER = 3

    # A node upgrade.
    UPGRADE_NODES = 4

    # Cluster repair.
    REPAIR_CLUSTER = 5

    # Cluster update.
    UPDATE_CLUSTER = 6

    # Node pool create.
    CREATE_NODE_POOL = 7

    # Node pool delete.
    DELETE_NODE_POOL = 8

    # Set node pool management.
    SET_NODE_POOL_MANAGEMENT = 9

    # Automatic node pool repair.
    AUTO_REPAIR_NODES = 10

    # Automatic node upgrade.
    AUTO_UPGRADE_NODES = 11

    # Set labels.
    SET_LABELS = 12

    # Set/generate master auth materials
    SET_MASTER_AUTH = 13

    # Set node pool size.
    SET_NODE_POOL_SIZE = 14

    # Updates network policy for a cluster.
    SET_NETWORK_POLICY = 15

    # Set the maintenance policy.
    SET_MAINTENANCE_POLICY = 16
  end
end


932
933
934
935
936
937
938
939
940
941
942
943
944
945
946
947
948
949
950
951
952
953
954
955
956
957
958
959
960
961
962
963
964
965
966
967
968
969
970
971
972
973
974
975
976
977
978
979
980
981
982
983
984
985
986
987
988
989
990
991
992
993
994
995
996
997
998
999
1000
1001
1002
1003
1004
# File 'lib/google/cloud/container/v1/doc/google/container/v1/cluster_service.rb', line 932

class Operation
  # Current status of the operation.
  module Status
    # Not set.
    STATUS_UNSPECIFIED = 0

    # The operation has been created.
    PENDING = 1

    # The operation is currently running.
    RUNNING = 2

    # The operation is done, either cancelled or completed.
    DONE = 3

    # The operation is aborting.
    ABORTING = 4
  end

  # Operation type.
  module Type
    # Not set.
    TYPE_UNSPECIFIED = 0

    # Cluster create.
    CREATE_CLUSTER = 1

    # Cluster delete.
    DELETE_CLUSTER = 2

    # A master upgrade.
    UPGRADE_MASTER = 3

    # A node upgrade.
    UPGRADE_NODES = 4

    # Cluster repair.
    REPAIR_CLUSTER = 5

    # Cluster update.
    UPDATE_CLUSTER = 6

    # Node pool create.
    CREATE_NODE_POOL = 7

    # Node pool delete.
    DELETE_NODE_POOL = 8

    # Set node pool management.
    SET_NODE_POOL_MANAGEMENT = 9

    # Automatic node pool repair.
    AUTO_REPAIR_NODES = 10

    # Automatic node upgrade.
    AUTO_UPGRADE_NODES = 11

    # Set labels.
    SET_LABELS = 12

    # Set/generate master auth materials
    SET_MASTER_AUTH = 13

    # Set node pool size.
    SET_NODE_POOL_SIZE = 14

    # Updates network policy for a cluster.
    SET_NETWORK_POLICY = 15

    # Set the maintenance policy.
    SET_MAINTENANCE_POLICY = 16
  end
end

#start_timeString



932
933
934
935
936
937
938
939
940
941
942
943
944
945
946
947
948
949
950
951
952
953
954
955
956
957
958
959
960
961
962
963
964
965
966
967
968
969
970
971
972
973
974
975
976
977
978
979
980
981
982
983
984
985
986
987
988
989
990
991
992
993
994
995
996
997
998
999
1000
1001
1002
1003
1004
# File 'lib/google/cloud/container/v1/doc/google/container/v1/cluster_service.rb', line 932

class Operation
  # Current status of the operation.
  module Status
    # Not set.
    STATUS_UNSPECIFIED = 0

    # The operation has been created.
    PENDING = 1

    # The operation is currently running.
    RUNNING = 2

    # The operation is done, either cancelled or completed.
    DONE = 3

    # The operation is aborting.
    ABORTING = 4
  end

  # Operation type.
  module Type
    # Not set.
    TYPE_UNSPECIFIED = 0

    # Cluster create.
    CREATE_CLUSTER = 1

    # Cluster delete.
    DELETE_CLUSTER = 2

    # A master upgrade.
    UPGRADE_MASTER = 3

    # A node upgrade.
    UPGRADE_NODES = 4

    # Cluster repair.
    REPAIR_CLUSTER = 5

    # Cluster update.
    UPDATE_CLUSTER = 6

    # Node pool create.
    CREATE_NODE_POOL = 7

    # Node pool delete.
    DELETE_NODE_POOL = 8

    # Set node pool management.
    SET_NODE_POOL_MANAGEMENT = 9

    # Automatic node pool repair.
    AUTO_REPAIR_NODES = 10

    # Automatic node upgrade.
    AUTO_UPGRADE_NODES = 11

    # Set labels.
    SET_LABELS = 12

    # Set/generate master auth materials
    SET_MASTER_AUTH = 13

    # Set node pool size.
    SET_NODE_POOL_SIZE = 14

    # Updates network policy for a cluster.
    SET_NETWORK_POLICY = 15

    # Set the maintenance policy.
    SET_MAINTENANCE_POLICY = 16
  end
end

#statusGoogle::Container::V1::Operation::Status



932
933
934
935
936
937
938
939
940
941
942
943
944
945
946
947
948
949
950
951
952
953
954
955
956
957
958
959
960
961
962
963
964
965
966
967
968
969
970
971
972
973
974
975
976
977
978
979
980
981
982
983
984
985
986
987
988
989
990
991
992
993
994
995
996
997
998
999
1000
1001
1002
1003
1004
# File 'lib/google/cloud/container/v1/doc/google/container/v1/cluster_service.rb', line 932

class Operation
  # Current status of the operation.
  module Status
    # Not set.
    STATUS_UNSPECIFIED = 0

    # The operation has been created.
    PENDING = 1

    # The operation is currently running.
    RUNNING = 2

    # The operation is done, either cancelled or completed.
    DONE = 3

    # The operation is aborting.
    ABORTING = 4
  end

  # Operation type.
  module Type
    # Not set.
    TYPE_UNSPECIFIED = 0

    # Cluster create.
    CREATE_CLUSTER = 1

    # Cluster delete.
    DELETE_CLUSTER = 2

    # A master upgrade.
    UPGRADE_MASTER = 3

    # A node upgrade.
    UPGRADE_NODES = 4

    # Cluster repair.
    REPAIR_CLUSTER = 5

    # Cluster update.
    UPDATE_CLUSTER = 6

    # Node pool create.
    CREATE_NODE_POOL = 7

    # Node pool delete.
    DELETE_NODE_POOL = 8

    # Set node pool management.
    SET_NODE_POOL_MANAGEMENT = 9

    # Automatic node pool repair.
    AUTO_REPAIR_NODES = 10

    # Automatic node upgrade.
    AUTO_UPGRADE_NODES = 11

    # Set labels.
    SET_LABELS = 12

    # Set/generate master auth materials
    SET_MASTER_AUTH = 13

    # Set node pool size.
    SET_NODE_POOL_SIZE = 14

    # Updates network policy for a cluster.
    SET_NETWORK_POLICY = 15

    # Set the maintenance policy.
    SET_MAINTENANCE_POLICY = 16
  end
end

#status_messageString



932
933
934
935
936
937
938
939
940
941
942
943
944
945
946
947
948
949
950
951
952
953
954
955
956
957
958
959
960
961
962
963
964
965
966
967
968
969
970
971
972
973
974
975
976
977
978
979
980
981
982
983
984
985
986
987
988
989
990
991
992
993
994
995
996
997
998
999
1000
1001
1002
1003
1004
# File 'lib/google/cloud/container/v1/doc/google/container/v1/cluster_service.rb', line 932

class Operation
  # Current status of the operation.
  module Status
    # Not set.
    STATUS_UNSPECIFIED = 0

    # The operation has been created.
    PENDING = 1

    # The operation is currently running.
    RUNNING = 2

    # The operation is done, either cancelled or completed.
    DONE = 3

    # The operation is aborting.
    ABORTING = 4
  end

  # Operation type.
  module Type
    # Not set.
    TYPE_UNSPECIFIED = 0

    # Cluster create.
    CREATE_CLUSTER = 1

    # Cluster delete.
    DELETE_CLUSTER = 2

    # A master upgrade.
    UPGRADE_MASTER = 3

    # A node upgrade.
    UPGRADE_NODES = 4

    # Cluster repair.
    REPAIR_CLUSTER = 5

    # Cluster update.
    UPDATE_CLUSTER = 6

    # Node pool create.
    CREATE_NODE_POOL = 7

    # Node pool delete.
    DELETE_NODE_POOL = 8

    # Set node pool management.
    SET_NODE_POOL_MANAGEMENT = 9

    # Automatic node pool repair.
    AUTO_REPAIR_NODES = 10

    # Automatic node upgrade.
    AUTO_UPGRADE_NODES = 11

    # Set labels.
    SET_LABELS = 12

    # Set/generate master auth materials
    SET_MASTER_AUTH = 13

    # Set node pool size.
    SET_NODE_POOL_SIZE = 14

    # Updates network policy for a cluster.
    SET_NETWORK_POLICY = 15

    # Set the maintenance policy.
    SET_MAINTENANCE_POLICY = 16
  end
end


932
933
934
935
936
937
938
939
940
941
942
943
944
945
946
947
948
949
950
951
952
953
954
955
956
957
958
959
960
961
962
963
964
965
966
967
968
969
970
971
972
973
974
975
976
977
978
979
980
981
982
983
984
985
986
987
988
989
990
991
992
993
994
995
996
997
998
999
1000
1001
1002
1003
1004
# File 'lib/google/cloud/container/v1/doc/google/container/v1/cluster_service.rb', line 932

class Operation
  # Current status of the operation.
  module Status
    # Not set.
    STATUS_UNSPECIFIED = 0

    # The operation has been created.
    PENDING = 1

    # The operation is currently running.
    RUNNING = 2

    # The operation is done, either cancelled or completed.
    DONE = 3

    # The operation is aborting.
    ABORTING = 4
  end

  # Operation type.
  module Type
    # Not set.
    TYPE_UNSPECIFIED = 0

    # Cluster create.
    CREATE_CLUSTER = 1

    # Cluster delete.
    DELETE_CLUSTER = 2

    # A master upgrade.
    UPGRADE_MASTER = 3

    # A node upgrade.
    UPGRADE_NODES = 4

    # Cluster repair.
    REPAIR_CLUSTER = 5

    # Cluster update.
    UPDATE_CLUSTER = 6

    # Node pool create.
    CREATE_NODE_POOL = 7

    # Node pool delete.
    DELETE_NODE_POOL = 8

    # Set node pool management.
    SET_NODE_POOL_MANAGEMENT = 9

    # Automatic node pool repair.
    AUTO_REPAIR_NODES = 10

    # Automatic node upgrade.
    AUTO_UPGRADE_NODES = 11

    # Set labels.
    SET_LABELS = 12

    # Set/generate master auth materials
    SET_MASTER_AUTH = 13

    # Set node pool size.
    SET_NODE_POOL_SIZE = 14

    # Updates network policy for a cluster.
    SET_NETWORK_POLICY = 15

    # Set the maintenance policy.
    SET_MAINTENANCE_POLICY = 16
  end
end

#zoneString



932
933
934
935
936
937
938
939
940
941
942
943
944
945
946
947
948
949
950
951
952
953
954
955
956
957
958
959
960
961
962
963
964
965
966
967
968
969
970
971
972
973
974
975
976
977
978
979
980
981
982
983
984
985
986
987
988
989
990
991
992
993
994
995
996
997
998
999
1000
1001
1002
1003
1004
# File 'lib/google/cloud/container/v1/doc/google/container/v1/cluster_service.rb', line 932

class Operation
  # Current status of the operation.
  module Status
    # Not set.
    STATUS_UNSPECIFIED = 0

    # The operation has been created.
    PENDING = 1

    # The operation is currently running.
    RUNNING = 2

    # The operation is done, either cancelled or completed.
    DONE = 3

    # The operation is aborting.
    ABORTING = 4
  end

  # Operation type.
  module Type
    # Not set.
    TYPE_UNSPECIFIED = 0

    # Cluster create.
    CREATE_CLUSTER = 1

    # Cluster delete.
    DELETE_CLUSTER = 2

    # A master upgrade.
    UPGRADE_MASTER = 3

    # A node upgrade.
    UPGRADE_NODES = 4

    # Cluster repair.
    REPAIR_CLUSTER = 5

    # Cluster update.
    UPDATE_CLUSTER = 6

    # Node pool create.
    CREATE_NODE_POOL = 7

    # Node pool delete.
    DELETE_NODE_POOL = 8

    # Set node pool management.
    SET_NODE_POOL_MANAGEMENT = 9

    # Automatic node pool repair.
    AUTO_REPAIR_NODES = 10

    # Automatic node upgrade.
    AUTO_UPGRADE_NODES = 11

    # Set labels.
    SET_LABELS = 12

    # Set/generate master auth materials
    SET_MASTER_AUTH = 13

    # Set node pool size.
    SET_NODE_POOL_SIZE = 14

    # Updates network policy for a cluster.
    SET_NETWORK_POLICY = 15

    # Set the maintenance policy.
    SET_MAINTENANCE_POLICY = 16
  end
end