SubnetworksResource class

Constructors

SubnetworksResource(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

aggregatedList(String project, {String? filter, bool? includeAllScopes, int? maxResults, String? orderBy, String? pageToken, bool? returnPartialSuccess, String? serviceProjectNumber, String? $fields}) Future<SubnetworkAggregatedList>
Retrieves an aggregated list of subnetworks.
delete(String project, String region, String subnetwork, {String? requestId, String? $fields}) Future<Operation>
Deletes the specified subnetwork.
expandIpCidrRange(SubnetworksExpandIpCidrRangeRequest request, String project, String region, String subnetwork, {String? requestId, String? $fields}) Future<Operation>
Expands the IP CIDR range of the subnetwork to a specified value.
get(String project, String region, String subnetwork, {String? $fields}) Future<Subnetwork>
Returns the specified subnetwork.
getIamPolicy(String project, String region, String resource, {int? optionsRequestedPolicyVersion, String? $fields}) Future<Policy>
Gets the access control policy for a resource.
insert(Subnetwork request, String project, String region, {String? requestId, String? $fields}) Future<Operation>
Creates a subnetwork in the specified project using the data included in the request.
list(String project, String region, {String? filter, int? maxResults, String? orderBy, String? pageToken, bool? returnPartialSuccess, String? $fields}) Future<SubnetworkList>
Retrieves a list of subnetworks available to the specified project.
listUsable(String project, {String? filter, int? maxResults, String? orderBy, String? pageToken, bool? returnPartialSuccess, String? $fields}) Future<UsableSubnetworksAggregatedList>
Retrieves an aggregated list of all usable subnetworks in the project.
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
patch(Subnetwork request, String project, String region, String subnetwork, {int? drainTimeoutSeconds, String? requestId, String? $fields}) Future<Operation>
Patches the specified subnetwork with the data included in the request.
setIamPolicy(RegionSetPolicyRequest request, String project, String region, String resource, {String? $fields}) Future<Policy>
Sets the access control policy on the specified resource.
setPrivateIpGoogleAccess(SubnetworksSetPrivateIpGoogleAccessRequest request, String project, String region, String subnetwork, {String? requestId, String? $fields}) Future<Operation>
Set whether VMs in this subnet can access Google services without assigning external IP addresses through Private Google Access.
testIamPermissions(TestPermissionsRequest request, String project, String region, 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