[−][src]Struct gcp_client::google::cloud::datacatalog::v1beta1::policy_tag_manager_client::PolicyTagManagerClient
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]
T: GrpcService<BoxBody>,
T::ResponseBody: Body + HttpBody + Send + 'static,
T::Error: Into<StdError>,
<T::ResponseBody as HttpBody>::Error: Into<StdError> + Send,
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]
&'_ mut self,
request: impl IntoRequest<CreateTaxonomyRequest>
) -> Result<Response<Taxonomy>, Status>
Creates a taxonomy in the specified project.
pub async fn delete_taxonomy<'_>(
&'_ mut self,
request: impl IntoRequest<DeleteTaxonomyRequest>
) -> Result<Response<()>, Status>
[src]
&'_ mut self,
request: impl IntoRequest<DeleteTaxonomyRequest>
) -> Result<Response<()>, Status>
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]
&'_ mut self,
request: impl IntoRequest<UpdateTaxonomyRequest>
) -> Result<Response<Taxonomy>, Status>
Updates a taxonomy.
pub async fn list_taxonomies<'_>(
&'_ mut self,
request: impl IntoRequest<ListTaxonomiesRequest>
) -> Result<Response<ListTaxonomiesResponse>, Status>
[src]
&'_ mut self,
request: impl IntoRequest<ListTaxonomiesRequest>
) -> Result<Response<ListTaxonomiesResponse>, Status>
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]
&'_ mut self,
request: impl IntoRequest<GetTaxonomyRequest>
) -> Result<Response<Taxonomy>, Status>
Gets a taxonomy.
pub async fn create_policy_tag<'_>(
&'_ mut self,
request: impl IntoRequest<CreatePolicyTagRequest>
) -> Result<Response<PolicyTag>, Status>
[src]
&'_ mut self,
request: impl IntoRequest<CreatePolicyTagRequest>
) -> Result<Response<PolicyTag>, Status>
Creates a policy tag in the specified taxonomy.
pub async fn delete_policy_tag<'_>(
&'_ mut self,
request: impl IntoRequest<DeletePolicyTagRequest>
) -> Result<Response<()>, Status>
[src]
&'_ mut self,
request: impl IntoRequest<DeletePolicyTagRequest>
) -> Result<Response<()>, Status>
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]
&'_ mut self,
request: impl IntoRequest<UpdatePolicyTagRequest>
) -> Result<Response<PolicyTag>, Status>
Updates a policy tag.
pub async fn list_policy_tags<'_>(
&'_ mut self,
request: impl IntoRequest<ListPolicyTagsRequest>
) -> Result<Response<ListPolicyTagsResponse>, Status>
[src]
&'_ mut self,
request: impl IntoRequest<ListPolicyTagsRequest>
) -> Result<Response<ListPolicyTagsResponse>, Status>
Lists all policy tags in a taxonomy.
pub async fn get_policy_tag<'_>(
&'_ mut self,
request: impl IntoRequest<GetPolicyTagRequest>
) -> Result<Response<PolicyTag>, Status>
[src]
&'_ mut self,
request: impl IntoRequest<GetPolicyTagRequest>
) -> Result<Response<PolicyTag>, Status>
Gets a policy tag.
pub async fn get_iam_policy<'_>(
&'_ mut self,
request: impl IntoRequest<GetIamPolicyRequest>
) -> Result<Response<Policy>, Status>
[src]
&'_ mut self,
request: impl IntoRequest<GetIamPolicyRequest>
) -> Result<Response<Policy>, Status>
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]
&'_ mut self,
request: impl IntoRequest<SetIamPolicyRequest>
) -> Result<Response<Policy>, Status>
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]
&'_ mut self,
request: impl IntoRequest<TestIamPermissionsRequest>
) -> Result<Response<TestIamPermissionsResponse>, Status>
Returns the permissions that a caller has on the specified taxonomy or policy tag.
Trait Implementations
impl<T: Clone> Clone for PolicyTagManagerClient<T>
[src]
fn clone(&self) -> Self
[src]
fn clone_from(&mut self, source: &Self)
1.0.0[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,
T: Send,
impl<T> Sync for PolicyTagManagerClient<T> where
T: Sync,
T: Sync,
impl<T> Unpin for PolicyTagManagerClient<T> where
T: Unpin,
T: Unpin,
impl<T> !UnwindSafe for PolicyTagManagerClient<T>
Blanket Implementations
impl<T> Any for T where
T: 'static + ?Sized,
[src]
T: 'static + ?Sized,
impl<T> Borrow<T> for T where
T: ?Sized,
[src]
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
[src]
T: ?Sized,
fn borrow_mut(&mut self) -> &mut T
[src]
impl<T> From<T> for T
[src]
impl<T> Instrument for T
[src]
fn instrument(self, span: Span) -> Instrumented<Self>
[src]
fn in_current_span(self) -> Instrumented<Self>
[src]
impl<T, U> Into<U> for T where
U: From<T>,
[src]
U: From<T>,
impl<T> IntoRequest<T> for T
[src]
fn into_request(self) -> Request<T>
[src]
impl<T> ToOwned for T where
T: Clone,
[src]
T: Clone,
type Owned = T
The resulting type after obtaining ownership.
fn to_owned(&self) -> T
[src]
fn clone_into(&self, target: &mut T)
[src]
impl<T, U> TryFrom<U> for T where
U: Into<T>,
[src]
U: Into<T>,
type Error = Infallible
The type returned in the event of a conversion error.
fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>
[src]
impl<T, U> TryInto<U> for T where
U: TryFrom<T>,
[src]
U: TryFrom<T>,
type Error = <U as TryFrom<T>>::Error
The type returned in the event of a conversion error.
fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>
[src]
impl<V, T> VZip<V> for T where
V: MultiLane<T>,
V: MultiLane<T>,
fn vzip(self) -> V
impl<T> WithSubscriber for T
[src]
fn with_subscriber<S>(self, subscriber: S) -> WithDispatch<Self> where
S: Into<Dispatch>,
[src]
S: Into<Dispatch>,