NetApp V1 API - Class Google::Cloud::NetApp::V1::HostGroup (v2.8.0)

Reference documentation and code samples for the NetApp V1 API class Google::Cloud::NetApp::V1::HostGroup.

Host group is a collection of hosts that can be used for accessing a Block Volume.

Inherits

  • Object

Extended By

  • Google::Protobuf::MessageExts::ClassMethods

Includes

  • Google::Protobuf::MessageExts

Methods

#create_time

def create_time() -> ::Google::Protobuf::Timestamp
Returns

#description

def description() -> ::String
Returns
  • (::String) — Optional. Description of the host group.

#description=

def description=(value) -> ::String
Parameter
  • value (::String) — Optional. Description of the host group.
Returns
  • (::String) — Optional. Description of the host group.

#hosts

def hosts() -> ::Array<::String>
Returns
  • (::Array<::String>) — Required. The list of hosts associated with the host group.

#hosts=

def hosts=(value) -> ::Array<::String>
Parameter
  • value (::Array<::String>) — Required. The list of hosts associated with the host group.
Returns
  • (::Array<::String>) — Required. The list of hosts associated with the host group.

#labels

def labels() -> ::Google::Protobuf::Map{::String => ::String}
Returns
  • (::Google::Protobuf::Map{::String => ::String}) — Optional. Labels of the host group.

#labels=

def labels=(value) -> ::Google::Protobuf::Map{::String => ::String}
Parameter
  • value (::Google::Protobuf::Map{::String => ::String}) — Optional. Labels of the host group.
Returns
  • (::Google::Protobuf::Map{::String => ::String}) — Optional. Labels of the host group.

#name

def name() -> ::String
Returns
  • (::String) — Identifier. The resource name of the host group. Format: projects/{project_number}/locations/{location_id}/hostGroups/{host_group_id}.

#name=

def name=(value) -> ::String
Parameter
  • value (::String) — Identifier. The resource name of the host group. Format: projects/{project_number}/locations/{location_id}/hostGroups/{host_group_id}.
Returns
  • (::String) — Identifier. The resource name of the host group. Format: projects/{project_number}/locations/{location_id}/hostGroups/{host_group_id}.

#os_type

def os_type() -> ::Google::Cloud::NetApp::V1::OsType
Returns
  • (::Google::Cloud::NetApp::V1::OsType) — Required. The OS type of the host group. It indicates the type of operating system used by all of the hosts in the HostGroup. All hosts in a HostGroup must be of the same OS type. This can be set only when creating a HostGroup.

#os_type=

def os_type=(value) -> ::Google::Cloud::NetApp::V1::OsType
Parameter
  • value (::Google::Cloud::NetApp::V1::OsType) — Required. The OS type of the host group. It indicates the type of operating system used by all of the hosts in the HostGroup. All hosts in a HostGroup must be of the same OS type. This can be set only when creating a HostGroup.
Returns
  • (::Google::Cloud::NetApp::V1::OsType) — Required. The OS type of the host group. It indicates the type of operating system used by all of the hosts in the HostGroup. All hosts in a HostGroup must be of the same OS type. This can be set only when creating a HostGroup.

#state

def state() -> ::Google::Cloud::NetApp::V1::HostGroup::State
Returns

#type

def type() -> ::Google::Cloud::NetApp::V1::HostGroup::Type
Returns

#type=

def type=(value) -> ::Google::Cloud::NetApp::V1::HostGroup::Type
Parameter
Returns