Class: Google::Apis::SecuritycenterV1beta1::GoogleCloudSecuritycenterV2AgentSession

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

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ GoogleCloudSecuritycenterV2AgentSession

Returns a new instance of GoogleCloudSecuritycenterV2AgentSession.



4778
4779
4780
# File 'lib/google/apis/securitycenter_v1beta1/classes.rb', line 4778

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

Instance Attribute Details

#session_idString

Corresponds to the JSON property sessionId

Returns:

  • (String)


4776
4777
4778
# File 'lib/google/apis/securitycenter_v1beta1/classes.rb', line 4776

def session_id
  @session_id
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



4783
4784
4785
# File 'lib/google/apis/securitycenter_v1beta1/classes.rb', line 4783

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