Class: Google::Apis::ApigeeV1::GoogleCloudApigeeV1Session

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

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ GoogleCloudApigeeV1Session

Returns a new instance of GoogleCloudApigeeV1Session.



6746
6747
6748
# File 'lib/google/apis/apigee_v1/classes.rb', line 6746

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

Instance Attribute Details

#idString

The debug session ID. Corresponds to the JSON property id

Returns:

  • (String)


6739
6740
6741
# File 'lib/google/apis/apigee_v1/classes.rb', line 6739

def id
  @id
end

#timestamp_msFixnum

The first transaction creation timestamp in millisecond, recorded by UAP. Corresponds to the JSON property timestampMs

Returns:

  • (Fixnum)


6744
6745
6746
# File 'lib/google/apis/apigee_v1/classes.rb', line 6744

def timestamp_ms
  @timestamp_ms
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



6751
6752
6753
6754
# File 'lib/google/apis/apigee_v1/classes.rb', line 6751

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