Class: Google::Apis::AndroidmanagementV1::ListEnterprisesResponse

Inherits:
Object
  • Object
show all
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

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ ListEnterprisesResponse

Returns a new instance of ListEnterprisesResponse.



3079
3080
3081
# File 'lib/google/apis/androidmanagement_v1/classes.rb', line 3079

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

Instance Attribute Details

#enterprisesArray<Google::Apis::AndroidmanagementV1::Enterprise>

The list of enterprises. Corresponds to the JSON property enterprises



3072
3073
3074
# File 'lib/google/apis/androidmanagement_v1/classes.rb', line 3072

def enterprises
  @enterprises
end

#next_page_tokenString

If there are more results, a token to retrieve next page of results. Corresponds to the JSON property nextPageToken

Returns:

  • (String)


3077
3078
3079
# File 'lib/google/apis/androidmanagement_v1/classes.rb', line 3077

def next_page_token
  @next_page_token
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



3084
3085
3086
3087
# File 'lib/google/apis/androidmanagement_v1/classes.rb', line 3084

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