Class: Google::Apis::DatamanagerV1::MobileIdInfo

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

Overview

Additional information when MOBILE_ID is one of the upload_key_types.

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ MobileIdInfo

Returns a new instance of MobileIdInfo.



2226
2227
2228
# File 'lib/google/apis/datamanager_v1/classes.rb', line 2226

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

Instance Attribute Details

#app_idString

Required. Immutable. A string that uniquely identifies a mobile application from which the data was collected. Corresponds to the JSON property appId

Returns:

  • (String)


2214
2215
2216
# File 'lib/google/apis/datamanager_v1/classes.rb', line 2214

def app_id
  @app_id
end

#data_source_typeString

Optional. Immutable. Source of the upload data. Corresponds to the JSON property dataSourceType

Returns:

  • (String)


2219
2220
2221
# File 'lib/google/apis/datamanager_v1/classes.rb', line 2219

def data_source_type
  @data_source_type
end

#key_spaceString

Required. Immutable. The key space of mobile IDs. Corresponds to the JSON property keySpace

Returns:

  • (String)


2224
2225
2226
# File 'lib/google/apis/datamanager_v1/classes.rb', line 2224

def key_space
  @key_space
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



2231
2232
2233
2234
2235
# File 'lib/google/apis/datamanager_v1/classes.rb', line 2231

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