pub trait AccessPoliciesApi: Send + Sync {
// Required methods
fn get_people_potential_grantees<'a, 'life0, 'async_trait>(
&'life0 self,
id: Uuid,
) -> Pin<Box<dyn Future<Output = Result<PotentialGranteeResponseModelListResponseModel, Error<GetPeoplePotentialGranteesError>>> + Send + 'async_trait>>
where Self: 'async_trait,
'a: 'async_trait,
'life0: 'async_trait;
fn get_project_people_access_policies<'a, 'life0, 'async_trait>(
&'life0 self,
id: Uuid,
) -> Pin<Box<dyn Future<Output = Result<ProjectPeopleAccessPoliciesResponseModel, Error<GetProjectPeopleAccessPoliciesError>>> + Send + 'async_trait>>
where Self: 'async_trait,
'a: 'async_trait,
'life0: 'async_trait;
fn get_project_potential_grantees<'a, 'life0, 'async_trait>(
&'life0 self,
id: Uuid,
) -> Pin<Box<dyn Future<Output = Result<PotentialGranteeResponseModelListResponseModel, Error<GetProjectPotentialGranteesError>>> + Send + 'async_trait>>
where Self: 'async_trait,
'a: 'async_trait,
'life0: 'async_trait;
fn get_project_service_accounts_access_policies<'a, 'life0, 'async_trait>(
&'life0 self,
id: Uuid,
) -> Pin<Box<dyn Future<Output = Result<ProjectServiceAccountsAccessPoliciesResponseModel, Error<GetProjectServiceAccountsAccessPoliciesError>>> + Send + 'async_trait>>
where Self: 'async_trait,
'a: 'async_trait,
'life0: 'async_trait;
fn get_secret_access_policies<'a, 'life0, 'async_trait>(
&'life0 self,
secret_id: Uuid,
) -> Pin<Box<dyn Future<Output = Result<SecretAccessPoliciesResponseModel, Error<GetSecretAccessPoliciesError>>> + Send + 'async_trait>>
where Self: 'async_trait,
'a: 'async_trait,
'life0: 'async_trait;
fn get_service_account_granted_policies<'a, 'life0, 'async_trait>(
&'life0 self,
id: Uuid,
) -> Pin<Box<dyn Future<Output = Result<ServiceAccountGrantedPoliciesPermissionDetailsResponseModel, Error<GetServiceAccountGrantedPoliciesError>>> + Send + 'async_trait>>
where Self: 'async_trait,
'a: 'async_trait,
'life0: 'async_trait;
fn get_service_account_people_access_policies<'a, 'life0, 'async_trait>(
&'life0 self,
id: Uuid,
) -> Pin<Box<dyn Future<Output = Result<ServiceAccountPeopleAccessPoliciesResponseModel, Error<GetServiceAccountPeopleAccessPoliciesError>>> + Send + 'async_trait>>
where Self: 'async_trait,
'a: 'async_trait,
'life0: 'async_trait;
fn get_service_accounts_potential_grantees<'a, 'life0, 'async_trait>(
&'life0 self,
id: Uuid,
) -> Pin<Box<dyn Future<Output = Result<PotentialGranteeResponseModelListResponseModel, Error<GetServiceAccountsPotentialGranteesError>>> + Send + 'async_trait>>
where Self: 'async_trait,
'a: 'async_trait,
'life0: 'async_trait;
fn put_project_people_access_policies<'a, 'life0, 'async_trait>(
&'life0 self,
id: Uuid,
people_access_policies_request_model: Option<PeopleAccessPoliciesRequestModel>,
) -> Pin<Box<dyn Future<Output = Result<ProjectPeopleAccessPoliciesResponseModel, Error<PutProjectPeopleAccessPoliciesError>>> + Send + 'async_trait>>
where Self: 'async_trait,
'a: 'async_trait,
'life0: 'async_trait;
fn put_project_service_accounts_access_policies<'a, 'life0, 'async_trait>(
&'life0 self,
id: Uuid,
project_service_accounts_access_policies_request_model: Option<ProjectServiceAccountsAccessPoliciesRequestModel>,
) -> Pin<Box<dyn Future<Output = Result<ProjectServiceAccountsAccessPoliciesResponseModel, Error<PutProjectServiceAccountsAccessPoliciesError>>> + Send + 'async_trait>>
where Self: 'async_trait,
'a: 'async_trait,
'life0: 'async_trait;
fn put_service_account_granted_policies<'a, 'life0, 'async_trait>(
&'life0 self,
id: Uuid,
service_account_granted_policies_request_model: Option<ServiceAccountGrantedPoliciesRequestModel>,
) -> Pin<Box<dyn Future<Output = Result<ServiceAccountGrantedPoliciesPermissionDetailsResponseModel, Error<PutServiceAccountGrantedPoliciesError>>> + Send + 'async_trait>>
where Self: 'async_trait,
'a: 'async_trait,
'life0: 'async_trait;
fn put_service_account_people_access_policies<'a, 'life0, 'async_trait>(
&'life0 self,
id: Uuid,
people_access_policies_request_model: Option<PeopleAccessPoliciesRequestModel>,
) -> Pin<Box<dyn Future<Output = Result<ServiceAccountPeopleAccessPoliciesResponseModel, Error<PutServiceAccountPeopleAccessPoliciesError>>> + Send + 'async_trait>>
where Self: 'async_trait,
'a: 'async_trait,
'life0: 'async_trait;
}
Required Methods§
Sourcefn get_people_potential_grantees<'a, 'life0, 'async_trait>(
&'life0 self,
id: Uuid,
) -> Pin<Box<dyn Future<Output = Result<PotentialGranteeResponseModelListResponseModel, Error<GetPeoplePotentialGranteesError>>> + Send + 'async_trait>>where
Self: 'async_trait,
'a: 'async_trait,
'life0: 'async_trait,
fn get_people_potential_grantees<'a, 'life0, 'async_trait>(
&'life0 self,
id: Uuid,
) -> Pin<Box<dyn Future<Output = Result<PotentialGranteeResponseModelListResponseModel, Error<GetPeoplePotentialGranteesError>>> + Send + 'async_trait>>where
Self: 'async_trait,
'a: 'async_trait,
'life0: 'async_trait,
GET /organizations/{id}/access-policies/people/potential-grantees
Sourcefn get_project_people_access_policies<'a, 'life0, 'async_trait>(
&'life0 self,
id: Uuid,
) -> Pin<Box<dyn Future<Output = Result<ProjectPeopleAccessPoliciesResponseModel, Error<GetProjectPeopleAccessPoliciesError>>> + Send + 'async_trait>>where
Self: 'async_trait,
'a: 'async_trait,
'life0: 'async_trait,
fn get_project_people_access_policies<'a, 'life0, 'async_trait>(
&'life0 self,
id: Uuid,
) -> Pin<Box<dyn Future<Output = Result<ProjectPeopleAccessPoliciesResponseModel, Error<GetProjectPeopleAccessPoliciesError>>> + Send + 'async_trait>>where
Self: 'async_trait,
'a: 'async_trait,
'life0: 'async_trait,
GET /projects/{id}/access-policies/people
Sourcefn get_project_potential_grantees<'a, 'life0, 'async_trait>(
&'life0 self,
id: Uuid,
) -> Pin<Box<dyn Future<Output = Result<PotentialGranteeResponseModelListResponseModel, Error<GetProjectPotentialGranteesError>>> + Send + 'async_trait>>where
Self: 'async_trait,
'a: 'async_trait,
'life0: 'async_trait,
fn get_project_potential_grantees<'a, 'life0, 'async_trait>(
&'life0 self,
id: Uuid,
) -> Pin<Box<dyn Future<Output = Result<PotentialGranteeResponseModelListResponseModel, Error<GetProjectPotentialGranteesError>>> + Send + 'async_trait>>where
Self: 'async_trait,
'a: 'async_trait,
'life0: 'async_trait,
GET /organizations/{id}/access-policies/projects/potential-grantees
Sourcefn get_project_service_accounts_access_policies<'a, 'life0, 'async_trait>(
&'life0 self,
id: Uuid,
) -> Pin<Box<dyn Future<Output = Result<ProjectServiceAccountsAccessPoliciesResponseModel, Error<GetProjectServiceAccountsAccessPoliciesError>>> + Send + 'async_trait>>where
Self: 'async_trait,
'a: 'async_trait,
'life0: 'async_trait,
fn get_project_service_accounts_access_policies<'a, 'life0, 'async_trait>(
&'life0 self,
id: Uuid,
) -> Pin<Box<dyn Future<Output = Result<ProjectServiceAccountsAccessPoliciesResponseModel, Error<GetProjectServiceAccountsAccessPoliciesError>>> + Send + 'async_trait>>where
Self: 'async_trait,
'a: 'async_trait,
'life0: 'async_trait,
GET /projects/{id}/access-policies/service-accounts
Sourcefn get_secret_access_policies<'a, 'life0, 'async_trait>(
&'life0 self,
secret_id: Uuid,
) -> Pin<Box<dyn Future<Output = Result<SecretAccessPoliciesResponseModel, Error<GetSecretAccessPoliciesError>>> + Send + 'async_trait>>where
Self: 'async_trait,
'a: 'async_trait,
'life0: 'async_trait,
fn get_secret_access_policies<'a, 'life0, 'async_trait>(
&'life0 self,
secret_id: Uuid,
) -> Pin<Box<dyn Future<Output = Result<SecretAccessPoliciesResponseModel, Error<GetSecretAccessPoliciesError>>> + Send + 'async_trait>>where
Self: 'async_trait,
'a: 'async_trait,
'life0: 'async_trait,
GET /secrets/{secretId}/access-policies
Sourcefn get_service_account_granted_policies<'a, 'life0, 'async_trait>(
&'life0 self,
id: Uuid,
) -> Pin<Box<dyn Future<Output = Result<ServiceAccountGrantedPoliciesPermissionDetailsResponseModel, Error<GetServiceAccountGrantedPoliciesError>>> + Send + 'async_trait>>where
Self: 'async_trait,
'a: 'async_trait,
'life0: 'async_trait,
fn get_service_account_granted_policies<'a, 'life0, 'async_trait>(
&'life0 self,
id: Uuid,
) -> Pin<Box<dyn Future<Output = Result<ServiceAccountGrantedPoliciesPermissionDetailsResponseModel, Error<GetServiceAccountGrantedPoliciesError>>> + Send + 'async_trait>>where
Self: 'async_trait,
'a: 'async_trait,
'life0: 'async_trait,
GET /service-accounts/{id}/granted-policies
Sourcefn get_service_account_people_access_policies<'a, 'life0, 'async_trait>(
&'life0 self,
id: Uuid,
) -> Pin<Box<dyn Future<Output = Result<ServiceAccountPeopleAccessPoliciesResponseModel, Error<GetServiceAccountPeopleAccessPoliciesError>>> + Send + 'async_trait>>where
Self: 'async_trait,
'a: 'async_trait,
'life0: 'async_trait,
fn get_service_account_people_access_policies<'a, 'life0, 'async_trait>(
&'life0 self,
id: Uuid,
) -> Pin<Box<dyn Future<Output = Result<ServiceAccountPeopleAccessPoliciesResponseModel, Error<GetServiceAccountPeopleAccessPoliciesError>>> + Send + 'async_trait>>where
Self: 'async_trait,
'a: 'async_trait,
'life0: 'async_trait,
GET /service-accounts/{id}/access-policies/people
Sourcefn get_service_accounts_potential_grantees<'a, 'life0, 'async_trait>(
&'life0 self,
id: Uuid,
) -> Pin<Box<dyn Future<Output = Result<PotentialGranteeResponseModelListResponseModel, Error<GetServiceAccountsPotentialGranteesError>>> + Send + 'async_trait>>where
Self: 'async_trait,
'a: 'async_trait,
'life0: 'async_trait,
fn get_service_accounts_potential_grantees<'a, 'life0, 'async_trait>(
&'life0 self,
id: Uuid,
) -> Pin<Box<dyn Future<Output = Result<PotentialGranteeResponseModelListResponseModel, Error<GetServiceAccountsPotentialGranteesError>>> + Send + 'async_trait>>where
Self: 'async_trait,
'a: 'async_trait,
'life0: 'async_trait,
GET /organizations/{id}/access-policies/service-accounts/potential-grantees
Sourcefn put_project_people_access_policies<'a, 'life0, 'async_trait>(
&'life0 self,
id: Uuid,
people_access_policies_request_model: Option<PeopleAccessPoliciesRequestModel>,
) -> Pin<Box<dyn Future<Output = Result<ProjectPeopleAccessPoliciesResponseModel, Error<PutProjectPeopleAccessPoliciesError>>> + Send + 'async_trait>>where
Self: 'async_trait,
'a: 'async_trait,
'life0: 'async_trait,
fn put_project_people_access_policies<'a, 'life0, 'async_trait>(
&'life0 self,
id: Uuid,
people_access_policies_request_model: Option<PeopleAccessPoliciesRequestModel>,
) -> Pin<Box<dyn Future<Output = Result<ProjectPeopleAccessPoliciesResponseModel, Error<PutProjectPeopleAccessPoliciesError>>> + Send + 'async_trait>>where
Self: 'async_trait,
'a: 'async_trait,
'life0: 'async_trait,
PUT /projects/{id}/access-policies/people
Sourcefn put_project_service_accounts_access_policies<'a, 'life0, 'async_trait>(
&'life0 self,
id: Uuid,
project_service_accounts_access_policies_request_model: Option<ProjectServiceAccountsAccessPoliciesRequestModel>,
) -> Pin<Box<dyn Future<Output = Result<ProjectServiceAccountsAccessPoliciesResponseModel, Error<PutProjectServiceAccountsAccessPoliciesError>>> + Send + 'async_trait>>where
Self: 'async_trait,
'a: 'async_trait,
'life0: 'async_trait,
fn put_project_service_accounts_access_policies<'a, 'life0, 'async_trait>(
&'life0 self,
id: Uuid,
project_service_accounts_access_policies_request_model: Option<ProjectServiceAccountsAccessPoliciesRequestModel>,
) -> Pin<Box<dyn Future<Output = Result<ProjectServiceAccountsAccessPoliciesResponseModel, Error<PutProjectServiceAccountsAccessPoliciesError>>> + Send + 'async_trait>>where
Self: 'async_trait,
'a: 'async_trait,
'life0: 'async_trait,
PUT /projects/{id}/access-policies/service-accounts
Sourcefn put_service_account_granted_policies<'a, 'life0, 'async_trait>(
&'life0 self,
id: Uuid,
service_account_granted_policies_request_model: Option<ServiceAccountGrantedPoliciesRequestModel>,
) -> Pin<Box<dyn Future<Output = Result<ServiceAccountGrantedPoliciesPermissionDetailsResponseModel, Error<PutServiceAccountGrantedPoliciesError>>> + Send + 'async_trait>>where
Self: 'async_trait,
'a: 'async_trait,
'life0: 'async_trait,
fn put_service_account_granted_policies<'a, 'life0, 'async_trait>(
&'life0 self,
id: Uuid,
service_account_granted_policies_request_model: Option<ServiceAccountGrantedPoliciesRequestModel>,
) -> Pin<Box<dyn Future<Output = Result<ServiceAccountGrantedPoliciesPermissionDetailsResponseModel, Error<PutServiceAccountGrantedPoliciesError>>> + Send + 'async_trait>>where
Self: 'async_trait,
'a: 'async_trait,
'life0: 'async_trait,
PUT /service-accounts/{id}/granted-policies
Sourcefn put_service_account_people_access_policies<'a, 'life0, 'async_trait>(
&'life0 self,
id: Uuid,
people_access_policies_request_model: Option<PeopleAccessPoliciesRequestModel>,
) -> Pin<Box<dyn Future<Output = Result<ServiceAccountPeopleAccessPoliciesResponseModel, Error<PutServiceAccountPeopleAccessPoliciesError>>> + Send + 'async_trait>>where
Self: 'async_trait,
'a: 'async_trait,
'life0: 'async_trait,
fn put_service_account_people_access_policies<'a, 'life0, 'async_trait>(
&'life0 self,
id: Uuid,
people_access_policies_request_model: Option<PeopleAccessPoliciesRequestModel>,
) -> Pin<Box<dyn Future<Output = Result<ServiceAccountPeopleAccessPoliciesResponseModel, Error<PutServiceAccountPeopleAccessPoliciesError>>> + Send + 'async_trait>>where
Self: 'async_trait,
'a: 'async_trait,
'life0: 'async_trait,
PUT /service-accounts/{id}/access-policies/people