Class: Google::Apis::AndroidmanagementV1::ContactInfo

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

Overview

Contact details for managed Google Play enterprises.

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ ContactInfo

Returns a new instance of ContactInfo.



1356
1357
1358
# File 'lib/google/apis/androidmanagement_v1/classes.rb', line 1356

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

Instance Attribute Details

#contact_emailString

Email address for a point of contact, which will be used to send important announcements related to managed Google Play. Corresponds to the JSON property contactEmail

Returns:

  • (String)


1321
1322
1323
# File 'lib/google/apis/androidmanagement_v1/classes.rb', line 1321

def contact_email
  @contact_email
end

#data_protection_officer_emailString

The email of the data protection officer. The email is validated but not verified. Corresponds to the JSON property dataProtectionOfficerEmail

Returns:

  • (String)


1327
1328
1329
# File 'lib/google/apis/androidmanagement_v1/classes.rb', line 1327

def data_protection_officer_email
  @data_protection_officer_email
end

#data_protection_officer_nameString

The name of the data protection officer. Corresponds to the JSON property dataProtectionOfficerName

Returns:

  • (String)


1332
1333
1334
# File 'lib/google/apis/androidmanagement_v1/classes.rb', line 1332

def data_protection_officer_name
  @data_protection_officer_name
end

#data_protection_officer_phoneString

The phone number of the data protection officer The phone number is validated but not verified. Corresponds to the JSON property dataProtectionOfficerPhone

Returns:

  • (String)


1338
1339
1340
# File 'lib/google/apis/androidmanagement_v1/classes.rb', line 1338

def data_protection_officer_phone
  @data_protection_officer_phone
end

#eu_representative_emailString

The email of the EU representative. The email is validated but not verified. Corresponds to the JSON property euRepresentativeEmail

Returns:

  • (String)


1343
1344
1345
# File 'lib/google/apis/androidmanagement_v1/classes.rb', line 1343

def eu_representative_email
  @eu_representative_email
end

#eu_representative_nameString

The name of the EU representative. Corresponds to the JSON property euRepresentativeName

Returns:

  • (String)


1348
1349
1350
# File 'lib/google/apis/androidmanagement_v1/classes.rb', line 1348

def eu_representative_name
  @eu_representative_name
end

#eu_representative_phoneString

The phone number of the EU representative. The phone number is validated but not verified. Corresponds to the JSON property euRepresentativePhone

Returns:

  • (String)


1354
1355
1356
# File 'lib/google/apis/androidmanagement_v1/classes.rb', line 1354

def eu_representative_phone
  @eu_representative_phone
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



1361
1362
1363
1364
1365
1366
1367
1368
1369
# File 'lib/google/apis/androidmanagement_v1/classes.rb', line 1361

def update!(**args)
  @contact_email = args[:contact_email] if args.key?(:contact_email)
  @data_protection_officer_email = args[:data_protection_officer_email] if args.key?(:data_protection_officer_email)
  @data_protection_officer_name = args[:data_protection_officer_name] if args.key?(:data_protection_officer_name)
  @data_protection_officer_phone = args[:data_protection_officer_phone] if args.key?(:data_protection_officer_phone)
  @eu_representative_email = args[:eu_representative_email] if args.key?(:eu_representative_email)
  @eu_representative_name = args[:eu_representative_name] if args.key?(:eu_representative_name)
  @eu_representative_phone = args[:eu_representative_phone] if args.key?(:eu_representative_phone)
end