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.



455
456
457
# File 'generated/google/apis/civicinfo_v2/classes.rb', line 455

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

Instance Attribute Details

#client_profileString

Corresponds to the JSON property clientProfile

Returns:

  • (String)


453
454
455
# File 'generated/google/apis/civicinfo_v2/classes.rb', line 453

def client_profile
  @client_profile
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



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

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