Class: Google::Apis::SecuritycenterV1::GoogleCloudSecuritycenterV2ContactDetails
- Inherits:
-
Object
- Object
- Google::Apis::SecuritycenterV1::GoogleCloudSecuritycenterV2ContactDetails
- 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
-
#contacts ⇒ Array<Google::Apis::SecuritycenterV1::GoogleCloudSecuritycenterV2Contact>
Corresponds to the JSON property
contacts.
Instance Method Summary collapse
-
#initialize(**args) ⇒ GoogleCloudSecuritycenterV2ContactDetails
constructor
A new instance of GoogleCloudSecuritycenterV2ContactDetails.
-
#update!(**args) ⇒ Object
Update properties of this object.
Constructor Details
#initialize(**args) ⇒ GoogleCloudSecuritycenterV2ContactDetails
Returns a new instance of GoogleCloudSecuritycenterV2ContactDetails.
5890 5891 5892 |
# File 'lib/google/apis/securitycenter_v1/classes.rb', line 5890 def initialize(**args) update!(**args) end |
Instance Attribute Details
#contacts ⇒ Array<Google::Apis::SecuritycenterV1::GoogleCloudSecuritycenterV2Contact>
Corresponds to the JSON property contacts
5888 5889 5890 |
# File 'lib/google/apis/securitycenter_v1/classes.rb', line 5888 def contacts @contacts end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
5895 5896 5897 |
# File 'lib/google/apis/securitycenter_v1/classes.rb', line 5895 def update!(**args) @contacts = args[:contacts] if args.key?(:contacts) end |