Class: Google::Apis::SecuritycenterV1beta1::GoogleCloudSecuritycenterV1ResourceApplicationAttributesContactInfo

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

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ GoogleCloudSecuritycenterV1ResourceApplicationAttributesContactInfo

Returns a new instance of GoogleCloudSecuritycenterV1ResourceApplicationAttributesContactInfo.



3629
3630
3631
# File 'lib/google/apis/securitycenter_v1beta1/classes.rb', line 3629

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

Instance Attribute Details

#emailString

Corresponds to the JSON property email

Returns:

  • (String)


3627
3628
3629
# File 'lib/google/apis/securitycenter_v1beta1/classes.rb', line 3627

def email
  @email
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



3634
3635
3636
# File 'lib/google/apis/securitycenter_v1beta1/classes.rb', line 3634

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