Class: Google::Apis::SecuritycenterV1beta1::Source
- Inherits:
-
Object
- Object
- Google::Apis::SecuritycenterV1beta1::Source
- 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
-
#description ⇒ String
Corresponds to the JSON property
description. -
#display_name ⇒ String
Corresponds to the JSON property
displayName. -
#name ⇒ String
Corresponds to the JSON property
name.
Instance Method Summary collapse
-
#initialize(**args) ⇒ Source
constructor
A new instance of Source.
-
#update!(**args) ⇒ Object
Update properties of this object.
Constructor Details
#initialize(**args) ⇒ Source
Returns a new instance of Source.
11883 11884 11885 |
# File 'lib/google/apis/securitycenter_v1beta1/classes.rb', line 11883 def initialize(**args) update!(**args) end |
Instance Attribute Details
#description ⇒ String
Corresponds to the JSON property description
11871 11872 11873 |
# File 'lib/google/apis/securitycenter_v1beta1/classes.rb', line 11871 def description @description end |
#display_name ⇒ String
Corresponds to the JSON property displayName
11876 11877 11878 |
# File 'lib/google/apis/securitycenter_v1beta1/classes.rb', line 11876 def display_name @display_name end |
#name ⇒ String
Corresponds to the JSON property name
11881 11882 11883 |
# File 'lib/google/apis/securitycenter_v1beta1/classes.rb', line 11881 def name @name end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
11888 11889 11890 11891 11892 |
# File 'lib/google/apis/securitycenter_v1beta1/classes.rb', line 11888 def update!(**args) @description = args[:description] if args.key?(:description) @display_name = args[:display_name] if args.key?(:display_name) @name = args[:name] if args.key?(:name) end |