Class: Google::Apis::SecuritycenterV1beta1::GoogleCloudSecuritycenterV2ResourceApplicationAttributesContactInfo

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

Overview

Contact information of stakeholders.

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ GoogleCloudSecuritycenterV2ResourceApplicationAttributesContactInfo

Returns a new instance of GoogleCloudSecuritycenterV2ResourceApplicationAttributesContactInfo.



10158
10159
10160
# File 'lib/google/apis/securitycenter_v1beta1/classes.rb', line 10158

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

Instance Attribute Details

#emailString

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

Returns:

  • (String)


10156
10157
10158
# File 'lib/google/apis/securitycenter_v1beta1/classes.rb', line 10156

def email
  @email
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



10163
10164
10165
# File 'lib/google/apis/securitycenter_v1beta1/classes.rb', line 10163

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