googleanalytics
/
lib
/
analytics-admin
/
vendor
/
google
/
apiclient-services
/
src
/
Analytics
/
Goal.php
googleanalytics
/
lib
/
analytics-admin
/
vendor
/
google
/
apiclient-services
/
src
/
Analytics
Last commit date
Resource
3 years ago
Account.php
3 years ago
AccountChildLink.php
3 years ago
AccountPermissions.php
3 years ago
AccountRef.php
3 years ago
AccountSummaries.php
3 years ago
AccountSummary.php
3 years ago
AccountTicket.php
3 years ago
AccountTreeRequest.php
3 years ago
AccountTreeResponse.php
3 years ago
Accounts.php
3 years ago
AdWordsAccount.php
3 years ago
AnalyticsDataimportDeleteUploadDataRequest.php
3 years ago
Column.php
3 years ago
Columns.php
3 years ago
CustomDataSource.php
3 years ago
CustomDataSourceChildLink.php
3 years ago
CustomDataSourceParentLink.php
3 years ago
CustomDataSources.php
3 years ago
CustomDimension.php
3 years ago
CustomDimensionParentLink.php
3 years ago
CustomDimensions.php
3 years ago
CustomMetric.php
3 years ago
CustomMetricParentLink.php
3 years ago
CustomMetrics.php
3 years ago
EntityAdWordsLink.php
3 years ago
EntityAdWordsLinkEntity.php
3 years ago
EntityAdWordsLinks.php
3 years ago
EntityUserLink.php
3 years ago
EntityUserLinkEntity.php
3 years ago
EntityUserLinkPermissions.php
3 years ago
EntityUserLinks.php
3 years ago
Experiment.php
3 years ago
ExperimentParentLink.php
3 years ago
ExperimentVariations.php
3 years ago
Experiments.php
3 years ago
Filter.php
3 years ago
FilterAdvancedDetails.php
3 years ago
FilterExpression.php
3 years ago
FilterLowercaseDetails.php
3 years ago
FilterParentLink.php
3 years ago
FilterRef.php
3 years ago
FilterSearchAndReplaceDetails.php
3 years ago
FilterUppercaseDetails.php
3 years ago
Filters.php
3 years ago
GaData.php
3 years ago
GaDataColumnHeaders.php
3 years ago
GaDataDataTable.php
3 years ago
GaDataDataTableCols.php
3 years ago
GaDataDataTableRows.php
3 years ago
GaDataDataTableRowsC.php
3 years ago
GaDataProfileInfo.php
3 years ago
GaDataQuery.php
3 years ago
Goal.php
3 years ago
GoalEventDetails.php
3 years ago
GoalEventDetailsEventConditions.php
3 years ago
GoalParentLink.php
3 years ago
GoalUrlDestinationDetails.php
3 years ago
GoalUrlDestinationDetailsSteps.php
3 years ago
GoalVisitNumPagesDetails.php
3 years ago
GoalVisitTimeOnSiteDetails.php
3 years ago
Goals.php
3 years ago
HashClientIdRequest.php
3 years ago
HashClientIdResponse.php
3 years ago
IncludeConditions.php
3 years ago
LinkedForeignAccount.php
3 years ago
McfData.php
3 years ago
McfDataColumnHeaders.php
3 years ago
McfDataProfileInfo.php
3 years ago
McfDataQuery.php
3 years ago
McfDataRows.php
3 years ago
McfDataRowsConversionPathValue.php
3 years ago
Profile.php
3 years ago
ProfileChildLink.php
3 years ago
ProfileFilterLink.php
3 years ago
ProfileFilterLinks.php
3 years ago
ProfileParentLink.php
3 years ago
ProfilePermissions.php
3 years ago
ProfileRef.php
3 years ago
ProfileSummary.php
3 years ago
Profiles.php
3 years ago
RealtimeData.php
3 years ago
RealtimeDataColumnHeaders.php
3 years ago
RealtimeDataProfileInfo.php
3 years ago
RealtimeDataQuery.php
3 years ago
RemarketingAudience.php
3 years ago
RemarketingAudienceAudienceDefinition.php
3 years ago
RemarketingAudienceStateBasedAudienceDefinition.php
3 years ago
RemarketingAudienceStateBasedAudienceDefinitionExcludeConditions.php
3 years ago
RemarketingAudiences.php
3 years ago
Segment.php
3 years ago
Segments.php
3 years ago
UnsampledReport.php
3 years ago
UnsampledReportCloudStorageDownloadDetails.php
3 years ago
UnsampledReportDriveDownloadDetails.php
3 years ago
UnsampledReports.php
3 years ago
Upload.php
3 years ago
Uploads.php
3 years ago
UserDeletionRequest.php
3 years ago
UserDeletionRequestId.php
3 years ago
UserRef.php
3 years ago
WebPropertyRef.php
3 years ago
WebPropertySummary.php
3 years ago
Webproperties.php
3 years ago
Webproperty.php
3 years ago
WebpropertyChildLink.php
3 years ago
WebpropertyParentLink.php
3 years ago
WebpropertyPermissions.php
3 years ago
Goal.php
341 lines
| 1 | <?php |
| 2 | /* |
| 3 | * Copyright 2014 Google Inc. |
| 4 | * |
| 5 | * Licensed under the Apache License, Version 2.0 (the "License"); you may not |
| 6 | * use this file except in compliance with the License. You may obtain a copy of |
| 7 | * the License at |
| 8 | * |
| 9 | * http://www.apache.org/licenses/LICENSE-2.0 |
| 10 | * |
| 11 | * Unless required by applicable law or agreed to in writing, software |
| 12 | * distributed under the License is distributed on an "AS IS" BASIS, WITHOUT |
| 13 | * WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the |
| 14 | * License for the specific language governing permissions and limitations under |
| 15 | * the License. |
| 16 | */ |
| 17 | |
| 18 | namespace Google\Service\Analytics; |
| 19 | |
| 20 | class Goal extends \Google\Model |
| 21 | { |
| 22 | /** |
| 23 | * @var string |
| 24 | */ |
| 25 | public $accountId; |
| 26 | /** |
| 27 | * @var bool |
| 28 | */ |
| 29 | public $active; |
| 30 | /** |
| 31 | * @var string |
| 32 | */ |
| 33 | public $created; |
| 34 | protected $eventDetailsType = GoalEventDetails::class; |
| 35 | protected $eventDetailsDataType = ''; |
| 36 | /** |
| 37 | * @var string |
| 38 | */ |
| 39 | public $id; |
| 40 | /** |
| 41 | * @var string |
| 42 | */ |
| 43 | public $internalWebPropertyId; |
| 44 | /** |
| 45 | * @var string |
| 46 | */ |
| 47 | public $kind; |
| 48 | /** |
| 49 | * @var string |
| 50 | */ |
| 51 | public $name; |
| 52 | protected $parentLinkType = GoalParentLink::class; |
| 53 | protected $parentLinkDataType = ''; |
| 54 | /** |
| 55 | * @var string |
| 56 | */ |
| 57 | public $profileId; |
| 58 | /** |
| 59 | * @var string |
| 60 | */ |
| 61 | public $selfLink; |
| 62 | /** |
| 63 | * @var string |
| 64 | */ |
| 65 | public $type; |
| 66 | /** |
| 67 | * @var string |
| 68 | */ |
| 69 | public $updated; |
| 70 | protected $urlDestinationDetailsType = GoalUrlDestinationDetails::class; |
| 71 | protected $urlDestinationDetailsDataType = ''; |
| 72 | /** |
| 73 | * @var float |
| 74 | */ |
| 75 | public $value; |
| 76 | protected $visitNumPagesDetailsType = GoalVisitNumPagesDetails::class; |
| 77 | protected $visitNumPagesDetailsDataType = ''; |
| 78 | protected $visitTimeOnSiteDetailsType = GoalVisitTimeOnSiteDetails::class; |
| 79 | protected $visitTimeOnSiteDetailsDataType = ''; |
| 80 | /** |
| 81 | * @var string |
| 82 | */ |
| 83 | public $webPropertyId; |
| 84 | |
| 85 | /** |
| 86 | * @param string |
| 87 | */ |
| 88 | public function setAccountId($accountId) |
| 89 | { |
| 90 | $this->accountId = $accountId; |
| 91 | } |
| 92 | /** |
| 93 | * @return string |
| 94 | */ |
| 95 | public function getAccountId() |
| 96 | { |
| 97 | return $this->accountId; |
| 98 | } |
| 99 | /** |
| 100 | * @param bool |
| 101 | */ |
| 102 | public function setActive($active) |
| 103 | { |
| 104 | $this->active = $active; |
| 105 | } |
| 106 | /** |
| 107 | * @return bool |
| 108 | */ |
| 109 | public function getActive() |
| 110 | { |
| 111 | return $this->active; |
| 112 | } |
| 113 | /** |
| 114 | * @param string |
| 115 | */ |
| 116 | public function setCreated($created) |
| 117 | { |
| 118 | $this->created = $created; |
| 119 | } |
| 120 | /** |
| 121 | * @return string |
| 122 | */ |
| 123 | public function getCreated() |
| 124 | { |
| 125 | return $this->created; |
| 126 | } |
| 127 | /** |
| 128 | * @param GoalEventDetails |
| 129 | */ |
| 130 | public function setEventDetails(GoalEventDetails $eventDetails) |
| 131 | { |
| 132 | $this->eventDetails = $eventDetails; |
| 133 | } |
| 134 | /** |
| 135 | * @return GoalEventDetails |
| 136 | */ |
| 137 | public function getEventDetails() |
| 138 | { |
| 139 | return $this->eventDetails; |
| 140 | } |
| 141 | /** |
| 142 | * @param string |
| 143 | */ |
| 144 | public function setId($id) |
| 145 | { |
| 146 | $this->id = $id; |
| 147 | } |
| 148 | /** |
| 149 | * @return string |
| 150 | */ |
| 151 | public function getId() |
| 152 | { |
| 153 | return $this->id; |
| 154 | } |
| 155 | /** |
| 156 | * @param string |
| 157 | */ |
| 158 | public function setInternalWebPropertyId($internalWebPropertyId) |
| 159 | { |
| 160 | $this->internalWebPropertyId = $internalWebPropertyId; |
| 161 | } |
| 162 | /** |
| 163 | * @return string |
| 164 | */ |
| 165 | public function getInternalWebPropertyId() |
| 166 | { |
| 167 | return $this->internalWebPropertyId; |
| 168 | } |
| 169 | /** |
| 170 | * @param string |
| 171 | */ |
| 172 | public function setKind($kind) |
| 173 | { |
| 174 | $this->kind = $kind; |
| 175 | } |
| 176 | /** |
| 177 | * @return string |
| 178 | */ |
| 179 | public function getKind() |
| 180 | { |
| 181 | return $this->kind; |
| 182 | } |
| 183 | /** |
| 184 | * @param string |
| 185 | */ |
| 186 | public function setName($name) |
| 187 | { |
| 188 | $this->name = $name; |
| 189 | } |
| 190 | /** |
| 191 | * @return string |
| 192 | */ |
| 193 | public function getName() |
| 194 | { |
| 195 | return $this->name; |
| 196 | } |
| 197 | /** |
| 198 | * @param GoalParentLink |
| 199 | */ |
| 200 | public function setParentLink(GoalParentLink $parentLink) |
| 201 | { |
| 202 | $this->parentLink = $parentLink; |
| 203 | } |
| 204 | /** |
| 205 | * @return GoalParentLink |
| 206 | */ |
| 207 | public function getParentLink() |
| 208 | { |
| 209 | return $this->parentLink; |
| 210 | } |
| 211 | /** |
| 212 | * @param string |
| 213 | */ |
| 214 | public function setProfileId($profileId) |
| 215 | { |
| 216 | $this->profileId = $profileId; |
| 217 | } |
| 218 | /** |
| 219 | * @return string |
| 220 | */ |
| 221 | public function getProfileId() |
| 222 | { |
| 223 | return $this->profileId; |
| 224 | } |
| 225 | /** |
| 226 | * @param string |
| 227 | */ |
| 228 | public function setSelfLink($selfLink) |
| 229 | { |
| 230 | $this->selfLink = $selfLink; |
| 231 | } |
| 232 | /** |
| 233 | * @return string |
| 234 | */ |
| 235 | public function getSelfLink() |
| 236 | { |
| 237 | return $this->selfLink; |
| 238 | } |
| 239 | /** |
| 240 | * @param string |
| 241 | */ |
| 242 | public function setType($type) |
| 243 | { |
| 244 | $this->type = $type; |
| 245 | } |
| 246 | /** |
| 247 | * @return string |
| 248 | */ |
| 249 | public function getType() |
| 250 | { |
| 251 | return $this->type; |
| 252 | } |
| 253 | /** |
| 254 | * @param string |
| 255 | */ |
| 256 | public function setUpdated($updated) |
| 257 | { |
| 258 | $this->updated = $updated; |
| 259 | } |
| 260 | /** |
| 261 | * @return string |
| 262 | */ |
| 263 | public function getUpdated() |
| 264 | { |
| 265 | return $this->updated; |
| 266 | } |
| 267 | /** |
| 268 | * @param GoalUrlDestinationDetails |
| 269 | */ |
| 270 | public function setUrlDestinationDetails(GoalUrlDestinationDetails $urlDestinationDetails) |
| 271 | { |
| 272 | $this->urlDestinationDetails = $urlDestinationDetails; |
| 273 | } |
| 274 | /** |
| 275 | * @return GoalUrlDestinationDetails |
| 276 | */ |
| 277 | public function getUrlDestinationDetails() |
| 278 | { |
| 279 | return $this->urlDestinationDetails; |
| 280 | } |
| 281 | /** |
| 282 | * @param float |
| 283 | */ |
| 284 | public function setValue($value) |
| 285 | { |
| 286 | $this->value = $value; |
| 287 | } |
| 288 | /** |
| 289 | * @return float |
| 290 | */ |
| 291 | public function getValue() |
| 292 | { |
| 293 | return $this->value; |
| 294 | } |
| 295 | /** |
| 296 | * @param GoalVisitNumPagesDetails |
| 297 | */ |
| 298 | public function setVisitNumPagesDetails(GoalVisitNumPagesDetails $visitNumPagesDetails) |
| 299 | { |
| 300 | $this->visitNumPagesDetails = $visitNumPagesDetails; |
| 301 | } |
| 302 | /** |
| 303 | * @return GoalVisitNumPagesDetails |
| 304 | */ |
| 305 | public function getVisitNumPagesDetails() |
| 306 | { |
| 307 | return $this->visitNumPagesDetails; |
| 308 | } |
| 309 | /** |
| 310 | * @param GoalVisitTimeOnSiteDetails |
| 311 | */ |
| 312 | public function setVisitTimeOnSiteDetails(GoalVisitTimeOnSiteDetails $visitTimeOnSiteDetails) |
| 313 | { |
| 314 | $this->visitTimeOnSiteDetails = $visitTimeOnSiteDetails; |
| 315 | } |
| 316 | /** |
| 317 | * @return GoalVisitTimeOnSiteDetails |
| 318 | */ |
| 319 | public function getVisitTimeOnSiteDetails() |
| 320 | { |
| 321 | return $this->visitTimeOnSiteDetails; |
| 322 | } |
| 323 | /** |
| 324 | * @param string |
| 325 | */ |
| 326 | public function setWebPropertyId($webPropertyId) |
| 327 | { |
| 328 | $this->webPropertyId = $webPropertyId; |
| 329 | } |
| 330 | /** |
| 331 | * @return string |
| 332 | */ |
| 333 | public function getWebPropertyId() |
| 334 | { |
| 335 | return $this->webPropertyId; |
| 336 | } |
| 337 | } |
| 338 | |
| 339 | // Adding a class alias for backwards compatibility with the previous class name. |
| 340 | class_alias(Goal::class, 'Google_Service_Analytics_Goal'); |
| 341 |