NAME

Google::Cloud::Netapp::V1::HostGroup - Compiled Protocol Buffers messages for google/cloud/netapp/v1/host_group.proto

SYNOPSIS

use Google::Cloud::Netapp::V1::HostGroup;

my $msg = Google::Cloud::Netapp::V1::HostGroup::ListHostGroupsRequest->new({
    parent => $parent,
    page_size => $page_size,
    page_token => $page_token,
    filter => $filter,
});

# Read or update a field
my $val = $msg->parent();

# Binary wire-format roundtrip
my $bytes   = $msg->serialize();
my $decoded = Google::Cloud::Netapp::V1::HostGroup::ListHostGroupsRequest->parse($bytes);

# Canonical ProtoJSON
my $json = $msg->to_json();

DESCRIPTION

Auto-generated Protobuf message classes compiled from google/cloud/netapp/v1/host_group.proto. All message classes inherit from Protobuf::Message and support new(), serialize(), parse(), to_json(), from_json(), to_text(), and to_perl().

MESSAGES

Google::Cloud::Netapp::V1::HostGroup::ListHostGroupsRequest

ListHostGroupsRequest for listing host groups.

Inherits from Protobuf::Message.

Accessors

  • $msg->parent() / $msg->parent($value)

    Type: String

    Required. Parent value for ListHostGroupsRequest

  • $msg->page_size() / $msg->page_size($value)

    Type: Int32

    Optional. Requested page size. Server may return fewer items than requested. If unspecified, the server will pick an appropriate default.

  • $msg->page_token() / $msg->page_token($value)

    Type: String

    Optional. A token identifying a page of results the server should return.

  • $msg->filter() / $msg->filter($value)

    Type: String

    Optional. Filter to apply to the request.

  • $msg->order_by() / $msg->order_by($value)

    Type: String

    Optional. Hint for how to order the results

Google::Cloud::Netapp::V1::HostGroup::ListHostGroupsResponse

ListHostGroupsResponse is the response to a ListHostGroupsRequest.

Inherits from Protobuf::Message.

Accessors

  • $msg->host_groups() / $msg->host_groups($value)

    Type: Message (Google::Cloud::Netapp::V1::HostGroup::HostGroup)

    The list of host groups.

  • $msg->next_page_token() / $msg->next_page_token($value)

    Type: String

    A token identifying a page of results the server should return.

  • $msg->unreachable() / $msg->unreachable($value)

    Type: String

    Locations that could not be reached.

Google::Cloud::Netapp::V1::HostGroup::GetHostGroupRequest

GetHostGroupRequest for getting a host group.

Inherits from Protobuf::Message.

Accessors

  • $msg->name() / $msg->name($value)

    Type: String

    Required. The resource name of the host group. Format: `projects/{project_number}/locations/{location_id}/hostGroups/{host_group_id}`.

Google::Cloud::Netapp::V1::HostGroup::CreateHostGroupRequest

CreateHostGroupRequest for creating a host group.

Inherits from Protobuf::Message.

Accessors

  • $msg->parent() / $msg->parent($value)

    Type: String

    Required. Parent value for CreateHostGroupRequest

  • $msg->host_group() / $msg->host_group($value)

    Type: Message (Google::Cloud::Netapp::V1::HostGroup::HostGroup)

    Required. Fields of the host group to create.

  • $msg->host_group_id() / $msg->host_group_id($value)

    Type: String

    Required. ID of the host group to create. Must be unique within the parent resource. Must contain only letters, numbers, and hyphen, with the first character a letter or underscore, the last a letter or underscore or a number, and a 63 character maximum.

Google::Cloud::Netapp::V1::HostGroup::UpdateHostGroupRequest

UpdateHostGroupRequest for updating a host group.

Inherits from Protobuf::Message.

Accessors

  • $msg->host_group() / $msg->host_group($value)

    Type: Message (Google::Cloud::Netapp::V1::HostGroup::HostGroup)

    Required. The host group to update. The host group's `name` field is used to identify the host group. Format: `projects/{project_number}/locations/{location_id}/hostGroups/{host_group_id}`.

  • $msg->update_mask() / $msg->update_mask($value)

    Type: Message (Google::Protobuf::FieldMask::FieldMask)

    Optional. The list of fields to update.

Google::Cloud::Netapp::V1::HostGroup::DeleteHostGroupRequest

DeleteHostGroupRequest for deleting a single host group.

Inherits from Protobuf::Message.

Accessors

  • $msg->name() / $msg->name($value)

    Type: String

    Required. The resource name of the host group. Format: `projects/{project_number}/locations/{location_id}/hostGroups/{host_group_id}`.

Google::Cloud::Netapp::V1::HostGroup::HostGroup

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

Inherits from Protobuf::Message.

Accessors

  • $msg->name() / $msg->name($value)

    Type: String

    Identifier. The resource name of the host group. Format: `projects/{project_number}/locations/{location_id}/hostGroups/{host_group_id}`.

  • $msg->type() / $msg->type($value)

    Type: Enum (Google::Cloud::Netapp::V1::HostGroup::Type)

    Required. Type of the host group.

  • $msg->state() / $msg->state($value)

    Type: Enum (Google::Cloud::Netapp::V1::HostGroup::State)

    Output only. State of the host group.

  • $msg->create_time() / $msg->create_time($value)

    Type: Message (Google::Protobuf::Timestamp::Timestamp)

    Output only. Create time of the host group.

  • $msg->hosts() / $msg->hosts($value)

    Type: String

    Required. The list of hosts associated with the host group.

  • $msg->os_type() / $msg->os_type($value)

    Type: Enum (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.

  • $msg->description() / $msg->description($value)

    Type: String

    Optional. Description of the host group.

  • $msg->labels() / $msg->labels($value)

    Type: Message (Google::Cloud::Netapp::V1::HostGroup::HostGroup::LabelsEntry)

    Optional. Labels of the host group.

Enum: HostGroup::Type

  • TYPE_UNSPECIFIED => 0

  • ISCSI_INITIATOR => 1

Enum: HostGroup::State

  • STATE_UNSPECIFIED => 0

  • CREATING => 1

  • READY => 2

  • UPDATING => 3

  • DELETING => 4

  • DISABLED => 5

SEE ALSO

Protobuf, Protobuf::Message, Google::Cloud::Netapp::V1::HostGroup::Types, https://protobuf.dev/

LICENSE AND COPYRIGHT

Copyright (C) 2026 Google LLC

This program is released under the Apache 2.0 license.