DataTaxonomyService

Struct DataTaxonomyService 

Source
pub struct DataTaxonomyService { /* private fields */ }
๐Ÿ‘ŽDeprecated
Expand description

Implements a client for the Cloud Dataplex API.

ยงExample

let client = DataTaxonomyService::builder().build().await?;
// use `client` to make requests to the Cloud Dataplex API.

ยงService Description

DataTaxonomyService enables attribute-based governance. The resources currently offered include DataTaxonomy and DataAttribute.

ยงConfiguration

To configure DataTaxonomyService use the with_* methods in the type returned by builder(). The default configuration should work for most applications. Common configuration changes include

  • with_endpoint(): by default this client uses the global default endpoint (https://dataplex.googleapis.com). Applications using regional endpoints or running in restricted networks (e.g. a network configured override this default.
  • with_credentials(): by default this client uses Application Default Credentials. Applications using custom authentication may need to override this default.

ยงPooling and Cloning

DataTaxonomyService holds a connection pool internally, it is advised to create one and the reuse it. You do not need to wrap DataTaxonomyService in an Rc or Arc to reuse it, because it already uses an Arc internally.

Implementationsยง

Sourceยง

impl DataTaxonomyService

Source

pub fn builder() -> ClientBuilder

Returns a builder for DataTaxonomyService.

let client = DataTaxonomyService::builder().build().await?;
Source

pub fn from_stub<T>(stub: T) -> Self
where T: DataTaxonomyService + 'static,

Creates a new client from the provided stub.

The most common case for calling this function is in tests mocking the clientโ€™s behavior.

Source

pub fn create_data_taxonomy(&self) -> CreateDataTaxonomy

๐Ÿ‘ŽDeprecated

Create a DataTaxonomy resource.

ยงLong running operations

This method is used to start, and/or poll a long-running Operation. The Working with long-running operations chapter in the user guide covers these operations in detail.

Source

pub fn update_data_taxonomy(&self) -> UpdateDataTaxonomy

๐Ÿ‘ŽDeprecated

Updates a DataTaxonomy resource.

ยงLong running operations

This method is used to start, and/or poll a long-running Operation. The Working with long-running operations chapter in the user guide covers these operations in detail.

Source

pub fn delete_data_taxonomy(&self) -> DeleteDataTaxonomy

๐Ÿ‘ŽDeprecated

Deletes a DataTaxonomy resource. All attributes within the DataTaxonomy must be deleted before the DataTaxonomy can be deleted.

ยงLong running operations

This method is used to start, and/or poll a long-running Operation. The Working with long-running operations chapter in the user guide covers these operations in detail.

Source

pub fn list_data_taxonomies(&self) -> ListDataTaxonomies

๐Ÿ‘ŽDeprecated

Lists DataTaxonomy resources in a project and location.

Source

pub fn get_data_taxonomy(&self) -> GetDataTaxonomy

๐Ÿ‘ŽDeprecated

Retrieves a DataTaxonomy resource.

Source

pub fn create_data_attribute_binding(&self) -> CreateDataAttributeBinding

๐Ÿ‘ŽDeprecated

Create a DataAttributeBinding resource.

ยงLong running operations

This method is used to start, and/or poll a long-running Operation. The Working with long-running operations chapter in the user guide covers these operations in detail.

Source

pub fn update_data_attribute_binding(&self) -> UpdateDataAttributeBinding

๐Ÿ‘ŽDeprecated

Updates a DataAttributeBinding resource.

ยงLong running operations

This method is used to start, and/or poll a long-running Operation. The Working with long-running operations chapter in the user guide covers these operations in detail.

Source

pub fn delete_data_attribute_binding(&self) -> DeleteDataAttributeBinding

๐Ÿ‘ŽDeprecated

Deletes a DataAttributeBinding resource. All attributes within the DataAttributeBinding must be deleted before the DataAttributeBinding can be deleted.

ยงLong running operations

This method is used to start, and/or poll a long-running Operation. The Working with long-running operations chapter in the user guide covers these operations in detail.

Source

pub fn list_data_attribute_bindings(&self) -> ListDataAttributeBindings

๐Ÿ‘ŽDeprecated

Lists DataAttributeBinding resources in a project and location.

Source

pub fn get_data_attribute_binding(&self) -> GetDataAttributeBinding

๐Ÿ‘ŽDeprecated

Retrieves a DataAttributeBinding resource.

Source

pub fn create_data_attribute(&self) -> CreateDataAttribute

๐Ÿ‘ŽDeprecated

Create a DataAttribute resource.

ยงLong running operations

This method is used to start, and/or poll a long-running Operation. The Working with long-running operations chapter in the user guide covers these operations in detail.

Source

pub fn update_data_attribute(&self) -> UpdateDataAttribute

๐Ÿ‘ŽDeprecated

Updates a DataAttribute resource.

ยงLong running operations

This method is used to start, and/or poll a long-running Operation. The Working with long-running operations chapter in the user guide covers these operations in detail.

Source

pub fn delete_data_attribute(&self) -> DeleteDataAttribute

๐Ÿ‘ŽDeprecated

Deletes a Data Attribute resource.

ยงLong running operations

This method is used to start, and/or poll a long-running Operation. The Working with long-running operations chapter in the user guide covers these operations in detail.

Source

pub fn list_data_attributes(&self) -> ListDataAttributes

๐Ÿ‘ŽDeprecated

Lists Data Attribute resources in a DataTaxonomy.

Source

pub fn get_data_attribute(&self) -> GetDataAttribute

๐Ÿ‘ŽDeprecated

Retrieves a Data Attribute resource.

Source

pub fn list_locations(&self) -> ListLocations

Lists information about the supported locations for this service.

Source

pub fn get_location(&self) -> GetLocation

Gets information about a location.

Source

pub fn set_iam_policy(&self) -> SetIamPolicy

Sets the access control policy on the specified resource. Replaces any existing policy.

Can return NOT_FOUND, INVALID_ARGUMENT, and PERMISSION_DENIED errors.

Source

pub fn get_iam_policy(&self) -> GetIamPolicy

Gets the access control policy for a resource. Returns an empty policy if the resource exists and does not have a policy set.

Source

pub fn test_iam_permissions(&self) -> TestIamPermissions

Returns permissions that a caller has on the specified resource. If the resource does not exist, this will return an empty set of permissions, not a NOT_FOUND error.

Note: This operation is designed to be used for building permission-aware UIs and command-line tools, not for authorization checking. This operation may โ€œfail openโ€ without warning.

Source

pub fn list_operations(&self) -> ListOperations

Provides the Operations service functionality in this service.

Source

pub fn get_operation(&self) -> GetOperation

Provides the Operations service functionality in this service.

Source

pub fn delete_operation(&self) -> DeleteOperation

Provides the Operations service functionality in this service.

Source

pub fn cancel_operation(&self) -> CancelOperation

Provides the Operations service functionality in this service.

Trait Implementationsยง

Sourceยง

impl Clone for DataTaxonomyService

Sourceยง

fn clone(&self) -> DataTaxonomyService

Returns a duplicate of the value. Read more
1.0.0 ยท Sourceยง

fn clone_from(&mut self, source: &Self)

Performs copy-assignment from source. Read more
Sourceยง

impl Debug for DataTaxonomyService

Sourceยง

fn fmt(&self, f: &mut Formatter<'_>) -> Result

Formats the value using the given formatter. Read more

Auto Trait Implementationsยง

Blanket Implementationsยง

Sourceยง

impl<T> Any for T
where T: 'static + ?Sized,

Sourceยง

fn type_id(&self) -> TypeId

Gets the TypeId of self. Read more
Sourceยง

impl<T> Borrow<T> for T
where T: ?Sized,

Sourceยง

fn borrow(&self) -> &T

Immutably borrows from an owned value. Read more
Sourceยง

impl<T> BorrowMut<T> for T
where T: ?Sized,

Sourceยง

fn borrow_mut(&mut self) -> &mut T

Mutably borrows from an owned value. Read more
Sourceยง

impl<T> CloneToUninit for T
where T: Clone,

Sourceยง

unsafe fn clone_to_uninit(&self, dest: *mut u8)

๐Ÿ”ฌThis is a nightly-only experimental API. (clone_to_uninit)
Performs copy-assignment from self to dest. Read more
Sourceยง

impl<T> From<T> for T

Sourceยง

fn from(t: T) -> T

Returns the argument unchanged.

Sourceยง

impl<T> Instrument for T

Sourceยง

fn instrument(self, span: Span) -> Instrumented<Self>

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

fn in_current_span(self) -> Instrumented<Self>

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

impl<T, U> Into<U> for T
where U: From<T>,

Sourceยง

fn into(self) -> U

Calls U::from(self).

That is, this conversion is whatever the implementation of From<T> for U chooses to do.

Sourceยง

impl<T> PolicyExt for T
where T: ?Sized,

Sourceยง

fn and<P, B, E>(self, other: P) -> And<T, P>
where T: Policy<B, E>, P: Policy<B, E>,

Create a new Policy that returns Action::Follow only if self and other return Action::Follow. Read more
Sourceยง

fn or<P, B, E>(self, other: P) -> Or<T, P>
where T: Policy<B, E>, P: Policy<B, E>,

Create a new Policy that returns Action::Follow if either self or other returns Action::Follow. Read more
Sourceยง

impl<T> ToOwned for T
where T: Clone,

Sourceยง

type Owned = T

The resulting type after obtaining ownership.
Sourceยง

fn to_owned(&self) -> T

Creates owned data from borrowed data, usually by cloning. Read more
Sourceยง

fn clone_into(&self, target: &mut T)

Uses borrowed data to replace owned data, usually by cloning. Read more
Sourceยง

impl<T, U> TryFrom<U> for T
where U: Into<T>,

Sourceยง

type Error = Infallible

The type returned in the event of a conversion error.
Sourceยง

fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

Performs the conversion.
Sourceยง

impl<T, U> TryInto<U> for T
where U: TryFrom<T>,

Sourceยง

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

The type returned in the event of a conversion error.
Sourceยง

fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

Performs the conversion.
Sourceยง

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

Sourceยง

fn vzip(self) -> V

Sourceยง

impl<T> WithSubscriber for T

Sourceยง

fn with_subscriber<S>(self, subscriber: S) -> WithDispatch<Self>
where S: Into<Dispatch>,

Attaches the provided Subscriber to this type, returning a WithDispatch wrapper. Read more
Sourceยง

fn with_current_subscriber(self) -> WithDispatch<Self>

Attaches the current default Subscriber to this type, returning a WithDispatch wrapper. Read more