Class: Google::Apis::CivicinfoV2::InternalFieldMetadataProto

Inherits:
Object
  • Object
show all
Includes:
Google::Apis::Core::Hashable, Google::Apis::Core::JsonObjectSupport
Defined in:
generated/google/apis/civicinfo_v2/classes.rb,
generated/google/apis/civicinfo_v2/representations.rb,
generated/google/apis/civicinfo_v2/representations.rb

Instance Attribute Summary collapse

Instance Method Summary collapse

Methods included from Google::Apis::Core::JsonObjectSupport

#to_json

Methods included from Google::Apis::Core::Hashable

process_value, #to_h

Constructor Details

#initialize(**args) ⇒ InternalFieldMetadataProto

Returns a new instance of InternalFieldMetadataProto



814
815
816
# File 'generated/google/apis/civicinfo_v2/classes.rb', line 814

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

Instance Attribute Details

#is_autoBoolean Also known as: is_auto?

Corresponds to the JSON property isAuto

Returns:

  • (Boolean)


806
807
808
# File 'generated/google/apis/civicinfo_v2/classes.rb', line 806

def is_auto
  @is_auto
end

#source_summaryGoogle::Apis::CivicinfoV2::InternalSourceSummaryProto

Corresponds to the JSON property sourceSummary



812
813
814
# File 'generated/google/apis/civicinfo_v2/classes.rb', line 812

def source_summary
  @source_summary
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



819
820
821
822
# File 'generated/google/apis/civicinfo_v2/classes.rb', line 819

def update!(**args)
  @is_auto = args[:is_auto] if args.key?(:is_auto)
  @source_summary = args[:source_summary] if args.key?(:source_summary)
end