Class: Google::Apis::CloudsearchV1::SessionContext
- Inherits:
-
Object
- Object
- Google::Apis::CloudsearchV1::SessionContext
- Includes:
- Google::Apis::Core::Hashable, Google::Apis::Core::JsonObjectSupport
- Defined in:
- lib/google/apis/cloudsearch_v1/classes.rb,
lib/google/apis/cloudsearch_v1/representations.rb,
lib/google/apis/cloudsearch_v1/representations.rb
Instance Attribute Summary collapse
-
#auth_time ⇒ Fixnum
Time at which this activity's session was authenticated, in seconds since the epoch.
-
#delegate_user_id ⇒ Fixnum
Gaia ID of the authenticated user when delegate access is active.
-
#dusi ⇒ String
Device User Session ID, see go/dusi.
-
#imap_session_context ⇒ Google::Apis::CloudsearchV1::ImapSessionContext
Imap session context for Bond/Gmail integration Corresponds to the JSON property
imapSessionContext
. -
#oauth_login_id ⇒ Fixnum
OAuth login ID.
-
#oauth_project_id ⇒ Fixnum
The devconsole project ID of the developer who authenticated with OAuth.
Instance Method Summary collapse
-
#initialize(**args) ⇒ SessionContext
constructor
A new instance of SessionContext.
-
#update!(**args) ⇒ Object
Update properties of this object.
Constructor Details
#initialize(**args) ⇒ SessionContext
Returns a new instance of SessionContext.
18705 18706 18707 |
# File 'lib/google/apis/cloudsearch_v1/classes.rb', line 18705 def initialize(**args) update!(**args) end |
Instance Attribute Details
#auth_time ⇒ Fixnum
Time at which this activity's session was authenticated, in seconds since the
epoch.
Corresponds to the JSON property authTime
18676 18677 18678 |
# File 'lib/google/apis/cloudsearch_v1/classes.rb', line 18676 def auth_time @auth_time end |
#delegate_user_id ⇒ Fixnum
Gaia ID of the authenticated user when delegate access is active. In such
sessions the main gaia ID is that of the delegator, i.e. the account being
accessed.
Corresponds to the JSON property delegateUserId
18683 18684 18685 |
# File 'lib/google/apis/cloudsearch_v1/classes.rb', line 18683 def delegate_user_id @delegate_user_id end |
#dusi ⇒ String
Device User Session ID, see go/dusi.
Corresponds to the JSON property dusi
18688 18689 18690 |
# File 'lib/google/apis/cloudsearch_v1/classes.rb', line 18688 def dusi @dusi end |
#imap_session_context ⇒ Google::Apis::CloudsearchV1::ImapSessionContext
Imap session context for Bond/Gmail integration
Corresponds to the JSON property imapSessionContext
18693 18694 18695 |
# File 'lib/google/apis/cloudsearch_v1/classes.rb', line 18693 def imap_session_context @imap_session_context end |
#oauth_login_id ⇒ Fixnum
OAuth login ID.
Corresponds to the JSON property oauthLoginId
18698 18699 18700 |
# File 'lib/google/apis/cloudsearch_v1/classes.rb', line 18698 def oauth_login_id @oauth_login_id end |
#oauth_project_id ⇒ Fixnum
The devconsole project ID of the developer who authenticated with OAuth.
Corresponds to the JSON property oauthProjectId
18703 18704 18705 |
# File 'lib/google/apis/cloudsearch_v1/classes.rb', line 18703 def oauth_project_id @oauth_project_id end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
18710 18711 18712 18713 18714 18715 18716 18717 |
# File 'lib/google/apis/cloudsearch_v1/classes.rb', line 18710 def update!(**args) @auth_time = args[:auth_time] if args.key?(:auth_time) @delegate_user_id = args[:delegate_user_id] if args.key?(:delegate_user_id) @dusi = args[:dusi] if args.key?(:dusi) @imap_session_context = args[:imap_session_context] if args.key?(:imap_session_context) @oauth_login_id = args[:oauth_login_id] if args.key?(:oauth_login_id) @oauth_project_id = args[:oauth_project_id] if args.key?(:oauth_project_id) end |