InstanceTemplatesResource class

Constructors

InstanceTemplatesResource(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<InstanceTemplateAggregatedList>
Retrieves the list of all InstanceTemplates resources, regional and global, available to the specified project.
delete(String project, String instanceTemplate, {String? requestId, String? $fields}) Future<Operation>
Deletes the specified instance template.
get(String project, String instanceTemplate, {String? $fields}) Future<InstanceTemplate>
Returns the specified instance template.
getIamPolicy(String project, String resource, {int? optionsRequestedPolicyVersion, String? $fields}) Future<Policy>
Gets the access control policy for a resource.
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.
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 nonexistent method or property is accessed.
inherited
setIamPolicy(GlobalSetPolicyRequest request, String project, String resource, {String? $fields}) Future<Policy>
Sets the access control policy on the specified resource.
testIamPermissions(TestPermissionsRequest request, String project, 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