Class: Google::Apis::CivicinfoV2::ContextParams

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

Returns a new instance of ContextParams



461
462
463
# File 'generated/google/apis/civicinfo_v2/classes.rb', line 461

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

Instance Attribute Details

#client_profileString

Corresponds to the JSON property clientProfile

Returns:

  • (String)


459
460
461
# File 'generated/google/apis/civicinfo_v2/classes.rb', line 459

def client_profile
  @client_profile
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



466
467
468
# File 'generated/google/apis/civicinfo_v2/classes.rb', line 466

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