Reference documentation and code samples for the Google Cloud Compute V1 API class Google::Cloud::Compute::V1::NodeGroupNode.
Inherits
- Object
Extended By
- Google::Protobuf::MessageExts::ClassMethods
Includes
- Google::Protobuf::MessageExts
Methods
#accelerators
def accelerators() -> ::Array<::Google::Cloud::Compute::V1::AcceleratorConfig>
Returns
- (::Array<::Google::Cloud::Compute::V1::AcceleratorConfig>) — Accelerators for this node.
#accelerators=
def accelerators=(value) -> ::Array<::Google::Cloud::Compute::V1::AcceleratorConfig>
Parameter
- value (::Array<::Google::Cloud::Compute::V1::AcceleratorConfig>) — Accelerators for this node.
Returns
- (::Array<::Google::Cloud::Compute::V1::AcceleratorConfig>) — Accelerators for this node.
#consumed_resources
def consumed_resources() -> ::Google::Cloud::Compute::V1::InstanceConsumptionInfo
Returns
- (::Google::Cloud::Compute::V1::InstanceConsumptionInfo) — Node resources that are reserved by all instances.
#consumed_resources=
def consumed_resources=(value) -> ::Google::Cloud::Compute::V1::InstanceConsumptionInfo
Parameter
- value (::Google::Cloud::Compute::V1::InstanceConsumptionInfo) — Node resources that are reserved by all instances.
Returns
- (::Google::Cloud::Compute::V1::InstanceConsumptionInfo) — Node resources that are reserved by all instances.
#cpu_overcommit_type
def cpu_overcommit_type() -> ::String
Returns
- (::String) — CPU overcommit. Check the CpuOvercommitType enum for the list of possible values.
#cpu_overcommit_type=
def cpu_overcommit_type=(value) -> ::String
Parameter
- value (::String) — CPU overcommit. Check the CpuOvercommitType enum for the list of possible values.
Returns
- (::String) — CPU overcommit. Check the CpuOvercommitType enum for the list of possible values.
#disks
def disks() -> ::Array<::Google::Cloud::Compute::V1::LocalDisk>
Returns
- (::Array<::Google::Cloud::Compute::V1::LocalDisk>) — Local disk configurations.
#disks=
def disks=(value) -> ::Array<::Google::Cloud::Compute::V1::LocalDisk>
Parameter
- value (::Array<::Google::Cloud::Compute::V1::LocalDisk>) — Local disk configurations.
Returns
- (::Array<::Google::Cloud::Compute::V1::LocalDisk>) — Local disk configurations.
#instance_consumption_data
def instance_consumption_data() -> ::Array<::Google::Cloud::Compute::V1::InstanceConsumptionData>
Returns
- (::Array<::Google::Cloud::Compute::V1::InstanceConsumptionData>) — Instance data that shows consumed resources on the node.
#instance_consumption_data=
def instance_consumption_data=(value) -> ::Array<::Google::Cloud::Compute::V1::InstanceConsumptionData>
Parameter
- value (::Array<::Google::Cloud::Compute::V1::InstanceConsumptionData>) — Instance data that shows consumed resources on the node.
Returns
- (::Array<::Google::Cloud::Compute::V1::InstanceConsumptionData>) — Instance data that shows consumed resources on the node.
#instances
def instances() -> ::Array<::String>
Returns
- (::Array<::String>) — Instances scheduled on this node.
#instances=
def instances=(value) -> ::Array<::String>
Parameter
- value (::Array<::String>) — Instances scheduled on this node.
Returns
- (::Array<::String>) — Instances scheduled on this node.
#name
def name() -> ::String
Returns
- (::String) — The name of the node.
#name=
def name=(value) -> ::String
Parameter
- value (::String) — The name of the node.
Returns
- (::String) — The name of the node.
#node_type
def node_type() -> ::String
Returns
- (::String) — The type of this node.
#node_type=
def node_type=(value) -> ::String
Parameter
- value (::String) — The type of this node.
Returns
- (::String) — The type of this node.
#satisfies_pzs
def satisfies_pzs() -> ::Boolean
Returns
- (::Boolean) — [Output Only] Reserved for future use.
#satisfies_pzs=
def satisfies_pzs=(value) -> ::Boolean
Parameter
- value (::Boolean) — [Output Only] Reserved for future use.
Returns
- (::Boolean) — [Output Only] Reserved for future use.
#server_binding
def server_binding() -> ::Google::Cloud::Compute::V1::ServerBinding
Returns
- (::Google::Cloud::Compute::V1::ServerBinding) — Binding properties for the physical server.
#server_binding=
def server_binding=(value) -> ::Google::Cloud::Compute::V1::ServerBinding
Parameter
- value (::Google::Cloud::Compute::V1::ServerBinding) — Binding properties for the physical server.
Returns
- (::Google::Cloud::Compute::V1::ServerBinding) — Binding properties for the physical server.
#server_id
def server_id() -> ::String
Returns
- (::String) — Server ID associated with this node.
#server_id=
def server_id=(value) -> ::String
Parameter
- value (::String) — Server ID associated with this node.
Returns
- (::String) — Server ID associated with this node.
#status
def status() -> ::String
Returns
- (::String) — Check the Status enum for the list of possible values.
#status=
def status=(value) -> ::String
Parameter
- value (::String) — Check the Status enum for the list of possible values.
Returns
- (::String) — Check the Status enum for the list of possible values.
#total_resources
def total_resources() -> ::Google::Cloud::Compute::V1::InstanceConsumptionInfo
Returns
- (::Google::Cloud::Compute::V1::InstanceConsumptionInfo) — Total amount of available resources on the node.
#total_resources=
def total_resources=(value) -> ::Google::Cloud::Compute::V1::InstanceConsumptionInfo
Parameter
- value (::Google::Cloud::Compute::V1::InstanceConsumptionInfo) — Total amount of available resources on the node.
Returns
- (::Google::Cloud::Compute::V1::InstanceConsumptionInfo) — Total amount of available resources on the node.
#upcoming_maintenance
def upcoming_maintenance() -> ::Google::Cloud::Compute::V1::UpcomingMaintenance
Returns
- (::Google::Cloud::Compute::V1::UpcomingMaintenance) — [Output Only] The information about an upcoming maintenance event.
#upcoming_maintenance=
def upcoming_maintenance=(value) -> ::Google::Cloud::Compute::V1::UpcomingMaintenance
Parameter
- value (::Google::Cloud::Compute::V1::UpcomingMaintenance) — [Output Only] The information about an upcoming maintenance event.
Returns
- (::Google::Cloud::Compute::V1::UpcomingMaintenance) — [Output Only] The information about an upcoming maintenance event.