proto_docs/google/cloud/dataplex/v1/resources.rb in google-cloud-dataplex-v1-0.7.0 vs proto_docs/google/cloud/dataplex/v1/resources.rb in google-cloud-dataplex-v1-0.8.0
- old
+ new
@@ -247,13 +247,12 @@
# running discovery periodically. Successive discovery runs must be
# scheduled at least 60 minutes apart. The default value is to run
# discovery every 60 minutes. To explicitly set a timezone to the cron
# tab, apply a prefix in the cron tab: "CRON_TZ=$\\{IANA_TIME_ZONE}" or
# TZ=$\\{IANA_TIME_ZONE}". The $\\{IANA_TIME_ZONE} may only be a valid string
- # from IANA time zone database. For example,
- # `CRON_TZ=America/New_York 1 * * * *`,
- # or `TZ=America/New_York 1 * * * *`.
+ # from IANA time zone database. For example, `CRON_TZ=America/New_York 1
+ # * * * *`, or `TZ=America/New_York 1 * * * *`.
class DiscoverySpec
include ::Google::Protobuf::MessageExts
extend ::Google::Protobuf::MessageExts::ClassMethods
# Describe CSV and similar semi-structured data formats.
@@ -627,13 +626,12 @@
# running discovery periodically. Successive discovery runs must be
# scheduled at least 60 minutes apart. The default value is to run
# discovery every 60 minutes. To explicitly set a timezone to the cron
# tab, apply a prefix in the cron tab: "CRON_TZ=$\\{IANA_TIME_ZONE}" or
# TZ=$\\{IANA_TIME_ZONE}". The $\\{IANA_TIME_ZONE} may only be a valid string
- # from IANA time zone database. For example,
- # `CRON_TZ=America/New_York 1 * * * *`,
- # or `TZ=America/New_York 1 * * * *`.
+ # from IANA time zone database. For example, `CRON_TZ=America/New_York 1
+ # * * * *`, or `TZ=America/New_York 1 * * * *`.
class DiscoverySpec
include ::Google::Protobuf::MessageExts
extend ::Google::Protobuf::MessageExts::ClassMethods
# Describe CSV and similar semi-structured data formats.
@@ -680,10 +678,14 @@
# `projects/{project_number}/buckets/{bucket_id}`
# `projects/{project_number}/datasets/{dataset_id}`
# @!attribute [rw] type
# @return [::Google::Cloud::Dataplex::V1::Asset::ResourceSpec::Type]
# Required. Immutable. Type of resource.
+ # @!attribute [rw] read_access_mode
+ # @return [::Google::Cloud::Dataplex::V1::Asset::ResourceSpec::AccessMode]
+ # Optional. Determines how read permissions are handled for each asset and
+ # their associated tables. Only available to storage buckets assets.
class ResourceSpec
include ::Google::Protobuf::MessageExts
extend ::Google::Protobuf::MessageExts::ClassMethods
# Type of resource.
@@ -695,10 +697,23 @@
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
# Status of the resource referenced by an asset.
# @!attribute [rw] state
# @return [::Google::Cloud::Dataplex::V1::Asset::ResourceStatus::State]
@@ -707,9 +722,12 @@
# @return [::String]
# Additional information about the current state.
# @!attribute [rw] update_time
# @return [::Google::Protobuf::Timestamp]
# Last update time of the status.
+ # @!attribute [r] managed_access_identity
+ # @return [::String]
+ # Output only. Service account associated with the BigQuery Connection.
class ResourceStatus
include ::Google::Protobuf::MessageExts
extend ::Google::Protobuf::MessageExts::ClassMethods
# The state of a resource.