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.



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

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)


1307
1308
1309
# File 'lib/google/apis/androidmanagement_v1/classes.rb', line 1307

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)


1313
1314
1315
# File 'lib/google/apis/androidmanagement_v1/classes.rb', line 1313

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)


1318
1319
1320
# File 'lib/google/apis/androidmanagement_v1/classes.rb', line 1318

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)


1324
1325
1326
# File 'lib/google/apis/androidmanagement_v1/classes.rb', line 1324

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)


1329
1330
1331
# File 'lib/google/apis/androidmanagement_v1/classes.rb', line 1329

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)


1334
1335
1336
# File 'lib/google/apis/androidmanagement_v1/classes.rb', line 1334

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)


1340
1341
1342
# File 'lib/google/apis/androidmanagement_v1/classes.rb', line 1340

def eu_representative_phone
  @eu_representative_phone
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



1347
1348
1349
1350
1351
1352
1353
1354
1355
# File 'lib/google/apis/androidmanagement_v1/classes.rb', line 1347

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