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.



974
975
976
# File 'lib/google/apis/androidmanagement_v1/classes.rb', line 974

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)


939
940
941
# File 'lib/google/apis/androidmanagement_v1/classes.rb', line 939

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)


945
946
947
# File 'lib/google/apis/androidmanagement_v1/classes.rb', line 945

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)


950
951
952
# File 'lib/google/apis/androidmanagement_v1/classes.rb', line 950

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)


956
957
958
# File 'lib/google/apis/androidmanagement_v1/classes.rb', line 956

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)


961
962
963
# File 'lib/google/apis/androidmanagement_v1/classes.rb', line 961

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)


966
967
968
# File 'lib/google/apis/androidmanagement_v1/classes.rb', line 966

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)


972
973
974
# File 'lib/google/apis/androidmanagement_v1/classes.rb', line 972

def eu_representative_phone
  @eu_representative_phone
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



979
980
981
982
983
984
985
986
987
# File 'lib/google/apis/androidmanagement_v1/classes.rb', line 979

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