[][src]Struct google_cloudprivatecatalogproducer1_beta1::GoogleCloudPrivatecatalogproducerV1beta1Association

pub struct GoogleCloudPrivatecatalogproducerV1beta1Association {
    pub resource: Option<String>,
    pub create_time: Option<String>,
    pub name: Option<String>,
}

An association tuple that pairs a Catalog to a resource that can use the Catalog. After association, a google.cloud.privatecatalog.v1beta1.Catalog becomes available to consumers under specified Association.resource and all of its child nodes. Users who have the cloudprivatecatalog.targets.get permission on any of the resource nodes can access the catalog and child products under the node.

For example, suppose the cloud resource hierarchy is as follows:

  • organizations/example.com
    • folders/team
      • projects/test

After creating an association with organizations/example.com, the catalog catalogs/1 is accessible from the following paths:

  • organizations/example.com
  • folders/team
  • projects/test

Users can access them by google.cloud.v1beta1.PrivateCatalog.SearchCatalogs action.

Activities

This type is used in activities, which are methods you may call on this type or where this type is involved in. The list links the activity name, along with information about where it is used (one of request and response).

Fields

resource: Option<String>

Required. The user-supplied fully qualified name of the Resource associated to the Catalog. It supports Organization, Folder, and Project. Values are of the form

  • //cloudresourcemanager.googleapis.com/projects/{product_number}
  • //cloudresourcemanager.googleapis.com/folders/{folder_id}
  • //cloudresourcemanager.googleapis.com/organizations/{organization_id}
create_time: Option<String>

The creation time of the association.

name: Option<String>

Output only. The resource name of the catalog association, in the format `catalogs/{catalog_id}/associations/{association_id}'.

A unique identifier for the catalog association, which is generated by catalog service.

Trait Implementations

impl ResponseResult for GoogleCloudPrivatecatalogproducerV1beta1Association[src]

impl Default for GoogleCloudPrivatecatalogproducerV1beta1Association[src]

impl Clone for GoogleCloudPrivatecatalogproducerV1beta1Association[src]

fn clone_from(&mut self, source: &Self)1.0.0[src]

Performs copy-assignment from source. Read more

impl Debug for GoogleCloudPrivatecatalogproducerV1beta1Association[src]

impl Serialize for GoogleCloudPrivatecatalogproducerV1beta1Association[src]

impl<'de> Deserialize<'de> for GoogleCloudPrivatecatalogproducerV1beta1Association[src]

Auto Trait Implementations

Blanket Implementations

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

type Owned = T

The resulting type after obtaining ownership.

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

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

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<T> BorrowMut<T> for T where
    T: ?Sized
[src]

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

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

impl<T> Typeable for T where
    T: Any

fn get_type(&self) -> TypeId

Get the TypeId of this object.

impl<T> DeserializeOwned for T where
    T: Deserialize<'de>, 
[src]