(::Array<::Google::Cloud::Dataplex::V1::Schema::PartitionField>) — Optional. The sequence of fields describing the partition structure in
entities. If this field is empty, there are no partitions within the data.
value (::Array<::Google::Cloud::Dataplex::V1::Schema::PartitionField>) — Optional. The sequence of fields describing the partition structure in
entities. If this field is empty, there are no partitions within the data.
Returns
(::Array<::Google::Cloud::Dataplex::V1::Schema::PartitionField>) — Optional. The sequence of fields describing the partition structure in
entities. If this field is empty, there are no partitions within the data.
Required. Set to true if user-managed or false if managed by Dataplex.
The default is false (managed by Dataplex).
Set to falseto enable Dataplex discovery to update the schema.
including new data discovery, schema inference, and schema evolution.
Users retain the ability to input and edit the schema. Dataplex
treats schema input by the user as though produced
by a previous Dataplex discovery operation, and it will
evolve the schema and take action based on that treatment.
Set to true to fully manage the entity
schema. This setting guarantees that Dataplex will not
change schema fields.
#user_managed=
defuser_managed=(value)->::Boolean
Parameter
value (::Boolean) —
Required. Set to true if user-managed or false if managed by Dataplex.
The default is false (managed by Dataplex).
Set to falseto enable Dataplex discovery to update the schema.
including new data discovery, schema inference, and schema evolution.
Users retain the ability to input and edit the schema. Dataplex
treats schema input by the user as though produced
by a previous Dataplex discovery operation, and it will
evolve the schema and take action based on that treatment.
Set to true to fully manage the entity
schema. This setting guarantees that Dataplex will not
change schema fields.
Returns
(::Boolean) —
Required. Set to true if user-managed or false if managed by Dataplex.
The default is false (managed by Dataplex).
Set to falseto enable Dataplex discovery to update the schema.
including new data discovery, schema inference, and schema evolution.
Users retain the ability to input and edit the schema. Dataplex
treats schema input by the user as though produced
by a previous Dataplex discovery operation, and it will
evolve the schema and take action based on that treatment.
Set to true to fully manage the entity
schema. This setting guarantees that Dataplex will not
change schema fields.
[[["Easy to understand","easyToUnderstand","thumb-up"],["Solved my problem","solvedMyProblem","thumb-up"],["Other","otherUp","thumb-up"]],[["Hard to understand","hardToUnderstand","thumb-down"],["Incorrect information or sample code","incorrectInformationOrSampleCode","thumb-down"],["Missing the information/samples I need","missingTheInformationSamplesINeed","thumb-down"],["Other","otherDown","thumb-down"]],["Last updated 2025-09-04 UTC."],[],[],null,["# Dataplex V1 API - Class Google::Cloud::Dataplex::V1::Schema (v2.5.0)\n\nVersion latestkeyboard_arrow_down\n\n- [2.5.0 (latest)](/ruby/docs/reference/google-cloud-dataplex-v1/latest/Google-Cloud-Dataplex-V1-Schema)\n- [2.4.1](/ruby/docs/reference/google-cloud-dataplex-v1/2.4.1/Google-Cloud-Dataplex-V1-Schema)\n- [2.3.1](/ruby/docs/reference/google-cloud-dataplex-v1/2.3.1/Google-Cloud-Dataplex-V1-Schema)\n- [2.2.0](/ruby/docs/reference/google-cloud-dataplex-v1/2.2.0/Google-Cloud-Dataplex-V1-Schema)\n- [2.1.0](/ruby/docs/reference/google-cloud-dataplex-v1/2.1.0/Google-Cloud-Dataplex-V1-Schema)\n- [2.0.0](/ruby/docs/reference/google-cloud-dataplex-v1/2.0.0/Google-Cloud-Dataplex-V1-Schema)\n- [1.4.0](/ruby/docs/reference/google-cloud-dataplex-v1/1.4.0/Google-Cloud-Dataplex-V1-Schema)\n- [1.3.0](/ruby/docs/reference/google-cloud-dataplex-v1/1.3.0/Google-Cloud-Dataplex-V1-Schema)\n- [1.2.0](/ruby/docs/reference/google-cloud-dataplex-v1/1.2.0/Google-Cloud-Dataplex-V1-Schema)\n- [1.1.0](/ruby/docs/reference/google-cloud-dataplex-v1/1.1.0/Google-Cloud-Dataplex-V1-Schema)\n- [1.0.1](/ruby/docs/reference/google-cloud-dataplex-v1/1.0.1/Google-Cloud-Dataplex-V1-Schema)\n- [0.23.0](/ruby/docs/reference/google-cloud-dataplex-v1/0.23.0/Google-Cloud-Dataplex-V1-Schema)\n- [0.22.0](/ruby/docs/reference/google-cloud-dataplex-v1/0.22.0/Google-Cloud-Dataplex-V1-Schema)\n- [0.21.1](/ruby/docs/reference/google-cloud-dataplex-v1/0.21.1/Google-Cloud-Dataplex-V1-Schema)\n- [0.20.0](/ruby/docs/reference/google-cloud-dataplex-v1/0.20.0/Google-Cloud-Dataplex-V1-Schema)\n- [0.19.0](/ruby/docs/reference/google-cloud-dataplex-v1/0.19.0/Google-Cloud-Dataplex-V1-Schema)\n- [0.18.2](/ruby/docs/reference/google-cloud-dataplex-v1/0.18.2/Google-Cloud-Dataplex-V1-Schema)\n- [0.17.0](/ruby/docs/reference/google-cloud-dataplex-v1/0.17.0/Google-Cloud-Dataplex-V1-Schema)\n- [0.16.0](/ruby/docs/reference/google-cloud-dataplex-v1/0.16.0/Google-Cloud-Dataplex-V1-Schema)\n- [0.15.0](/ruby/docs/reference/google-cloud-dataplex-v1/0.15.0/Google-Cloud-Dataplex-V1-Schema)\n- [0.14.0](/ruby/docs/reference/google-cloud-dataplex-v1/0.14.0/Google-Cloud-Dataplex-V1-Schema)\n- [0.13.0](/ruby/docs/reference/google-cloud-dataplex-v1/0.13.0/Google-Cloud-Dataplex-V1-Schema)\n- [0.12.0](/ruby/docs/reference/google-cloud-dataplex-v1/0.12.0/Google-Cloud-Dataplex-V1-Schema)\n- [0.11.0](/ruby/docs/reference/google-cloud-dataplex-v1/0.11.0/Google-Cloud-Dataplex-V1-Schema)\n- [0.10.1](/ruby/docs/reference/google-cloud-dataplex-v1/0.10.1/Google-Cloud-Dataplex-V1-Schema)\n- [0.9.0](/ruby/docs/reference/google-cloud-dataplex-v1/0.9.0/Google-Cloud-Dataplex-V1-Schema)\n- [0.8.0](/ruby/docs/reference/google-cloud-dataplex-v1/0.8.0/Google-Cloud-Dataplex-V1-Schema)\n- [0.7.0](/ruby/docs/reference/google-cloud-dataplex-v1/0.7.0/Google-Cloud-Dataplex-V1-Schema)\n- [0.6.1](/ruby/docs/reference/google-cloud-dataplex-v1/0.6.1/Google-Cloud-Dataplex-V1-Schema)\n- [0.5.1](/ruby/docs/reference/google-cloud-dataplex-v1/0.5.1/Google-Cloud-Dataplex-V1-Schema)\n- [0.4.0](/ruby/docs/reference/google-cloud-dataplex-v1/0.4.0/Google-Cloud-Dataplex-V1-Schema)\n- [0.3.0](/ruby/docs/reference/google-cloud-dataplex-v1/0.3.0/Google-Cloud-Dataplex-V1-Schema)\n- [0.2.1](/ruby/docs/reference/google-cloud-dataplex-v1/0.2.1/Google-Cloud-Dataplex-V1-Schema)\n- [0.1.0](/ruby/docs/reference/google-cloud-dataplex-v1/0.1.0/Google-Cloud-Dataplex-V1-Schema) \nReference documentation and code samples for the Dataplex V1 API class Google::Cloud::Dataplex::V1::Schema.\n\nSchema information describing the structure and layout of the data. \n\nInherits\n--------\n\n- Object \n\nExtended By\n-----------\n\n- Google::Protobuf::MessageExts::ClassMethods \n\nIncludes\n--------\n\n- Google::Protobuf::MessageExts\n\nMethods\n-------\n\n### #fields\n\n def fields() -\u003e ::Array\u003c::Google::Cloud::Dataplex::V1::Schema::SchemaField\u003e\n\n**Returns**\n\n- (::Array\\\u003c[::Google::Cloud::Dataplex::V1::Schema::SchemaField](./Google-Cloud-Dataplex-V1-Schema-SchemaField)\\\u003e) --- Optional. The sequence of fields describing data in table entities. **Note:** BigQuery SchemaFields are immutable.\n\n### #fields=\n\n def fields=(value) -\u003e ::Array\u003c::Google::Cloud::Dataplex::V1::Schema::SchemaField\u003e\n\n**Parameter**\n\n- **value** (::Array\\\u003c[::Google::Cloud::Dataplex::V1::Schema::SchemaField](./Google-Cloud-Dataplex-V1-Schema-SchemaField)\\\u003e) --- Optional. The sequence of fields describing data in table entities. **Note:** BigQuery SchemaFields are immutable. \n**Returns**\n\n- (::Array\\\u003c[::Google::Cloud::Dataplex::V1::Schema::SchemaField](./Google-Cloud-Dataplex-V1-Schema-SchemaField)\\\u003e) --- Optional. The sequence of fields describing data in table entities. **Note:** BigQuery SchemaFields are immutable.\n\n### #partition_fields\n\n def partition_fields() -\u003e ::Array\u003c::Google::Cloud::Dataplex::V1::Schema::PartitionField\u003e\n\n**Returns**\n\n- (::Array\\\u003c[::Google::Cloud::Dataplex::V1::Schema::PartitionField](./Google-Cloud-Dataplex-V1-Schema-PartitionField)\\\u003e) --- Optional. The sequence of fields describing the partition structure in entities. If this field is empty, there are no partitions within the data.\n\n### #partition_fields=\n\n def partition_fields=(value) -\u003e ::Array\u003c::Google::Cloud::Dataplex::V1::Schema::PartitionField\u003e\n\n**Parameter**\n\n- **value** (::Array\\\u003c[::Google::Cloud::Dataplex::V1::Schema::PartitionField](./Google-Cloud-Dataplex-V1-Schema-PartitionField)\\\u003e) --- Optional. The sequence of fields describing the partition structure in entities. If this field is empty, there are no partitions within the data. \n**Returns**\n\n- (::Array\\\u003c[::Google::Cloud::Dataplex::V1::Schema::PartitionField](./Google-Cloud-Dataplex-V1-Schema-PartitionField)\\\u003e) --- Optional. The sequence of fields describing the partition structure in entities. If this field is empty, there are no partitions within the data.\n\n### #partition_style\n\n def partition_style() -\u003e ::Google::Cloud::Dataplex::V1::Schema::PartitionStyle\n\n**Returns**\n\n- ([::Google::Cloud::Dataplex::V1::Schema::PartitionStyle](./Google-Cloud-Dataplex-V1-Schema-PartitionStyle)) --- Optional. The structure of paths containing partition data within the entity.\n\n### #partition_style=\n\n def partition_style=(value) -\u003e ::Google::Cloud::Dataplex::V1::Schema::PartitionStyle\n\n**Parameter**\n\n- **value** ([::Google::Cloud::Dataplex::V1::Schema::PartitionStyle](./Google-Cloud-Dataplex-V1-Schema-PartitionStyle)) --- Optional. The structure of paths containing partition data within the entity. \n**Returns**\n\n- ([::Google::Cloud::Dataplex::V1::Schema::PartitionStyle](./Google-Cloud-Dataplex-V1-Schema-PartitionStyle)) --- Optional. The structure of paths containing partition data within the entity.\n\n### #user_managed\n\n def user_managed() -\u003e ::Boolean\n\n**Returns**\n\n- (::Boolean) --- Required. Set to `true` if user-managed or `false` if managed by Dataplex.\n The default is `false` (managed by Dataplex).\n\n - Set to `false`to enable Dataplex discovery to update the schema.\n including new data discovery, schema inference, and schema evolution.\n Users retain the ability to input and edit the schema. Dataplex\n treats schema input by the user as though produced\n by a previous Dataplex discovery operation, and it will\n evolve the schema and take action based on that treatment.\n\n - Set to `true` to fully manage the entity\n schema. This setting guarantees that Dataplex will not\n change schema fields.\n\n### #user_managed=\n\n def user_managed=(value) -\u003e ::Boolean\n\n**Parameter**\n\n- **value** (::Boolean) ---\n\n Required. Set to `true` if user-managed or `false` if managed by Dataplex.\n The default is `false` (managed by Dataplex).\n - Set to `false`to enable Dataplex discovery to update the schema.\n including new data discovery, schema inference, and schema evolution.\n Users retain the ability to input and edit the schema. Dataplex\n treats schema input by the user as though produced\n by a previous Dataplex discovery operation, and it will\n evolve the schema and take action based on that treatment.\n\n - Set to `true` to fully manage the entity\n schema. This setting guarantees that Dataplex will not\n change schema fields.\n\n**Returns**\n\n- (::Boolean) --- Required. Set to `true` if user-managed or `false` if managed by Dataplex.\n The default is `false` (managed by Dataplex).\n\n - Set to `false`to enable Dataplex discovery to update the schema.\n including new data discovery, schema inference, and schema evolution.\n Users retain the ability to input and edit the schema. Dataplex\n treats schema input by the user as though produced\n by a previous Dataplex discovery operation, and it will\n evolve the schema and take action based on that treatment.\n\n - Set to `true` to fully manage the entity\n schema. This setting guarantees that Dataplex will not\n change schema fields."]]