Class: Google::Apis::SecuritycenterV1beta2::GoogleCloudSecuritycenterV2ResourceApplicationAttributesContactInfo

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

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ GoogleCloudSecuritycenterV2ResourceApplicationAttributesContactInfo

Returns a new instance of GoogleCloudSecuritycenterV2ResourceApplicationAttributesContactInfo.



8913
8914
8915
# File 'lib/google/apis/securitycenter_v1beta2/classes.rb', line 8913

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

Instance Attribute Details

#emailString

Corresponds to the JSON property email

Returns:

  • (String)


8911
8912
8913
# File 'lib/google/apis/securitycenter_v1beta2/classes.rb', line 8911

def email
  @email
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



8918
8919
8920
# File 'lib/google/apis/securitycenter_v1beta2/classes.rb', line 8918

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