Class: Google::Cloud::Dataplex::V1::Asset::ResourceSpec
- Inherits:
-
Object
- Object
- Google::Cloud::Dataplex::V1::Asset::ResourceSpec
- Extended by:
- Protobuf::MessageExts::ClassMethods
- Includes:
- Protobuf::MessageExts
- Defined in:
- proto_docs/google/cloud/dataplex/v1/resources.rb
Overview
Identifies the cloud resource that is referenced by this asset.
Defined Under Namespace
Modules: AccessMode, Type
Instance Attribute Summary collapse
-
#name ⇒ ::String
Immutable.
-
#read_access_mode ⇒ ::Google::Cloud::Dataplex::V1::Asset::ResourceSpec::AccessMode
Optional.
-
#type ⇒ ::Google::Cloud::Dataplex::V1::Asset::ResourceSpec::Type
Required.
Instance Attribute Details
#name ⇒ ::String
Returns Immutable. Relative name of the cloud resource that contains the data
that is being managed within a lake. For example:
projects/{project_number}/buckets/{bucket_id}
projects/{project_number}/datasets/{dataset_id}
.
687 688 689 690 691 692 693 694 695 696 697 698 699 700 701 702 703 704 705 706 707 708 709 710 711 712 713 714 715 |
# File 'proto_docs/google/cloud/dataplex/v1/resources.rb', line 687 class ResourceSpec include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods # Type of resource. module Type # Type not specified. TYPE_UNSPECIFIED = 0 # Cloud Storage bucket. STORAGE_BUCKET = 1 # BigQuery dataset. BIGQUERY_DATASET = 2 end # Access Mode determines how data stored within the resource is read. This # is only applicable to storage bucket assets. module AccessMode # Access mode unspecified. ACCESS_MODE_UNSPECIFIED = 0 # Default. Data is accessed directly using storage APIs. DIRECT = 1 # Data is accessed through a managed interface using BigQuery APIs. MANAGED = 2 end end |
#read_access_mode ⇒ ::Google::Cloud::Dataplex::V1::Asset::ResourceSpec::AccessMode
Returns Optional. Determines how read permissions are handled for each asset and their associated tables. Only available to storage buckets assets.
687 688 689 690 691 692 693 694 695 696 697 698 699 700 701 702 703 704 705 706 707 708 709 710 711 712 713 714 715 |
# File 'proto_docs/google/cloud/dataplex/v1/resources.rb', line 687 class ResourceSpec include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods # Type of resource. module Type # Type not specified. TYPE_UNSPECIFIED = 0 # Cloud Storage bucket. STORAGE_BUCKET = 1 # BigQuery dataset. BIGQUERY_DATASET = 2 end # Access Mode determines how data stored within the resource is read. This # is only applicable to storage bucket assets. module AccessMode # Access mode unspecified. ACCESS_MODE_UNSPECIFIED = 0 # Default. Data is accessed directly using storage APIs. DIRECT = 1 # Data is accessed through a managed interface using BigQuery APIs. MANAGED = 2 end end |
#type ⇒ ::Google::Cloud::Dataplex::V1::Asset::ResourceSpec::Type
Returns Required. Immutable. Type of resource.
687 688 689 690 691 692 693 694 695 696 697 698 699 700 701 702 703 704 705 706 707 708 709 710 711 712 713 714 715 |
# File 'proto_docs/google/cloud/dataplex/v1/resources.rb', line 687 class ResourceSpec include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods # Type of resource. module Type # Type not specified. TYPE_UNSPECIFIED = 0 # Cloud Storage bucket. STORAGE_BUCKET = 1 # BigQuery dataset. BIGQUERY_DATASET = 2 end # Access Mode determines how data stored within the resource is read. This # is only applicable to storage bucket assets. module AccessMode # Access mode unspecified. ACCESS_MODE_UNSPECIFIED = 0 # Default. Data is accessed directly using storage APIs. DIRECT = 1 # Data is accessed through a managed interface using BigQuery APIs. MANAGED = 2 end end |