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

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

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






Goal (Google Analytics API v3-rev20190604-1.30.1)












com.google.api.services.analytics.model

Class Goal

    • Constructor Detail

      • Goal

        public Goal()
    • Method Detail

      • getAccountId

        public String getAccountId()
        Account ID to which this goal belongs.
        Returns:
        value or null for none
      • setAccountId

        public Goal setAccountId(String accountId)
        Account ID to which this goal belongs.
        Parameters:
        accountId - accountId or null for none
      • getActive

        public Boolean getActive()
        Determines whether this goal is active.
        Returns:
        value or null for none
      • setActive

        public Goal setActive(Boolean active)
        Determines whether this goal is active.
        Parameters:
        active - active or null for none
      • getCreated

        public DateTime getCreated()
        Time this goal was created.
        Returns:
        value or null for none
      • setCreated

        public Goal setCreated(DateTime created)
        Time this goal was created.
        Parameters:
        created - created or null for none
      • getEventDetails

        public Goal.EventDetails getEventDetails()
        Details for the goal of the type EVENT.
        Returns:
        value or null for none
      • setEventDetails

        public Goal setEventDetails(Goal.EventDetails eventDetails)
        Details for the goal of the type EVENT.
        Parameters:
        eventDetails - eventDetails or null for none
      • getId

        public String getId()
        Goal ID.
        Returns:
        value or null for none
      • setId

        public Goal setId(String id)
        Goal ID.
        Parameters:
        id - id or null for none
      • getInternalWebPropertyId

        public String getInternalWebPropertyId()
        Internal ID for the web property to which this goal belongs.
        Returns:
        value or null for none
      • setInternalWebPropertyId

        public Goal setInternalWebPropertyId(String internalWebPropertyId)
        Internal ID for the web property to which this goal belongs.
        Parameters:
        internalWebPropertyId - internalWebPropertyId or null for none
      • getKind

        public String getKind()
        Resource type for an Analytics goal.
        Returns:
        value or null for none
      • setKind

        public Goal setKind(String kind)
        Resource type for an Analytics goal.
        Parameters:
        kind - kind or null for none
      • getName

        public String getName()
        Goal name.
        Returns:
        value or null for none
      • setName

        public Goal setName(String name)
        Goal name.
        Parameters:
        name - name or null for none
      • getParentLink

        public Goal.ParentLink getParentLink()
        Parent link for a goal. Points to the view (profile) to which this goal belongs.
        Returns:
        value or null for none
      • setParentLink

        public Goal setParentLink(Goal.ParentLink parentLink)
        Parent link for a goal. Points to the view (profile) to which this goal belongs.
        Parameters:
        parentLink - parentLink or null for none
      • getProfileId

        public String getProfileId()
        View (Profile) ID to which this goal belongs.
        Returns:
        value or null for none
      • setProfileId

        public Goal setProfileId(String profileId)
        View (Profile) ID to which this goal belongs.
        Parameters:
        profileId - profileId or null for none
      • getSelfLink

        public String getSelfLink()
        Link for this goal.
        Returns:
        value or null for none
      • setSelfLink

        public Goal setSelfLink(String selfLink)
        Link for this goal.
        Parameters:
        selfLink - selfLink or null for none
      • getType

        public String getType()
        Goal type. Possible values are URL_DESTINATION, VISIT_TIME_ON_SITE, VISIT_NUM_PAGES, AND EVENT.
        Returns:
        value or null for none
      • setType

        public Goal setType(String type)
        Goal type. Possible values are URL_DESTINATION, VISIT_TIME_ON_SITE, VISIT_NUM_PAGES, AND EVENT.
        Parameters:
        type - type or null for none
      • getUpdated

        public DateTime getUpdated()
        Time this goal was last modified.
        Returns:
        value or null for none
      • setUpdated

        public Goal setUpdated(DateTime updated)
        Time this goal was last modified.
        Parameters:
        updated - updated or null for none
      • getUrlDestinationDetails

        public Goal.UrlDestinationDetails getUrlDestinationDetails()
        Details for the goal of the type URL_DESTINATION.
        Returns:
        value or null for none
      • setUrlDestinationDetails

        public Goal setUrlDestinationDetails(Goal.UrlDestinationDetails urlDestinationDetails)
        Details for the goal of the type URL_DESTINATION.
        Parameters:
        urlDestinationDetails - urlDestinationDetails or null for none
      • getValue

        public Float getValue()
        Goal value.
        Returns:
        value or null for none
      • setValue

        public Goal setValue(Float value)
        Goal value.
        Parameters:
        value - value or null for none
      • getVisitNumPagesDetails

        public Goal.VisitNumPagesDetails getVisitNumPagesDetails()
        Details for the goal of the type VISIT_NUM_PAGES.
        Returns:
        value or null for none
      • setVisitNumPagesDetails

        public Goal setVisitNumPagesDetails(Goal.VisitNumPagesDetails visitNumPagesDetails)
        Details for the goal of the type VISIT_NUM_PAGES.
        Parameters:
        visitNumPagesDetails - visitNumPagesDetails or null for none
      • getVisitTimeOnSiteDetails

        public Goal.VisitTimeOnSiteDetails getVisitTimeOnSiteDetails()
        Details for the goal of the type VISIT_TIME_ON_SITE.
        Returns:
        value or null for none
      • setVisitTimeOnSiteDetails

        public Goal setVisitTimeOnSiteDetails(Goal.VisitTimeOnSiteDetails visitTimeOnSiteDetails)
        Details for the goal of the type VISIT_TIME_ON_SITE.
        Parameters:
        visitTimeOnSiteDetails - visitTimeOnSiteDetails or null for none
      • getWebPropertyId

        public String getWebPropertyId()
        Web property ID to which this goal belongs. The web property ID is of the form UA-XXXXX-YY.
        Returns:
        value or null for none
      • setWebPropertyId

        public Goal setWebPropertyId(String webPropertyId)
        Web property ID to which this goal belongs. The web property ID is of the form UA-XXXXX-YY.
        Parameters:
        webPropertyId - webPropertyId or null for none

Copyright © 2011–2019 Google. All rights reserved.





© 2015 - 2025 Weber Informatics LLC | Privacy Policy