Class: Google::Apis::AdminDatatransferV1::ApplicationsListResponse

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

Overview

Template for a collection of Applications.

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) ⇒ ApplicationsListResponse

Returns a new instance of ApplicationsListResponse



152
153
154
# File 'generated/google/apis/admin_datatransfer_v1/classes.rb', line 152

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

Instance Attribute Details

#applicationsArray<Google::Apis::AdminDatatransferV1::Application>

List of applications that support data transfer and are also installed for the customer. Corresponds to the JSON property applications



135
136
137
# File 'generated/google/apis/admin_datatransfer_v1/classes.rb', line 135

def applications
  @applications
end

#etagString

ETag of the resource. Corresponds to the JSON property etag

Returns:

  • (String)


140
141
142
# File 'generated/google/apis/admin_datatransfer_v1/classes.rb', line 140

def etag
  @etag
end

#kindString

Identifies the resource as a collection of Applications. Corresponds to the JSON property kind

Returns:

  • (String)


145
146
147
# File 'generated/google/apis/admin_datatransfer_v1/classes.rb', line 145

def kind
  @kind
end

#next_page_tokenString

Continuation token which will be used to specify next page in list API. Corresponds to the JSON property nextPageToken

Returns:

  • (String)


150
151
152
# File 'generated/google/apis/admin_datatransfer_v1/classes.rb', line 150

def next_page_token
  @next_page_token
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



157
158
159
160
161
162
# File 'generated/google/apis/admin_datatransfer_v1/classes.rb', line 157

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