Class: Google::Apis::ApigeeV1::GoogleCloudApigeeV1Session
- Inherits:
-
Object
- Object
- Google::Apis::ApigeeV1::GoogleCloudApigeeV1Session
- Includes:
- Core::Hashable, Core::JsonObjectSupport
- Defined in:
- lib/google/apis/apigee_v1/classes.rb,
lib/google/apis/apigee_v1/representations.rb,
lib/google/apis/apigee_v1/representations.rb
Overview
Session carries the debug session id and its creation time.
Instance Attribute Summary collapse
-
#id ⇒ String
The debug session ID.
-
#timestamp_ms ⇒ Fixnum
The first transaction creation timestamp in millisecond, recorded by UAP.
Instance Method Summary collapse
-
#initialize(**args) ⇒ GoogleCloudApigeeV1Session
constructor
A new instance of GoogleCloudApigeeV1Session.
-
#update!(**args) ⇒ Object
Update properties of this object.
Constructor Details
#initialize(**args) ⇒ GoogleCloudApigeeV1Session
Returns a new instance of GoogleCloudApigeeV1Session.
8868 8869 8870 |
# File 'lib/google/apis/apigee_v1/classes.rb', line 8868 def initialize(**args) update!(**args) end |
Instance Attribute Details
#id ⇒ String
The debug session ID.
Corresponds to the JSON property id
8861 8862 8863 |
# File 'lib/google/apis/apigee_v1/classes.rb', line 8861 def id @id end |
#timestamp_ms ⇒ Fixnum
The first transaction creation timestamp in millisecond, recorded by UAP.
Corresponds to the JSON property timestampMs
8866 8867 8868 |
# File 'lib/google/apis/apigee_v1/classes.rb', line 8866 def @timestamp_ms end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
8873 8874 8875 8876 |
# File 'lib/google/apis/apigee_v1/classes.rb', line 8873 def update!(**args) @id = args[:id] if args.key?(:id) @timestamp_ms = args[:timestamp_ms] if args.key?(:timestamp_ms) end |