ListHostsRequest class final

A request message for Hosts.List. See the method description for details.

Constructors

ListHostsRequest({required String association, String? filter, int? maxResults, String? orderBy, String? pageToken, required String project, bool? returnPartialSuccess, required String zone})
ListHostsRequest.fromJson(Object? j)
factory

Properties

association → String
The parent resource association for the Host. This field specifies the hierarchical context (e.g., reservation, block, sub-block) when accessing the host. For example, reservations/reservation_name, reservations/reservation_name/reservationBlocks/reservation_block_name or reservations/reservation_name/reservationBlocks/reservation_block_name/reservationSubBlocks/reservation_sub_block_name.
final
filter → String?
A filter expression that filters resources listed in the response. Most Compute resources support two types of filter expressions: expressions that support regular expressions and expressions that follow API improvement proposal AIP-160. These two types of filter expressions cannot be mixed in one request.
final
hashCode → int
The hash code for this object.
no setterinherited
maxResults → int?
The maximum number of results per page that should be returned. If the number of available results is larger than maxResults, Compute Engine returns a nextPageToken that can be used to get the next page of results in subsequent list requests. Acceptable values are 0 to 500, inclusive. (Default: 500)
final
orderBy → String?
Sorts list results by a certain order. By default, results are returned in alphanumerical order based on the resource name.
final
pageToken → String?
Specifies a page token to use. Set pageToken to the nextPageToken returned by a previous list request to get the next page of results.
final
project → String
The project ID for this request.
final
qualifiedName → String
The fully qualified name of this message, i.e., google.protobuf.Duration or google.rpc.ErrorInfo.
finalinherited
returnPartialSuccess → bool?
Opt-in for partial success behavior which provides partial results in case of failure. The default value is false.
final
runtimeType → Type
A representation of the runtime type of the object.
no setterinherited
zone → String
The name of the zone for this request, formatted as RFC1035.
final

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toJson() → Object
toString() → String
A string representation of this object.
override

Operators

operator ==(Object other) → bool
The equality operator.
inherited

Constants

fullyQualifiedName → const String