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

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

Overview

JSON template for a hash Client Id response resource.

Instance Attribute Summary collapse

Instance Method Summary collapse

Methods included from Core::JsonObjectSupport

#to_json

Methods included from Core::Hashable

process_value, #to_h

Constructor Details

#initialize(**args) ⇒ HashClientIdResponse

Returns a new instance of HashClientIdResponse



3441
3442
3443
# File 'generated/google/apis/analytics_v3/classes.rb', line 3441

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

Instance Attribute Details

#client_idString

Corresponds to the JSON property clientId

Returns:

  • (String)


3424
3425
3426
# File 'generated/google/apis/analytics_v3/classes.rb', line 3424

def client_id
  @client_id
end

#hashed_client_idString

Corresponds to the JSON property hashedClientId

Returns:

  • (String)


3429
3430
3431
# File 'generated/google/apis/analytics_v3/classes.rb', line 3429

def hashed_client_id
  @hashed_client_id
end

#kindString

Corresponds to the JSON property kind

Returns:

  • (String)


3434
3435
3436
# File 'generated/google/apis/analytics_v3/classes.rb', line 3434

def kind
  @kind
end

#web_property_idString

Corresponds to the JSON property webPropertyId

Returns:

  • (String)


3439
3440
3441
# File 'generated/google/apis/analytics_v3/classes.rb', line 3439

def web_property_id
  @web_property_id
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



3446
3447
3448
3449
3450
3451
# File 'generated/google/apis/analytics_v3/classes.rb', line 3446

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