Class: Google::Apis::AnalyticsV3::HashClientIdResponse

Inherits:
Object
  • Object
show all
Includes:
Core::Hashable, Core::JsonObjectSupport
Defined in:
lib/google/apis/analytics_v3/classes.rb,
lib/google/apis/analytics_v3/representations.rb,
lib/google/apis/analytics_v3/representations.rb

Overview

JSON template for a hash Client Id response resource.

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ HashClientIdResponse

Returns a new instance of HashClientIdResponse.



3347
3348
3349
# File 'lib/google/apis/analytics_v3/classes.rb', line 3347

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

Instance Attribute Details

#client_idString

Corresponds to the JSON property clientId

Returns:

  • (String)


3330
3331
3332
# File 'lib/google/apis/analytics_v3/classes.rb', line 3330

def client_id
  @client_id
end

#hashed_client_idString

Corresponds to the JSON property hashedClientId

Returns:

  • (String)


3335
3336
3337
# File 'lib/google/apis/analytics_v3/classes.rb', line 3335

def hashed_client_id
  @hashed_client_id
end

#kindString

Corresponds to the JSON property kind

Returns:

  • (String)


3340
3341
3342
# File 'lib/google/apis/analytics_v3/classes.rb', line 3340

def kind
  @kind
end

#web_property_idString

Corresponds to the JSON property webPropertyId

Returns:

  • (String)


3345
3346
3347
# File 'lib/google/apis/analytics_v3/classes.rb', line 3345

def web_property_id
  @web_property_id
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



3352
3353
3354
3355
3356
3357
# File 'lib/google/apis/analytics_v3/classes.rb', line 3352

def update!(**args)
  @client_id = args[:client_id] if args.key?(:client_id)
  @hashed_client_id = args[:hashed_client_id] if args.key?(:hashed_client_id)
  @kind = args[:kind] if args.key?(:kind)
  @web_property_id = args[:web_property_id] if args.key?(:web_property_id)
end