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.

Auto Trait Implementations

Blanket Implementations

Gets the TypeId of self. Read more

Immutably borrows from an owned value. Read more

Mutably borrows from an owned value. Read more

Performs the conversion.

Instruments this type with the provided Span, returning an Instrumented wrapper. Read more

Instruments this type with the current Span, returning an Instrumented wrapper. Read more

Performs the conversion.

The type returned in the event of a conversion error.

Performs the conversion.

The type returned in the event of a conversion error.

Performs the conversion.