Class: Google::Apis::DataplexV1::GoogleCloudDataplexV1AspectTypeMetadataTemplateAnnotations
- Inherits:
-
Object
- Object
- Google::Apis::DataplexV1::GoogleCloudDataplexV1AspectTypeMetadataTemplateAnnotations
- Includes:
- Core::Hashable, Core::JsonObjectSupport
- Defined in:
- lib/google/apis/dataplex_v1/classes.rb,
lib/google/apis/dataplex_v1/representations.rb,
lib/google/apis/dataplex_v1/representations.rb
Overview
Definition of the annotations of a field.
Instance Attribute Summary collapse
-
#deprecated ⇒ String
Optional.
-
#description ⇒ String
Optional.
-
#display_name ⇒ String
Optional.
-
#display_order ⇒ Fixnum
Optional.
-
#string_type ⇒ String
Optional.
-
#string_values ⇒ Array<String>
Optional.
Instance Method Summary collapse
-
#initialize(**args) ⇒ GoogleCloudDataplexV1AspectTypeMetadataTemplateAnnotations
constructor
A new instance of GoogleCloudDataplexV1AspectTypeMetadataTemplateAnnotations.
-
#update!(**args) ⇒ Object
Update properties of this object.
Constructor Details
#initialize(**args) ⇒ GoogleCloudDataplexV1AspectTypeMetadataTemplateAnnotations
Returns a new instance of GoogleCloudDataplexV1AspectTypeMetadataTemplateAnnotations.
1069 1070 1071 |
# File 'lib/google/apis/dataplex_v1/classes.rb', line 1069 def initialize(**args) update!(**args) end |
Instance Attribute Details
#deprecated ⇒ String
Optional. Marks a field as deprecated. You can include a deprecation message.
Corresponds to the JSON property deprecated
1037 1038 1039 |
# File 'lib/google/apis/dataplex_v1/classes.rb', line 1037 def deprecated @deprecated end |
#description ⇒ String
Optional. Description for a field.
Corresponds to the JSON property description
1042 1043 1044 |
# File 'lib/google/apis/dataplex_v1/classes.rb', line 1042 def description @description end |
#display_name ⇒ String
Optional. Display name for a field.
Corresponds to the JSON property displayName
1047 1048 1049 |
# File 'lib/google/apis/dataplex_v1/classes.rb', line 1047 def display_name @display_name end |
#display_order ⇒ Fixnum
Optional. Display order for a field. You can use this to reorder where a field
is rendered.
Corresponds to the JSON property displayOrder
1053 1054 1055 |
# File 'lib/google/apis/dataplex_v1/classes.rb', line 1053 def display_order @display_order end |
#string_type ⇒ 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.
Corresponds to the JSON property stringType
1061 1062 1063 |
# File 'lib/google/apis/dataplex_v1/classes.rb', line 1061 def string_type @string_type end |
#string_values ⇒ Array<String>
Optional. Suggested hints for string fields. You can use them to suggest
values to users through console.
Corresponds to the JSON property stringValues
1067 1068 1069 |
# File 'lib/google/apis/dataplex_v1/classes.rb', line 1067 def string_values @string_values end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
1074 1075 1076 1077 1078 1079 1080 1081 |
# File 'lib/google/apis/dataplex_v1/classes.rb', line 1074 def update!(**args) @deprecated = args[:deprecated] if args.key?(:deprecated) @description = args[:description] if args.key?(:description) @display_name = args[:display_name] if args.key?(:display_name) @display_order = args[:display_order] if args.key?(:display_order) @string_type = args[:string_type] if args.key?(:string_type) @string_values = args[:string_values] if args.key?(:string_values) end |