Class: Google::Apis::SecuritycenterV1beta2::GoogleCloudSecuritycenterV1ResourceApplicationAttributesContactInfo

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

Overview

Contact information of stakeholders.

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ GoogleCloudSecuritycenterV1ResourceApplicationAttributesContactInfo

Returns a new instance of GoogleCloudSecuritycenterV1ResourceApplicationAttributesContactInfo.



3965
3966
3967
# File 'lib/google/apis/securitycenter_v1beta2/classes.rb', line 3965

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

Instance Attribute Details

#emailString

Email address of the contacts. Corresponds to the JSON property email

Returns:

  • (String)


3963
3964
3965
# File 'lib/google/apis/securitycenter_v1beta2/classes.rb', line 3963

def email
  @email
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



3970
3971
3972
# File 'lib/google/apis/securitycenter_v1beta2/classes.rb', line 3970

def update!(**args)
  @email = args[:email] if args.key?(:email)
end