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

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 request 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) ⇒ HashClientIdRequest

Returns a new instance of HashClientIdRequest



3405
3406
3407
# File 'generated/google/apis/analytics_v3/classes.rb', line 3405

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

Instance Attribute Details

#client_idString

Corresponds to the JSON property clientId

Returns:

  • (String)


3393
3394
3395
# File 'generated/google/apis/analytics_v3/classes.rb', line 3393

def client_id
  @client_id
end

#kindString

Corresponds to the JSON property kind

Returns:

  • (String)


3398
3399
3400
# File 'generated/google/apis/analytics_v3/classes.rb', line 3398

def kind
  @kind
end

#web_property_idString

Corresponds to the JSON property webPropertyId

Returns:

  • (String)


3403
3404
3405
# File 'generated/google/apis/analytics_v3/classes.rb', line 3403

def web_property_id
  @web_property_id
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



3410
3411
3412
3413
3414
# File 'generated/google/apis/analytics_v3/classes.rb', line 3410

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