Struct gsuite_api::asps::Asps [−][src]
pub struct Asps { pub client: Client, }
Fields
client: Client
Implementations
This function performs a GET
to the /admin/directory/v1/users/{userKey}/asps
endpoint.
Lists the ASPs issued by a user.
Parameters:
user_key: &str
– Identifies the user in the API request. The value can be the user’s primary email address, alias email address, or unique user ID.
This function performs a GET
to the /admin/directory/v1/users/{userKey}/asps/{codeId}
endpoint.
Gets information about an ASP issued by a user.
Parameters:
user_key: &str
– Identifies the user in the API request. The value can be the user’s primary email address, alias email address, or unique user ID.code_id: i64
– The unique ID of the ASP.
This function performs a DELETE
to the /admin/directory/v1/users/{userKey}/asps/{codeId}
endpoint.
Deletes an ASP issued by a user.
Parameters:
user_key: &str
– Identifies the user in the API request. The value can be the user’s primary email address, alias email address, or unique user ID.code_id: i64
– The unique ID of the ASP to be deleted.