Class: Google::Cloud::Dataplex::V1::Asset::ResourceSpec

Inherits:
Object
  • Object
show all
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

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}.

Returns:

  • (::String)

    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}



707
708
709
710
711
712
713
714
715
716
717
718
719
720
721
722
723
724
725
726
727
728
729
730
731
732
733
734
735
# File 'proto_docs/google/cloud/dataplex/v1/resources.rb', line 707

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.

Returns:



707
708
709
710
711
712
713
714
715
716
717
718
719
720
721
722
723
724
725
726
727
728
729
730
731
732
733
734
735
# File 'proto_docs/google/cloud/dataplex/v1/resources.rb', line 707

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.

Returns:



707
708
709
710
711
712
713
714
715
716
717
718
719
720
721
722
723
724
725
726
727
728
729
730
731
732
733
734
735
# File 'proto_docs/google/cloud/dataplex/v1/resources.rb', line 707

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