Class: Google::Apis::SecuritycenterV1beta1::GoogleCloudSecuritycenterV2Agent
- Inherits:
-
Object
- Object
- Google::Apis::SecuritycenterV1beta1::GoogleCloudSecuritycenterV2Agent
- 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
-
#display_name ⇒ String
Corresponds to the JSON property
displayName. -
#id ⇒ String
Corresponds to the JSON property
id.
Instance Method Summary collapse
-
#initialize(**args) ⇒ GoogleCloudSecuritycenterV2Agent
constructor
A new instance of GoogleCloudSecuritycenterV2Agent.
-
#update!(**args) ⇒ Object
Update properties of this object.
Constructor Details
#initialize(**args) ⇒ GoogleCloudSecuritycenterV2Agent
Returns a new instance of GoogleCloudSecuritycenterV2Agent.
4690 4691 4692 |
# File 'lib/google/apis/securitycenter_v1beta1/classes.rb', line 4690 def initialize(**args) update!(**args) end |
Instance Attribute Details
#display_name ⇒ String
Corresponds to the JSON property displayName
4683 4684 4685 |
# File 'lib/google/apis/securitycenter_v1beta1/classes.rb', line 4683 def display_name @display_name end |
#id ⇒ String
Corresponds to the JSON property id
4688 4689 4690 |
# File 'lib/google/apis/securitycenter_v1beta1/classes.rb', line 4688 def id @id end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
4695 4696 4697 4698 |
# File 'lib/google/apis/securitycenter_v1beta1/classes.rb', line 4695 def update!(**args) @display_name = args[:display_name] if args.key?(:display_name) @id = args[:id] if args.key?(:id) end |