InstanceGroupsResource class

Constructors

InstanceGroupsResource(ApiRequester client)

Properties

hashCode int
The hash code for this object.
no setterinherited
runtimeType Type
A representation of the runtime type of the object.
no setterinherited

Methods

addInstances(InstanceGroupsAddInstancesRequest request, String project, String zone, String instanceGroup, {String? requestId, String? $fields}) Future<Operation>
Adds a list of instances to the specified instance group.
aggregatedList(String project, {String? filter, bool? includeAllScopes, int? maxResults, String? orderBy, String? pageToken, bool? returnPartialSuccess, String? serviceProjectNumber, String? $fields}) Future<InstanceGroupAggregatedList>
Retrieves the list of instance groups and sorts them by zone.
delete(String project, String zone, String instanceGroup, {String? requestId, String? $fields}) Future<Operation>
Deletes the specified instance group.
get(String project, String zone, String instanceGroup, {String? $fields}) Future<InstanceGroup>
Returns the specified zonal instance group.
insert(InstanceGroup request, String project, String zone, {String? requestId, String? $fields}) Future<Operation>
Creates an instance group in the specified project using the parameters that are included in the request.
list(String project, String zone, {String? filter, int? maxResults, String? orderBy, String? pageToken, bool? returnPartialSuccess, String? $fields}) Future<InstanceGroupList>
Retrieves the list of zonal instance group resources contained within the specified zone.
listInstances(InstanceGroupsListInstancesRequest request, String project, String zone, String instanceGroup, {String? filter, int? maxResults, String? orderBy, String? pageToken, bool? returnPartialSuccess, String? $fields}) Future<InstanceGroupsListInstances>
Lists the instances in the specified instance group. The orderBy query parameter is not supported. The filter query parameter is supported, but only for expressions that use eq (equal) or ne (not equal) operators.
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
removeInstances(InstanceGroupsRemoveInstancesRequest request, String project, String zone, String instanceGroup, {String? requestId, String? $fields}) Future<Operation>
Removes one or more instances from the specified instance group, but does not delete those instances.
setNamedPorts(InstanceGroupsSetNamedPortsRequest request, String project, String zone, String instanceGroup, {String? requestId, String? $fields}) Future<Operation>
Sets the named ports for the specified instance group.
testIamPermissions(TestPermissionsRequest request, String project, String zone, String resource, {String? $fields}) Future<TestPermissionsResponse>
Returns permissions that a caller has on the specified resource.
toString() String
A string representation of this object.
inherited

Operators

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