Google Chat V1 API - Class Google::Apps::Chat::V1::SearchSpacesResponse (v0.31.0)

Reference documentation and code samples for the Google Chat V1 API class Google::Apps::Chat::V1::SearchSpacesResponse.

Response with a list of spaces corresponding to the search spaces request.

Inherits

  • Object

Extended By

  • Google::Protobuf::MessageExts::ClassMethods

Includes

  • Google::Protobuf::MessageExts

Methods

#next_page_token

def next_page_token() -> ::String
Returns
  • (::String) — A token that can be used to retrieve the next page. If this field is empty, there are no subsequent pages.

    Only populated when useAdminAccess is set to true.

#next_page_token=

def next_page_token=(value) -> ::String
Parameter
  • value (::String) — A token that can be used to retrieve the next page. If this field is empty, there are no subsequent pages.

    Only populated when useAdminAccess is set to true.

Returns
  • (::String) — A token that can be used to retrieve the next page. If this field is empty, there are no subsequent pages.

    Only populated when useAdminAccess is set to true.

#results

def results() -> ::Array<::Google::Apps::Chat::V1::SearchSpacesResponse::SearchSpaceResult>
Returns

#spaces

def spaces() -> ::Array<::Google::Apps::Chat::V1::Space>
Returns
  • (::Array<::Google::Apps::Chat::V1::Space>) — Deprecated: Please use the new results field instead. A page of the requested spaces. This field will be populated only when useAdminAccess is set to true and deprecated in favor of the new results field.

#spaces=

def spaces=(value) -> ::Array<::Google::Apps::Chat::V1::Space>
Parameter
  • value (::Array<::Google::Apps::Chat::V1::Space>) — Deprecated: Please use the new results field instead. A page of the requested spaces. This field will be populated only when useAdminAccess is set to true and deprecated in favor of the new results field.
Returns
  • (::Array<::Google::Apps::Chat::V1::Space>) — Deprecated: Please use the new results field instead. A page of the requested spaces. This field will be populated only when useAdminAccess is set to true and deprecated in favor of the new results field.

#total_size

def total_size() -> ::Integer
Returns
  • (::Integer) — The total number of spaces that match the query, across all pages. If the result is over 10,000 spaces, this value is an estimate.

    Only populated when useAdminAccess is set to true.

#total_size=

def total_size=(value) -> ::Integer
Parameter
  • value (::Integer) — The total number of spaces that match the query, across all pages. If the result is over 10,000 spaces, this value is an estimate.

    Only populated when useAdminAccess is set to true.

Returns
  • (::Integer) — The total number of spaces that match the query, across all pages. If the result is over 10,000 spaces, this value is an estimate.

    Only populated when useAdminAccess is set to true.