SubnetworksResourceApi class

Constructors

SubnetworksResourceApi(ApiRequester client)

Properties

hashCode int
The hash code for this object. [...]
read-only, inherited
runtimeType Type
A representation of the runtime type of the object.
read-only, inherited

Methods

aggregatedList(String project, {String filter, bool includeAllScopes, int maxResults, String orderBy, String pageToken, 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. Gets a list of available subnetworks list() request. [...]
getIamPolicy(String project, String region, String resource, {String $fields}) Future<Policy>
Gets the access control policy for a resource. May be empty if no such policy or resource exists. [...]
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, 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, String $fields}) Future<UsableSubnetworksAggregatedList>
Retrieves an aggregated list of all usable subnetworks in the project. The list contains all of the subnetworks in the project and the subnetworks that were shared by a Shared VPC host project. [...]
noSuchMethod(Invocation invocation) → dynamic
Invoked when a non-existent 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. Only certain fields can up updated with a patch request as indicated in the field descriptions. You must specify the current fingerprint of the subnetwork resource being patched. [...]
setIamPolicy(RegionSetPolicyRequest request, String project, String region, String resource, {String $fields}) Future<Policy>
Sets the access control policy on the specified resource. Replaces any existing policy. [...]
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
Returns a string representation of this object.
inherited

Operators

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