Class: Google::Apis::SmartdevicemanagementV1::GoogleHomeEnterpriseSdmV1ListStructuresResponse

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

Overview

Response message for SmartDeviceManagementService.ListStructures

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ GoogleHomeEnterpriseSdmV1ListStructuresResponse

Returns a new instance of GoogleHomeEnterpriseSdmV1ListStructuresResponse.



178
179
180
# File 'generated/google/apis/smartdevicemanagement_v1/classes.rb', line 178

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

Instance Attribute Details

#next_page_tokenString

The pagination token to retrieve the next page of results. If this field is omitted, there are no subsequent pages. Corresponds to the JSON property nextPageToken

Returns:

  • (String)


171
172
173
# File 'generated/google/apis/smartdevicemanagement_v1/classes.rb', line 171

def next_page_token
  @next_page_token
end

#structuresArray<Google::Apis::SmartdevicemanagementV1::GoogleHomeEnterpriseSdmV1Structure>

The list of structures. Corresponds to the JSON property structures



176
177
178
# File 'generated/google/apis/smartdevicemanagement_v1/classes.rb', line 176

def structures
  @structures
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



183
184
185
186
# File 'generated/google/apis/smartdevicemanagement_v1/classes.rb', line 183

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