Class: Google::Container::V1beta1::Operation

Inherits:
Object
  • Object
show all
Defined in:
lib/google/cloud/container/v1beta1/doc/google/container/v1beta1/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::V1beta1::StatusCondition>

Returns Which conditions caused the current cluster state.

Returns:



1001
1002
1003
1004
1005
1006
1007
1008
1009
1010
1011
1012
1013
1014
1015
1016
1017
1018
1019
1020
1021
1022
1023
1024
1025
1026
1027
1028
1029
1030
1031
1032
1033
1034
1035
1036
1037
1038
1039
1040
1041
1042
1043
1044
1045
1046
1047
1048
1049
1050
1051
1052
1053
1054
1055
1056
1057
1058
1059
1060
1061
1062
1063
1064
1065
1066
1067
1068
1069
1070
1071
1072
1073
# File 'lib/google/cloud/container/v1beta1/doc/google/container/v1beta1/cluster_service.rb', line 1001

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

Returns Detailed operation progress, if available.

Returns:

  • (String)

    Detailed operation progress, if available.



1001
1002
1003
1004
1005
1006
1007
1008
1009
1010
1011
1012
1013
1014
1015
1016
1017
1018
1019
1020
1021
1022
1023
1024
1025
1026
1027
1028
1029
1030
1031
1032
1033
1034
1035
1036
1037
1038
1039
1040
1041
1042
1043
1044
1045
1046
1047
1048
1049
1050
1051
1052
1053
1054
1055
1056
1057
1058
1059
1060
1061
1062
1063
1064
1065
1066
1067
1068
1069
1070
1071
1072
1073
# File 'lib/google/cloud/container/v1beta1/doc/google/container/v1beta1/cluster_service.rb', line 1001

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

Returns [Output only] The time the operation completed, in RFC3339 text format.

Returns:

  • (String)

    [Output only] The time the operation completed, in RFC3339 text format.



1001
1002
1003
1004
1005
1006
1007
1008
1009
1010
1011
1012
1013
1014
1015
1016
1017
1018
1019
1020
1021
1022
1023
1024
1025
1026
1027
1028
1029
1030
1031
1032
1033
1034
1035
1036
1037
1038
1039
1040
1041
1042
1043
1044
1045
1046
1047
1048
1049
1050
1051
1052
1053
1054
1055
1056
1057
1058
1059
1060
1061
1062
1063
1064
1065
1066
1067
1068
1069
1070
1071
1072
1073
# File 'lib/google/cloud/container/v1beta1/doc/google/container/v1beta1/cluster_service.rb', line 1001

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

Returns [Output only] The name of the Google Compute Engine zone or region in which the cluster resides.

Returns:

  • (String)

    [Output only] The name of the Google Compute Engine zone or region in which the cluster resides.



1001
1002
1003
1004
1005
1006
1007
1008
1009
1010
1011
1012
1013
1014
1015
1016
1017
1018
1019
1020
1021
1022
1023
1024
1025
1026
1027
1028
1029
1030
1031
1032
1033
1034
1035
1036
1037
1038
1039
1040
1041
1042
1043
1044
1045
1046
1047
1048
1049
1050
1051
1052
1053
1054
1055
1056
1057
1058
1059
1060
1061
1062
1063
1064
1065
1066
1067
1068
1069
1070
1071
1072
1073
# File 'lib/google/cloud/container/v1beta1/doc/google/container/v1beta1/cluster_service.rb', line 1001

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

Returns The server-assigned ID for the operation.

Returns:

  • (String)

    The server-assigned ID for the operation.



1001
1002
1003
1004
1005
1006
1007
1008
1009
1010
1011
1012
1013
1014
1015
1016
1017
1018
1019
1020
1021
1022
1023
1024
1025
1026
1027
1028
1029
1030
1031
1032
1033
1034
1035
1036
1037
1038
1039
1040
1041
1042
1043
1044
1045
1046
1047
1048
1049
1050
1051
1052
1053
1054
1055
1056
1057
1058
1059
1060
1061
1062
1063
1064
1065
1066
1067
1068
1069
1070
1071
1072
1073
# File 'lib/google/cloud/container/v1beta1/doc/google/container/v1beta1/cluster_service.rb', line 1001

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::V1beta1::StatusCondition>

Returns Which conditions caused the current node pool state.

Returns:



1001
1002
1003
1004
1005
1006
1007
1008
1009
1010
1011
1012
1013
1014
1015
1016
1017
1018
1019
1020
1021
1022
1023
1024
1025
1026
1027
1028
1029
1030
1031
1032
1033
1034
1035
1036
1037
1038
1039
1040
1041
1042
1043
1044
1045
1046
1047
1048
1049
1050
1051
1052
1053
1054
1055
1056
1057
1058
1059
1060
1061
1062
1063
1064
1065
1066
1067
1068
1069
1070
1071
1072
1073
# File 'lib/google/cloud/container/v1beta1/doc/google/container/v1beta1/cluster_service.rb', line 1001

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::V1beta1::Operation::Type

Returns The operation type.

Returns:



1001
1002
1003
1004
1005
1006
1007
1008
1009
1010
1011
1012
1013
1014
1015
1016
1017
1018
1019
1020
1021
1022
1023
1024
1025
1026
1027
1028
1029
1030
1031
1032
1033
1034
1035
1036
1037
1038
1039
1040
1041
1042
1043
1044
1045
1046
1047
1048
1049
1050
1051
1052
1053
1054
1055
1056
1057
1058
1059
1060
1061
1062
1063
1064
1065
1066
1067
1068
1069
1070
1071
1072
1073
# File 'lib/google/cloud/container/v1beta1/doc/google/container/v1beta1/cluster_service.rb', line 1001

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

#progressGoogle::Container::V1beta1::OperationProgress

Returns [Output only] Progress information for an operation.

Returns:



1001
1002
1003
1004
1005
1006
1007
1008
1009
1010
1011
1012
1013
1014
1015
1016
1017
1018
1019
1020
1021
1022
1023
1024
1025
1026
1027
1028
1029
1030
1031
1032
1033
1034
1035
1036
1037
1038
1039
1040
1041
1042
1043
1044
1045
1046
1047
1048
1049
1050
1051
1052
1053
1054
1055
1056
1057
1058
1059
1060
1061
1062
1063
1064
1065
1066
1067
1068
1069
1070
1071
1072
1073
# File 'lib/google/cloud/container/v1beta1/doc/google/container/v1beta1/cluster_service.rb', line 1001

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

Returns Server-defined URL for the resource.

Returns:

  • (String)

    Server-defined URL for the resource.



1001
1002
1003
1004
1005
1006
1007
1008
1009
1010
1011
1012
1013
1014
1015
1016
1017
1018
1019
1020
1021
1022
1023
1024
1025
1026
1027
1028
1029
1030
1031
1032
1033
1034
1035
1036
1037
1038
1039
1040
1041
1042
1043
1044
1045
1046
1047
1048
1049
1050
1051
1052
1053
1054
1055
1056
1057
1058
1059
1060
1061
1062
1063
1064
1065
1066
1067
1068
1069
1070
1071
1072
1073
# File 'lib/google/cloud/container/v1beta1/doc/google/container/v1beta1/cluster_service.rb', line 1001

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

Returns [Output only] The time the operation started, in RFC3339 text format.

Returns:

  • (String)

    [Output only] The time the operation started, in RFC3339 text format.



1001
1002
1003
1004
1005
1006
1007
1008
1009
1010
1011
1012
1013
1014
1015
1016
1017
1018
1019
1020
1021
1022
1023
1024
1025
1026
1027
1028
1029
1030
1031
1032
1033
1034
1035
1036
1037
1038
1039
1040
1041
1042
1043
1044
1045
1046
1047
1048
1049
1050
1051
1052
1053
1054
1055
1056
1057
1058
1059
1060
1061
1062
1063
1064
1065
1066
1067
1068
1069
1070
1071
1072
1073
# File 'lib/google/cloud/container/v1beta1/doc/google/container/v1beta1/cluster_service.rb', line 1001

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::V1beta1::Operation::Status

Returns The current status of the operation.

Returns:



1001
1002
1003
1004
1005
1006
1007
1008
1009
1010
1011
1012
1013
1014
1015
1016
1017
1018
1019
1020
1021
1022
1023
1024
1025
1026
1027
1028
1029
1030
1031
1032
1033
1034
1035
1036
1037
1038
1039
1040
1041
1042
1043
1044
1045
1046
1047
1048
1049
1050
1051
1052
1053
1054
1055
1056
1057
1058
1059
1060
1061
1062
1063
1064
1065
1066
1067
1068
1069
1070
1071
1072
1073
# File 'lib/google/cloud/container/v1beta1/doc/google/container/v1beta1/cluster_service.rb', line 1001

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

Returns If an error has occurred, a textual description of the error.

Returns:

  • (String)

    If an error has occurred, a textual description of the error.



1001
1002
1003
1004
1005
1006
1007
1008
1009
1010
1011
1012
1013
1014
1015
1016
1017
1018
1019
1020
1021
1022
1023
1024
1025
1026
1027
1028
1029
1030
1031
1032
1033
1034
1035
1036
1037
1038
1039
1040
1041
1042
1043
1044
1045
1046
1047
1048
1049
1050
1051
1052
1053
1054
1055
1056
1057
1058
1059
1060
1061
1062
1063
1064
1065
1066
1067
1068
1069
1070
1071
1072
1073
# File 'lib/google/cloud/container/v1beta1/doc/google/container/v1beta1/cluster_service.rb', line 1001

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

Returns Server-defined URL for the target of the operation.

Returns:

  • (String)

    Server-defined URL for the target of the operation.



1001
1002
1003
1004
1005
1006
1007
1008
1009
1010
1011
1012
1013
1014
1015
1016
1017
1018
1019
1020
1021
1022
1023
1024
1025
1026
1027
1028
1029
1030
1031
1032
1033
1034
1035
1036
1037
1038
1039
1040
1041
1042
1043
1044
1045
1046
1047
1048
1049
1050
1051
1052
1053
1054
1055
1056
1057
1058
1059
1060
1061
1062
1063
1064
1065
1066
1067
1068
1069
1070
1071
1072
1073
# File 'lib/google/cloud/container/v1beta1/doc/google/container/v1beta1/cluster_service.rb', line 1001

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

Returns The name of the Google Compute Engine zone in which the operation is taking place. This field is deprecated, use location instead.

Returns:

  • (String)

    The name of the Google Compute Engine zone in which the operation is taking place. This field is deprecated, use location instead.



1001
1002
1003
1004
1005
1006
1007
1008
1009
1010
1011
1012
1013
1014
1015
1016
1017
1018
1019
1020
1021
1022
1023
1024
1025
1026
1027
1028
1029
1030
1031
1032
1033
1034
1035
1036
1037
1038
1039
1040
1041
1042
1043
1044
1045
1046
1047
1048
1049
1050
1051
1052
1053
1054
1055
1056
1057
1058
1059
1060
1061
1062
1063
1064
1065
1066
1067
1068
1069
1070
1071
1072
1073
# File 'lib/google/cloud/container/v1beta1/doc/google/container/v1beta1/cluster_service.rb', line 1001

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