Class: Google::Apis::SecuritycenterV1::GoogleCloudSecuritycenterV2ResourceApplicationAttributesContactInfo

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

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ GoogleCloudSecuritycenterV2ResourceApplicationAttributesContactInfo

Returns a new instance of GoogleCloudSecuritycenterV2ResourceApplicationAttributesContactInfo.



9539
9540
9541
# File 'lib/google/apis/securitycenter_v1/classes.rb', line 9539

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

Instance Attribute Details

#emailString

Corresponds to the JSON property email

Returns:

  • (String)


9537
9538
9539
# File 'lib/google/apis/securitycenter_v1/classes.rb', line 9537

def email
  @email
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



9544
9545
9546
# File 'lib/google/apis/securitycenter_v1/classes.rb', line 9544

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