Class: Google::Apis::SecuritycenterV1::GoogleCloudSecuritycenterV2AgentSession

Inherits:
Object
  • Object
show all
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

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ GoogleCloudSecuritycenterV2AgentSession

Returns a new instance of GoogleCloudSecuritycenterV2AgentSession.



5111
5112
5113
# File 'lib/google/apis/securitycenter_v1/classes.rb', line 5111

def initialize(**args)
   update!(**args)
end

Instance Attribute Details

#session_idString

Corresponds to the JSON property sessionId

Returns:

  • (String)


5109
5110
5111
# File 'lib/google/apis/securitycenter_v1/classes.rb', line 5109

def session_id
  @session_id
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



5116
5117
5118
# File 'lib/google/apis/securitycenter_v1/classes.rb', line 5116

def update!(**args)
  @session_id = args[:session_id] if args.key?(:session_id)
end