Class: Google::Apis::DataplexV1::GoogleCloudDataplexV1DataProfileResultProfileFieldProfileInfoStringFieldInfo

Inherits:
Object
  • Object
show all
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

The profile information for a string type field.

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ GoogleCloudDataplexV1DataProfileResultProfileFieldProfileInfoStringFieldInfo

Returns a new instance of GoogleCloudDataplexV1DataProfileResultProfileFieldProfileInfoStringFieldInfo.



1869
1870
1871
# File 'lib/google/apis/dataplex_v1/classes.rb', line 1869

def initialize(**args)
   update!(**args)
end

Instance Attribute Details

#average_lengthFloat

Average length of non-null values in the scanned data. Corresponds to the JSON property averageLength

Returns:

  • (Float)


1857
1858
1859
# File 'lib/google/apis/dataplex_v1/classes.rb', line 1857

def average_length
  @average_length
end

#max_lengthFixnum

Maximum length of non-null values in the scanned data. Corresponds to the JSON property maxLength

Returns:

  • (Fixnum)


1862
1863
1864
# File 'lib/google/apis/dataplex_v1/classes.rb', line 1862

def max_length
  @max_length
end

#min_lengthFixnum

Minimum length of non-null values in the scanned data. Corresponds to the JSON property minLength

Returns:

  • (Fixnum)


1867
1868
1869
# File 'lib/google/apis/dataplex_v1/classes.rb', line 1867

def min_length
  @min_length
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



1874
1875
1876
1877
1878
# File 'lib/google/apis/dataplex_v1/classes.rb', line 1874

def update!(**args)
  @average_length = args[:average_length] if args.key?(:average_length)
  @max_length = args[:max_length] if args.key?(:max_length)
  @min_length = args[:min_length] if args.key?(:min_length)
end