Class: Google::Apis::AndroidmanagementV1::ListEnterprisesResponse
- Inherits:
-
Object
- Object
- Google::Apis::AndroidmanagementV1::ListEnterprisesResponse
- Includes:
- Core::Hashable, Core::JsonObjectSupport
- Defined in:
- lib/google/apis/androidmanagement_v1/classes.rb,
lib/google/apis/androidmanagement_v1/representations.rb,
lib/google/apis/androidmanagement_v1/representations.rb
Overview
Response to a request to list enterprises.
Instance Attribute Summary collapse
-
#enterprises ⇒ Array<Google::Apis::AndroidmanagementV1::Enterprise>
The list of enterprises.
-
#next_page_token ⇒ String
If there are more results, a token to retrieve next page of results.
Instance Method Summary collapse
-
#initialize(**args) ⇒ ListEnterprisesResponse
constructor
A new instance of ListEnterprisesResponse.
-
#update!(**args) ⇒ Object
Update properties of this object.
Constructor Details
#initialize(**args) ⇒ ListEnterprisesResponse
Returns a new instance of ListEnterprisesResponse.
1913 1914 1915 |
# File 'lib/google/apis/androidmanagement_v1/classes.rb', line 1913 def initialize(**args) update!(**args) end |
Instance Attribute Details
#enterprises ⇒ Array<Google::Apis::AndroidmanagementV1::Enterprise>
The list of enterprises.
Corresponds to the JSON property enterprises
1906 1907 1908 |
# File 'lib/google/apis/androidmanagement_v1/classes.rb', line 1906 def enterprises @enterprises end |
#next_page_token ⇒ String
If there are more results, a token to retrieve next page of results.
Corresponds to the JSON property nextPageToken
1911 1912 1913 |
# File 'lib/google/apis/androidmanagement_v1/classes.rb', line 1911 def next_page_token @next_page_token end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
1918 1919 1920 1921 |
# File 'lib/google/apis/androidmanagement_v1/classes.rb', line 1918 def update!(**args) @enterprises = args[:enterprises] if args.key?(:enterprises) @next_page_token = args[:next_page_token] if args.key?(:next_page_token) end |