Class: Google::Container::V1::Operation
- Inherits:
-
Object
- Object
- Google::Container::V1::Operation
- 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
Instance Attribute Summary collapse
-
#detail ⇒ String
Detailed operation progress, if available.
-
#end_time ⇒ String
[Output only] The time the operation completed, in RFC3339 text format.
- #location ⇒ String
-
#name ⇒ String
The server-assigned ID for the operation.
-
#operation_type ⇒ Google::Container::V1::Operation::Type
The operation type.
-
#self_link ⇒ String
Server-defined URL for the resource.
-
#start_time ⇒ String
[Output only] The time the operation started, in RFC3339 text format.
-
#status ⇒ Google::Container::V1::Operation::Status
The current status of the operation.
-
#status_message ⇒ String
If an error has occurred, a textual description of the error.
-
#target_link ⇒ String
Server-defined URL for the target of the operation.
-
#zone ⇒ String
The name of the Google Compute Engine zone in which the operation is taking place.
Instance Attribute Details
#detail ⇒ String
Returns Detailed operation progress, if available.
735 736 737 738 739 740 741 742 743 744 745 746 747 748 749 750 751 752 753 754 755 756 757 758 759 760 761 762 763 764 765 766 767 768 769 770 771 772 773 774 775 776 777 778 779 780 781 782 783 784 785 786 787 788 789 790 791 792 793 794 795 796 797 798 799 800 801 802 803 804 805 806 807 |
# File 'lib/google/cloud/container/v1/doc/google/container/v1/cluster_service.rb', line 735 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_time ⇒ String
Returns [Output only] The time the operation completed, in RFC3339 text format.
735 736 737 738 739 740 741 742 743 744 745 746 747 748 749 750 751 752 753 754 755 756 757 758 759 760 761 762 763 764 765 766 767 768 769 770 771 772 773 774 775 776 777 778 779 780 781 782 783 784 785 786 787 788 789 790 791 792 793 794 795 796 797 798 799 800 801 802 803 804 805 806 807 |
# File 'lib/google/cloud/container/v1/doc/google/container/v1/cluster_service.rb', line 735 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 |
#location ⇒ String
735 736 737 738 739 740 741 742 743 744 745 746 747 748 749 750 751 752 753 754 755 756 757 758 759 760 761 762 763 764 765 766 767 768 769 770 771 772 773 774 775 776 777 778 779 780 781 782 783 784 785 786 787 788 789 790 791 792 793 794 795 796 797 798 799 800 801 802 803 804 805 806 807 |
# File 'lib/google/cloud/container/v1/doc/google/container/v1/cluster_service.rb', line 735 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 |
#name ⇒ String
Returns The server-assigned ID for the operation.
735 736 737 738 739 740 741 742 743 744 745 746 747 748 749 750 751 752 753 754 755 756 757 758 759 760 761 762 763 764 765 766 767 768 769 770 771 772 773 774 775 776 777 778 779 780 781 782 783 784 785 786 787 788 789 790 791 792 793 794 795 796 797 798 799 800 801 802 803 804 805 806 807 |
# File 'lib/google/cloud/container/v1/doc/google/container/v1/cluster_service.rb', line 735 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_type ⇒ Google::Container::V1::Operation::Type
Returns The operation type.
735 736 737 738 739 740 741 742 743 744 745 746 747 748 749 750 751 752 753 754 755 756 757 758 759 760 761 762 763 764 765 766 767 768 769 770 771 772 773 774 775 776 777 778 779 780 781 782 783 784 785 786 787 788 789 790 791 792 793 794 795 796 797 798 799 800 801 802 803 804 805 806 807 |
# File 'lib/google/cloud/container/v1/doc/google/container/v1/cluster_service.rb', line 735 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 |
#self_link ⇒ String
Returns Server-defined URL for the resource.
735 736 737 738 739 740 741 742 743 744 745 746 747 748 749 750 751 752 753 754 755 756 757 758 759 760 761 762 763 764 765 766 767 768 769 770 771 772 773 774 775 776 777 778 779 780 781 782 783 784 785 786 787 788 789 790 791 792 793 794 795 796 797 798 799 800 801 802 803 804 805 806 807 |
# File 'lib/google/cloud/container/v1/doc/google/container/v1/cluster_service.rb', line 735 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_time ⇒ String
Returns [Output only] The time the operation started, in RFC3339 text format.
735 736 737 738 739 740 741 742 743 744 745 746 747 748 749 750 751 752 753 754 755 756 757 758 759 760 761 762 763 764 765 766 767 768 769 770 771 772 773 774 775 776 777 778 779 780 781 782 783 784 785 786 787 788 789 790 791 792 793 794 795 796 797 798 799 800 801 802 803 804 805 806 807 |
# File 'lib/google/cloud/container/v1/doc/google/container/v1/cluster_service.rb', line 735 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 ⇒ Google::Container::V1::Operation::Status
Returns The current status of the operation.
735 736 737 738 739 740 741 742 743 744 745 746 747 748 749 750 751 752 753 754 755 756 757 758 759 760 761 762 763 764 765 766 767 768 769 770 771 772 773 774 775 776 777 778 779 780 781 782 783 784 785 786 787 788 789 790 791 792 793 794 795 796 797 798 799 800 801 802 803 804 805 806 807 |
# File 'lib/google/cloud/container/v1/doc/google/container/v1/cluster_service.rb', line 735 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_message ⇒ String
Returns If an error has occurred, a textual description of the error.
735 736 737 738 739 740 741 742 743 744 745 746 747 748 749 750 751 752 753 754 755 756 757 758 759 760 761 762 763 764 765 766 767 768 769 770 771 772 773 774 775 776 777 778 779 780 781 782 783 784 785 786 787 788 789 790 791 792 793 794 795 796 797 798 799 800 801 802 803 804 805 806 807 |
# File 'lib/google/cloud/container/v1/doc/google/container/v1/cluster_service.rb', line 735 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 |
#target_link ⇒ String
Returns Server-defined URL for the target of the operation.
735 736 737 738 739 740 741 742 743 744 745 746 747 748 749 750 751 752 753 754 755 756 757 758 759 760 761 762 763 764 765 766 767 768 769 770 771 772 773 774 775 776 777 778 779 780 781 782 783 784 785 786 787 788 789 790 791 792 793 794 795 796 797 798 799 800 801 802 803 804 805 806 807 |
# File 'lib/google/cloud/container/v1/doc/google/container/v1/cluster_service.rb', line 735 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 |
#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.
735 736 737 738 739 740 741 742 743 744 745 746 747 748 749 750 751 752 753 754 755 756 757 758 759 760 761 762 763 764 765 766 767 768 769 770 771 772 773 774 775 776 777 778 779 780 781 782 783 784 785 786 787 788 789 790 791 792 793 794 795 796 797 798 799 800 801 802 803 804 805 806 807 |
# File 'lib/google/cloud/container/v1/doc/google/container/v1/cluster_service.rb', line 735 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 |