Class: Google::Apis::SecuritycenterV1beta2::GoogleCloudSecuritycenterV2AgentSession

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

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ GoogleCloudSecuritycenterV2AgentSession

Returns a new instance of GoogleCloudSecuritycenterV2AgentSession.



4597
4598
4599
# File 'lib/google/apis/securitycenter_v1beta2/classes.rb', line 4597

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

Instance Attribute Details

#session_idString

Corresponds to the JSON property sessionId

Returns:

  • (String)


4595
4596
4597
# File 'lib/google/apis/securitycenter_v1beta2/classes.rb', line 4595

def session_id
  @session_id
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



4602
4603
4604
# File 'lib/google/apis/securitycenter_v1beta2/classes.rb', line 4602

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