Class: Google::Apis::CivicinfoV2::InternalSourceSummaryProto

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) ⇒ InternalSourceSummaryProto

Returns a new instance of InternalSourceSummaryProto



839
840
841
# File 'generated/google/apis/civicinfo_v2/classes.rb', line 839

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

Instance Attribute Details

#datasetString

Corresponds to the JSON property dataset

Returns:

  • (String)


832
833
834
# File 'generated/google/apis/civicinfo_v2/classes.rb', line 832

def dataset
  @dataset
end

#providerString

Corresponds to the JSON property provider

Returns:

  • (String)


837
838
839
# File 'generated/google/apis/civicinfo_v2/classes.rb', line 837

def provider
  @provider
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



844
845
846
847
# File 'generated/google/apis/civicinfo_v2/classes.rb', line 844

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