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

Inherits:
Object
  • Object
show all
Extended by:
Protobuf::MessageExts::ClassMethods
Includes:
Protobuf::MessageExts
Defined in:
proto_docs/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_conditions::Array<::Google::Cloud::Container::V1::StatusCondition>

Returns Which conditions caused the current cluster state. Deprecated. Use field error instead.

Returns:



1780
1781
1782
1783
1784
1785
1786
1787
1788
1789
1790
1791
1792
1793
1794
1795
1796
1797
1798
1799
1800
1801
1802
1803
1804
1805
1806
1807
1808
1809
1810
1811
1812
1813
1814
1815
1816
1817
1818
1819
1820
1821
1822
1823
1824
1825
1826
1827
1828
1829
1830
1831
1832
1833
1834
1835
1836
1837
1838
1839
1840
1841
1842
1843
1844
1845
1846
1847
1848
1849
1850
1851
1852
1853
1854
1855
# File 'proto_docs/google/container/v1/cluster_service.rb', line 1780

class Operation
  include ::Google::Protobuf::MessageExts
  extend ::Google::Protobuf::MessageExts::ClassMethods

  # 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

#detail::String

Returns Detailed operation progress, if available.

Returns:

  • (::String)

    Detailed operation progress, if available.



1780
1781
1782
1783
1784
1785
1786
1787
1788
1789
1790
1791
1792
1793
1794
1795
1796
1797
1798
1799
1800
1801
1802
1803
1804
1805
1806
1807
1808
1809
1810
1811
1812
1813
1814
1815
1816
1817
1818
1819
1820
1821
1822
1823
1824
1825
1826
1827
1828
1829
1830
1831
1832
1833
1834
1835
1836
1837
1838
1839
1840
1841
1842
1843
1844
1845
1846
1847
1848
1849
1850
1851
1852
1853
1854
1855
# File 'proto_docs/google/container/v1/cluster_service.rb', line 1780

class Operation
  include ::Google::Protobuf::MessageExts
  extend ::Google::Protobuf::MessageExts::ClassMethods

  # 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_time::String

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.



1780
1781
1782
1783
1784
1785
1786
1787
1788
1789
1790
1791
1792
1793
1794
1795
1796
1797
1798
1799
1800
1801
1802
1803
1804
1805
1806
1807
1808
1809
1810
1811
1812
1813
1814
1815
1816
1817
1818
1819
1820
1821
1822
1823
1824
1825
1826
1827
1828
1829
1830
1831
1832
1833
1834
1835
1836
1837
1838
1839
1840
1841
1842
1843
1844
1845
1846
1847
1848
1849
1850
1851
1852
1853
1854
1855
# File 'proto_docs/google/container/v1/cluster_service.rb', line 1780

class Operation
  include ::Google::Protobuf::MessageExts
  extend ::Google::Protobuf::MessageExts::ClassMethods

  # 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

#error::Google::Rpc::Status

Returns The error result of the operation in case of failure.

Returns:



1780
1781
1782
1783
1784
1785
1786
1787
1788
1789
1790
1791
1792
1793
1794
1795
1796
1797
1798
1799
1800
1801
1802
1803
1804
1805
1806
1807
1808
1809
1810
1811
1812
1813
1814
1815
1816
1817
1818
1819
1820
1821
1822
1823
1824
1825
1826
1827
1828
1829
1830
1831
1832
1833
1834
1835
1836
1837
1838
1839
1840
1841
1842
1843
1844
1845
1846
1847
1848
1849
1850
1851
1852
1853
1854
1855
# File 'proto_docs/google/container/v1/cluster_service.rb', line 1780

class Operation
  include ::Google::Protobuf::MessageExts
  extend ::Google::Protobuf::MessageExts::ClassMethods

  # 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

#location::String

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.



1780
1781
1782
1783
1784
1785
1786
1787
1788
1789
1790
1791
1792
1793
1794
1795
1796
1797
1798
1799
1800
1801
1802
1803
1804
1805
1806
1807
1808
1809
1810
1811
1812
1813
1814
1815
1816
1817
1818
1819
1820
1821
1822
1823
1824
1825
1826
1827
1828
1829
1830
1831
1832
1833
1834
1835
1836
1837
1838
1839
1840
1841
1842
1843
1844
1845
1846
1847
1848
1849
1850
1851
1852
1853
1854
1855
# File 'proto_docs/google/container/v1/cluster_service.rb', line 1780

class Operation
  include ::Google::Protobuf::MessageExts
  extend ::Google::Protobuf::MessageExts::ClassMethods

  # 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

#name::String

Returns The server-assigned ID for the operation.

Returns:

  • (::String)

    The server-assigned ID for the operation.



1780
1781
1782
1783
1784
1785
1786
1787
1788
1789
1790
1791
1792
1793
1794
1795
1796
1797
1798
1799
1800
1801
1802
1803
1804
1805
1806
1807
1808
1809
1810
1811
1812
1813
1814
1815
1816
1817
1818
1819
1820
1821
1822
1823
1824
1825
1826
1827
1828
1829
1830
1831
1832
1833
1834
1835
1836
1837
1838
1839
1840
1841
1842
1843
1844
1845
1846
1847
1848
1849
1850
1851
1852
1853
1854
1855
# File 'proto_docs/google/container/v1/cluster_service.rb', line 1780

class Operation
  include ::Google::Protobuf::MessageExts
  extend ::Google::Protobuf::MessageExts::ClassMethods

  # 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_conditions::Array<::Google::Cloud::Container::V1::StatusCondition>

Returns Which conditions caused the current node pool state. Deprecated. Use field error instead.

Returns:



1780
1781
1782
1783
1784
1785
1786
1787
1788
1789
1790
1791
1792
1793
1794
1795
1796
1797
1798
1799
1800
1801
1802
1803
1804
1805
1806
1807
1808
1809
1810
1811
1812
1813
1814
1815
1816
1817
1818
1819
1820
1821
1822
1823
1824
1825
1826
1827
1828
1829
1830
1831
1832
1833
1834
1835
1836
1837
1838
1839
1840
1841
1842
1843
1844
1845
1846
1847
1848
1849
1850
1851
1852
1853
1854
1855
# File 'proto_docs/google/container/v1/cluster_service.rb', line 1780

class Operation
  include ::Google::Protobuf::MessageExts
  extend ::Google::Protobuf::MessageExts::ClassMethods

  # 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_type::Google::Cloud::Container::V1::Operation::Type

Returns The operation type.

Returns:



1780
1781
1782
1783
1784
1785
1786
1787
1788
1789
1790
1791
1792
1793
1794
1795
1796
1797
1798
1799
1800
1801
1802
1803
1804
1805
1806
1807
1808
1809
1810
1811
1812
1813
1814
1815
1816
1817
1818
1819
1820
1821
1822
1823
1824
1825
1826
1827
1828
1829
1830
1831
1832
1833
1834
1835
1836
1837
1838
1839
1840
1841
1842
1843
1844
1845
1846
1847
1848
1849
1850
1851
1852
1853
1854
1855
# File 'proto_docs/google/container/v1/cluster_service.rb', line 1780

class Operation
  include ::Google::Protobuf::MessageExts
  extend ::Google::Protobuf::MessageExts::ClassMethods

  # 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

#progress::Google::Cloud::Container::V1::OperationProgress (readonly)

Returns Output only. [Output only] Progress information for an operation.

Returns:



1780
1781
1782
1783
1784
1785
1786
1787
1788
1789
1790
1791
1792
1793
1794
1795
1796
1797
1798
1799
1800
1801
1802
1803
1804
1805
1806
1807
1808
1809
1810
1811
1812
1813
1814
1815
1816
1817
1818
1819
1820
1821
1822
1823
1824
1825
1826
1827
1828
1829
1830
1831
1832
1833
1834
1835
1836
1837
1838
1839
1840
1841
1842
1843
1844
1845
1846
1847
1848
1849
1850
1851
1852
1853
1854
1855
# File 'proto_docs/google/container/v1/cluster_service.rb', line 1780

class Operation
  include ::Google::Protobuf::MessageExts
  extend ::Google::Protobuf::MessageExts::ClassMethods

  # 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.



1780
1781
1782
1783
1784
1785
1786
1787
1788
1789
1790
1791
1792
1793
1794
1795
1796
1797
1798
1799
1800
1801
1802
1803
1804
1805
1806
1807
1808
1809
1810
1811
1812
1813
1814
1815
1816
1817
1818
1819
1820
1821
1822
1823
1824
1825
1826
1827
1828
1829
1830
1831
1832
1833
1834
1835
1836
1837
1838
1839
1840
1841
1842
1843
1844
1845
1846
1847
1848
1849
1850
1851
1852
1853
1854
1855
# File 'proto_docs/google/container/v1/cluster_service.rb', line 1780

class Operation
  include ::Google::Protobuf::MessageExts
  extend ::Google::Protobuf::MessageExts::ClassMethods

  # 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_time::String

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.



1780
1781
1782
1783
1784
1785
1786
1787
1788
1789
1790
1791
1792
1793
1794
1795
1796
1797
1798
1799
1800
1801
1802
1803
1804
1805
1806
1807
1808
1809
1810
1811
1812
1813
1814
1815
1816
1817
1818
1819
1820
1821
1822
1823
1824
1825
1826
1827
1828
1829
1830
1831
1832
1833
1834
1835
1836
1837
1838
1839
1840
1841
1842
1843
1844
1845
1846
1847
1848
1849
1850
1851
1852
1853
1854
1855
# File 'proto_docs/google/container/v1/cluster_service.rb', line 1780

class Operation
  include ::Google::Protobuf::MessageExts
  extend ::Google::Protobuf::MessageExts::ClassMethods

  # 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::Google::Cloud::Container::V1::Operation::Status

Returns The current status of the operation.

Returns:



1780
1781
1782
1783
1784
1785
1786
1787
1788
1789
1790
1791
1792
1793
1794
1795
1796
1797
1798
1799
1800
1801
1802
1803
1804
1805
1806
1807
1808
1809
1810
1811
1812
1813
1814
1815
1816
1817
1818
1819
1820
1821
1822
1823
1824
1825
1826
1827
1828
1829
1830
1831
1832
1833
1834
1835
1836
1837
1838
1839
1840
1841
1842
1843
1844
1845
1846
1847
1848
1849
1850
1851
1852
1853
1854
1855
# File 'proto_docs/google/container/v1/cluster_service.rb', line 1780

class Operation
  include ::Google::Protobuf::MessageExts
  extend ::Google::Protobuf::MessageExts::ClassMethods

  # 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_message::String (readonly)

Returns Output only. If an error has occurred, a textual description of the error. Deprecated. Use the field error instead.

Returns:

  • (::String)

    Output only. If an error has occurred, a textual description of the error. Deprecated. Use the field error instead.



1780
1781
1782
1783
1784
1785
1786
1787
1788
1789
1790
1791
1792
1793
1794
1795
1796
1797
1798
1799
1800
1801
1802
1803
1804
1805
1806
1807
1808
1809
1810
1811
1812
1813
1814
1815
1816
1817
1818
1819
1820
1821
1822
1823
1824
1825
1826
1827
1828
1829
1830
1831
1832
1833
1834
1835
1836
1837
1838
1839
1840
1841
1842
1843
1844
1845
1846
1847
1848
1849
1850
1851
1852
1853
1854
1855
# File 'proto_docs/google/container/v1/cluster_service.rb', line 1780

class Operation
  include ::Google::Protobuf::MessageExts
  extend ::Google::Protobuf::MessageExts::ClassMethods

  # 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.



1780
1781
1782
1783
1784
1785
1786
1787
1788
1789
1790
1791
1792
1793
1794
1795
1796
1797
1798
1799
1800
1801
1802
1803
1804
1805
1806
1807
1808
1809
1810
1811
1812
1813
1814
1815
1816
1817
1818
1819
1820
1821
1822
1823
1824
1825
1826
1827
1828
1829
1830
1831
1832
1833
1834
1835
1836
1837
1838
1839
1840
1841
1842
1843
1844
1845
1846
1847
1848
1849
1850
1851
1852
1853
1854
1855
# File 'proto_docs/google/container/v1/cluster_service.rb', line 1780

class Operation
  include ::Google::Protobuf::MessageExts
  extend ::Google::Protobuf::MessageExts::ClassMethods

  # 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

#zone::String

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.



1780
1781
1782
1783
1784
1785
1786
1787
1788
1789
1790
1791
1792
1793
1794
1795
1796
1797
1798
1799
1800
1801
1802
1803
1804
1805
1806
1807
1808
1809
1810
1811
1812
1813
1814
1815
1816
1817
1818
1819
1820
1821
1822
1823
1824
1825
1826
1827
1828
1829
1830
1831
1832
1833
1834
1835
1836
1837
1838
1839
1840
1841
1842
1843
1844
1845
1846
1847
1848
1849
1850
1851
1852
1853
1854
1855
# File 'proto_docs/google/container/v1/cluster_service.rb', line 1780

class Operation
  include ::Google::Protobuf::MessageExts
  extend ::Google::Protobuf::MessageExts::ClassMethods

  # 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