Class: Google::Apis::SecuritycenterV1beta2::AgentSession
- Inherits:
-
Object
- Object
- Google::Apis::SecuritycenterV1beta2::AgentSession
- 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
-
#session_id ⇒ String
Corresponds to the JSON property
sessionId.
Instance Method Summary collapse
-
#initialize(**args) ⇒ AgentSession
constructor
A new instance of AgentSession.
-
#update!(**args) ⇒ Object
Update properties of this object.
Constructor Details
#initialize(**args) ⇒ AgentSession
Returns a new instance of AgentSession.
362 363 364 |
# File 'lib/google/apis/securitycenter_v1beta2/classes.rb', line 362 def initialize(**args) update!(**args) end |
Instance Attribute Details
#session_id ⇒ String
Corresponds to the JSON property sessionId
360 361 362 |
# File 'lib/google/apis/securitycenter_v1beta2/classes.rb', line 360 def session_id @session_id end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
367 368 369 |
# File 'lib/google/apis/securitycenter_v1beta2/classes.rb', line 367 def update!(**args) @session_id = args[:session_id] if args.key?(:session_id) end |