Class: Google::Apis::DataplexV1::GoogleCloudDataplexV1ListSessionsResponse

Inherits:
Object
  • Object
show all
Includes:
Core::Hashable, Core::JsonObjectSupport
Defined in:
lib/google/apis/dataplex_v1/classes.rb,
lib/google/apis/dataplex_v1/representations.rb,
lib/google/apis/dataplex_v1/representations.rb

Overview

List sessions response.

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ GoogleCloudDataplexV1ListSessionsResponse

Returns a new instance of GoogleCloudDataplexV1ListSessionsResponse.



5943
5944
5945
# File 'lib/google/apis/dataplex_v1/classes.rb', line 5943

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

Instance Attribute Details

#next_page_tokenString

Token to retrieve the next page of results, or empty if there are no more results in the list. Corresponds to the JSON property nextPageToken

Returns:

  • (String)


5936
5937
5938
# File 'lib/google/apis/dataplex_v1/classes.rb', line 5936

def next_page_token
  @next_page_token
end

#sessionsArray<Google::Apis::DataplexV1::GoogleCloudDataplexV1Session>

Sessions under a given environment. Corresponds to the JSON property sessions



5941
5942
5943
# File 'lib/google/apis/dataplex_v1/classes.rb', line 5941

def sessions
  @sessions
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



5948
5949
5950
5951
# File 'lib/google/apis/dataplex_v1/classes.rb', line 5948

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