Class: Google::Apis::SecuritycenterV1::GoogleCloudSecuritycenterV2IssueResourceApplicationAttributesContactInfo

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

Overview

Contact information of stakeholders.

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ GoogleCloudSecuritycenterV2IssueResourceApplicationAttributesContactInfo

Returns a new instance of GoogleCloudSecuritycenterV2IssueResourceApplicationAttributesContactInfo.



9046
9047
9048
# File 'lib/google/apis/securitycenter_v1/classes.rb', line 9046

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

Instance Attribute Details

#emailString

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

Returns:

  • (String)


9044
9045
9046
# File 'lib/google/apis/securitycenter_v1/classes.rb', line 9044

def email
  @email
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



9051
9052
9053
# File 'lib/google/apis/securitycenter_v1/classes.rb', line 9051

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