ProductsResource class
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
-
approve(ProductsApproveRequest request, String enterpriseId, String productId, {String? $fields})
→ Future<void>
-
Approves the specified product and the relevant app permissions, if any.
-
generateApprovalUrl(String enterpriseId, String productId, {String? languageCode, String? $fields})
→ Future<ProductsGenerateApprovalUrlResponse>
-
Generates a URL that can be rendered in an iframe to display the
permissions (if any) of a product.
-
get(String enterpriseId, String productId, {String? language, String? $fields})
→ Future<Product>
-
Retrieves details of a product for display to an enterprise admin.
-
getAppRestrictionsSchema(String enterpriseId, String productId, {String? language, String? $fields})
→ Future<AppRestrictionsSchema>
-
Retrieves the schema that defines the configurable properties for this
product.
-
getPermissions(String enterpriseId, String productId, {String? $fields})
→ Future<ProductPermissions>
-
Retrieves the Android app permissions required by this app.
-
list(String enterpriseId, {bool? approved, String? language, int? maxResults, String? query, String? token, String? $fields})
→ Future<ProductsListResponse>
-
Finds approved products that match a query, or all approved products if
there is no query.
-
noSuchMethod(Invocation invocation)
→ dynamic
-
Invoked when a nonexistent method or property is accessed.
inherited
-
toString()
→ String
-
A string representation of this object.
inherited
-
unapprove(String enterpriseId, String productId, {String? $fields})
→ Future<void>
-
Unapproves the specified product (and the relevant app permissions, if
any) Note: This item has been deprecated.