All Downloads are FREE. Search and download functionalities are using the official Maven repository.

target.apidocs.com.google.api.services.content.model.SearchRequest.html Maven / Gradle / Ivy

There is a newer version: v2.1-rev20241217-2.0.0
Show newest version






SearchRequest (Content API for Shopping v2.1-rev20240609-2.0.0)












com.google.api.services.content.model

Class SearchRequest

    • Constructor Detail

      • SearchRequest

        public SearchRequest()
    • Method Detail

      • getPageSize

        public Integer getPageSize()
        Number of ReportRows to retrieve in a single page. Defaults to 1000. Values above 5000 are coerced to 5000.
        Returns:
        value or null for none
      • setPageSize

        public SearchRequest setPageSize(Integer pageSize)
        Number of ReportRows to retrieve in a single page. Defaults to 1000. Values above 5000 are coerced to 5000.
        Parameters:
        pageSize - pageSize or null for none
      • getPageToken

        public String getPageToken()
        Token of the page to retrieve. If not specified, the first page of results is returned. In order to request the next page of results, the value obtained from `next_page_token` in the previous response should be used.
        Returns:
        value or null for none
      • setPageToken

        public SearchRequest setPageToken(String pageToken)
        Token of the page to retrieve. If not specified, the first page of results is returned. In order to request the next page of results, the value obtained from `next_page_token` in the previous response should be used.
        Parameters:
        pageToken - pageToken or null for none
      • getQuery

        public String getQuery()
        Required. Query that defines performance metrics to retrieve and dimensions according to which the metrics are to be segmented. For details on how to construct your query, see the [Query Language guide](https://developers.google.com/shopping-content/guides/reports/query- language/overview).
        Returns:
        value or null for none
      • setQuery

        public SearchRequest setQuery(String query)
        Required. Query that defines performance metrics to retrieve and dimensions according to which the metrics are to be segmented. For details on how to construct your query, see the [Query Language guide](https://developers.google.com/shopping-content/guides/reports/query- language/overview).
        Parameters:
        query - query or null for none
      • set

        public SearchRequest set(String fieldName,
                                 Object value)
        Overrides:
        set in class com.google.api.client.json.GenericJson
      • clone

        public SearchRequest clone()
        Overrides:
        clone in class com.google.api.client.json.GenericJson

Copyright © 2011–2024 Google. All rights reserved.





© 2015 - 2025 Weber Informatics LLC | Privacy Policy