Class: Google::Apis::SecuritycenterV1beta2::GoogleCloudSecuritycenterV2Agent
- Inherits:
-
Object
- Object
- Google::Apis::SecuritycenterV1beta2::GoogleCloudSecuritycenterV2Agent
- 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
-
#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.
4509 4510 4511 |
# File 'lib/google/apis/securitycenter_v1beta2/classes.rb', line 4509 def initialize(**args) update!(**args) end |
Instance Attribute Details
#display_name ⇒ String
Corresponds to the JSON property displayName
4502 4503 4504 |
# File 'lib/google/apis/securitycenter_v1beta2/classes.rb', line 4502 def display_name @display_name end |
#id ⇒ String
Corresponds to the JSON property id
4507 4508 4509 |
# File 'lib/google/apis/securitycenter_v1beta2/classes.rb', line 4507 def id @id end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
4514 4515 4516 4517 |
# File 'lib/google/apis/securitycenter_v1beta2/classes.rb', line 4514 def update!(**args) @display_name = args[:display_name] if args.key?(:display_name) @id = args[:id] if args.key?(:id) end |