Reference documentation and code samples for the Vision AI V1 API class Google::Cloud::VisionAI::V1::UpdateDataSchemaRequest.
Request message for UpdateDataSchema.
Inherits
- Object
Extended By
- Google::Protobuf::MessageExts::ClassMethods
Includes
- Google::Protobuf::MessageExts
Methods
#data_schema
def data_schema() -> ::Google::Cloud::VisionAI::V1::DataSchema
Returns
-
(::Google::Cloud::VisionAI::V1::DataSchema) — Required. The data schema's
name
field is used to identify the data schema to be updated. Format:projects/{project_number}/locations/{location}/corpora/{corpus}/dataSchemas/{data_schema}
#data_schema=
def data_schema=(value) -> ::Google::Cloud::VisionAI::V1::DataSchema
Parameter
-
value (::Google::Cloud::VisionAI::V1::DataSchema) — Required. The data schema's
name
field is used to identify the data schema to be updated. Format:projects/{project_number}/locations/{location}/corpora/{corpus}/dataSchemas/{data_schema}
Returns
-
(::Google::Cloud::VisionAI::V1::DataSchema) — Required. The data schema's
name
field is used to identify the data schema to be updated. Format:projects/{project_number}/locations/{location}/corpora/{corpus}/dataSchemas/{data_schema}
#update_mask
def update_mask() -> ::Google::Protobuf::FieldMask
Returns
- (::Google::Protobuf::FieldMask) — The list of fields to be updated.
#update_mask=
def update_mask=(value) -> ::Google::Protobuf::FieldMask
Parameter
- value (::Google::Protobuf::FieldMask) — The list of fields to be updated.
Returns
- (::Google::Protobuf::FieldMask) — The list of fields to be updated.