InstanceTemplatesResourceApi class


InstanceTemplatesResourceApi(ApiRequester client)


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


delete(String project, String instanceTemplate, {String requestId, String $fields}) Future<Operation>
Deletes the specified instance template. Deleting an instance template is permanent and cannot be undone. It is not possible to delete templates that are already in use by a managed instance group. [...]
get(String project, String instanceTemplate, {String $fields}) Future<InstanceTemplate>
Returns the specified instance template. Gets a list of available instance templates by making a list() request. [...]
getIamPolicy(String project, String resource, {int optionsRequestedPolicyVersion, String $fields}) Future<Policy>
Gets the access control policy for a resource. May be empty if no such policy or resource exists. [...]
insert(InstanceTemplate request, String project, {String requestId, String $fields}) Future<Operation>
Creates an instance template in the specified project using the data that is included in the request. If you are creating a new template to update an existing instance group, your new instance template must use the same network or, if applicable, the same subnetwork as the original template. [...]
list(String project, {String filter, int maxResults, String orderBy, String pageToken, bool returnPartialSuccess, String $fields}) Future<InstanceTemplateList>
Retrieves a list of instance templates that are contained within the specified project. [...]
noSuchMethod(Invocation invocation) → dynamic
Invoked when a non-existent method or property is accessed. [...]
setIamPolicy(GlobalSetPolicyRequest request, String project, String resource, {String $fields}) Future<Policy>
Sets the access control policy on the specified resource. Replaces any existing policy. [...]
testIamPermissions(TestPermissionsRequest request, String project, 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.


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