[][src]Struct gcp_client::google::cloud::datacatalog::v1beta1::policy_tag_manager_client::PolicyTagManagerClient

pub struct PolicyTagManagerClient<T> { /* fields omitted */ }

The policy tag manager API service allows clients to manage their taxonomies and policy tags.

Implementations

impl<T> PolicyTagManagerClient<T> where
    T: GrpcService<BoxBody>,
    T::ResponseBody: Body + HttpBody + Send + 'static,
    T::Error: Into<StdError>,
    <T::ResponseBody as HttpBody>::Error: Into<StdError> + Send
[src]

pub fn new(inner: T) -> Self[src]

pub fn with_interceptor(inner: T, interceptor: impl Into<Interceptor>) -> Self[src]

pub async fn create_taxonomy<'_>(
    &'_ mut self,
    request: impl IntoRequest<CreateTaxonomyRequest>
) -> Result<Response<Taxonomy>, Status>
[src]

Creates a taxonomy in the specified project.

pub async fn delete_taxonomy<'_>(
    &'_ mut self,
    request: impl IntoRequest<DeleteTaxonomyRequest>
) -> Result<Response<()>, Status>
[src]

Deletes a taxonomy. This operation will also delete all policy tags in this taxonomy along with their associated policies.

pub async fn update_taxonomy<'_>(
    &'_ mut self,
    request: impl IntoRequest<UpdateTaxonomyRequest>
) -> Result<Response<Taxonomy>, Status>
[src]

Updates a taxonomy.

pub async fn list_taxonomies<'_>(
    &'_ mut self,
    request: impl IntoRequest<ListTaxonomiesRequest>
) -> Result<Response<ListTaxonomiesResponse>, Status>
[src]

Lists all taxonomies in a project in a particular location that the caller has permission to view.

pub async fn get_taxonomy<'_>(
    &'_ mut self,
    request: impl IntoRequest<GetTaxonomyRequest>
) -> Result<Response<Taxonomy>, Status>
[src]

Gets a taxonomy.

pub async fn create_policy_tag<'_>(
    &'_ mut self,
    request: impl IntoRequest<CreatePolicyTagRequest>
) -> Result<Response<PolicyTag>, Status>
[src]

Creates a policy tag in the specified taxonomy.

pub async fn delete_policy_tag<'_>(
    &'_ mut self,
    request: impl IntoRequest<DeletePolicyTagRequest>
) -> Result<Response<()>, Status>
[src]

Deletes a policy tag. Also deletes all of its descendant policy tags.

pub async fn update_policy_tag<'_>(
    &'_ mut self,
    request: impl IntoRequest<UpdatePolicyTagRequest>
) -> Result<Response<PolicyTag>, Status>
[src]

Updates a policy tag.

pub async fn list_policy_tags<'_>(
    &'_ mut self,
    request: impl IntoRequest<ListPolicyTagsRequest>
) -> Result<Response<ListPolicyTagsResponse>, Status>
[src]

Lists all policy tags in a taxonomy.

pub async fn get_policy_tag<'_>(
    &'_ mut self,
    request: impl IntoRequest<GetPolicyTagRequest>
) -> Result<Response<PolicyTag>, Status>
[src]

Gets a policy tag.

pub async fn get_iam_policy<'_>(
    &'_ mut self,
    request: impl IntoRequest<GetIamPolicyRequest>
) -> Result<Response<Policy>, Status>
[src]

Gets the IAM policy for a taxonomy or a policy tag.

pub async fn set_iam_policy<'_>(
    &'_ mut self,
    request: impl IntoRequest<SetIamPolicyRequest>
) -> Result<Response<Policy>, Status>
[src]

Sets the IAM policy for a taxonomy or a policy tag.

pub async fn test_iam_permissions<'_>(
    &'_ mut self,
    request: impl IntoRequest<TestIamPermissionsRequest>
) -> Result<Response<TestIamPermissionsResponse>, Status>
[src]

Returns the permissions that a caller has on the specified taxonomy or policy tag.

Trait Implementations

impl<T: Clone> Clone for PolicyTagManagerClient<T>[src]

impl<T> Debug for PolicyTagManagerClient<T>[src]

Auto Trait Implementations

impl<T> !RefUnwindSafe for PolicyTagManagerClient<T>

impl<T> Send for PolicyTagManagerClient<T> where
    T: Send

impl<T> Sync for PolicyTagManagerClient<T> where
    T: Sync

impl<T> Unpin for PolicyTagManagerClient<T> where
    T: Unpin

impl<T> !UnwindSafe for PolicyTagManagerClient<T>

Blanket Implementations

impl<T> Any for T where
    T: 'static + ?Sized
[src]

impl<T> Borrow<T> for T where
    T: ?Sized
[src]

impl<T> BorrowMut<T> for T where
    T: ?Sized
[src]

impl<T> From<T> for T[src]

impl<T> Instrument for T[src]

impl<T, U> Into<U> for T where
    U: From<T>, 
[src]

impl<T> IntoRequest<T> for T[src]

impl<T> ToOwned for T where
    T: Clone
[src]

type Owned = T

The resulting type after obtaining ownership.

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 
[src]

type Error = Infallible

The type returned in the event of a conversion error.

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 
[src]

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.

impl<V, T> VZip<V> for T where
    V: MultiLane<T>, 

impl<T> WithSubscriber for T[src]