Class: Google::Cloud::Dataplex::V1::AspectType

Inherits:
Object
  • Object
show all
Extended by:
Protobuf::MessageExts::ClassMethods
Includes:
Protobuf::MessageExts
Defined in:
proto_docs/google/cloud/dataplex/v1/catalog.rb

Overview

AspectType is a template for creating Aspects, and represents the JSON-schema for a given Entry, for example, BigQuery Table Schema.

Defined Under Namespace

Classes: Authorization, LabelsEntry, MetadataTemplate

Instance Attribute Summary collapse

Instance Attribute Details

#authorization::Google::Cloud::Dataplex::V1::AspectType::Authorization

Returns Immutable. Defines the Authorization for this type.

Returns:



64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
# File 'proto_docs/google/cloud/dataplex/v1/catalog.rb', line 64

class AspectType
  include ::Google::Protobuf::MessageExts
  extend ::Google::Protobuf::MessageExts::ClassMethods

  # Autorization for an AspectType.
  # @!attribute [rw] alternate_use_permission
  #   @return [::String]
  #     Immutable. The IAM permission grantable on the EntryGroup to allow access
  #     to instantiate Aspects of Dataplex owned AspectTypes, only settable for
  #     Dataplex owned Types.
  class Authorization
    include ::Google::Protobuf::MessageExts
    extend ::Google::Protobuf::MessageExts::ClassMethods
  end

  # MetadataTemplate definition for an AspectType.
  # @!attribute [rw] index
  #   @return [::Integer]
  #     Optional. Index is used to encode Template messages. The value of index
  #     can range between 1 and 2,147,483,647. Index must be unique within all
  #     fields in a Template. (Nested Templates can reuse indexes). Once a
  #     Template is defined, the index cannot be changed, because it identifies
  #     the field in the actual storage format. Index is a mandatory field, but
  #     it is optional for top level fields, and map/array "values" definitions.
  # @!attribute [rw] name
  #   @return [::String]
  #     Required. The name of the field.
  # @!attribute [rw] type
  #   @return [::String]
  #     Required. The datatype of this field. The following values are supported:
  #
  #     Primitive types:
  #
  #     * string
  #     * integer
  #     * boolean
  #     * double
  #     * datetime. Must be of the format RFC3339 UTC "Zulu" (Examples:
  #     "2014-10-02T15:01:23Z" and "2014-10-02T15:01:23.045123456Z").
  #
  #     Complex types:
  #
  #     * enum
  #     * array
  #     * map
  #     * record
  # @!attribute [rw] record_fields
  #   @return [::Array<::Google::Cloud::Dataplex::V1::AspectType::MetadataTemplate>]
  #     Optional. Field definition. You must specify it if the type is record. It
  #     defines the nested fields.
  # @!attribute [rw] enum_values
  #   @return [::Array<::Google::Cloud::Dataplex::V1::AspectType::MetadataTemplate::EnumValue>]
  #     Optional. The list of values for an enum type. You must define it if the
  #     type is enum.
  # @!attribute [rw] map_items
  #   @return [::Google::Cloud::Dataplex::V1::AspectType::MetadataTemplate]
  #     Optional. If the type is map, set map_items. map_items can refer to a
  #     primitive field or a complex (record only) field. To specify a primitive
  #     field, you only need to set name and type in the nested
  #     MetadataTemplate. The recommended value for the name field is item, as
  #     this isn't used in the actual payload.
  # @!attribute [rw] array_items
  #   @return [::Google::Cloud::Dataplex::V1::AspectType::MetadataTemplate]
  #     Optional. If the type is array, set array_items. array_items can refer
  #     to a primitive field or a complex (record only) field. To specify a
  #     primitive field, you only need to set name and type in the nested
  #     MetadataTemplate. The recommended value for the name field is item, as
  #     this isn't used in the actual payload.
  # @!attribute [rw] type_id
  #   @return [::String]
  #     Optional. You can use type id if this definition of the field needs to be
  #     reused later. The type id must be unique across the entire template. You
  #     can only specify it if the field type is record.
  # @!attribute [rw] type_ref
  #   @return [::String]
  #     Optional. A reference to another field definition (not an inline
  #     definition). The value must be equal to the value of an id field defined
  #     elsewhere in the MetadataTemplate. Only fields with record type can
  #     refer to other fields.
  # @!attribute [rw] constraints
  #   @return [::Google::Cloud::Dataplex::V1::AspectType::MetadataTemplate::Constraints]
  #     Optional. Specifies the constraints on this field.
  # @!attribute [rw] annotations
  #   @return [::Google::Cloud::Dataplex::V1::AspectType::MetadataTemplate::Annotations]
  #     Optional. Specifies annotations on this field.
  class MetadataTemplate
    include ::Google::Protobuf::MessageExts
    extend ::Google::Protobuf::MessageExts::ClassMethods

    # Definition of Enumvalue, to be used for enum fields.
    # @!attribute [rw] index
    #   @return [::Integer]
    #     Required. Index for the enum value. It can't be modified.
    # @!attribute [rw] name
    #   @return [::String]
    #     Required. Name of the enumvalue. This is the actual value that the
    #     aspect can contain.
    # @!attribute [rw] deprecated
    #   @return [::String]
    #     Optional. You can set this message if you need to deprecate an enum
    #     value.
    class EnumValue
      include ::Google::Protobuf::MessageExts
      extend ::Google::Protobuf::MessageExts::ClassMethods
    end

    # Definition of the constraints of a field.
    # @!attribute [rw] required
    #   @return [::Boolean]
    #     Optional. Marks this field as optional or required.
    class Constraints
      include ::Google::Protobuf::MessageExts
      extend ::Google::Protobuf::MessageExts::ClassMethods
    end

    # Definition of the annotations of a field.
    # @!attribute [rw] deprecated
    #   @return [::String]
    #     Optional. Marks a field as deprecated. You can include a deprecation
    #     message.
    # @!attribute [rw] display_name
    #   @return [::String]
    #     Optional. Display name for a field.
    # @!attribute [rw] description
    #   @return [::String]
    #     Optional. Description for a field.
    # @!attribute [rw] display_order
    #   @return [::Integer]
    #     Optional. Display order for a field. You can use this to reorder where
    #     a field is rendered.
    # @!attribute [rw] string_type
    #   @return [::String]
    #     Optional. You can use String Type annotations to specify special
    #     meaning to string fields. The following values are supported:
    #
    #     * richText: The field must be interpreted as a rich text field.
    #     * url: A fully qualified URL link.
    #     * resource: A service qualified resource reference.
    # @!attribute [rw] string_values
    #   @return [::Array<::String>]
    #     Optional. Suggested hints for string fields. You can use them to
    #     suggest values to users through console.
    class Annotations
      include ::Google::Protobuf::MessageExts
      extend ::Google::Protobuf::MessageExts::ClassMethods
    end
  end

  # @!attribute [rw] key
  #   @return [::String]
  # @!attribute [rw] value
  #   @return [::String]
  class LabelsEntry
    include ::Google::Protobuf::MessageExts
    extend ::Google::Protobuf::MessageExts::ClassMethods
  end
end

#create_time::Google::Protobuf::Timestamp (readonly)

Returns Output only. The time when the AspectType was created.

Returns:



64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
# File 'proto_docs/google/cloud/dataplex/v1/catalog.rb', line 64

class AspectType
  include ::Google::Protobuf::MessageExts
  extend ::Google::Protobuf::MessageExts::ClassMethods

  # Autorization for an AspectType.
  # @!attribute [rw] alternate_use_permission
  #   @return [::String]
  #     Immutable. The IAM permission grantable on the EntryGroup to allow access
  #     to instantiate Aspects of Dataplex owned AspectTypes, only settable for
  #     Dataplex owned Types.
  class Authorization
    include ::Google::Protobuf::MessageExts
    extend ::Google::Protobuf::MessageExts::ClassMethods
  end

  # MetadataTemplate definition for an AspectType.
  # @!attribute [rw] index
  #   @return [::Integer]
  #     Optional. Index is used to encode Template messages. The value of index
  #     can range between 1 and 2,147,483,647. Index must be unique within all
  #     fields in a Template. (Nested Templates can reuse indexes). Once a
  #     Template is defined, the index cannot be changed, because it identifies
  #     the field in the actual storage format. Index is a mandatory field, but
  #     it is optional for top level fields, and map/array "values" definitions.
  # @!attribute [rw] name
  #   @return [::String]
  #     Required. The name of the field.
  # @!attribute [rw] type
  #   @return [::String]
  #     Required. The datatype of this field. The following values are supported:
  #
  #     Primitive types:
  #
  #     * string
  #     * integer
  #     * boolean
  #     * double
  #     * datetime. Must be of the format RFC3339 UTC "Zulu" (Examples:
  #     "2014-10-02T15:01:23Z" and "2014-10-02T15:01:23.045123456Z").
  #
  #     Complex types:
  #
  #     * enum
  #     * array
  #     * map
  #     * record
  # @!attribute [rw] record_fields
  #   @return [::Array<::Google::Cloud::Dataplex::V1::AspectType::MetadataTemplate>]
  #     Optional. Field definition. You must specify it if the type is record. It
  #     defines the nested fields.
  # @!attribute [rw] enum_values
  #   @return [::Array<::Google::Cloud::Dataplex::V1::AspectType::MetadataTemplate::EnumValue>]
  #     Optional. The list of values for an enum type. You must define it if the
  #     type is enum.
  # @!attribute [rw] map_items
  #   @return [::Google::Cloud::Dataplex::V1::AspectType::MetadataTemplate]
  #     Optional. If the type is map, set map_items. map_items can refer to a
  #     primitive field or a complex (record only) field. To specify a primitive
  #     field, you only need to set name and type in the nested
  #     MetadataTemplate. The recommended value for the name field is item, as
  #     this isn't used in the actual payload.
  # @!attribute [rw] array_items
  #   @return [::Google::Cloud::Dataplex::V1::AspectType::MetadataTemplate]
  #     Optional. If the type is array, set array_items. array_items can refer
  #     to a primitive field or a complex (record only) field. To specify a
  #     primitive field, you only need to set name and type in the nested
  #     MetadataTemplate. The recommended value for the name field is item, as
  #     this isn't used in the actual payload.
  # @!attribute [rw] type_id
  #   @return [::String]
  #     Optional. You can use type id if this definition of the field needs to be
  #     reused later. The type id must be unique across the entire template. You
  #     can only specify it if the field type is record.
  # @!attribute [rw] type_ref
  #   @return [::String]
  #     Optional. A reference to another field definition (not an inline
  #     definition). The value must be equal to the value of an id field defined
  #     elsewhere in the MetadataTemplate. Only fields with record type can
  #     refer to other fields.
  # @!attribute [rw] constraints
  #   @return [::Google::Cloud::Dataplex::V1::AspectType::MetadataTemplate::Constraints]
  #     Optional. Specifies the constraints on this field.
  # @!attribute [rw] annotations
  #   @return [::Google::Cloud::Dataplex::V1::AspectType::MetadataTemplate::Annotations]
  #     Optional. Specifies annotations on this field.
  class MetadataTemplate
    include ::Google::Protobuf::MessageExts
    extend ::Google::Protobuf::MessageExts::ClassMethods

    # Definition of Enumvalue, to be used for enum fields.
    # @!attribute [rw] index
    #   @return [::Integer]
    #     Required. Index for the enum value. It can't be modified.
    # @!attribute [rw] name
    #   @return [::String]
    #     Required. Name of the enumvalue. This is the actual value that the
    #     aspect can contain.
    # @!attribute [rw] deprecated
    #   @return [::String]
    #     Optional. You can set this message if you need to deprecate an enum
    #     value.
    class EnumValue
      include ::Google::Protobuf::MessageExts
      extend ::Google::Protobuf::MessageExts::ClassMethods
    end

    # Definition of the constraints of a field.
    # @!attribute [rw] required
    #   @return [::Boolean]
    #     Optional. Marks this field as optional or required.
    class Constraints
      include ::Google::Protobuf::MessageExts
      extend ::Google::Protobuf::MessageExts::ClassMethods
    end

    # Definition of the annotations of a field.
    # @!attribute [rw] deprecated
    #   @return [::String]
    #     Optional. Marks a field as deprecated. You can include a deprecation
    #     message.
    # @!attribute [rw] display_name
    #   @return [::String]
    #     Optional. Display name for a field.
    # @!attribute [rw] description
    #   @return [::String]
    #     Optional. Description for a field.
    # @!attribute [rw] display_order
    #   @return [::Integer]
    #     Optional. Display order for a field. You can use this to reorder where
    #     a field is rendered.
    # @!attribute [rw] string_type
    #   @return [::String]
    #     Optional. You can use String Type annotations to specify special
    #     meaning to string fields. The following values are supported:
    #
    #     * richText: The field must be interpreted as a rich text field.
    #     * url: A fully qualified URL link.
    #     * resource: A service qualified resource reference.
    # @!attribute [rw] string_values
    #   @return [::Array<::String>]
    #     Optional. Suggested hints for string fields. You can use them to
    #     suggest values to users through console.
    class Annotations
      include ::Google::Protobuf::MessageExts
      extend ::Google::Protobuf::MessageExts::ClassMethods
    end
  end

  # @!attribute [rw] key
  #   @return [::String]
  # @!attribute [rw] value
  #   @return [::String]
  class LabelsEntry
    include ::Google::Protobuf::MessageExts
    extend ::Google::Protobuf::MessageExts::ClassMethods
  end
end

#description::String

Returns Optional. Description of the AspectType.

Returns:

  • (::String)

    Optional. Description of the AspectType.



64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
# File 'proto_docs/google/cloud/dataplex/v1/catalog.rb', line 64

class AspectType
  include ::Google::Protobuf::MessageExts
  extend ::Google::Protobuf::MessageExts::ClassMethods

  # Autorization for an AspectType.
  # @!attribute [rw] alternate_use_permission
  #   @return [::String]
  #     Immutable. The IAM permission grantable on the EntryGroup to allow access
  #     to instantiate Aspects of Dataplex owned AspectTypes, only settable for
  #     Dataplex owned Types.
  class Authorization
    include ::Google::Protobuf::MessageExts
    extend ::Google::Protobuf::MessageExts::ClassMethods
  end

  # MetadataTemplate definition for an AspectType.
  # @!attribute [rw] index
  #   @return [::Integer]
  #     Optional. Index is used to encode Template messages. The value of index
  #     can range between 1 and 2,147,483,647. Index must be unique within all
  #     fields in a Template. (Nested Templates can reuse indexes). Once a
  #     Template is defined, the index cannot be changed, because it identifies
  #     the field in the actual storage format. Index is a mandatory field, but
  #     it is optional for top level fields, and map/array "values" definitions.
  # @!attribute [rw] name
  #   @return [::String]
  #     Required. The name of the field.
  # @!attribute [rw] type
  #   @return [::String]
  #     Required. The datatype of this field. The following values are supported:
  #
  #     Primitive types:
  #
  #     * string
  #     * integer
  #     * boolean
  #     * double
  #     * datetime. Must be of the format RFC3339 UTC "Zulu" (Examples:
  #     "2014-10-02T15:01:23Z" and "2014-10-02T15:01:23.045123456Z").
  #
  #     Complex types:
  #
  #     * enum
  #     * array
  #     * map
  #     * record
  # @!attribute [rw] record_fields
  #   @return [::Array<::Google::Cloud::Dataplex::V1::AspectType::MetadataTemplate>]
  #     Optional. Field definition. You must specify it if the type is record. It
  #     defines the nested fields.
  # @!attribute [rw] enum_values
  #   @return [::Array<::Google::Cloud::Dataplex::V1::AspectType::MetadataTemplate::EnumValue>]
  #     Optional. The list of values for an enum type. You must define it if the
  #     type is enum.
  # @!attribute [rw] map_items
  #   @return [::Google::Cloud::Dataplex::V1::AspectType::MetadataTemplate]
  #     Optional. If the type is map, set map_items. map_items can refer to a
  #     primitive field or a complex (record only) field. To specify a primitive
  #     field, you only need to set name and type in the nested
  #     MetadataTemplate. The recommended value for the name field is item, as
  #     this isn't used in the actual payload.
  # @!attribute [rw] array_items
  #   @return [::Google::Cloud::Dataplex::V1::AspectType::MetadataTemplate]
  #     Optional. If the type is array, set array_items. array_items can refer
  #     to a primitive field or a complex (record only) field. To specify a
  #     primitive field, you only need to set name and type in the nested
  #     MetadataTemplate. The recommended value for the name field is item, as
  #     this isn't used in the actual payload.
  # @!attribute [rw] type_id
  #   @return [::String]
  #     Optional. You can use type id if this definition of the field needs to be
  #     reused later. The type id must be unique across the entire template. You
  #     can only specify it if the field type is record.
  # @!attribute [rw] type_ref
  #   @return [::String]
  #     Optional. A reference to another field definition (not an inline
  #     definition). The value must be equal to the value of an id field defined
  #     elsewhere in the MetadataTemplate. Only fields with record type can
  #     refer to other fields.
  # @!attribute [rw] constraints
  #   @return [::Google::Cloud::Dataplex::V1::AspectType::MetadataTemplate::Constraints]
  #     Optional. Specifies the constraints on this field.
  # @!attribute [rw] annotations
  #   @return [::Google::Cloud::Dataplex::V1::AspectType::MetadataTemplate::Annotations]
  #     Optional. Specifies annotations on this field.
  class MetadataTemplate
    include ::Google::Protobuf::MessageExts
    extend ::Google::Protobuf::MessageExts::ClassMethods

    # Definition of Enumvalue, to be used for enum fields.
    # @!attribute [rw] index
    #   @return [::Integer]
    #     Required. Index for the enum value. It can't be modified.
    # @!attribute [rw] name
    #   @return [::String]
    #     Required. Name of the enumvalue. This is the actual value that the
    #     aspect can contain.
    # @!attribute [rw] deprecated
    #   @return [::String]
    #     Optional. You can set this message if you need to deprecate an enum
    #     value.
    class EnumValue
      include ::Google::Protobuf::MessageExts
      extend ::Google::Protobuf::MessageExts::ClassMethods
    end

    # Definition of the constraints of a field.
    # @!attribute [rw] required
    #   @return [::Boolean]
    #     Optional. Marks this field as optional or required.
    class Constraints
      include ::Google::Protobuf::MessageExts
      extend ::Google::Protobuf::MessageExts::ClassMethods
    end

    # Definition of the annotations of a field.
    # @!attribute [rw] deprecated
    #   @return [::String]
    #     Optional. Marks a field as deprecated. You can include a deprecation
    #     message.
    # @!attribute [rw] display_name
    #   @return [::String]
    #     Optional. Display name for a field.
    # @!attribute [rw] description
    #   @return [::String]
    #     Optional. Description for a field.
    # @!attribute [rw] display_order
    #   @return [::Integer]
    #     Optional. Display order for a field. You can use this to reorder where
    #     a field is rendered.
    # @!attribute [rw] string_type
    #   @return [::String]
    #     Optional. You can use String Type annotations to specify special
    #     meaning to string fields. The following values are supported:
    #
    #     * richText: The field must be interpreted as a rich text field.
    #     * url: A fully qualified URL link.
    #     * resource: A service qualified resource reference.
    # @!attribute [rw] string_values
    #   @return [::Array<::String>]
    #     Optional. Suggested hints for string fields. You can use them to
    #     suggest values to users through console.
    class Annotations
      include ::Google::Protobuf::MessageExts
      extend ::Google::Protobuf::MessageExts::ClassMethods
    end
  end

  # @!attribute [rw] key
  #   @return [::String]
  # @!attribute [rw] value
  #   @return [::String]
  class LabelsEntry
    include ::Google::Protobuf::MessageExts
    extend ::Google::Protobuf::MessageExts::ClassMethods
  end
end

#display_name::String

Returns Optional. User friendly display name.

Returns:

  • (::String)

    Optional. User friendly display name.



64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
# File 'proto_docs/google/cloud/dataplex/v1/catalog.rb', line 64

class AspectType
  include ::Google::Protobuf::MessageExts
  extend ::Google::Protobuf::MessageExts::ClassMethods

  # Autorization for an AspectType.
  # @!attribute [rw] alternate_use_permission
  #   @return [::String]
  #     Immutable. The IAM permission grantable on the EntryGroup to allow access
  #     to instantiate Aspects of Dataplex owned AspectTypes, only settable for
  #     Dataplex owned Types.
  class Authorization
    include ::Google::Protobuf::MessageExts
    extend ::Google::Protobuf::MessageExts::ClassMethods
  end

  # MetadataTemplate definition for an AspectType.
  # @!attribute [rw] index
  #   @return [::Integer]
  #     Optional. Index is used to encode Template messages. The value of index
  #     can range between 1 and 2,147,483,647. Index must be unique within all
  #     fields in a Template. (Nested Templates can reuse indexes). Once a
  #     Template is defined, the index cannot be changed, because it identifies
  #     the field in the actual storage format. Index is a mandatory field, but
  #     it is optional for top level fields, and map/array "values" definitions.
  # @!attribute [rw] name
  #   @return [::String]
  #     Required. The name of the field.
  # @!attribute [rw] type
  #   @return [::String]
  #     Required. The datatype of this field. The following values are supported:
  #
  #     Primitive types:
  #
  #     * string
  #     * integer
  #     * boolean
  #     * double
  #     * datetime. Must be of the format RFC3339 UTC "Zulu" (Examples:
  #     "2014-10-02T15:01:23Z" and "2014-10-02T15:01:23.045123456Z").
  #
  #     Complex types:
  #
  #     * enum
  #     * array
  #     * map
  #     * record
  # @!attribute [rw] record_fields
  #   @return [::Array<::Google::Cloud::Dataplex::V1::AspectType::MetadataTemplate>]
  #     Optional. Field definition. You must specify it if the type is record. It
  #     defines the nested fields.
  # @!attribute [rw] enum_values
  #   @return [::Array<::Google::Cloud::Dataplex::V1::AspectType::MetadataTemplate::EnumValue>]
  #     Optional. The list of values for an enum type. You must define it if the
  #     type is enum.
  # @!attribute [rw] map_items
  #   @return [::Google::Cloud::Dataplex::V1::AspectType::MetadataTemplate]
  #     Optional. If the type is map, set map_items. map_items can refer to a
  #     primitive field or a complex (record only) field. To specify a primitive
  #     field, you only need to set name and type in the nested
  #     MetadataTemplate. The recommended value for the name field is item, as
  #     this isn't used in the actual payload.
  # @!attribute [rw] array_items
  #   @return [::Google::Cloud::Dataplex::V1::AspectType::MetadataTemplate]
  #     Optional. If the type is array, set array_items. array_items can refer
  #     to a primitive field or a complex (record only) field. To specify a
  #     primitive field, you only need to set name and type in the nested
  #     MetadataTemplate. The recommended value for the name field is item, as
  #     this isn't used in the actual payload.
  # @!attribute [rw] type_id
  #   @return [::String]
  #     Optional. You can use type id if this definition of the field needs to be
  #     reused later. The type id must be unique across the entire template. You
  #     can only specify it if the field type is record.
  # @!attribute [rw] type_ref
  #   @return [::String]
  #     Optional. A reference to another field definition (not an inline
  #     definition). The value must be equal to the value of an id field defined
  #     elsewhere in the MetadataTemplate. Only fields with record type can
  #     refer to other fields.
  # @!attribute [rw] constraints
  #   @return [::Google::Cloud::Dataplex::V1::AspectType::MetadataTemplate::Constraints]
  #     Optional. Specifies the constraints on this field.
  # @!attribute [rw] annotations
  #   @return [::Google::Cloud::Dataplex::V1::AspectType::MetadataTemplate::Annotations]
  #     Optional. Specifies annotations on this field.
  class MetadataTemplate
    include ::Google::Protobuf::MessageExts
    extend ::Google::Protobuf::MessageExts::ClassMethods

    # Definition of Enumvalue, to be used for enum fields.
    # @!attribute [rw] index
    #   @return [::Integer]
    #     Required. Index for the enum value. It can't be modified.
    # @!attribute [rw] name
    #   @return [::String]
    #     Required. Name of the enumvalue. This is the actual value that the
    #     aspect can contain.
    # @!attribute [rw] deprecated
    #   @return [::String]
    #     Optional. You can set this message if you need to deprecate an enum
    #     value.
    class EnumValue
      include ::Google::Protobuf::MessageExts
      extend ::Google::Protobuf::MessageExts::ClassMethods
    end

    # Definition of the constraints of a field.
    # @!attribute [rw] required
    #   @return [::Boolean]
    #     Optional. Marks this field as optional or required.
    class Constraints
      include ::Google::Protobuf::MessageExts
      extend ::Google::Protobuf::MessageExts::ClassMethods
    end

    # Definition of the annotations of a field.
    # @!attribute [rw] deprecated
    #   @return [::String]
    #     Optional. Marks a field as deprecated. You can include a deprecation
    #     message.
    # @!attribute [rw] display_name
    #   @return [::String]
    #     Optional. Display name for a field.
    # @!attribute [rw] description
    #   @return [::String]
    #     Optional. Description for a field.
    # @!attribute [rw] display_order
    #   @return [::Integer]
    #     Optional. Display order for a field. You can use this to reorder where
    #     a field is rendered.
    # @!attribute [rw] string_type
    #   @return [::String]
    #     Optional. You can use String Type annotations to specify special
    #     meaning to string fields. The following values are supported:
    #
    #     * richText: The field must be interpreted as a rich text field.
    #     * url: A fully qualified URL link.
    #     * resource: A service qualified resource reference.
    # @!attribute [rw] string_values
    #   @return [::Array<::String>]
    #     Optional. Suggested hints for string fields. You can use them to
    #     suggest values to users through console.
    class Annotations
      include ::Google::Protobuf::MessageExts
      extend ::Google::Protobuf::MessageExts::ClassMethods
    end
  end

  # @!attribute [rw] key
  #   @return [::String]
  # @!attribute [rw] value
  #   @return [::String]
  class LabelsEntry
    include ::Google::Protobuf::MessageExts
    extend ::Google::Protobuf::MessageExts::ClassMethods
  end
end

#etag::String

Returns The service computes this checksum. The client may send it on update and delete requests to ensure it has an up-to-date value before proceeding.

Returns:

  • (::String)

    The service computes this checksum. The client may send it on update and delete requests to ensure it has an up-to-date value before proceeding.



64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
# File 'proto_docs/google/cloud/dataplex/v1/catalog.rb', line 64

class AspectType
  include ::Google::Protobuf::MessageExts
  extend ::Google::Protobuf::MessageExts::ClassMethods

  # Autorization for an AspectType.
  # @!attribute [rw] alternate_use_permission
  #   @return [::String]
  #     Immutable. The IAM permission grantable on the EntryGroup to allow access
  #     to instantiate Aspects of Dataplex owned AspectTypes, only settable for
  #     Dataplex owned Types.
  class Authorization
    include ::Google::Protobuf::MessageExts
    extend ::Google::Protobuf::MessageExts::ClassMethods
  end

  # MetadataTemplate definition for an AspectType.
  # @!attribute [rw] index
  #   @return [::Integer]
  #     Optional. Index is used to encode Template messages. The value of index
  #     can range between 1 and 2,147,483,647. Index must be unique within all
  #     fields in a Template. (Nested Templates can reuse indexes). Once a
  #     Template is defined, the index cannot be changed, because it identifies
  #     the field in the actual storage format. Index is a mandatory field, but
  #     it is optional for top level fields, and map/array "values" definitions.
  # @!attribute [rw] name
  #   @return [::String]
  #     Required. The name of the field.
  # @!attribute [rw] type
  #   @return [::String]
  #     Required. The datatype of this field. The following values are supported:
  #
  #     Primitive types:
  #
  #     * string
  #     * integer
  #     * boolean
  #     * double
  #     * datetime. Must be of the format RFC3339 UTC "Zulu" (Examples:
  #     "2014-10-02T15:01:23Z" and "2014-10-02T15:01:23.045123456Z").
  #
  #     Complex types:
  #
  #     * enum
  #     * array
  #     * map
  #     * record
  # @!attribute [rw] record_fields
  #   @return [::Array<::Google::Cloud::Dataplex::V1::AspectType::MetadataTemplate>]
  #     Optional. Field definition. You must specify it if the type is record. It
  #     defines the nested fields.
  # @!attribute [rw] enum_values
  #   @return [::Array<::Google::Cloud::Dataplex::V1::AspectType::MetadataTemplate::EnumValue>]
  #     Optional. The list of values for an enum type. You must define it if the
  #     type is enum.
  # @!attribute [rw] map_items
  #   @return [::Google::Cloud::Dataplex::V1::AspectType::MetadataTemplate]
  #     Optional. If the type is map, set map_items. map_items can refer to a
  #     primitive field or a complex (record only) field. To specify a primitive
  #     field, you only need to set name and type in the nested
  #     MetadataTemplate. The recommended value for the name field is item, as
  #     this isn't used in the actual payload.
  # @!attribute [rw] array_items
  #   @return [::Google::Cloud::Dataplex::V1::AspectType::MetadataTemplate]
  #     Optional. If the type is array, set array_items. array_items can refer
  #     to a primitive field or a complex (record only) field. To specify a
  #     primitive field, you only need to set name and type in the nested
  #     MetadataTemplate. The recommended value for the name field is item, as
  #     this isn't used in the actual payload.
  # @!attribute [rw] type_id
  #   @return [::String]
  #     Optional. You can use type id if this definition of the field needs to be
  #     reused later. The type id must be unique across the entire template. You
  #     can only specify it if the field type is record.
  # @!attribute [rw] type_ref
  #   @return [::String]
  #     Optional. A reference to another field definition (not an inline
  #     definition). The value must be equal to the value of an id field defined
  #     elsewhere in the MetadataTemplate. Only fields with record type can
  #     refer to other fields.
  # @!attribute [rw] constraints
  #   @return [::Google::Cloud::Dataplex::V1::AspectType::MetadataTemplate::Constraints]
  #     Optional. Specifies the constraints on this field.
  # @!attribute [rw] annotations
  #   @return [::Google::Cloud::Dataplex::V1::AspectType::MetadataTemplate::Annotations]
  #     Optional. Specifies annotations on this field.
  class MetadataTemplate
    include ::Google::Protobuf::MessageExts
    extend ::Google::Protobuf::MessageExts::ClassMethods

    # Definition of Enumvalue, to be used for enum fields.
    # @!attribute [rw] index
    #   @return [::Integer]
    #     Required. Index for the enum value. It can't be modified.
    # @!attribute [rw] name
    #   @return [::String]
    #     Required. Name of the enumvalue. This is the actual value that the
    #     aspect can contain.
    # @!attribute [rw] deprecated
    #   @return [::String]
    #     Optional. You can set this message if you need to deprecate an enum
    #     value.
    class EnumValue
      include ::Google::Protobuf::MessageExts
      extend ::Google::Protobuf::MessageExts::ClassMethods
    end

    # Definition of the constraints of a field.
    # @!attribute [rw] required
    #   @return [::Boolean]
    #     Optional. Marks this field as optional or required.
    class Constraints
      include ::Google::Protobuf::MessageExts
      extend ::Google::Protobuf::MessageExts::ClassMethods
    end

    # Definition of the annotations of a field.
    # @!attribute [rw] deprecated
    #   @return [::String]
    #     Optional. Marks a field as deprecated. You can include a deprecation
    #     message.
    # @!attribute [rw] display_name
    #   @return [::String]
    #     Optional. Display name for a field.
    # @!attribute [rw] description
    #   @return [::String]
    #     Optional. Description for a field.
    # @!attribute [rw] display_order
    #   @return [::Integer]
    #     Optional. Display order for a field. You can use this to reorder where
    #     a field is rendered.
    # @!attribute [rw] string_type
    #   @return [::String]
    #     Optional. You can use String Type annotations to specify special
    #     meaning to string fields. The following values are supported:
    #
    #     * richText: The field must be interpreted as a rich text field.
    #     * url: A fully qualified URL link.
    #     * resource: A service qualified resource reference.
    # @!attribute [rw] string_values
    #   @return [::Array<::String>]
    #     Optional. Suggested hints for string fields. You can use them to
    #     suggest values to users through console.
    class Annotations
      include ::Google::Protobuf::MessageExts
      extend ::Google::Protobuf::MessageExts::ClassMethods
    end
  end

  # @!attribute [rw] key
  #   @return [::String]
  # @!attribute [rw] value
  #   @return [::String]
  class LabelsEntry
    include ::Google::Protobuf::MessageExts
    extend ::Google::Protobuf::MessageExts::ClassMethods
  end
end

#labels::Google::Protobuf::Map{::String => ::String}

Returns Optional. User-defined labels for the AspectType.

Returns:

  • (::Google::Protobuf::Map{::String => ::String})

    Optional. User-defined labels for the AspectType.



64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
# File 'proto_docs/google/cloud/dataplex/v1/catalog.rb', line 64

class AspectType
  include ::Google::Protobuf::MessageExts
  extend ::Google::Protobuf::MessageExts::ClassMethods

  # Autorization for an AspectType.
  # @!attribute [rw] alternate_use_permission
  #   @return [::String]
  #     Immutable. The IAM permission grantable on the EntryGroup to allow access
  #     to instantiate Aspects of Dataplex owned AspectTypes, only settable for
  #     Dataplex owned Types.
  class Authorization
    include ::Google::Protobuf::MessageExts
    extend ::Google::Protobuf::MessageExts::ClassMethods
  end

  # MetadataTemplate definition for an AspectType.
  # @!attribute [rw] index
  #   @return [::Integer]
  #     Optional. Index is used to encode Template messages. The value of index
  #     can range between 1 and 2,147,483,647. Index must be unique within all
  #     fields in a Template. (Nested Templates can reuse indexes). Once a
  #     Template is defined, the index cannot be changed, because it identifies
  #     the field in the actual storage format. Index is a mandatory field, but
  #     it is optional for top level fields, and map/array "values" definitions.
  # @!attribute [rw] name
  #   @return [::String]
  #     Required. The name of the field.
  # @!attribute [rw] type
  #   @return [::String]
  #     Required. The datatype of this field. The following values are supported:
  #
  #     Primitive types:
  #
  #     * string
  #     * integer
  #     * boolean
  #     * double
  #     * datetime. Must be of the format RFC3339 UTC "Zulu" (Examples:
  #     "2014-10-02T15:01:23Z" and "2014-10-02T15:01:23.045123456Z").
  #
  #     Complex types:
  #
  #     * enum
  #     * array
  #     * map
  #     * record
  # @!attribute [rw] record_fields
  #   @return [::Array<::Google::Cloud::Dataplex::V1::AspectType::MetadataTemplate>]
  #     Optional. Field definition. You must specify it if the type is record. It
  #     defines the nested fields.
  # @!attribute [rw] enum_values
  #   @return [::Array<::Google::Cloud::Dataplex::V1::AspectType::MetadataTemplate::EnumValue>]
  #     Optional. The list of values for an enum type. You must define it if the
  #     type is enum.
  # @!attribute [rw] map_items
  #   @return [::Google::Cloud::Dataplex::V1::AspectType::MetadataTemplate]
  #     Optional. If the type is map, set map_items. map_items can refer to a
  #     primitive field or a complex (record only) field. To specify a primitive
  #     field, you only need to set name and type in the nested
  #     MetadataTemplate. The recommended value for the name field is item, as
  #     this isn't used in the actual payload.
  # @!attribute [rw] array_items
  #   @return [::Google::Cloud::Dataplex::V1::AspectType::MetadataTemplate]
  #     Optional. If the type is array, set array_items. array_items can refer
  #     to a primitive field or a complex (record only) field. To specify a
  #     primitive field, you only need to set name and type in the nested
  #     MetadataTemplate. The recommended value for the name field is item, as
  #     this isn't used in the actual payload.
  # @!attribute [rw] type_id
  #   @return [::String]
  #     Optional. You can use type id if this definition of the field needs to be
  #     reused later. The type id must be unique across the entire template. You
  #     can only specify it if the field type is record.
  # @!attribute [rw] type_ref
  #   @return [::String]
  #     Optional. A reference to another field definition (not an inline
  #     definition). The value must be equal to the value of an id field defined
  #     elsewhere in the MetadataTemplate. Only fields with record type can
  #     refer to other fields.
  # @!attribute [rw] constraints
  #   @return [::Google::Cloud::Dataplex::V1::AspectType::MetadataTemplate::Constraints]
  #     Optional. Specifies the constraints on this field.
  # @!attribute [rw] annotations
  #   @return [::Google::Cloud::Dataplex::V1::AspectType::MetadataTemplate::Annotations]
  #     Optional. Specifies annotations on this field.
  class MetadataTemplate
    include ::Google::Protobuf::MessageExts
    extend ::Google::Protobuf::MessageExts::ClassMethods

    # Definition of Enumvalue, to be used for enum fields.
    # @!attribute [rw] index
    #   @return [::Integer]
    #     Required. Index for the enum value. It can't be modified.
    # @!attribute [rw] name
    #   @return [::String]
    #     Required. Name of the enumvalue. This is the actual value that the
    #     aspect can contain.
    # @!attribute [rw] deprecated
    #   @return [::String]
    #     Optional. You can set this message if you need to deprecate an enum
    #     value.
    class EnumValue
      include ::Google::Protobuf::MessageExts
      extend ::Google::Protobuf::MessageExts::ClassMethods
    end

    # Definition of the constraints of a field.
    # @!attribute [rw] required
    #   @return [::Boolean]
    #     Optional. Marks this field as optional or required.
    class Constraints
      include ::Google::Protobuf::MessageExts
      extend ::Google::Protobuf::MessageExts::ClassMethods
    end

    # Definition of the annotations of a field.
    # @!attribute [rw] deprecated
    #   @return [::String]
    #     Optional. Marks a field as deprecated. You can include a deprecation
    #     message.
    # @!attribute [rw] display_name
    #   @return [::String]
    #     Optional. Display name for a field.
    # @!attribute [rw] description
    #   @return [::String]
    #     Optional. Description for a field.
    # @!attribute [rw] display_order
    #   @return [::Integer]
    #     Optional. Display order for a field. You can use this to reorder where
    #     a field is rendered.
    # @!attribute [rw] string_type
    #   @return [::String]
    #     Optional. You can use String Type annotations to specify special
    #     meaning to string fields. The following values are supported:
    #
    #     * richText: The field must be interpreted as a rich text field.
    #     * url: A fully qualified URL link.
    #     * resource: A service qualified resource reference.
    # @!attribute [rw] string_values
    #   @return [::Array<::String>]
    #     Optional. Suggested hints for string fields. You can use them to
    #     suggest values to users through console.
    class Annotations
      include ::Google::Protobuf::MessageExts
      extend ::Google::Protobuf::MessageExts::ClassMethods
    end
  end

  # @!attribute [rw] key
  #   @return [::String]
  # @!attribute [rw] value
  #   @return [::String]
  class LabelsEntry
    include ::Google::Protobuf::MessageExts
    extend ::Google::Protobuf::MessageExts::ClassMethods
  end
end

#metadata_template::Google::Cloud::Dataplex::V1::AspectType::MetadataTemplate

Returns Required. MetadataTemplate of the aspect.

Returns:



64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
# File 'proto_docs/google/cloud/dataplex/v1/catalog.rb', line 64

class AspectType
  include ::Google::Protobuf::MessageExts
  extend ::Google::Protobuf::MessageExts::ClassMethods

  # Autorization for an AspectType.
  # @!attribute [rw] alternate_use_permission
  #   @return [::String]
  #     Immutable. The IAM permission grantable on the EntryGroup to allow access
  #     to instantiate Aspects of Dataplex owned AspectTypes, only settable for
  #     Dataplex owned Types.
  class Authorization
    include ::Google::Protobuf::MessageExts
    extend ::Google::Protobuf::MessageExts::ClassMethods
  end

  # MetadataTemplate definition for an AspectType.
  # @!attribute [rw] index
  #   @return [::Integer]
  #     Optional. Index is used to encode Template messages. The value of index
  #     can range between 1 and 2,147,483,647. Index must be unique within all
  #     fields in a Template. (Nested Templates can reuse indexes). Once a
  #     Template is defined, the index cannot be changed, because it identifies
  #     the field in the actual storage format. Index is a mandatory field, but
  #     it is optional for top level fields, and map/array "values" definitions.
  # @!attribute [rw] name
  #   @return [::String]
  #     Required. The name of the field.
  # @!attribute [rw] type
  #   @return [::String]
  #     Required. The datatype of this field. The following values are supported:
  #
  #     Primitive types:
  #
  #     * string
  #     * integer
  #     * boolean
  #     * double
  #     * datetime. Must be of the format RFC3339 UTC "Zulu" (Examples:
  #     "2014-10-02T15:01:23Z" and "2014-10-02T15:01:23.045123456Z").
  #
  #     Complex types:
  #
  #     * enum
  #     * array
  #     * map
  #     * record
  # @!attribute [rw] record_fields
  #   @return [::Array<::Google::Cloud::Dataplex::V1::AspectType::MetadataTemplate>]
  #     Optional. Field definition. You must specify it if the type is record. It
  #     defines the nested fields.
  # @!attribute [rw] enum_values
  #   @return [::Array<::Google::Cloud::Dataplex::V1::AspectType::MetadataTemplate::EnumValue>]
  #     Optional. The list of values for an enum type. You must define it if the
  #     type is enum.
  # @!attribute [rw] map_items
  #   @return [::Google::Cloud::Dataplex::V1::AspectType::MetadataTemplate]
  #     Optional. If the type is map, set map_items. map_items can refer to a
  #     primitive field or a complex (record only) field. To specify a primitive
  #     field, you only need to set name and type in the nested
  #     MetadataTemplate. The recommended value for the name field is item, as
  #     this isn't used in the actual payload.
  # @!attribute [rw] array_items
  #   @return [::Google::Cloud::Dataplex::V1::AspectType::MetadataTemplate]
  #     Optional. If the type is array, set array_items. array_items can refer
  #     to a primitive field or a complex (record only) field. To specify a
  #     primitive field, you only need to set name and type in the nested
  #     MetadataTemplate. The recommended value for the name field is item, as
  #     this isn't used in the actual payload.
  # @!attribute [rw] type_id
  #   @return [::String]
  #     Optional. You can use type id if this definition of the field needs to be
  #     reused later. The type id must be unique across the entire template. You
  #     can only specify it if the field type is record.
  # @!attribute [rw] type_ref
  #   @return [::String]
  #     Optional. A reference to another field definition (not an inline
  #     definition). The value must be equal to the value of an id field defined
  #     elsewhere in the MetadataTemplate. Only fields with record type can
  #     refer to other fields.
  # @!attribute [rw] constraints
  #   @return [::Google::Cloud::Dataplex::V1::AspectType::MetadataTemplate::Constraints]
  #     Optional. Specifies the constraints on this field.
  # @!attribute [rw] annotations
  #   @return [::Google::Cloud::Dataplex::V1::AspectType::MetadataTemplate::Annotations]
  #     Optional. Specifies annotations on this field.
  class MetadataTemplate
    include ::Google::Protobuf::MessageExts
    extend ::Google::Protobuf::MessageExts::ClassMethods

    # Definition of Enumvalue, to be used for enum fields.
    # @!attribute [rw] index
    #   @return [::Integer]
    #     Required. Index for the enum value. It can't be modified.
    # @!attribute [rw] name
    #   @return [::String]
    #     Required. Name of the enumvalue. This is the actual value that the
    #     aspect can contain.
    # @!attribute [rw] deprecated
    #   @return [::String]
    #     Optional. You can set this message if you need to deprecate an enum
    #     value.
    class EnumValue
      include ::Google::Protobuf::MessageExts
      extend ::Google::Protobuf::MessageExts::ClassMethods
    end

    # Definition of the constraints of a field.
    # @!attribute [rw] required
    #   @return [::Boolean]
    #     Optional. Marks this field as optional or required.
    class Constraints
      include ::Google::Protobuf::MessageExts
      extend ::Google::Protobuf::MessageExts::ClassMethods
    end

    # Definition of the annotations of a field.
    # @!attribute [rw] deprecated
    #   @return [::String]
    #     Optional. Marks a field as deprecated. You can include a deprecation
    #     message.
    # @!attribute [rw] display_name
    #   @return [::String]
    #     Optional. Display name for a field.
    # @!attribute [rw] description
    #   @return [::String]
    #     Optional. Description for a field.
    # @!attribute [rw] display_order
    #   @return [::Integer]
    #     Optional. Display order for a field. You can use this to reorder where
    #     a field is rendered.
    # @!attribute [rw] string_type
    #   @return [::String]
    #     Optional. You can use String Type annotations to specify special
    #     meaning to string fields. The following values are supported:
    #
    #     * richText: The field must be interpreted as a rich text field.
    #     * url: A fully qualified URL link.
    #     * resource: A service qualified resource reference.
    # @!attribute [rw] string_values
    #   @return [::Array<::String>]
    #     Optional. Suggested hints for string fields. You can use them to
    #     suggest values to users through console.
    class Annotations
      include ::Google::Protobuf::MessageExts
      extend ::Google::Protobuf::MessageExts::ClassMethods
    end
  end

  # @!attribute [rw] key
  #   @return [::String]
  # @!attribute [rw] value
  #   @return [::String]
  class LabelsEntry
    include ::Google::Protobuf::MessageExts
    extend ::Google::Protobuf::MessageExts::ClassMethods
  end
end

#name::String (readonly)

Returns Output only. The relative resource name of the AspectType, of the form: projects/{project_number}/locations/{location_id}/aspectTypes/{aspect_type_id}.

Returns:

  • (::String)

    Output only. The relative resource name of the AspectType, of the form: projects/{project_number}/locations/{location_id}/aspectTypes/{aspect_type_id}.



64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
# File 'proto_docs/google/cloud/dataplex/v1/catalog.rb', line 64

class AspectType
  include ::Google::Protobuf::MessageExts
  extend ::Google::Protobuf::MessageExts::ClassMethods

  # Autorization for an AspectType.
  # @!attribute [rw] alternate_use_permission
  #   @return [::String]
  #     Immutable. The IAM permission grantable on the EntryGroup to allow access
  #     to instantiate Aspects of Dataplex owned AspectTypes, only settable for
  #     Dataplex owned Types.
  class Authorization
    include ::Google::Protobuf::MessageExts
    extend ::Google::Protobuf::MessageExts::ClassMethods
  end

  # MetadataTemplate definition for an AspectType.
  # @!attribute [rw] index
  #   @return [::Integer]
  #     Optional. Index is used to encode Template messages. The value of index
  #     can range between 1 and 2,147,483,647. Index must be unique within all
  #     fields in a Template. (Nested Templates can reuse indexes). Once a
  #     Template is defined, the index cannot be changed, because it identifies
  #     the field in the actual storage format. Index is a mandatory field, but
  #     it is optional for top level fields, and map/array "values" definitions.
  # @!attribute [rw] name
  #   @return [::String]
  #     Required. The name of the field.
  # @!attribute [rw] type
  #   @return [::String]
  #     Required. The datatype of this field. The following values are supported:
  #
  #     Primitive types:
  #
  #     * string
  #     * integer
  #     * boolean
  #     * double
  #     * datetime. Must be of the format RFC3339 UTC "Zulu" (Examples:
  #     "2014-10-02T15:01:23Z" and "2014-10-02T15:01:23.045123456Z").
  #
  #     Complex types:
  #
  #     * enum
  #     * array
  #     * map
  #     * record
  # @!attribute [rw] record_fields
  #   @return [::Array<::Google::Cloud::Dataplex::V1::AspectType::MetadataTemplate>]
  #     Optional. Field definition. You must specify it if the type is record. It
  #     defines the nested fields.
  # @!attribute [rw] enum_values
  #   @return [::Array<::Google::Cloud::Dataplex::V1::AspectType::MetadataTemplate::EnumValue>]
  #     Optional. The list of values for an enum type. You must define it if the
  #     type is enum.
  # @!attribute [rw] map_items
  #   @return [::Google::Cloud::Dataplex::V1::AspectType::MetadataTemplate]
  #     Optional. If the type is map, set map_items. map_items can refer to a
  #     primitive field or a complex (record only) field. To specify a primitive
  #     field, you only need to set name and type in the nested
  #     MetadataTemplate. The recommended value for the name field is item, as
  #     this isn't used in the actual payload.
  # @!attribute [rw] array_items
  #   @return [::Google::Cloud::Dataplex::V1::AspectType::MetadataTemplate]
  #     Optional. If the type is array, set array_items. array_items can refer
  #     to a primitive field or a complex (record only) field. To specify a
  #     primitive field, you only need to set name and type in the nested
  #     MetadataTemplate. The recommended value for the name field is item, as
  #     this isn't used in the actual payload.
  # @!attribute [rw] type_id
  #   @return [::String]
  #     Optional. You can use type id if this definition of the field needs to be
  #     reused later. The type id must be unique across the entire template. You
  #     can only specify it if the field type is record.
  # @!attribute [rw] type_ref
  #   @return [::String]
  #     Optional. A reference to another field definition (not an inline
  #     definition). The value must be equal to the value of an id field defined
  #     elsewhere in the MetadataTemplate. Only fields with record type can
  #     refer to other fields.
  # @!attribute [rw] constraints
  #   @return [::Google::Cloud::Dataplex::V1::AspectType::MetadataTemplate::Constraints]
  #     Optional. Specifies the constraints on this field.
  # @!attribute [rw] annotations
  #   @return [::Google::Cloud::Dataplex::V1::AspectType::MetadataTemplate::Annotations]
  #     Optional. Specifies annotations on this field.
  class MetadataTemplate
    include ::Google::Protobuf::MessageExts
    extend ::Google::Protobuf::MessageExts::ClassMethods

    # Definition of Enumvalue, to be used for enum fields.
    # @!attribute [rw] index
    #   @return [::Integer]
    #     Required. Index for the enum value. It can't be modified.
    # @!attribute [rw] name
    #   @return [::String]
    #     Required. Name of the enumvalue. This is the actual value that the
    #     aspect can contain.
    # @!attribute [rw] deprecated
    #   @return [::String]
    #     Optional. You can set this message if you need to deprecate an enum
    #     value.
    class EnumValue
      include ::Google::Protobuf::MessageExts
      extend ::Google::Protobuf::MessageExts::ClassMethods
    end

    # Definition of the constraints of a field.
    # @!attribute [rw] required
    #   @return [::Boolean]
    #     Optional. Marks this field as optional or required.
    class Constraints
      include ::Google::Protobuf::MessageExts
      extend ::Google::Protobuf::MessageExts::ClassMethods
    end

    # Definition of the annotations of a field.
    # @!attribute [rw] deprecated
    #   @return [::String]
    #     Optional. Marks a field as deprecated. You can include a deprecation
    #     message.
    # @!attribute [rw] display_name
    #   @return [::String]
    #     Optional. Display name for a field.
    # @!attribute [rw] description
    #   @return [::String]
    #     Optional. Description for a field.
    # @!attribute [rw] display_order
    #   @return [::Integer]
    #     Optional. Display order for a field. You can use this to reorder where
    #     a field is rendered.
    # @!attribute [rw] string_type
    #   @return [::String]
    #     Optional. You can use String Type annotations to specify special
    #     meaning to string fields. The following values are supported:
    #
    #     * richText: The field must be interpreted as a rich text field.
    #     * url: A fully qualified URL link.
    #     * resource: A service qualified resource reference.
    # @!attribute [rw] string_values
    #   @return [::Array<::String>]
    #     Optional. Suggested hints for string fields. You can use them to
    #     suggest values to users through console.
    class Annotations
      include ::Google::Protobuf::MessageExts
      extend ::Google::Protobuf::MessageExts::ClassMethods
    end
  end

  # @!attribute [rw] key
  #   @return [::String]
  # @!attribute [rw] value
  #   @return [::String]
  class LabelsEntry
    include ::Google::Protobuf::MessageExts
    extend ::Google::Protobuf::MessageExts::ClassMethods
  end
end

#transfer_status::Google::Cloud::Dataplex::V1::TransferStatus (readonly)

Returns Output only. Denotes the transfer status of the Aspect Type. It is unspecified for Aspect Types created from Dataplex API.

Returns:



64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
# File 'proto_docs/google/cloud/dataplex/v1/catalog.rb', line 64

class AspectType
  include ::Google::Protobuf::MessageExts
  extend ::Google::Protobuf::MessageExts::ClassMethods

  # Autorization for an AspectType.
  # @!attribute [rw] alternate_use_permission
  #   @return [::String]
  #     Immutable. The IAM permission grantable on the EntryGroup to allow access
  #     to instantiate Aspects of Dataplex owned AspectTypes, only settable for
  #     Dataplex owned Types.
  class Authorization
    include ::Google::Protobuf::MessageExts
    extend ::Google::Protobuf::MessageExts::ClassMethods
  end

  # MetadataTemplate definition for an AspectType.
  # @!attribute [rw] index
  #   @return [::Integer]
  #     Optional. Index is used to encode Template messages. The value of index
  #     can range between 1 and 2,147,483,647. Index must be unique within all
  #     fields in a Template. (Nested Templates can reuse indexes). Once a
  #     Template is defined, the index cannot be changed, because it identifies
  #     the field in the actual storage format. Index is a mandatory field, but
  #     it is optional for top level fields, and map/array "values" definitions.
  # @!attribute [rw] name
  #   @return [::String]
  #     Required. The name of the field.
  # @!attribute [rw] type
  #   @return [::String]
  #     Required. The datatype of this field. The following values are supported:
  #
  #     Primitive types:
  #
  #     * string
  #     * integer
  #     * boolean
  #     * double
  #     * datetime. Must be of the format RFC3339 UTC "Zulu" (Examples:
  #     "2014-10-02T15:01:23Z" and "2014-10-02T15:01:23.045123456Z").
  #
  #     Complex types:
  #
  #     * enum
  #     * array
  #     * map
  #     * record
  # @!attribute [rw] record_fields
  #   @return [::Array<::Google::Cloud::Dataplex::V1::AspectType::MetadataTemplate>]
  #     Optional. Field definition. You must specify it if the type is record. It
  #     defines the nested fields.
  # @!attribute [rw] enum_values
  #   @return [::Array<::Google::Cloud::Dataplex::V1::AspectType::MetadataTemplate::EnumValue>]
  #     Optional. The list of values for an enum type. You must define it if the
  #     type is enum.
  # @!attribute [rw] map_items
  #   @return [::Google::Cloud::Dataplex::V1::AspectType::MetadataTemplate]
  #     Optional. If the type is map, set map_items. map_items can refer to a
  #     primitive field or a complex (record only) field. To specify a primitive
  #     field, you only need to set name and type in the nested
  #     MetadataTemplate. The recommended value for the name field is item, as
  #     this isn't used in the actual payload.
  # @!attribute [rw] array_items
  #   @return [::Google::Cloud::Dataplex::V1::AspectType::MetadataTemplate]
  #     Optional. If the type is array, set array_items. array_items can refer
  #     to a primitive field or a complex (record only) field. To specify a
  #     primitive field, you only need to set name and type in the nested
  #     MetadataTemplate. The recommended value for the name field is item, as
  #     this isn't used in the actual payload.
  # @!attribute [rw] type_id
  #   @return [::String]
  #     Optional. You can use type id if this definition of the field needs to be
  #     reused later. The type id must be unique across the entire template. You
  #     can only specify it if the field type is record.
  # @!attribute [rw] type_ref
  #   @return [::String]
  #     Optional. A reference to another field definition (not an inline
  #     definition). The value must be equal to the value of an id field defined
  #     elsewhere in the MetadataTemplate. Only fields with record type can
  #     refer to other fields.
  # @!attribute [rw] constraints
  #   @return [::Google::Cloud::Dataplex::V1::AspectType::MetadataTemplate::Constraints]
  #     Optional. Specifies the constraints on this field.
  # @!attribute [rw] annotations
  #   @return [::Google::Cloud::Dataplex::V1::AspectType::MetadataTemplate::Annotations]
  #     Optional. Specifies annotations on this field.
  class MetadataTemplate
    include ::Google::Protobuf::MessageExts
    extend ::Google::Protobuf::MessageExts::ClassMethods

    # Definition of Enumvalue, to be used for enum fields.
    # @!attribute [rw] index
    #   @return [::Integer]
    #     Required. Index for the enum value. It can't be modified.
    # @!attribute [rw] name
    #   @return [::String]
    #     Required. Name of the enumvalue. This is the actual value that the
    #     aspect can contain.
    # @!attribute [rw] deprecated
    #   @return [::String]
    #     Optional. You can set this message if you need to deprecate an enum
    #     value.
    class EnumValue
      include ::Google::Protobuf::MessageExts
      extend ::Google::Protobuf::MessageExts::ClassMethods
    end

    # Definition of the constraints of a field.
    # @!attribute [rw] required
    #   @return [::Boolean]
    #     Optional. Marks this field as optional or required.
    class Constraints
      include ::Google::Protobuf::MessageExts
      extend ::Google::Protobuf::MessageExts::ClassMethods
    end

    # Definition of the annotations of a field.
    # @!attribute [rw] deprecated
    #   @return [::String]
    #     Optional. Marks a field as deprecated. You can include a deprecation
    #     message.
    # @!attribute [rw] display_name
    #   @return [::String]
    #     Optional. Display name for a field.
    # @!attribute [rw] description
    #   @return [::String]
    #     Optional. Description for a field.
    # @!attribute [rw] display_order
    #   @return [::Integer]
    #     Optional. Display order for a field. You can use this to reorder where
    #     a field is rendered.
    # @!attribute [rw] string_type
    #   @return [::String]
    #     Optional. You can use String Type annotations to specify special
    #     meaning to string fields. The following values are supported:
    #
    #     * richText: The field must be interpreted as a rich text field.
    #     * url: A fully qualified URL link.
    #     * resource: A service qualified resource reference.
    # @!attribute [rw] string_values
    #   @return [::Array<::String>]
    #     Optional. Suggested hints for string fields. You can use them to
    #     suggest values to users through console.
    class Annotations
      include ::Google::Protobuf::MessageExts
      extend ::Google::Protobuf::MessageExts::ClassMethods
    end
  end

  # @!attribute [rw] key
  #   @return [::String]
  # @!attribute [rw] value
  #   @return [::String]
  class LabelsEntry
    include ::Google::Protobuf::MessageExts
    extend ::Google::Protobuf::MessageExts::ClassMethods
  end
end

#uid::String (readonly)

Returns Output only. System generated globally unique ID for the AspectType. If you delete and recreate the AspectType with the same name, then this ID will be different.

Returns:

  • (::String)

    Output only. System generated globally unique ID for the AspectType. If you delete and recreate the AspectType with the same name, then this ID will be different.



64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
# File 'proto_docs/google/cloud/dataplex/v1/catalog.rb', line 64

class AspectType
  include ::Google::Protobuf::MessageExts
  extend ::Google::Protobuf::MessageExts::ClassMethods

  # Autorization for an AspectType.
  # @!attribute [rw] alternate_use_permission
  #   @return [::String]
  #     Immutable. The IAM permission grantable on the EntryGroup to allow access
  #     to instantiate Aspects of Dataplex owned AspectTypes, only settable for
  #     Dataplex owned Types.
  class Authorization
    include ::Google::Protobuf::MessageExts
    extend ::Google::Protobuf::MessageExts::ClassMethods
  end

  # MetadataTemplate definition for an AspectType.
  # @!attribute [rw] index
  #   @return [::Integer]
  #     Optional. Index is used to encode Template messages. The value of index
  #     can range between 1 and 2,147,483,647. Index must be unique within all
  #     fields in a Template. (Nested Templates can reuse indexes). Once a
  #     Template is defined, the index cannot be changed, because it identifies
  #     the field in the actual storage format. Index is a mandatory field, but
  #     it is optional for top level fields, and map/array "values" definitions.
  # @!attribute [rw] name
  #   @return [::String]
  #     Required. The name of the field.
  # @!attribute [rw] type
  #   @return [::String]
  #     Required. The datatype of this field. The following values are supported:
  #
  #     Primitive types:
  #
  #     * string
  #     * integer
  #     * boolean
  #     * double
  #     * datetime. Must be of the format RFC3339 UTC "Zulu" (Examples:
  #     "2014-10-02T15:01:23Z" and "2014-10-02T15:01:23.045123456Z").
  #
  #     Complex types:
  #
  #     * enum
  #     * array
  #     * map
  #     * record
  # @!attribute [rw] record_fields
  #   @return [::Array<::Google::Cloud::Dataplex::V1::AspectType::MetadataTemplate>]
  #     Optional. Field definition. You must specify it if the type is record. It
  #     defines the nested fields.
  # @!attribute [rw] enum_values
  #   @return [::Array<::Google::Cloud::Dataplex::V1::AspectType::MetadataTemplate::EnumValue>]
  #     Optional. The list of values for an enum type. You must define it if the
  #     type is enum.
  # @!attribute [rw] map_items
  #   @return [::Google::Cloud::Dataplex::V1::AspectType::MetadataTemplate]
  #     Optional. If the type is map, set map_items. map_items can refer to a
  #     primitive field or a complex (record only) field. To specify a primitive
  #     field, you only need to set name and type in the nested
  #     MetadataTemplate. The recommended value for the name field is item, as
  #     this isn't used in the actual payload.
  # @!attribute [rw] array_items
  #   @return [::Google::Cloud::Dataplex::V1::AspectType::MetadataTemplate]
  #     Optional. If the type is array, set array_items. array_items can refer
  #     to a primitive field or a complex (record only) field. To specify a
  #     primitive field, you only need to set name and type in the nested
  #     MetadataTemplate. The recommended value for the name field is item, as
  #     this isn't used in the actual payload.
  # @!attribute [rw] type_id
  #   @return [::String]
  #     Optional. You can use type id if this definition of the field needs to be
  #     reused later. The type id must be unique across the entire template. You
  #     can only specify it if the field type is record.
  # @!attribute [rw] type_ref
  #   @return [::String]
  #     Optional. A reference to another field definition (not an inline
  #     definition). The value must be equal to the value of an id field defined
  #     elsewhere in the MetadataTemplate. Only fields with record type can
  #     refer to other fields.
  # @!attribute [rw] constraints
  #   @return [::Google::Cloud::Dataplex::V1::AspectType::MetadataTemplate::Constraints]
  #     Optional. Specifies the constraints on this field.
  # @!attribute [rw] annotations
  #   @return [::Google::Cloud::Dataplex::V1::AspectType::MetadataTemplate::Annotations]
  #     Optional. Specifies annotations on this field.
  class MetadataTemplate
    include ::Google::Protobuf::MessageExts
    extend ::Google::Protobuf::MessageExts::ClassMethods

    # Definition of Enumvalue, to be used for enum fields.
    # @!attribute [rw] index
    #   @return [::Integer]
    #     Required. Index for the enum value. It can't be modified.
    # @!attribute [rw] name
    #   @return [::String]
    #     Required. Name of the enumvalue. This is the actual value that the
    #     aspect can contain.
    # @!attribute [rw] deprecated
    #   @return [::String]
    #     Optional. You can set this message if you need to deprecate an enum
    #     value.
    class EnumValue
      include ::Google::Protobuf::MessageExts
      extend ::Google::Protobuf::MessageExts::ClassMethods
    end

    # Definition of the constraints of a field.
    # @!attribute [rw] required
    #   @return [::Boolean]
    #     Optional. Marks this field as optional or required.
    class Constraints
      include ::Google::Protobuf::MessageExts
      extend ::Google::Protobuf::MessageExts::ClassMethods
    end

    # Definition of the annotations of a field.
    # @!attribute [rw] deprecated
    #   @return [::String]
    #     Optional. Marks a field as deprecated. You can include a deprecation
    #     message.
    # @!attribute [rw] display_name
    #   @return [::String]
    #     Optional. Display name for a field.
    # @!attribute [rw] description
    #   @return [::String]
    #     Optional. Description for a field.
    # @!attribute [rw] display_order
    #   @return [::Integer]
    #     Optional. Display order for a field. You can use this to reorder where
    #     a field is rendered.
    # @!attribute [rw] string_type
    #   @return [::String]
    #     Optional. You can use String Type annotations to specify special
    #     meaning to string fields. The following values are supported:
    #
    #     * richText: The field must be interpreted as a rich text field.
    #     * url: A fully qualified URL link.
    #     * resource: A service qualified resource reference.
    # @!attribute [rw] string_values
    #   @return [::Array<::String>]
    #     Optional. Suggested hints for string fields. You can use them to
    #     suggest values to users through console.
    class Annotations
      include ::Google::Protobuf::MessageExts
      extend ::Google::Protobuf::MessageExts::ClassMethods
    end
  end

  # @!attribute [rw] key
  #   @return [::String]
  # @!attribute [rw] value
  #   @return [::String]
  class LabelsEntry
    include ::Google::Protobuf::MessageExts
    extend ::Google::Protobuf::MessageExts::ClassMethods
  end
end

#update_time::Google::Protobuf::Timestamp (readonly)

Returns Output only. The time when the AspectType was last updated.

Returns:



64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
# File 'proto_docs/google/cloud/dataplex/v1/catalog.rb', line 64

class AspectType
  include ::Google::Protobuf::MessageExts
  extend ::Google::Protobuf::MessageExts::ClassMethods

  # Autorization for an AspectType.
  # @!attribute [rw] alternate_use_permission
  #   @return [::String]
  #     Immutable. The IAM permission grantable on the EntryGroup to allow access
  #     to instantiate Aspects of Dataplex owned AspectTypes, only settable for
  #     Dataplex owned Types.
  class Authorization
    include ::Google::Protobuf::MessageExts
    extend ::Google::Protobuf::MessageExts::ClassMethods
  end

  # MetadataTemplate definition for an AspectType.
  # @!attribute [rw] index
  #   @return [::Integer]
  #     Optional. Index is used to encode Template messages. The value of index
  #     can range between 1 and 2,147,483,647. Index must be unique within all
  #     fields in a Template. (Nested Templates can reuse indexes). Once a
  #     Template is defined, the index cannot be changed, because it identifies
  #     the field in the actual storage format. Index is a mandatory field, but
  #     it is optional for top level fields, and map/array "values" definitions.
  # @!attribute [rw] name
  #   @return [::String]
  #     Required. The name of the field.
  # @!attribute [rw] type
  #   @return [::String]
  #     Required. The datatype of this field. The following values are supported:
  #
  #     Primitive types:
  #
  #     * string
  #     * integer
  #     * boolean
  #     * double
  #     * datetime. Must be of the format RFC3339 UTC "Zulu" (Examples:
  #     "2014-10-02T15:01:23Z" and "2014-10-02T15:01:23.045123456Z").
  #
  #     Complex types:
  #
  #     * enum
  #     * array
  #     * map
  #     * record
  # @!attribute [rw] record_fields
  #   @return [::Array<::Google::Cloud::Dataplex::V1::AspectType::MetadataTemplate>]
  #     Optional. Field definition. You must specify it if the type is record. It
  #     defines the nested fields.
  # @!attribute [rw] enum_values
  #   @return [::Array<::Google::Cloud::Dataplex::V1::AspectType::MetadataTemplate::EnumValue>]
  #     Optional. The list of values for an enum type. You must define it if the
  #     type is enum.
  # @!attribute [rw] map_items
  #   @return [::Google::Cloud::Dataplex::V1::AspectType::MetadataTemplate]
  #     Optional. If the type is map, set map_items. map_items can refer to a
  #     primitive field or a complex (record only) field. To specify a primitive
  #     field, you only need to set name and type in the nested
  #     MetadataTemplate. The recommended value for the name field is item, as
  #     this isn't used in the actual payload.
  # @!attribute [rw] array_items
  #   @return [::Google::Cloud::Dataplex::V1::AspectType::MetadataTemplate]
  #     Optional. If the type is array, set array_items. array_items can refer
  #     to a primitive field or a complex (record only) field. To specify a
  #     primitive field, you only need to set name and type in the nested
  #     MetadataTemplate. The recommended value for the name field is item, as
  #     this isn't used in the actual payload.
  # @!attribute [rw] type_id
  #   @return [::String]
  #     Optional. You can use type id if this definition of the field needs to be
  #     reused later. The type id must be unique across the entire template. You
  #     can only specify it if the field type is record.
  # @!attribute [rw] type_ref
  #   @return [::String]
  #     Optional. A reference to another field definition (not an inline
  #     definition). The value must be equal to the value of an id field defined
  #     elsewhere in the MetadataTemplate. Only fields with record type can
  #     refer to other fields.
  # @!attribute [rw] constraints
  #   @return [::Google::Cloud::Dataplex::V1::AspectType::MetadataTemplate::Constraints]
  #     Optional. Specifies the constraints on this field.
  # @!attribute [rw] annotations
  #   @return [::Google::Cloud::Dataplex::V1::AspectType::MetadataTemplate::Annotations]
  #     Optional. Specifies annotations on this field.
  class MetadataTemplate
    include ::Google::Protobuf::MessageExts
    extend ::Google::Protobuf::MessageExts::ClassMethods

    # Definition of Enumvalue, to be used for enum fields.
    # @!attribute [rw] index
    #   @return [::Integer]
    #     Required. Index for the enum value. It can't be modified.
    # @!attribute [rw] name
    #   @return [::String]
    #     Required. Name of the enumvalue. This is the actual value that the
    #     aspect can contain.
    # @!attribute [rw] deprecated
    #   @return [::String]
    #     Optional. You can set this message if you need to deprecate an enum
    #     value.
    class EnumValue
      include ::Google::Protobuf::MessageExts
      extend ::Google::Protobuf::MessageExts::ClassMethods
    end

    # Definition of the constraints of a field.
    # @!attribute [rw] required
    #   @return [::Boolean]
    #     Optional. Marks this field as optional or required.
    class Constraints
      include ::Google::Protobuf::MessageExts
      extend ::Google::Protobuf::MessageExts::ClassMethods
    end

    # Definition of the annotations of a field.
    # @!attribute [rw] deprecated
    #   @return [::String]
    #     Optional. Marks a field as deprecated. You can include a deprecation
    #     message.
    # @!attribute [rw] display_name
    #   @return [::String]
    #     Optional. Display name for a field.
    # @!attribute [rw] description
    #   @return [::String]
    #     Optional. Description for a field.
    # @!attribute [rw] display_order
    #   @return [::Integer]
    #     Optional. Display order for a field. You can use this to reorder where
    #     a field is rendered.
    # @!attribute [rw] string_type
    #   @return [::String]
    #     Optional. You can use String Type annotations to specify special
    #     meaning to string fields. The following values are supported:
    #
    #     * richText: The field must be interpreted as a rich text field.
    #     * url: A fully qualified URL link.
    #     * resource: A service qualified resource reference.
    # @!attribute [rw] string_values
    #   @return [::Array<::String>]
    #     Optional. Suggested hints for string fields. You can use them to
    #     suggest values to users through console.
    class Annotations
      include ::Google::Protobuf::MessageExts
      extend ::Google::Protobuf::MessageExts::ClassMethods
    end
  end

  # @!attribute [rw] key
  #   @return [::String]
  # @!attribute [rw] value
  #   @return [::String]
  class LabelsEntry
    include ::Google::Protobuf::MessageExts
    extend ::Google::Protobuf::MessageExts::ClassMethods
  end
end