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

target.apidocs.com.google.api.services.analytics.model.Goals.html Maven / Gradle / Ivy

There is a newer version: v3-rev20190807-2.0.0
Show newest version






Goals (Google Analytics API v3-rev20190807-1.31.0)












com.google.api.services.analytics.model

Class Goals

  • All Implemented Interfaces:
    Cloneable, Map<String,Object>


    public final class Goals
    extends GenericJson
    A goal collection lists Analytics goals to which the user has access. Each view (profile) can have a set of goals. Each resource in the Goal collection corresponds to a single Analytics goal.

    This is the Java data model class that specifies how to parse/serialize into the JSON that is transmitted over HTTP when working with the Google Analytics API. For a detailed explanation see: https://developers.google.com/api-client-library/java/google-http-java-client/json

    Author:
    Google, Inc.
    • Constructor Detail

      • Goals

        public Goals()
    • Method Detail

      • getItems

        public List<Goal> getItems()
        A list of goals.
        Returns:
        value or null for none
      • setItems

        public Goals setItems(List<Goal> items)
        A list of goals.
        Parameters:
        items - items or null for none
      • getItemsPerPage

        public Integer getItemsPerPage()
        The maximum number of resources the response can contain, regardless of the actual number of resources returned. Its value ranges from 1 to 1000 with a value of 1000 by default, or otherwise specified by the max-results query parameter.
        Returns:
        value or null for none
      • setItemsPerPage

        public Goals setItemsPerPage(Integer itemsPerPage)
        The maximum number of resources the response can contain, regardless of the actual number of resources returned. Its value ranges from 1 to 1000 with a value of 1000 by default, or otherwise specified by the max-results query parameter.
        Parameters:
        itemsPerPage - itemsPerPage or null for none
      • getKind

        public String getKind()
        Collection type.
        Returns:
        value or null for none
      • setKind

        public Goals setKind(String kind)
        Collection type.
        Parameters:
        kind - kind or null for none
      • getNextLink

        public String getNextLink()
        Link to next page for this goal collection.
        Returns:
        value or null for none
      • setNextLink

        public Goals setNextLink(String nextLink)
        Link to next page for this goal collection.
        Parameters:
        nextLink - nextLink or null for none
      • getPreviousLink

        public String getPreviousLink()
        Link to previous page for this goal collection.
        Returns:
        value or null for none
      • setPreviousLink

        public Goals setPreviousLink(String previousLink)
        Link to previous page for this goal collection.
        Parameters:
        previousLink - previousLink or null for none
      • getStartIndex

        public Integer getStartIndex()
        The starting index of the resources, which is 1 by default or otherwise specified by the start- index query parameter.
        Returns:
        value or null for none
      • setStartIndex

        public Goals setStartIndex(Integer startIndex)
        The starting index of the resources, which is 1 by default or otherwise specified by the start- index query parameter.
        Parameters:
        startIndex - startIndex or null for none
      • getTotalResults

        public Integer getTotalResults()
        The total number of results for the query, regardless of the number of resources in the result.
        Returns:
        value or null for none
      • setTotalResults

        public Goals setTotalResults(Integer totalResults)
        The total number of results for the query, regardless of the number of resources in the result.
        Parameters:
        totalResults - totalResults or null for none
      • getUsername

        public String getUsername()
        Email ID of the authenticated user
        Returns:
        value or null for none
      • setUsername

        public Goals setUsername(String username)
        Email ID of the authenticated user
        Parameters:
        username - username or null for none

Copyright © 2011–2020 Google. All rights reserved.





© 2015 - 2024 Weber Informatics LLC | Privacy Policy