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

Inherits:
Object
  • Object
show all
Includes:
Core::Hashable, Core::JsonObjectSupport
Defined in:
generated/google/apis/apigee_v1/classes.rb,
generated/google/apis/apigee_v1/representations.rb,
generated/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

Methods included from Core::JsonObjectSupport

#to_json

Methods included from Core::Hashable

process_value, #to_h

Constructor Details

#initialize(**args) ⇒ GoogleCloudApigeeV1Session

Returns a new instance of GoogleCloudApigeeV1Session.


4787
4788
4789
# File 'generated/google/apis/apigee_v1/classes.rb', line 4787

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

Instance Attribute Details

#idString

The debug session ID. Corresponds to the JSON property id

Returns:

  • (String)

4780
4781
4782
# File 'generated/google/apis/apigee_v1/classes.rb', line 4780

def id
  @id
end

#timestamp_msFixnum

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

Returns:

  • (Fixnum)

4785
4786
4787
# File 'generated/google/apis/apigee_v1/classes.rb', line 4785

def timestamp_ms
  @timestamp_ms
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object


4792
4793
4794
4795
# File 'generated/google/apis/apigee_v1/classes.rb', line 4792

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