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.



1251
1252
1253
# File 'lib/google/apis/androidmanagement_v1/classes.rb', line 1251

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)


1216
1217
1218
# File 'lib/google/apis/androidmanagement_v1/classes.rb', line 1216

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)


1222
1223
1224
# File 'lib/google/apis/androidmanagement_v1/classes.rb', line 1222

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)


1227
1228
1229
# File 'lib/google/apis/androidmanagement_v1/classes.rb', line 1227

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)


1233
1234
1235
# File 'lib/google/apis/androidmanagement_v1/classes.rb', line 1233

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)


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

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)


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

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)


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

def eu_representative_phone
  @eu_representative_phone
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



1256
1257
1258
1259
1260
1261
1262
1263
1264
# File 'lib/google/apis/androidmanagement_v1/classes.rb', line 1256

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