Enum google_api_proto::google::cloud::datacatalog::v1::entry::Spec
source · pub enum Spec {
DatabaseTableSpec(DatabaseTableSpec),
DataSourceConnectionSpec(DataSourceConnectionSpec),
RoutineSpec(RoutineSpec),
DatasetSpec(DatasetSpec),
FilesetSpec(FilesetSpec),
ServiceSpec(ServiceSpec),
ModelSpec(ModelSpec),
}
Expand description
Type- and system-specific information. Specifications for types contain fields common to all entries of a given type, and sub-specifications with fields specific to a given source system.
When extending the API with new types and systems, use this field instead
of the legacy type_spec
.
Variants§
DatabaseTableSpec(DatabaseTableSpec)
Specification that applies to a table resource. Valid only
for entries with the TABLE
or EXPLORE
type.
DataSourceConnectionSpec(DataSourceConnectionSpec)
Specification that applies to a data source connection. Valid only
for entries with the DATA_SOURCE_CONNECTION
type.
RoutineSpec(RoutineSpec)
Specification that applies to a user-defined function or procedure. Valid
only for entries with the ROUTINE
type.
DatasetSpec(DatasetSpec)
Specification that applies to a dataset.
FilesetSpec(FilesetSpec)
Specification that applies to a fileset resource. Valid only
for entries with the FILESET
type.
ServiceSpec(ServiceSpec)
Specification that applies to a Service resource.
ModelSpec(ModelSpec)
Model specification.
Implementations§
source§impl Spec
impl Spec
sourcepub fn merge(
field: &mut Option<Spec>,
tag: u32,
wire_type: WireType,
buf: &mut impl Buf,
ctx: DecodeContext,
) -> Result<(), DecodeError>
pub fn merge( field: &mut Option<Spec>, tag: u32, wire_type: WireType, buf: &mut impl Buf, ctx: DecodeContext, ) -> Result<(), DecodeError>
Decodes an instance of the message from a buffer, and merges it into self.
sourcepub fn encoded_len(&self) -> usize
pub fn encoded_len(&self) -> usize
Returns the encoded length of the message without a length delimiter.
Trait Implementations§
source§impl PartialEq for Spec
impl PartialEq for Spec
impl StructuralPartialEq for Spec
Auto Trait Implementations§
impl Freeze for Spec
impl RefUnwindSafe for Spec
impl Send for Spec
impl Sync for Spec
impl Unpin for Spec
impl UnwindSafe for Spec
Blanket Implementations§
source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
§impl<T> Instrument for T
impl<T> Instrument for T
§fn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
§fn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
source§impl<T> IntoRequest<T> for T
impl<T> IntoRequest<T> for T
source§fn into_request(self) -> Request<T>
fn into_request(self) -> Request<T>
T
in a tonic::Request