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.



1266
1267
1268
# File 'lib/google/apis/androidmanagement_v1/classes.rb', line 1266

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)


1231
1232
1233
# File 'lib/google/apis/androidmanagement_v1/classes.rb', line 1231

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)


1237
1238
1239
# File 'lib/google/apis/androidmanagement_v1/classes.rb', line 1237

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)


1242
1243
1244
# File 'lib/google/apis/androidmanagement_v1/classes.rb', line 1242

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)


1248
1249
1250
# File 'lib/google/apis/androidmanagement_v1/classes.rb', line 1248

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)


1253
1254
1255
# File 'lib/google/apis/androidmanagement_v1/classes.rb', line 1253

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)


1258
1259
1260
# File 'lib/google/apis/androidmanagement_v1/classes.rb', line 1258

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)


1264
1265
1266
# File 'lib/google/apis/androidmanagement_v1/classes.rb', line 1264

def eu_representative_phone
  @eu_representative_phone
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



1271
1272
1273
1274
1275
1276
1277
1278
1279
# File 'lib/google/apis/androidmanagement_v1/classes.rb', line 1271

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