Class: Google::Apis::AnalyticsV3::HashClientIdRequest

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 request resource.

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ HashClientIdRequest

Returns a new instance of HashClientIdRequest.



3311
3312
3313
# File 'lib/google/apis/analytics_v3/classes.rb', line 3311

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

Instance Attribute Details

#client_idString

Corresponds to the JSON property clientId

Returns:

  • (String)


3299
3300
3301
# File 'lib/google/apis/analytics_v3/classes.rb', line 3299

def client_id
  @client_id
end

#kindString

Corresponds to the JSON property kind

Returns:

  • (String)


3304
3305
3306
# File 'lib/google/apis/analytics_v3/classes.rb', line 3304

def kind
  @kind
end

#web_property_idString

Corresponds to the JSON property webPropertyId

Returns:

  • (String)


3309
3310
3311
# File 'lib/google/apis/analytics_v3/classes.rb', line 3309

def web_property_id
  @web_property_id
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



3316
3317
3318
3319
3320
# File 'lib/google/apis/analytics_v3/classes.rb', line 3316

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