diff --git a/packages/apiclient-services-analyticsadmin-v1beta/composer.json b/packages/apiclient-services-analyticsadmin-v1beta/composer.json new file mode 100644 index 00000000000..8da389cac61 --- /dev/null +++ b/packages/apiclient-services-analyticsadmin-v1beta/composer.json @@ -0,0 +1,4 @@ +{ + "name": "google/apiclient-services-analyticsadmin-v1beta", + "version": "dev-latest" +} diff --git a/packages/apiclient-services-analyticsadmin-v1beta/src/GoogleAnalyticsAdmin.php b/packages/apiclient-services-analyticsadmin-v1beta/src/GoogleAnalyticsAdmin.php new file mode 100644 index 00000000000..38cf60a5c9f --- /dev/null +++ b/packages/apiclient-services-analyticsadmin-v1beta/src/GoogleAnalyticsAdmin.php @@ -0,0 +1,857 @@ + + * Manage properties in Google Analytics. Warning: Creating multiple Customer + * Applications, Accounts, or Projects to simulate or act as a single Customer + * Application, Account, or Project (respectively) or to circumvent Service- + * specific usage limits or quotas is a direct violation of Google Cloud + * Platform Terms of Service as well as Google APIs Terms of Service. These + * actions can result in immediate termination of your GCP project(s) without + * any warning.
+ * + *+ * For more information about this service, see the API + * Documentation + *
+ * + * @author Google, Inc. + */ +class GoogleAnalyticsAdmin extends \Google\Service +{ + /** Edit Google Analytics management entities. */ + const ANALYTICS_EDIT = + "https://www.googleapis.com/auth/analytics.edit"; + /** See and download your Google Analytics data. */ + const ANALYTICS_READONLY = + "https://www.googleapis.com/auth/analytics.readonly"; + + public $accountSummaries; + public $accounts; + public $properties; + public $properties_conversionEvents; + public $properties_customDimensions; + public $properties_customMetrics; + public $properties_dataStreams; + public $properties_dataStreams_measurementProtocolSecrets; + public $properties_firebaseLinks; + public $properties_googleAdsLinks; + public $properties_keyEvents; + public $rootUrlTemplate; + + /** + * Constructs the internal representation of the GoogleAnalyticsAdmin service. + * + * @param Client|array $clientOrConfig The client used to deliver requests, or a + * config array to pass to a new Client instance. + * @param string $rootUrl The root URL used for requests to the service. + */ + public function __construct($clientOrConfig = [], $rootUrl = null) + { + parent::__construct($clientOrConfig); + $this->rootUrl = $rootUrl ?: 'https://analyticsadmin.googleapis.com/'; + $this->rootUrlTemplate = $rootUrl ?: 'https://analyticsadmin.UNIVERSE_DOMAIN/'; + $this->servicePath = ''; + $this->batchPath = 'batch'; + $this->version = 'v1beta'; + $this->serviceName = 'analyticsadmin'; + + $this->accountSummaries = new GoogleAnalyticsAdmin\Resource\AccountSummaries( + $this, + $this->serviceName, + 'accountSummaries', + [ + 'methods' => [ + 'list' => [ + 'path' => 'v1beta/accountSummaries', + 'httpMethod' => 'GET', + 'parameters' => [ + 'pageSize' => [ + 'location' => 'query', + 'type' => 'integer', + ], + 'pageToken' => [ + 'location' => 'query', + 'type' => 'string', + ], + ], + ], + ] + ] + ); + $this->accounts = new GoogleAnalyticsAdmin\Resource\Accounts( + $this, + $this->serviceName, + 'accounts', + [ + 'methods' => [ + 'delete' => [ + 'path' => 'v1beta/{+name}', + 'httpMethod' => 'DELETE', + 'parameters' => [ + 'name' => [ + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ], + ], + ],'get' => [ + 'path' => 'v1beta/{+name}', + 'httpMethod' => 'GET', + 'parameters' => [ + 'name' => [ + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ], + ], + ],'getDataSharingSettings' => [ + 'path' => 'v1beta/{+name}', + 'httpMethod' => 'GET', + 'parameters' => [ + 'name' => [ + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ], + ], + ],'list' => [ + 'path' => 'v1beta/accounts', + 'httpMethod' => 'GET', + 'parameters' => [ + 'pageSize' => [ + 'location' => 'query', + 'type' => 'integer', + ], + 'pageToken' => [ + 'location' => 'query', + 'type' => 'string', + ], + 'showDeleted' => [ + 'location' => 'query', + 'type' => 'boolean', + ], + ], + ],'patch' => [ + 'path' => 'v1beta/{+name}', + 'httpMethod' => 'PATCH', + 'parameters' => [ + 'name' => [ + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ], + 'updateMask' => [ + 'location' => 'query', + 'type' => 'string', + ], + ], + ],'provisionAccountTicket' => [ + 'path' => 'v1beta/accounts:provisionAccountTicket', + 'httpMethod' => 'POST', + 'parameters' => [], + ],'runAccessReport' => [ + 'path' => 'v1beta/{+entity}:runAccessReport', + 'httpMethod' => 'POST', + 'parameters' => [ + 'entity' => [ + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ], + ], + ],'searchChangeHistoryEvents' => [ + 'path' => 'v1beta/{+account}:searchChangeHistoryEvents', + 'httpMethod' => 'POST', + 'parameters' => [ + 'account' => [ + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ], + ], + ], + ] + ] + ); + $this->properties = new GoogleAnalyticsAdmin\Resource\Properties( + $this, + $this->serviceName, + 'properties', + [ + 'methods' => [ + 'acknowledgeUserDataCollection' => [ + 'path' => 'v1beta/{+property}:acknowledgeUserDataCollection', + 'httpMethod' => 'POST', + 'parameters' => [ + 'property' => [ + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ], + ], + ],'create' => [ + 'path' => 'v1beta/properties', + 'httpMethod' => 'POST', + 'parameters' => [], + ],'delete' => [ + 'path' => 'v1beta/{+name}', + 'httpMethod' => 'DELETE', + 'parameters' => [ + 'name' => [ + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ], + ], + ],'get' => [ + 'path' => 'v1beta/{+name}', + 'httpMethod' => 'GET', + 'parameters' => [ + 'name' => [ + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ], + ], + ],'getDataRetentionSettings' => [ + 'path' => 'v1beta/{+name}', + 'httpMethod' => 'GET', + 'parameters' => [ + 'name' => [ + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ], + ], + ],'list' => [ + 'path' => 'v1beta/properties', + 'httpMethod' => 'GET', + 'parameters' => [ + 'filter' => [ + 'location' => 'query', + 'type' => 'string', + ], + 'pageSize' => [ + 'location' => 'query', + 'type' => 'integer', + ], + 'pageToken' => [ + 'location' => 'query', + 'type' => 'string', + ], + 'showDeleted' => [ + 'location' => 'query', + 'type' => 'boolean', + ], + ], + ],'patch' => [ + 'path' => 'v1beta/{+name}', + 'httpMethod' => 'PATCH', + 'parameters' => [ + 'name' => [ + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ], + 'updateMask' => [ + 'location' => 'query', + 'type' => 'string', + ], + ], + ],'runAccessReport' => [ + 'path' => 'v1beta/{+entity}:runAccessReport', + 'httpMethod' => 'POST', + 'parameters' => [ + 'entity' => [ + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ], + ], + ],'updateDataRetentionSettings' => [ + 'path' => 'v1beta/{+name}', + 'httpMethod' => 'PATCH', + 'parameters' => [ + 'name' => [ + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ], + 'updateMask' => [ + 'location' => 'query', + 'type' => 'string', + ], + ], + ], + ] + ] + ); + $this->properties_conversionEvents = new GoogleAnalyticsAdmin\Resource\PropertiesConversionEvents( + $this, + $this->serviceName, + 'conversionEvents', + [ + 'methods' => [ + 'create' => [ + 'path' => 'v1beta/{+parent}/conversionEvents', + 'httpMethod' => 'POST', + 'parameters' => [ + 'parent' => [ + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ], + ], + ],'delete' => [ + 'path' => 'v1beta/{+name}', + 'httpMethod' => 'DELETE', + 'parameters' => [ + 'name' => [ + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ], + ], + ],'get' => [ + 'path' => 'v1beta/{+name}', + 'httpMethod' => 'GET', + 'parameters' => [ + 'name' => [ + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ], + ], + ],'list' => [ + 'path' => 'v1beta/{+parent}/conversionEvents', + 'httpMethod' => 'GET', + 'parameters' => [ + 'parent' => [ + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ], + 'pageSize' => [ + 'location' => 'query', + 'type' => 'integer', + ], + 'pageToken' => [ + 'location' => 'query', + 'type' => 'string', + ], + ], + ],'patch' => [ + 'path' => 'v1beta/{+name}', + 'httpMethod' => 'PATCH', + 'parameters' => [ + 'name' => [ + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ], + 'updateMask' => [ + 'location' => 'query', + 'type' => 'string', + ], + ], + ], + ] + ] + ); + $this->properties_customDimensions = new GoogleAnalyticsAdmin\Resource\PropertiesCustomDimensions( + $this, + $this->serviceName, + 'customDimensions', + [ + 'methods' => [ + 'archive' => [ + 'path' => 'v1beta/{+name}:archive', + 'httpMethod' => 'POST', + 'parameters' => [ + 'name' => [ + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ], + ], + ],'create' => [ + 'path' => 'v1beta/{+parent}/customDimensions', + 'httpMethod' => 'POST', + 'parameters' => [ + 'parent' => [ + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ], + ], + ],'get' => [ + 'path' => 'v1beta/{+name}', + 'httpMethod' => 'GET', + 'parameters' => [ + 'name' => [ + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ], + ], + ],'list' => [ + 'path' => 'v1beta/{+parent}/customDimensions', + 'httpMethod' => 'GET', + 'parameters' => [ + 'parent' => [ + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ], + 'pageSize' => [ + 'location' => 'query', + 'type' => 'integer', + ], + 'pageToken' => [ + 'location' => 'query', + 'type' => 'string', + ], + ], + ],'patch' => [ + 'path' => 'v1beta/{+name}', + 'httpMethod' => 'PATCH', + 'parameters' => [ + 'name' => [ + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ], + 'updateMask' => [ + 'location' => 'query', + 'type' => 'string', + ], + ], + ], + ] + ] + ); + $this->properties_customMetrics = new GoogleAnalyticsAdmin\Resource\PropertiesCustomMetrics( + $this, + $this->serviceName, + 'customMetrics', + [ + 'methods' => [ + 'archive' => [ + 'path' => 'v1beta/{+name}:archive', + 'httpMethod' => 'POST', + 'parameters' => [ + 'name' => [ + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ], + ], + ],'create' => [ + 'path' => 'v1beta/{+parent}/customMetrics', + 'httpMethod' => 'POST', + 'parameters' => [ + 'parent' => [ + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ], + ], + ],'get' => [ + 'path' => 'v1beta/{+name}', + 'httpMethod' => 'GET', + 'parameters' => [ + 'name' => [ + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ], + ], + ],'list' => [ + 'path' => 'v1beta/{+parent}/customMetrics', + 'httpMethod' => 'GET', + 'parameters' => [ + 'parent' => [ + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ], + 'pageSize' => [ + 'location' => 'query', + 'type' => 'integer', + ], + 'pageToken' => [ + 'location' => 'query', + 'type' => 'string', + ], + ], + ],'patch' => [ + 'path' => 'v1beta/{+name}', + 'httpMethod' => 'PATCH', + 'parameters' => [ + 'name' => [ + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ], + 'updateMask' => [ + 'location' => 'query', + 'type' => 'string', + ], + ], + ], + ] + ] + ); + $this->properties_dataStreams = new GoogleAnalyticsAdmin\Resource\PropertiesDataStreams( + $this, + $this->serviceName, + 'dataStreams', + [ + 'methods' => [ + 'create' => [ + 'path' => 'v1beta/{+parent}/dataStreams', + 'httpMethod' => 'POST', + 'parameters' => [ + 'parent' => [ + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ], + ], + ],'delete' => [ + 'path' => 'v1beta/{+name}', + 'httpMethod' => 'DELETE', + 'parameters' => [ + 'name' => [ + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ], + ], + ],'get' => [ + 'path' => 'v1beta/{+name}', + 'httpMethod' => 'GET', + 'parameters' => [ + 'name' => [ + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ], + ], + ],'list' => [ + 'path' => 'v1beta/{+parent}/dataStreams', + 'httpMethod' => 'GET', + 'parameters' => [ + 'parent' => [ + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ], + 'pageSize' => [ + 'location' => 'query', + 'type' => 'integer', + ], + 'pageToken' => [ + 'location' => 'query', + 'type' => 'string', + ], + ], + ],'patch' => [ + 'path' => 'v1beta/{+name}', + 'httpMethod' => 'PATCH', + 'parameters' => [ + 'name' => [ + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ], + 'updateMask' => [ + 'location' => 'query', + 'type' => 'string', + ], + ], + ], + ] + ] + ); + $this->properties_dataStreams_measurementProtocolSecrets = new GoogleAnalyticsAdmin\Resource\PropertiesDataStreamsMeasurementProtocolSecrets( + $this, + $this->serviceName, + 'measurementProtocolSecrets', + [ + 'methods' => [ + 'create' => [ + 'path' => 'v1beta/{+parent}/measurementProtocolSecrets', + 'httpMethod' => 'POST', + 'parameters' => [ + 'parent' => [ + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ], + ], + ],'delete' => [ + 'path' => 'v1beta/{+name}', + 'httpMethod' => 'DELETE', + 'parameters' => [ + 'name' => [ + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ], + ], + ],'get' => [ + 'path' => 'v1beta/{+name}', + 'httpMethod' => 'GET', + 'parameters' => [ + 'name' => [ + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ], + ], + ],'list' => [ + 'path' => 'v1beta/{+parent}/measurementProtocolSecrets', + 'httpMethod' => 'GET', + 'parameters' => [ + 'parent' => [ + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ], + 'pageSize' => [ + 'location' => 'query', + 'type' => 'integer', + ], + 'pageToken' => [ + 'location' => 'query', + 'type' => 'string', + ], + ], + ],'patch' => [ + 'path' => 'v1beta/{+name}', + 'httpMethod' => 'PATCH', + 'parameters' => [ + 'name' => [ + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ], + 'updateMask' => [ + 'location' => 'query', + 'type' => 'string', + ], + ], + ], + ] + ] + ); + $this->properties_firebaseLinks = new GoogleAnalyticsAdmin\Resource\PropertiesFirebaseLinks( + $this, + $this->serviceName, + 'firebaseLinks', + [ + 'methods' => [ + 'create' => [ + 'path' => 'v1beta/{+parent}/firebaseLinks', + 'httpMethod' => 'POST', + 'parameters' => [ + 'parent' => [ + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ], + ], + ],'delete' => [ + 'path' => 'v1beta/{+name}', + 'httpMethod' => 'DELETE', + 'parameters' => [ + 'name' => [ + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ], + ], + ],'list' => [ + 'path' => 'v1beta/{+parent}/firebaseLinks', + 'httpMethod' => 'GET', + 'parameters' => [ + 'parent' => [ + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ], + 'pageSize' => [ + 'location' => 'query', + 'type' => 'integer', + ], + 'pageToken' => [ + 'location' => 'query', + 'type' => 'string', + ], + ], + ], + ] + ] + ); + $this->properties_googleAdsLinks = new GoogleAnalyticsAdmin\Resource\PropertiesGoogleAdsLinks( + $this, + $this->serviceName, + 'googleAdsLinks', + [ + 'methods' => [ + 'create' => [ + 'path' => 'v1beta/{+parent}/googleAdsLinks', + 'httpMethod' => 'POST', + 'parameters' => [ + 'parent' => [ + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ], + ], + ],'delete' => [ + 'path' => 'v1beta/{+name}', + 'httpMethod' => 'DELETE', + 'parameters' => [ + 'name' => [ + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ], + ], + ],'list' => [ + 'path' => 'v1beta/{+parent}/googleAdsLinks', + 'httpMethod' => 'GET', + 'parameters' => [ + 'parent' => [ + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ], + 'pageSize' => [ + 'location' => 'query', + 'type' => 'integer', + ], + 'pageToken' => [ + 'location' => 'query', + 'type' => 'string', + ], + ], + ],'patch' => [ + 'path' => 'v1beta/{+name}', + 'httpMethod' => 'PATCH', + 'parameters' => [ + 'name' => [ + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ], + 'updateMask' => [ + 'location' => 'query', + 'type' => 'string', + ], + ], + ], + ] + ] + ); + $this->properties_keyEvents = new GoogleAnalyticsAdmin\Resource\PropertiesKeyEvents( + $this, + $this->serviceName, + 'keyEvents', + [ + 'methods' => [ + 'create' => [ + 'path' => 'v1beta/{+parent}/keyEvents', + 'httpMethod' => 'POST', + 'parameters' => [ + 'parent' => [ + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ], + ], + ],'delete' => [ + 'path' => 'v1beta/{+name}', + 'httpMethod' => 'DELETE', + 'parameters' => [ + 'name' => [ + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ], + ], + ],'get' => [ + 'path' => 'v1beta/{+name}', + 'httpMethod' => 'GET', + 'parameters' => [ + 'name' => [ + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ], + ], + ],'list' => [ + 'path' => 'v1beta/{+parent}/keyEvents', + 'httpMethod' => 'GET', + 'parameters' => [ + 'parent' => [ + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ], + 'pageSize' => [ + 'location' => 'query', + 'type' => 'integer', + ], + 'pageToken' => [ + 'location' => 'query', + 'type' => 'string', + ], + ], + ],'patch' => [ + 'path' => 'v1beta/{+name}', + 'httpMethod' => 'PATCH', + 'parameters' => [ + 'name' => [ + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ], + 'updateMask' => [ + 'location' => 'query', + 'type' => 'string', + ], + ], + ], + ] + ] + ); + } +} + +// Adding a class alias for backwards compatibility with the previous class name. +class_alias(GoogleAnalyticsAdmin::class, 'Google_Service_GoogleAnalyticsAdmin'); diff --git a/packages/apiclient-services-analyticsadmin-v1beta/src/GoogleAnalyticsAdmin/GoogleAnalyticsAdminV1betaAccessBetweenFilter.php b/packages/apiclient-services-analyticsadmin-v1beta/src/GoogleAnalyticsAdmin/GoogleAnalyticsAdminV1betaAccessBetweenFilter.php new file mode 100644 index 00000000000..4f067fefd2d --- /dev/null +++ b/packages/apiclient-services-analyticsadmin-v1beta/src/GoogleAnalyticsAdmin/GoogleAnalyticsAdminV1betaAccessBetweenFilter.php @@ -0,0 +1,58 @@ +fromValue = $fromValue; + } + /** + * @return GoogleAnalyticsAdminV1betaNumericValue + */ + public function getFromValue() + { + return $this->fromValue; + } + /** + * @param GoogleAnalyticsAdminV1betaNumericValue + */ + public function setToValue(GoogleAnalyticsAdminV1betaNumericValue $toValue) + { + $this->toValue = $toValue; + } + /** + * @return GoogleAnalyticsAdminV1betaNumericValue + */ + public function getToValue() + { + return $this->toValue; + } +} + +// Adding a class alias for backwards compatibility with the previous class name. +class_alias(GoogleAnalyticsAdminV1betaAccessBetweenFilter::class, 'Google_Service_GoogleAnalyticsAdmin_GoogleAnalyticsAdminV1betaAccessBetweenFilter'); diff --git a/packages/apiclient-services-analyticsadmin-v1beta/src/GoogleAnalyticsAdmin/GoogleAnalyticsAdminV1betaAccessDateRange.php b/packages/apiclient-services-analyticsadmin-v1beta/src/GoogleAnalyticsAdmin/GoogleAnalyticsAdminV1betaAccessDateRange.php new file mode 100644 index 00000000000..5792923b8e2 --- /dev/null +++ b/packages/apiclient-services-analyticsadmin-v1beta/src/GoogleAnalyticsAdmin/GoogleAnalyticsAdminV1betaAccessDateRange.php @@ -0,0 +1,62 @@ +endDate = $endDate; + } + /** + * @return string + */ + public function getEndDate() + { + return $this->endDate; + } + /** + * @param string + */ + public function setStartDate($startDate) + { + $this->startDate = $startDate; + } + /** + * @return string + */ + public function getStartDate() + { + return $this->startDate; + } +} + +// Adding a class alias for backwards compatibility with the previous class name. +class_alias(GoogleAnalyticsAdminV1betaAccessDateRange::class, 'Google_Service_GoogleAnalyticsAdmin_GoogleAnalyticsAdminV1betaAccessDateRange'); diff --git a/packages/apiclient-services-analyticsadmin-v1beta/src/GoogleAnalyticsAdmin/GoogleAnalyticsAdminV1betaAccessDimension.php b/packages/apiclient-services-analyticsadmin-v1beta/src/GoogleAnalyticsAdmin/GoogleAnalyticsAdminV1betaAccessDimension.php new file mode 100644 index 00000000000..da1534e617a --- /dev/null +++ b/packages/apiclient-services-analyticsadmin-v1beta/src/GoogleAnalyticsAdmin/GoogleAnalyticsAdminV1betaAccessDimension.php @@ -0,0 +1,44 @@ +dimensionName = $dimensionName; + } + /** + * @return string + */ + public function getDimensionName() + { + return $this->dimensionName; + } +} + +// Adding a class alias for backwards compatibility with the previous class name. +class_alias(GoogleAnalyticsAdminV1betaAccessDimension::class, 'Google_Service_GoogleAnalyticsAdmin_GoogleAnalyticsAdminV1betaAccessDimension'); diff --git a/packages/apiclient-services-analyticsadmin-v1beta/src/GoogleAnalyticsAdmin/GoogleAnalyticsAdminV1betaAccessDimensionHeader.php b/packages/apiclient-services-analyticsadmin-v1beta/src/GoogleAnalyticsAdmin/GoogleAnalyticsAdminV1betaAccessDimensionHeader.php new file mode 100644 index 00000000000..aacdee3ef2d --- /dev/null +++ b/packages/apiclient-services-analyticsadmin-v1beta/src/GoogleAnalyticsAdmin/GoogleAnalyticsAdminV1betaAccessDimensionHeader.php @@ -0,0 +1,44 @@ +dimensionName = $dimensionName; + } + /** + * @return string + */ + public function getDimensionName() + { + return $this->dimensionName; + } +} + +// Adding a class alias for backwards compatibility with the previous class name. +class_alias(GoogleAnalyticsAdminV1betaAccessDimensionHeader::class, 'Google_Service_GoogleAnalyticsAdmin_GoogleAnalyticsAdminV1betaAccessDimensionHeader'); diff --git a/packages/apiclient-services-analyticsadmin-v1beta/src/GoogleAnalyticsAdmin/GoogleAnalyticsAdminV1betaAccessDimensionValue.php b/packages/apiclient-services-analyticsadmin-v1beta/src/GoogleAnalyticsAdmin/GoogleAnalyticsAdminV1betaAccessDimensionValue.php new file mode 100644 index 00000000000..dffb063a57c --- /dev/null +++ b/packages/apiclient-services-analyticsadmin-v1beta/src/GoogleAnalyticsAdmin/GoogleAnalyticsAdminV1betaAccessDimensionValue.php @@ -0,0 +1,44 @@ +value = $value; + } + /** + * @return string + */ + public function getValue() + { + return $this->value; + } +} + +// Adding a class alias for backwards compatibility with the previous class name. +class_alias(GoogleAnalyticsAdminV1betaAccessDimensionValue::class, 'Google_Service_GoogleAnalyticsAdmin_GoogleAnalyticsAdminV1betaAccessDimensionValue'); diff --git a/packages/apiclient-services-analyticsadmin-v1beta/src/GoogleAnalyticsAdmin/GoogleAnalyticsAdminV1betaAccessFilter.php b/packages/apiclient-services-analyticsadmin-v1beta/src/GoogleAnalyticsAdmin/GoogleAnalyticsAdminV1betaAccessFilter.php new file mode 100644 index 00000000000..13f7ce728b2 --- /dev/null +++ b/packages/apiclient-services-analyticsadmin-v1beta/src/GoogleAnalyticsAdmin/GoogleAnalyticsAdminV1betaAccessFilter.php @@ -0,0 +1,108 @@ +betweenFilter = $betweenFilter; + } + /** + * @return GoogleAnalyticsAdminV1betaAccessBetweenFilter + */ + public function getBetweenFilter() + { + return $this->betweenFilter; + } + /** + * @param string + */ + public function setFieldName($fieldName) + { + $this->fieldName = $fieldName; + } + /** + * @return string + */ + public function getFieldName() + { + return $this->fieldName; + } + /** + * @param GoogleAnalyticsAdminV1betaAccessInListFilter + */ + public function setInListFilter(GoogleAnalyticsAdminV1betaAccessInListFilter $inListFilter) + { + $this->inListFilter = $inListFilter; + } + /** + * @return GoogleAnalyticsAdminV1betaAccessInListFilter + */ + public function getInListFilter() + { + return $this->inListFilter; + } + /** + * @param GoogleAnalyticsAdminV1betaAccessNumericFilter + */ + public function setNumericFilter(GoogleAnalyticsAdminV1betaAccessNumericFilter $numericFilter) + { + $this->numericFilter = $numericFilter; + } + /** + * @return GoogleAnalyticsAdminV1betaAccessNumericFilter + */ + public function getNumericFilter() + { + return $this->numericFilter; + } + /** + * @param GoogleAnalyticsAdminV1betaAccessStringFilter + */ + public function setStringFilter(GoogleAnalyticsAdminV1betaAccessStringFilter $stringFilter) + { + $this->stringFilter = $stringFilter; + } + /** + * @return GoogleAnalyticsAdminV1betaAccessStringFilter + */ + public function getStringFilter() + { + return $this->stringFilter; + } +} + +// Adding a class alias for backwards compatibility with the previous class name. +class_alias(GoogleAnalyticsAdminV1betaAccessFilter::class, 'Google_Service_GoogleAnalyticsAdmin_GoogleAnalyticsAdminV1betaAccessFilter'); diff --git a/packages/apiclient-services-analyticsadmin-v1beta/src/GoogleAnalyticsAdmin/GoogleAnalyticsAdminV1betaAccessFilterExpression.php b/packages/apiclient-services-analyticsadmin-v1beta/src/GoogleAnalyticsAdmin/GoogleAnalyticsAdminV1betaAccessFilterExpression.php new file mode 100644 index 00000000000..25b702f2fb8 --- /dev/null +++ b/packages/apiclient-services-analyticsadmin-v1beta/src/GoogleAnalyticsAdmin/GoogleAnalyticsAdminV1betaAccessFilterExpression.php @@ -0,0 +1,90 @@ +accessFilter = $accessFilter; + } + /** + * @return GoogleAnalyticsAdminV1betaAccessFilter + */ + public function getAccessFilter() + { + return $this->accessFilter; + } + /** + * @param GoogleAnalyticsAdminV1betaAccessFilterExpressionList + */ + public function setAndGroup(GoogleAnalyticsAdminV1betaAccessFilterExpressionList $andGroup) + { + $this->andGroup = $andGroup; + } + /** + * @return GoogleAnalyticsAdminV1betaAccessFilterExpressionList + */ + public function getAndGroup() + { + return $this->andGroup; + } + /** + * @param GoogleAnalyticsAdminV1betaAccessFilterExpression + */ + public function setNotExpression(GoogleAnalyticsAdminV1betaAccessFilterExpression $notExpression) + { + $this->notExpression = $notExpression; + } + /** + * @return GoogleAnalyticsAdminV1betaAccessFilterExpression + */ + public function getNotExpression() + { + return $this->notExpression; + } + /** + * @param GoogleAnalyticsAdminV1betaAccessFilterExpressionList + */ + public function setOrGroup(GoogleAnalyticsAdminV1betaAccessFilterExpressionList $orGroup) + { + $this->orGroup = $orGroup; + } + /** + * @return GoogleAnalyticsAdminV1betaAccessFilterExpressionList + */ + public function getOrGroup() + { + return $this->orGroup; + } +} + +// Adding a class alias for backwards compatibility with the previous class name. +class_alias(GoogleAnalyticsAdminV1betaAccessFilterExpression::class, 'Google_Service_GoogleAnalyticsAdmin_GoogleAnalyticsAdminV1betaAccessFilterExpression'); diff --git a/packages/apiclient-services-analyticsadmin-v1beta/src/GoogleAnalyticsAdmin/GoogleAnalyticsAdminV1betaAccessFilterExpressionList.php b/packages/apiclient-services-analyticsadmin-v1beta/src/GoogleAnalyticsAdmin/GoogleAnalyticsAdminV1betaAccessFilterExpressionList.php new file mode 100644 index 00000000000..22c4cc2ca68 --- /dev/null +++ b/packages/apiclient-services-analyticsadmin-v1beta/src/GoogleAnalyticsAdmin/GoogleAnalyticsAdminV1betaAccessFilterExpressionList.php @@ -0,0 +1,43 @@ +expressions = $expressions; + } + /** + * @return GoogleAnalyticsAdminV1betaAccessFilterExpression[] + */ + public function getExpressions() + { + return $this->expressions; + } +} + +// Adding a class alias for backwards compatibility with the previous class name. +class_alias(GoogleAnalyticsAdminV1betaAccessFilterExpressionList::class, 'Google_Service_GoogleAnalyticsAdmin_GoogleAnalyticsAdminV1betaAccessFilterExpressionList'); diff --git a/packages/apiclient-services-analyticsadmin-v1beta/src/GoogleAnalyticsAdmin/GoogleAnalyticsAdminV1betaAccessInListFilter.php b/packages/apiclient-services-analyticsadmin-v1beta/src/GoogleAnalyticsAdmin/GoogleAnalyticsAdminV1betaAccessInListFilter.php new file mode 100644 index 00000000000..bae94fb6f7f --- /dev/null +++ b/packages/apiclient-services-analyticsadmin-v1beta/src/GoogleAnalyticsAdmin/GoogleAnalyticsAdminV1betaAccessInListFilter.php @@ -0,0 +1,63 @@ +caseSensitive = $caseSensitive; + } + /** + * @return bool + */ + public function getCaseSensitive() + { + return $this->caseSensitive; + } + /** + * @param string[] + */ + public function setValues($values) + { + $this->values = $values; + } + /** + * @return string[] + */ + public function getValues() + { + return $this->values; + } +} + +// Adding a class alias for backwards compatibility with the previous class name. +class_alias(GoogleAnalyticsAdminV1betaAccessInListFilter::class, 'Google_Service_GoogleAnalyticsAdmin_GoogleAnalyticsAdminV1betaAccessInListFilter'); diff --git a/packages/apiclient-services-analyticsadmin-v1beta/src/GoogleAnalyticsAdmin/GoogleAnalyticsAdminV1betaAccessMetric.php b/packages/apiclient-services-analyticsadmin-v1beta/src/GoogleAnalyticsAdmin/GoogleAnalyticsAdminV1betaAccessMetric.php new file mode 100644 index 00000000000..d2bc9a2f164 --- /dev/null +++ b/packages/apiclient-services-analyticsadmin-v1beta/src/GoogleAnalyticsAdmin/GoogleAnalyticsAdminV1betaAccessMetric.php @@ -0,0 +1,44 @@ +metricName = $metricName; + } + /** + * @return string + */ + public function getMetricName() + { + return $this->metricName; + } +} + +// Adding a class alias for backwards compatibility with the previous class name. +class_alias(GoogleAnalyticsAdminV1betaAccessMetric::class, 'Google_Service_GoogleAnalyticsAdmin_GoogleAnalyticsAdminV1betaAccessMetric'); diff --git a/packages/apiclient-services-analyticsadmin-v1beta/src/GoogleAnalyticsAdmin/GoogleAnalyticsAdminV1betaAccessMetricHeader.php b/packages/apiclient-services-analyticsadmin-v1beta/src/GoogleAnalyticsAdmin/GoogleAnalyticsAdminV1betaAccessMetricHeader.php new file mode 100644 index 00000000000..bc6bebd30c4 --- /dev/null +++ b/packages/apiclient-services-analyticsadmin-v1beta/src/GoogleAnalyticsAdmin/GoogleAnalyticsAdminV1betaAccessMetricHeader.php @@ -0,0 +1,44 @@ +metricName = $metricName; + } + /** + * @return string + */ + public function getMetricName() + { + return $this->metricName; + } +} + +// Adding a class alias for backwards compatibility with the previous class name. +class_alias(GoogleAnalyticsAdminV1betaAccessMetricHeader::class, 'Google_Service_GoogleAnalyticsAdmin_GoogleAnalyticsAdminV1betaAccessMetricHeader'); diff --git a/packages/apiclient-services-analyticsadmin-v1beta/src/GoogleAnalyticsAdmin/GoogleAnalyticsAdminV1betaAccessMetricValue.php b/packages/apiclient-services-analyticsadmin-v1beta/src/GoogleAnalyticsAdmin/GoogleAnalyticsAdminV1betaAccessMetricValue.php new file mode 100644 index 00000000000..a11cb512016 --- /dev/null +++ b/packages/apiclient-services-analyticsadmin-v1beta/src/GoogleAnalyticsAdmin/GoogleAnalyticsAdminV1betaAccessMetricValue.php @@ -0,0 +1,44 @@ +value = $value; + } + /** + * @return string + */ + public function getValue() + { + return $this->value; + } +} + +// Adding a class alias for backwards compatibility with the previous class name. +class_alias(GoogleAnalyticsAdminV1betaAccessMetricValue::class, 'Google_Service_GoogleAnalyticsAdmin_GoogleAnalyticsAdminV1betaAccessMetricValue'); diff --git a/packages/apiclient-services-analyticsadmin-v1beta/src/GoogleAnalyticsAdmin/GoogleAnalyticsAdminV1betaAccessNumericFilter.php b/packages/apiclient-services-analyticsadmin-v1beta/src/GoogleAnalyticsAdmin/GoogleAnalyticsAdminV1betaAccessNumericFilter.php new file mode 100644 index 00000000000..c3adffe1be4 --- /dev/null +++ b/packages/apiclient-services-analyticsadmin-v1beta/src/GoogleAnalyticsAdmin/GoogleAnalyticsAdminV1betaAccessNumericFilter.php @@ -0,0 +1,60 @@ +operation = $operation; + } + /** + * @return string + */ + public function getOperation() + { + return $this->operation; + } + /** + * @param GoogleAnalyticsAdminV1betaNumericValue + */ + public function setValue(GoogleAnalyticsAdminV1betaNumericValue $value) + { + $this->value = $value; + } + /** + * @return GoogleAnalyticsAdminV1betaNumericValue + */ + public function getValue() + { + return $this->value; + } +} + +// Adding a class alias for backwards compatibility with the previous class name. +class_alias(GoogleAnalyticsAdminV1betaAccessNumericFilter::class, 'Google_Service_GoogleAnalyticsAdmin_GoogleAnalyticsAdminV1betaAccessNumericFilter'); diff --git a/packages/apiclient-services-analyticsadmin-v1beta/src/GoogleAnalyticsAdmin/GoogleAnalyticsAdminV1betaAccessOrderBy.php b/packages/apiclient-services-analyticsadmin-v1beta/src/GoogleAnalyticsAdmin/GoogleAnalyticsAdminV1betaAccessOrderBy.php new file mode 100644 index 00000000000..8070c9b6b26 --- /dev/null +++ b/packages/apiclient-services-analyticsadmin-v1beta/src/GoogleAnalyticsAdmin/GoogleAnalyticsAdminV1betaAccessOrderBy.php @@ -0,0 +1,76 @@ +desc = $desc; + } + /** + * @return bool + */ + public function getDesc() + { + return $this->desc; + } + /** + * @param GoogleAnalyticsAdminV1betaAccessOrderByDimensionOrderBy + */ + public function setDimension(GoogleAnalyticsAdminV1betaAccessOrderByDimensionOrderBy $dimension) + { + $this->dimension = $dimension; + } + /** + * @return GoogleAnalyticsAdminV1betaAccessOrderByDimensionOrderBy + */ + public function getDimension() + { + return $this->dimension; + } + /** + * @param GoogleAnalyticsAdminV1betaAccessOrderByMetricOrderBy + */ + public function setMetric(GoogleAnalyticsAdminV1betaAccessOrderByMetricOrderBy $metric) + { + $this->metric = $metric; + } + /** + * @return GoogleAnalyticsAdminV1betaAccessOrderByMetricOrderBy + */ + public function getMetric() + { + return $this->metric; + } +} + +// Adding a class alias for backwards compatibility with the previous class name. +class_alias(GoogleAnalyticsAdminV1betaAccessOrderBy::class, 'Google_Service_GoogleAnalyticsAdmin_GoogleAnalyticsAdminV1betaAccessOrderBy'); diff --git a/packages/apiclient-services-analyticsadmin-v1beta/src/GoogleAnalyticsAdmin/GoogleAnalyticsAdminV1betaAccessOrderByDimensionOrderBy.php b/packages/apiclient-services-analyticsadmin-v1beta/src/GoogleAnalyticsAdmin/GoogleAnalyticsAdminV1betaAccessOrderByDimensionOrderBy.php new file mode 100644 index 00000000000..7c494370b83 --- /dev/null +++ b/packages/apiclient-services-analyticsadmin-v1beta/src/GoogleAnalyticsAdmin/GoogleAnalyticsAdminV1betaAccessOrderByDimensionOrderBy.php @@ -0,0 +1,62 @@ +dimensionName = $dimensionName; + } + /** + * @return string + */ + public function getDimensionName() + { + return $this->dimensionName; + } + /** + * @param string + */ + public function setOrderType($orderType) + { + $this->orderType = $orderType; + } + /** + * @return string + */ + public function getOrderType() + { + return $this->orderType; + } +} + +// Adding a class alias for backwards compatibility with the previous class name. +class_alias(GoogleAnalyticsAdminV1betaAccessOrderByDimensionOrderBy::class, 'Google_Service_GoogleAnalyticsAdmin_GoogleAnalyticsAdminV1betaAccessOrderByDimensionOrderBy'); diff --git a/packages/apiclient-services-analyticsadmin-v1beta/src/GoogleAnalyticsAdmin/GoogleAnalyticsAdminV1betaAccessOrderByMetricOrderBy.php b/packages/apiclient-services-analyticsadmin-v1beta/src/GoogleAnalyticsAdmin/GoogleAnalyticsAdminV1betaAccessOrderByMetricOrderBy.php new file mode 100644 index 00000000000..309d0f3f687 --- /dev/null +++ b/packages/apiclient-services-analyticsadmin-v1beta/src/GoogleAnalyticsAdmin/GoogleAnalyticsAdminV1betaAccessOrderByMetricOrderBy.php @@ -0,0 +1,44 @@ +metricName = $metricName; + } + /** + * @return string + */ + public function getMetricName() + { + return $this->metricName; + } +} + +// Adding a class alias for backwards compatibility with the previous class name. +class_alias(GoogleAnalyticsAdminV1betaAccessOrderByMetricOrderBy::class, 'Google_Service_GoogleAnalyticsAdmin_GoogleAnalyticsAdminV1betaAccessOrderByMetricOrderBy'); diff --git a/packages/apiclient-services-analyticsadmin-v1beta/src/GoogleAnalyticsAdmin/GoogleAnalyticsAdminV1betaAccessQuota.php b/packages/apiclient-services-analyticsadmin-v1beta/src/GoogleAnalyticsAdmin/GoogleAnalyticsAdminV1betaAccessQuota.php new file mode 100644 index 00000000000..efa04ad71b4 --- /dev/null +++ b/packages/apiclient-services-analyticsadmin-v1beta/src/GoogleAnalyticsAdmin/GoogleAnalyticsAdminV1betaAccessQuota.php @@ -0,0 +1,106 @@ +concurrentRequests = $concurrentRequests; + } + /** + * @return GoogleAnalyticsAdminV1betaAccessQuotaStatus + */ + public function getConcurrentRequests() + { + return $this->concurrentRequests; + } + /** + * @param GoogleAnalyticsAdminV1betaAccessQuotaStatus + */ + public function setServerErrorsPerProjectPerHour(GoogleAnalyticsAdminV1betaAccessQuotaStatus $serverErrorsPerProjectPerHour) + { + $this->serverErrorsPerProjectPerHour = $serverErrorsPerProjectPerHour; + } + /** + * @return GoogleAnalyticsAdminV1betaAccessQuotaStatus + */ + public function getServerErrorsPerProjectPerHour() + { + return $this->serverErrorsPerProjectPerHour; + } + /** + * @param GoogleAnalyticsAdminV1betaAccessQuotaStatus + */ + public function setTokensPerDay(GoogleAnalyticsAdminV1betaAccessQuotaStatus $tokensPerDay) + { + $this->tokensPerDay = $tokensPerDay; + } + /** + * @return GoogleAnalyticsAdminV1betaAccessQuotaStatus + */ + public function getTokensPerDay() + { + return $this->tokensPerDay; + } + /** + * @param GoogleAnalyticsAdminV1betaAccessQuotaStatus + */ + public function setTokensPerHour(GoogleAnalyticsAdminV1betaAccessQuotaStatus $tokensPerHour) + { + $this->tokensPerHour = $tokensPerHour; + } + /** + * @return GoogleAnalyticsAdminV1betaAccessQuotaStatus + */ + public function getTokensPerHour() + { + return $this->tokensPerHour; + } + /** + * @param GoogleAnalyticsAdminV1betaAccessQuotaStatus + */ + public function setTokensPerProjectPerHour(GoogleAnalyticsAdminV1betaAccessQuotaStatus $tokensPerProjectPerHour) + { + $this->tokensPerProjectPerHour = $tokensPerProjectPerHour; + } + /** + * @return GoogleAnalyticsAdminV1betaAccessQuotaStatus + */ + public function getTokensPerProjectPerHour() + { + return $this->tokensPerProjectPerHour; + } +} + +// Adding a class alias for backwards compatibility with the previous class name. +class_alias(GoogleAnalyticsAdminV1betaAccessQuota::class, 'Google_Service_GoogleAnalyticsAdmin_GoogleAnalyticsAdminV1betaAccessQuota'); diff --git a/packages/apiclient-services-analyticsadmin-v1beta/src/GoogleAnalyticsAdmin/GoogleAnalyticsAdminV1betaAccessQuotaStatus.php b/packages/apiclient-services-analyticsadmin-v1beta/src/GoogleAnalyticsAdmin/GoogleAnalyticsAdminV1betaAccessQuotaStatus.php new file mode 100644 index 00000000000..ea441cc5ac9 --- /dev/null +++ b/packages/apiclient-services-analyticsadmin-v1beta/src/GoogleAnalyticsAdmin/GoogleAnalyticsAdminV1betaAccessQuotaStatus.php @@ -0,0 +1,62 @@ +consumed = $consumed; + } + /** + * @return int + */ + public function getConsumed() + { + return $this->consumed; + } + /** + * @param int + */ + public function setRemaining($remaining) + { + $this->remaining = $remaining; + } + /** + * @return int + */ + public function getRemaining() + { + return $this->remaining; + } +} + +// Adding a class alias for backwards compatibility with the previous class name. +class_alias(GoogleAnalyticsAdminV1betaAccessQuotaStatus::class, 'Google_Service_GoogleAnalyticsAdmin_GoogleAnalyticsAdminV1betaAccessQuotaStatus'); diff --git a/packages/apiclient-services-analyticsadmin-v1beta/src/GoogleAnalyticsAdmin/GoogleAnalyticsAdminV1betaAccessRow.php b/packages/apiclient-services-analyticsadmin-v1beta/src/GoogleAnalyticsAdmin/GoogleAnalyticsAdminV1betaAccessRow.php new file mode 100644 index 00000000000..20207c9635c --- /dev/null +++ b/packages/apiclient-services-analyticsadmin-v1beta/src/GoogleAnalyticsAdmin/GoogleAnalyticsAdminV1betaAccessRow.php @@ -0,0 +1,59 @@ +dimensionValues = $dimensionValues; + } + /** + * @return GoogleAnalyticsAdminV1betaAccessDimensionValue[] + */ + public function getDimensionValues() + { + return $this->dimensionValues; + } + /** + * @param GoogleAnalyticsAdminV1betaAccessMetricValue[] + */ + public function setMetricValues($metricValues) + { + $this->metricValues = $metricValues; + } + /** + * @return GoogleAnalyticsAdminV1betaAccessMetricValue[] + */ + public function getMetricValues() + { + return $this->metricValues; + } +} + +// Adding a class alias for backwards compatibility with the previous class name. +class_alias(GoogleAnalyticsAdminV1betaAccessRow::class, 'Google_Service_GoogleAnalyticsAdmin_GoogleAnalyticsAdminV1betaAccessRow'); diff --git a/packages/apiclient-services-analyticsadmin-v1beta/src/GoogleAnalyticsAdmin/GoogleAnalyticsAdminV1betaAccessStringFilter.php b/packages/apiclient-services-analyticsadmin-v1beta/src/GoogleAnalyticsAdmin/GoogleAnalyticsAdminV1betaAccessStringFilter.php new file mode 100644 index 00000000000..ec1f0d5e423 --- /dev/null +++ b/packages/apiclient-services-analyticsadmin-v1beta/src/GoogleAnalyticsAdmin/GoogleAnalyticsAdminV1betaAccessStringFilter.php @@ -0,0 +1,80 @@ +caseSensitive = $caseSensitive; + } + /** + * @return bool + */ + public function getCaseSensitive() + { + return $this->caseSensitive; + } + /** + * @param string + */ + public function setMatchType($matchType) + { + $this->matchType = $matchType; + } + /** + * @return string + */ + public function getMatchType() + { + return $this->matchType; + } + /** + * @param string + */ + public function setValue($value) + { + $this->value = $value; + } + /** + * @return string + */ + public function getValue() + { + return $this->value; + } +} + +// Adding a class alias for backwards compatibility with the previous class name. +class_alias(GoogleAnalyticsAdminV1betaAccessStringFilter::class, 'Google_Service_GoogleAnalyticsAdmin_GoogleAnalyticsAdminV1betaAccessStringFilter'); diff --git a/packages/apiclient-services-analyticsadmin-v1beta/src/GoogleAnalyticsAdmin/GoogleAnalyticsAdminV1betaAccount.php b/packages/apiclient-services-analyticsadmin-v1beta/src/GoogleAnalyticsAdmin/GoogleAnalyticsAdminV1betaAccount.php new file mode 100644 index 00000000000..a8b9b70526a --- /dev/null +++ b/packages/apiclient-services-analyticsadmin-v1beta/src/GoogleAnalyticsAdmin/GoogleAnalyticsAdminV1betaAccount.php @@ -0,0 +1,152 @@ +createTime = $createTime; + } + /** + * @return string + */ + public function getCreateTime() + { + return $this->createTime; + } + /** + * @param bool + */ + public function setDeleted($deleted) + { + $this->deleted = $deleted; + } + /** + * @return bool + */ + public function getDeleted() + { + return $this->deleted; + } + /** + * @param string + */ + public function setDisplayName($displayName) + { + $this->displayName = $displayName; + } + /** + * @return string + */ + public function getDisplayName() + { + return $this->displayName; + } + /** + * @param string + */ + public function setGmpOrganization($gmpOrganization) + { + $this->gmpOrganization = $gmpOrganization; + } + /** + * @return string + */ + public function getGmpOrganization() + { + return $this->gmpOrganization; + } + /** + * @param string + */ + public function setName($name) + { + $this->name = $name; + } + /** + * @return string + */ + public function getName() + { + return $this->name; + } + /** + * @param string + */ + public function setRegionCode($regionCode) + { + $this->regionCode = $regionCode; + } + /** + * @return string + */ + public function getRegionCode() + { + return $this->regionCode; + } + /** + * @param string + */ + public function setUpdateTime($updateTime) + { + $this->updateTime = $updateTime; + } + /** + * @return string + */ + public function getUpdateTime() + { + return $this->updateTime; + } +} + +// Adding a class alias for backwards compatibility with the previous class name. +class_alias(GoogleAnalyticsAdminV1betaAccount::class, 'Google_Service_GoogleAnalyticsAdmin_GoogleAnalyticsAdminV1betaAccount'); diff --git a/packages/apiclient-services-analyticsadmin-v1beta/src/GoogleAnalyticsAdmin/GoogleAnalyticsAdminV1betaAccountSummary.php b/packages/apiclient-services-analyticsadmin-v1beta/src/GoogleAnalyticsAdmin/GoogleAnalyticsAdminV1betaAccountSummary.php new file mode 100644 index 00000000000..29cf875402c --- /dev/null +++ b/packages/apiclient-services-analyticsadmin-v1beta/src/GoogleAnalyticsAdmin/GoogleAnalyticsAdminV1betaAccountSummary.php @@ -0,0 +1,97 @@ +account = $account; + } + /** + * @return string + */ + public function getAccount() + { + return $this->account; + } + /** + * @param string + */ + public function setDisplayName($displayName) + { + $this->displayName = $displayName; + } + /** + * @return string + */ + public function getDisplayName() + { + return $this->displayName; + } + /** + * @param string + */ + public function setName($name) + { + $this->name = $name; + } + /** + * @return string + */ + public function getName() + { + return $this->name; + } + /** + * @param GoogleAnalyticsAdminV1betaPropertySummary[] + */ + public function setPropertySummaries($propertySummaries) + { + $this->propertySummaries = $propertySummaries; + } + /** + * @return GoogleAnalyticsAdminV1betaPropertySummary[] + */ + public function getPropertySummaries() + { + return $this->propertySummaries; + } +} + +// Adding a class alias for backwards compatibility with the previous class name. +class_alias(GoogleAnalyticsAdminV1betaAccountSummary::class, 'Google_Service_GoogleAnalyticsAdmin_GoogleAnalyticsAdminV1betaAccountSummary'); diff --git a/packages/apiclient-services-analyticsadmin-v1beta/src/GoogleAnalyticsAdmin/GoogleAnalyticsAdminV1betaAcknowledgeUserDataCollectionRequest.php b/packages/apiclient-services-analyticsadmin-v1beta/src/GoogleAnalyticsAdmin/GoogleAnalyticsAdminV1betaAcknowledgeUserDataCollectionRequest.php new file mode 100644 index 00000000000..5eeaaeb44d9 --- /dev/null +++ b/packages/apiclient-services-analyticsadmin-v1beta/src/GoogleAnalyticsAdmin/GoogleAnalyticsAdminV1betaAcknowledgeUserDataCollectionRequest.php @@ -0,0 +1,44 @@ +acknowledgement = $acknowledgement; + } + /** + * @return string + */ + public function getAcknowledgement() + { + return $this->acknowledgement; + } +} + +// Adding a class alias for backwards compatibility with the previous class name. +class_alias(GoogleAnalyticsAdminV1betaAcknowledgeUserDataCollectionRequest::class, 'Google_Service_GoogleAnalyticsAdmin_GoogleAnalyticsAdminV1betaAcknowledgeUserDataCollectionRequest'); diff --git a/packages/apiclient-services-analyticsadmin-v1beta/src/GoogleAnalyticsAdmin/GoogleAnalyticsAdminV1betaAcknowledgeUserDataCollectionResponse.php b/packages/apiclient-services-analyticsadmin-v1beta/src/GoogleAnalyticsAdmin/GoogleAnalyticsAdminV1betaAcknowledgeUserDataCollectionResponse.php new file mode 100644 index 00000000000..45a6faa9168 --- /dev/null +++ b/packages/apiclient-services-analyticsadmin-v1beta/src/GoogleAnalyticsAdmin/GoogleAnalyticsAdminV1betaAcknowledgeUserDataCollectionResponse.php @@ -0,0 +1,25 @@ +action = $action; + } + /** + * @return string + */ + public function getAction() + { + return $this->action; + } + /** + * @param string + */ + public function setResource($resource) + { + $this->resource = $resource; + } + /** + * @return string + */ + public function getResource() + { + return $this->resource; + } + /** + * @param GoogleAnalyticsAdminV1betaChangeHistoryChangeChangeHistoryResource + */ + public function setResourceAfterChange(GoogleAnalyticsAdminV1betaChangeHistoryChangeChangeHistoryResource $resourceAfterChange) + { + $this->resourceAfterChange = $resourceAfterChange; + } + /** + * @return GoogleAnalyticsAdminV1betaChangeHistoryChangeChangeHistoryResource + */ + public function getResourceAfterChange() + { + return $this->resourceAfterChange; + } + /** + * @param GoogleAnalyticsAdminV1betaChangeHistoryChangeChangeHistoryResource + */ + public function setResourceBeforeChange(GoogleAnalyticsAdminV1betaChangeHistoryChangeChangeHistoryResource $resourceBeforeChange) + { + $this->resourceBeforeChange = $resourceBeforeChange; + } + /** + * @return GoogleAnalyticsAdminV1betaChangeHistoryChangeChangeHistoryResource + */ + public function getResourceBeforeChange() + { + return $this->resourceBeforeChange; + } +} + +// Adding a class alias for backwards compatibility with the previous class name. +class_alias(GoogleAnalyticsAdminV1betaChangeHistoryChange::class, 'Google_Service_GoogleAnalyticsAdmin_GoogleAnalyticsAdminV1betaChangeHistoryChange'); diff --git a/packages/apiclient-services-analyticsadmin-v1beta/src/GoogleAnalyticsAdmin/GoogleAnalyticsAdminV1betaChangeHistoryChangeChangeHistoryResource.php b/packages/apiclient-services-analyticsadmin-v1beta/src/GoogleAnalyticsAdmin/GoogleAnalyticsAdminV1betaChangeHistoryChangeChangeHistoryResource.php new file mode 100644 index 00000000000..4116eab75a4 --- /dev/null +++ b/packages/apiclient-services-analyticsadmin-v1beta/src/GoogleAnalyticsAdmin/GoogleAnalyticsAdminV1betaChangeHistoryChangeChangeHistoryResource.php @@ -0,0 +1,154 @@ +account = $account; + } + /** + * @return GoogleAnalyticsAdminV1betaAccount + */ + public function getAccount() + { + return $this->account; + } + /** + * @param GoogleAnalyticsAdminV1betaConversionEvent + */ + public function setConversionEvent(GoogleAnalyticsAdminV1betaConversionEvent $conversionEvent) + { + $this->conversionEvent = $conversionEvent; + } + /** + * @return GoogleAnalyticsAdminV1betaConversionEvent + */ + public function getConversionEvent() + { + return $this->conversionEvent; + } + /** + * @param GoogleAnalyticsAdminV1betaDataRetentionSettings + */ + public function setDataRetentionSettings(GoogleAnalyticsAdminV1betaDataRetentionSettings $dataRetentionSettings) + { + $this->dataRetentionSettings = $dataRetentionSettings; + } + /** + * @return GoogleAnalyticsAdminV1betaDataRetentionSettings + */ + public function getDataRetentionSettings() + { + return $this->dataRetentionSettings; + } + /** + * @param GoogleAnalyticsAdminV1betaDataStream + */ + public function setDataStream(GoogleAnalyticsAdminV1betaDataStream $dataStream) + { + $this->dataStream = $dataStream; + } + /** + * @return GoogleAnalyticsAdminV1betaDataStream + */ + public function getDataStream() + { + return $this->dataStream; + } + /** + * @param GoogleAnalyticsAdminV1betaFirebaseLink + */ + public function setFirebaseLink(GoogleAnalyticsAdminV1betaFirebaseLink $firebaseLink) + { + $this->firebaseLink = $firebaseLink; + } + /** + * @return GoogleAnalyticsAdminV1betaFirebaseLink + */ + public function getFirebaseLink() + { + return $this->firebaseLink; + } + /** + * @param GoogleAnalyticsAdminV1betaGoogleAdsLink + */ + public function setGoogleAdsLink(GoogleAnalyticsAdminV1betaGoogleAdsLink $googleAdsLink) + { + $this->googleAdsLink = $googleAdsLink; + } + /** + * @return GoogleAnalyticsAdminV1betaGoogleAdsLink + */ + public function getGoogleAdsLink() + { + return $this->googleAdsLink; + } + /** + * @param GoogleAnalyticsAdminV1betaMeasurementProtocolSecret + */ + public function setMeasurementProtocolSecret(GoogleAnalyticsAdminV1betaMeasurementProtocolSecret $measurementProtocolSecret) + { + $this->measurementProtocolSecret = $measurementProtocolSecret; + } + /** + * @return GoogleAnalyticsAdminV1betaMeasurementProtocolSecret + */ + public function getMeasurementProtocolSecret() + { + return $this->measurementProtocolSecret; + } + /** + * @param GoogleAnalyticsAdminV1betaProperty + */ + public function setProperty(GoogleAnalyticsAdminV1betaProperty $property) + { + $this->property = $property; + } + /** + * @return GoogleAnalyticsAdminV1betaProperty + */ + public function getProperty() + { + return $this->property; + } +} + +// Adding a class alias for backwards compatibility with the previous class name. +class_alias(GoogleAnalyticsAdminV1betaChangeHistoryChangeChangeHistoryResource::class, 'Google_Service_GoogleAnalyticsAdmin_GoogleAnalyticsAdminV1betaChangeHistoryChangeChangeHistoryResource'); diff --git a/packages/apiclient-services-analyticsadmin-v1beta/src/GoogleAnalyticsAdmin/GoogleAnalyticsAdminV1betaChangeHistoryEvent.php b/packages/apiclient-services-analyticsadmin-v1beta/src/GoogleAnalyticsAdmin/GoogleAnalyticsAdminV1betaChangeHistoryEvent.php new file mode 100644 index 00000000000..015c7b4d0d6 --- /dev/null +++ b/packages/apiclient-services-analyticsadmin-v1beta/src/GoogleAnalyticsAdmin/GoogleAnalyticsAdminV1betaChangeHistoryEvent.php @@ -0,0 +1,133 @@ +actorType = $actorType; + } + /** + * @return string + */ + public function getActorType() + { + return $this->actorType; + } + /** + * @param string + */ + public function setChangeTime($changeTime) + { + $this->changeTime = $changeTime; + } + /** + * @return string + */ + public function getChangeTime() + { + return $this->changeTime; + } + /** + * @param GoogleAnalyticsAdminV1betaChangeHistoryChange[] + */ + public function setChanges($changes) + { + $this->changes = $changes; + } + /** + * @return GoogleAnalyticsAdminV1betaChangeHistoryChange[] + */ + public function getChanges() + { + return $this->changes; + } + /** + * @param bool + */ + public function setChangesFiltered($changesFiltered) + { + $this->changesFiltered = $changesFiltered; + } + /** + * @return bool + */ + public function getChangesFiltered() + { + return $this->changesFiltered; + } + /** + * @param string + */ + public function setId($id) + { + $this->id = $id; + } + /** + * @return string + */ + public function getId() + { + return $this->id; + } + /** + * @param string + */ + public function setUserActorEmail($userActorEmail) + { + $this->userActorEmail = $userActorEmail; + } + /** + * @return string + */ + public function getUserActorEmail() + { + return $this->userActorEmail; + } +} + +// Adding a class alias for backwards compatibility with the previous class name. +class_alias(GoogleAnalyticsAdminV1betaChangeHistoryEvent::class, 'Google_Service_GoogleAnalyticsAdmin_GoogleAnalyticsAdminV1betaChangeHistoryEvent'); diff --git a/packages/apiclient-services-analyticsadmin-v1beta/src/GoogleAnalyticsAdmin/GoogleAnalyticsAdminV1betaConversionEvent.php b/packages/apiclient-services-analyticsadmin-v1beta/src/GoogleAnalyticsAdmin/GoogleAnalyticsAdminV1betaConversionEvent.php new file mode 100644 index 00000000000..f3eec9a7327 --- /dev/null +++ b/packages/apiclient-services-analyticsadmin-v1beta/src/GoogleAnalyticsAdmin/GoogleAnalyticsAdminV1betaConversionEvent.php @@ -0,0 +1,150 @@ +countingMethod = $countingMethod; + } + /** + * @return string + */ + public function getCountingMethod() + { + return $this->countingMethod; + } + /** + * @param string + */ + public function setCreateTime($createTime) + { + $this->createTime = $createTime; + } + /** + * @return string + */ + public function getCreateTime() + { + return $this->createTime; + } + /** + * @param bool + */ + public function setCustom($custom) + { + $this->custom = $custom; + } + /** + * @return bool + */ + public function getCustom() + { + return $this->custom; + } + /** + * @param GoogleAnalyticsAdminV1betaConversionEventDefaultConversionValue + */ + public function setDefaultConversionValue(GoogleAnalyticsAdminV1betaConversionEventDefaultConversionValue $defaultConversionValue) + { + $this->defaultConversionValue = $defaultConversionValue; + } + /** + * @return GoogleAnalyticsAdminV1betaConversionEventDefaultConversionValue + */ + public function getDefaultConversionValue() + { + return $this->defaultConversionValue; + } + /** + * @param bool + */ + public function setDeletable($deletable) + { + $this->deletable = $deletable; + } + /** + * @return bool + */ + public function getDeletable() + { + return $this->deletable; + } + /** + * @param string + */ + public function setEventName($eventName) + { + $this->eventName = $eventName; + } + /** + * @return string + */ + public function getEventName() + { + return $this->eventName; + } + /** + * @param string + */ + public function setName($name) + { + $this->name = $name; + } + /** + * @return string + */ + public function getName() + { + return $this->name; + } +} + +// Adding a class alias for backwards compatibility with the previous class name. +class_alias(GoogleAnalyticsAdminV1betaConversionEvent::class, 'Google_Service_GoogleAnalyticsAdmin_GoogleAnalyticsAdminV1betaConversionEvent'); diff --git a/packages/apiclient-services-analyticsadmin-v1beta/src/GoogleAnalyticsAdmin/GoogleAnalyticsAdminV1betaConversionEventDefaultConversionValue.php b/packages/apiclient-services-analyticsadmin-v1beta/src/GoogleAnalyticsAdmin/GoogleAnalyticsAdminV1betaConversionEventDefaultConversionValue.php new file mode 100644 index 00000000000..fd331e9fd15 --- /dev/null +++ b/packages/apiclient-services-analyticsadmin-v1beta/src/GoogleAnalyticsAdmin/GoogleAnalyticsAdminV1betaConversionEventDefaultConversionValue.php @@ -0,0 +1,53 @@ +currencyCode = $currencyCode; + } + /** + * @return string + */ + public function getCurrencyCode() + { + return $this->currencyCode; + } + public function setValue($value) + { + $this->value = $value; + } + public function getValue() + { + return $this->value; + } +} + +// Adding a class alias for backwards compatibility with the previous class name. +class_alias(GoogleAnalyticsAdminV1betaConversionEventDefaultConversionValue::class, 'Google_Service_GoogleAnalyticsAdmin_GoogleAnalyticsAdminV1betaConversionEventDefaultConversionValue'); diff --git a/packages/apiclient-services-analyticsadmin-v1beta/src/GoogleAnalyticsAdmin/GoogleAnalyticsAdminV1betaCustomDimension.php b/packages/apiclient-services-analyticsadmin-v1beta/src/GoogleAnalyticsAdmin/GoogleAnalyticsAdminV1betaCustomDimension.php new file mode 100644 index 00000000000..bfb8e99eac1 --- /dev/null +++ b/packages/apiclient-services-analyticsadmin-v1beta/src/GoogleAnalyticsAdmin/GoogleAnalyticsAdminV1betaCustomDimension.php @@ -0,0 +1,134 @@ +description = $description; + } + /** + * @return string + */ + public function getDescription() + { + return $this->description; + } + /** + * @param bool + */ + public function setDisallowAdsPersonalization($disallowAdsPersonalization) + { + $this->disallowAdsPersonalization = $disallowAdsPersonalization; + } + /** + * @return bool + */ + public function getDisallowAdsPersonalization() + { + return $this->disallowAdsPersonalization; + } + /** + * @param string + */ + public function setDisplayName($displayName) + { + $this->displayName = $displayName; + } + /** + * @return string + */ + public function getDisplayName() + { + return $this->displayName; + } + /** + * @param string + */ + public function setName($name) + { + $this->name = $name; + } + /** + * @return string + */ + public function getName() + { + return $this->name; + } + /** + * @param string + */ + public function setParameterName($parameterName) + { + $this->parameterName = $parameterName; + } + /** + * @return string + */ + public function getParameterName() + { + return $this->parameterName; + } + /** + * @param string + */ + public function setScope($scope) + { + $this->scope = $scope; + } + /** + * @return string + */ + public function getScope() + { + return $this->scope; + } +} + +// Adding a class alias for backwards compatibility with the previous class name. +class_alias(GoogleAnalyticsAdminV1betaCustomDimension::class, 'Google_Service_GoogleAnalyticsAdmin_GoogleAnalyticsAdminV1betaCustomDimension'); diff --git a/packages/apiclient-services-analyticsadmin-v1beta/src/GoogleAnalyticsAdmin/GoogleAnalyticsAdminV1betaCustomMetric.php b/packages/apiclient-services-analyticsadmin-v1beta/src/GoogleAnalyticsAdmin/GoogleAnalyticsAdminV1betaCustomMetric.php new file mode 100644 index 00000000000..e2817e8633a --- /dev/null +++ b/packages/apiclient-services-analyticsadmin-v1beta/src/GoogleAnalyticsAdmin/GoogleAnalyticsAdminV1betaCustomMetric.php @@ -0,0 +1,153 @@ +description = $description; + } + /** + * @return string + */ + public function getDescription() + { + return $this->description; + } + /** + * @param string + */ + public function setDisplayName($displayName) + { + $this->displayName = $displayName; + } + /** + * @return string + */ + public function getDisplayName() + { + return $this->displayName; + } + /** + * @param string + */ + public function setMeasurementUnit($measurementUnit) + { + $this->measurementUnit = $measurementUnit; + } + /** + * @return string + */ + public function getMeasurementUnit() + { + return $this->measurementUnit; + } + /** + * @param string + */ + public function setName($name) + { + $this->name = $name; + } + /** + * @return string + */ + public function getName() + { + return $this->name; + } + /** + * @param string + */ + public function setParameterName($parameterName) + { + $this->parameterName = $parameterName; + } + /** + * @return string + */ + public function getParameterName() + { + return $this->parameterName; + } + /** + * @param string[] + */ + public function setRestrictedMetricType($restrictedMetricType) + { + $this->restrictedMetricType = $restrictedMetricType; + } + /** + * @return string[] + */ + public function getRestrictedMetricType() + { + return $this->restrictedMetricType; + } + /** + * @param string + */ + public function setScope($scope) + { + $this->scope = $scope; + } + /** + * @return string + */ + public function getScope() + { + return $this->scope; + } +} + +// Adding a class alias for backwards compatibility with the previous class name. +class_alias(GoogleAnalyticsAdminV1betaCustomMetric::class, 'Google_Service_GoogleAnalyticsAdmin_GoogleAnalyticsAdminV1betaCustomMetric'); diff --git a/packages/apiclient-services-analyticsadmin-v1beta/src/GoogleAnalyticsAdmin/GoogleAnalyticsAdminV1betaDataRetentionSettings.php b/packages/apiclient-services-analyticsadmin-v1beta/src/GoogleAnalyticsAdmin/GoogleAnalyticsAdminV1betaDataRetentionSettings.php new file mode 100644 index 00000000000..ec1bc4ac13b --- /dev/null +++ b/packages/apiclient-services-analyticsadmin-v1beta/src/GoogleAnalyticsAdmin/GoogleAnalyticsAdminV1betaDataRetentionSettings.php @@ -0,0 +1,98 @@ +eventDataRetention = $eventDataRetention; + } + /** + * @return string + */ + public function getEventDataRetention() + { + return $this->eventDataRetention; + } + /** + * @param string + */ + public function setName($name) + { + $this->name = $name; + } + /** + * @return string + */ + public function getName() + { + return $this->name; + } + /** + * @param bool + */ + public function setResetUserDataOnNewActivity($resetUserDataOnNewActivity) + { + $this->resetUserDataOnNewActivity = $resetUserDataOnNewActivity; + } + /** + * @return bool + */ + public function getResetUserDataOnNewActivity() + { + return $this->resetUserDataOnNewActivity; + } + /** + * @param string + */ + public function setUserDataRetention($userDataRetention) + { + $this->userDataRetention = $userDataRetention; + } + /** + * @return string + */ + public function getUserDataRetention() + { + return $this->userDataRetention; + } +} + +// Adding a class alias for backwards compatibility with the previous class name. +class_alias(GoogleAnalyticsAdminV1betaDataRetentionSettings::class, 'Google_Service_GoogleAnalyticsAdmin_GoogleAnalyticsAdminV1betaDataRetentionSettings'); diff --git a/packages/apiclient-services-analyticsadmin-v1beta/src/GoogleAnalyticsAdmin/GoogleAnalyticsAdminV1betaDataSharingSettings.php b/packages/apiclient-services-analyticsadmin-v1beta/src/GoogleAnalyticsAdmin/GoogleAnalyticsAdminV1betaDataSharingSettings.php new file mode 100644 index 00000000000..d83f85470bc --- /dev/null +++ b/packages/apiclient-services-analyticsadmin-v1beta/src/GoogleAnalyticsAdmin/GoogleAnalyticsAdminV1betaDataSharingSettings.php @@ -0,0 +1,134 @@ +name = $name; + } + /** + * @return string + */ + public function getName() + { + return $this->name; + } + /** + * @param bool + */ + public function setSharingWithGoogleAnySalesEnabled($sharingWithGoogleAnySalesEnabled) + { + $this->sharingWithGoogleAnySalesEnabled = $sharingWithGoogleAnySalesEnabled; + } + /** + * @return bool + */ + public function getSharingWithGoogleAnySalesEnabled() + { + return $this->sharingWithGoogleAnySalesEnabled; + } + /** + * @param bool + */ + public function setSharingWithGoogleAssignedSalesEnabled($sharingWithGoogleAssignedSalesEnabled) + { + $this->sharingWithGoogleAssignedSalesEnabled = $sharingWithGoogleAssignedSalesEnabled; + } + /** + * @return bool + */ + public function getSharingWithGoogleAssignedSalesEnabled() + { + return $this->sharingWithGoogleAssignedSalesEnabled; + } + /** + * @param bool + */ + public function setSharingWithGoogleProductsEnabled($sharingWithGoogleProductsEnabled) + { + $this->sharingWithGoogleProductsEnabled = $sharingWithGoogleProductsEnabled; + } + /** + * @return bool + */ + public function getSharingWithGoogleProductsEnabled() + { + return $this->sharingWithGoogleProductsEnabled; + } + /** + * @param bool + */ + public function setSharingWithGoogleSupportEnabled($sharingWithGoogleSupportEnabled) + { + $this->sharingWithGoogleSupportEnabled = $sharingWithGoogleSupportEnabled; + } + /** + * @return bool + */ + public function getSharingWithGoogleSupportEnabled() + { + return $this->sharingWithGoogleSupportEnabled; + } + /** + * @param bool + */ + public function setSharingWithOthersEnabled($sharingWithOthersEnabled) + { + $this->sharingWithOthersEnabled = $sharingWithOthersEnabled; + } + /** + * @return bool + */ + public function getSharingWithOthersEnabled() + { + return $this->sharingWithOthersEnabled; + } +} + +// Adding a class alias for backwards compatibility with the previous class name. +class_alias(GoogleAnalyticsAdminV1betaDataSharingSettings::class, 'Google_Service_GoogleAnalyticsAdmin_GoogleAnalyticsAdminV1betaDataSharingSettings'); diff --git a/packages/apiclient-services-analyticsadmin-v1beta/src/GoogleAnalyticsAdmin/GoogleAnalyticsAdminV1betaDataStream.php b/packages/apiclient-services-analyticsadmin-v1beta/src/GoogleAnalyticsAdmin/GoogleAnalyticsAdminV1betaDataStream.php new file mode 100644 index 00000000000..057d5583bad --- /dev/null +++ b/packages/apiclient-services-analyticsadmin-v1beta/src/GoogleAnalyticsAdmin/GoogleAnalyticsAdminV1betaDataStream.php @@ -0,0 +1,164 @@ +androidAppStreamData = $androidAppStreamData; + } + /** + * @return GoogleAnalyticsAdminV1betaDataStreamAndroidAppStreamData + */ + public function getAndroidAppStreamData() + { + return $this->androidAppStreamData; + } + /** + * @param string + */ + public function setCreateTime($createTime) + { + $this->createTime = $createTime; + } + /** + * @return string + */ + public function getCreateTime() + { + return $this->createTime; + } + /** + * @param string + */ + public function setDisplayName($displayName) + { + $this->displayName = $displayName; + } + /** + * @return string + */ + public function getDisplayName() + { + return $this->displayName; + } + /** + * @param GoogleAnalyticsAdminV1betaDataStreamIosAppStreamData + */ + public function setIosAppStreamData(GoogleAnalyticsAdminV1betaDataStreamIosAppStreamData $iosAppStreamData) + { + $this->iosAppStreamData = $iosAppStreamData; + } + /** + * @return GoogleAnalyticsAdminV1betaDataStreamIosAppStreamData + */ + public function getIosAppStreamData() + { + return $this->iosAppStreamData; + } + /** + * @param string + */ + public function setName($name) + { + $this->name = $name; + } + /** + * @return string + */ + public function getName() + { + return $this->name; + } + /** + * @param string + */ + public function setType($type) + { + $this->type = $type; + } + /** + * @return string + */ + public function getType() + { + return $this->type; + } + /** + * @param string + */ + public function setUpdateTime($updateTime) + { + $this->updateTime = $updateTime; + } + /** + * @return string + */ + public function getUpdateTime() + { + return $this->updateTime; + } + /** + * @param GoogleAnalyticsAdminV1betaDataStreamWebStreamData + */ + public function setWebStreamData(GoogleAnalyticsAdminV1betaDataStreamWebStreamData $webStreamData) + { + $this->webStreamData = $webStreamData; + } + /** + * @return GoogleAnalyticsAdminV1betaDataStreamWebStreamData + */ + public function getWebStreamData() + { + return $this->webStreamData; + } +} + +// Adding a class alias for backwards compatibility with the previous class name. +class_alias(GoogleAnalyticsAdminV1betaDataStream::class, 'Google_Service_GoogleAnalyticsAdmin_GoogleAnalyticsAdminV1betaDataStream'); diff --git a/packages/apiclient-services-analyticsadmin-v1beta/src/GoogleAnalyticsAdmin/GoogleAnalyticsAdminV1betaDataStreamAndroidAppStreamData.php b/packages/apiclient-services-analyticsadmin-v1beta/src/GoogleAnalyticsAdmin/GoogleAnalyticsAdminV1betaDataStreamAndroidAppStreamData.php new file mode 100644 index 00000000000..33e9f429803 --- /dev/null +++ b/packages/apiclient-services-analyticsadmin-v1beta/src/GoogleAnalyticsAdmin/GoogleAnalyticsAdminV1betaDataStreamAndroidAppStreamData.php @@ -0,0 +1,62 @@ +firebaseAppId = $firebaseAppId; + } + /** + * @return string + */ + public function getFirebaseAppId() + { + return $this->firebaseAppId; + } + /** + * @param string + */ + public function setPackageName($packageName) + { + $this->packageName = $packageName; + } + /** + * @return string + */ + public function getPackageName() + { + return $this->packageName; + } +} + +// Adding a class alias for backwards compatibility with the previous class name. +class_alias(GoogleAnalyticsAdminV1betaDataStreamAndroidAppStreamData::class, 'Google_Service_GoogleAnalyticsAdmin_GoogleAnalyticsAdminV1betaDataStreamAndroidAppStreamData'); diff --git a/packages/apiclient-services-analyticsadmin-v1beta/src/GoogleAnalyticsAdmin/GoogleAnalyticsAdminV1betaDataStreamIosAppStreamData.php b/packages/apiclient-services-analyticsadmin-v1beta/src/GoogleAnalyticsAdmin/GoogleAnalyticsAdminV1betaDataStreamIosAppStreamData.php new file mode 100644 index 00000000000..08c714af3ff --- /dev/null +++ b/packages/apiclient-services-analyticsadmin-v1beta/src/GoogleAnalyticsAdmin/GoogleAnalyticsAdminV1betaDataStreamIosAppStreamData.php @@ -0,0 +1,62 @@ +bundleId = $bundleId; + } + /** + * @return string + */ + public function getBundleId() + { + return $this->bundleId; + } + /** + * @param string + */ + public function setFirebaseAppId($firebaseAppId) + { + $this->firebaseAppId = $firebaseAppId; + } + /** + * @return string + */ + public function getFirebaseAppId() + { + return $this->firebaseAppId; + } +} + +// Adding a class alias for backwards compatibility with the previous class name. +class_alias(GoogleAnalyticsAdminV1betaDataStreamIosAppStreamData::class, 'Google_Service_GoogleAnalyticsAdmin_GoogleAnalyticsAdminV1betaDataStreamIosAppStreamData'); diff --git a/packages/apiclient-services-analyticsadmin-v1beta/src/GoogleAnalyticsAdmin/GoogleAnalyticsAdminV1betaDataStreamWebStreamData.php b/packages/apiclient-services-analyticsadmin-v1beta/src/GoogleAnalyticsAdmin/GoogleAnalyticsAdminV1betaDataStreamWebStreamData.php new file mode 100644 index 00000000000..e7daefeb390 --- /dev/null +++ b/packages/apiclient-services-analyticsadmin-v1beta/src/GoogleAnalyticsAdmin/GoogleAnalyticsAdminV1betaDataStreamWebStreamData.php @@ -0,0 +1,80 @@ +defaultUri = $defaultUri; + } + /** + * @return string + */ + public function getDefaultUri() + { + return $this->defaultUri; + } + /** + * @param string + */ + public function setFirebaseAppId($firebaseAppId) + { + $this->firebaseAppId = $firebaseAppId; + } + /** + * @return string + */ + public function getFirebaseAppId() + { + return $this->firebaseAppId; + } + /** + * @param string + */ + public function setMeasurementId($measurementId) + { + $this->measurementId = $measurementId; + } + /** + * @return string + */ + public function getMeasurementId() + { + return $this->measurementId; + } +} + +// Adding a class alias for backwards compatibility with the previous class name. +class_alias(GoogleAnalyticsAdminV1betaDataStreamWebStreamData::class, 'Google_Service_GoogleAnalyticsAdmin_GoogleAnalyticsAdminV1betaDataStreamWebStreamData'); diff --git a/packages/apiclient-services-analyticsadmin-v1beta/src/GoogleAnalyticsAdmin/GoogleAnalyticsAdminV1betaFirebaseLink.php b/packages/apiclient-services-analyticsadmin-v1beta/src/GoogleAnalyticsAdmin/GoogleAnalyticsAdminV1betaFirebaseLink.php new file mode 100644 index 00000000000..dca8f9297d3 --- /dev/null +++ b/packages/apiclient-services-analyticsadmin-v1beta/src/GoogleAnalyticsAdmin/GoogleAnalyticsAdminV1betaFirebaseLink.php @@ -0,0 +1,80 @@ +createTime = $createTime; + } + /** + * @return string + */ + public function getCreateTime() + { + return $this->createTime; + } + /** + * @param string + */ + public function setName($name) + { + $this->name = $name; + } + /** + * @return string + */ + public function getName() + { + return $this->name; + } + /** + * @param string + */ + public function setProject($project) + { + $this->project = $project; + } + /** + * @return string + */ + public function getProject() + { + return $this->project; + } +} + +// Adding a class alias for backwards compatibility with the previous class name. +class_alias(GoogleAnalyticsAdminV1betaFirebaseLink::class, 'Google_Service_GoogleAnalyticsAdmin_GoogleAnalyticsAdminV1betaFirebaseLink'); diff --git a/packages/apiclient-services-analyticsadmin-v1beta/src/GoogleAnalyticsAdmin/GoogleAnalyticsAdminV1betaGoogleAdsLink.php b/packages/apiclient-services-analyticsadmin-v1beta/src/GoogleAnalyticsAdmin/GoogleAnalyticsAdminV1betaGoogleAdsLink.php new file mode 100644 index 00000000000..89e1440f57c --- /dev/null +++ b/packages/apiclient-services-analyticsadmin-v1beta/src/GoogleAnalyticsAdmin/GoogleAnalyticsAdminV1betaGoogleAdsLink.php @@ -0,0 +1,152 @@ +adsPersonalizationEnabled = $adsPersonalizationEnabled; + } + /** + * @return bool + */ + public function getAdsPersonalizationEnabled() + { + return $this->adsPersonalizationEnabled; + } + /** + * @param bool + */ + public function setCanManageClients($canManageClients) + { + $this->canManageClients = $canManageClients; + } + /** + * @return bool + */ + public function getCanManageClients() + { + return $this->canManageClients; + } + /** + * @param string + */ + public function setCreateTime($createTime) + { + $this->createTime = $createTime; + } + /** + * @return string + */ + public function getCreateTime() + { + return $this->createTime; + } + /** + * @param string + */ + public function setCreatorEmailAddress($creatorEmailAddress) + { + $this->creatorEmailAddress = $creatorEmailAddress; + } + /** + * @return string + */ + public function getCreatorEmailAddress() + { + return $this->creatorEmailAddress; + } + /** + * @param string + */ + public function setCustomerId($customerId) + { + $this->customerId = $customerId; + } + /** + * @return string + */ + public function getCustomerId() + { + return $this->customerId; + } + /** + * @param string + */ + public function setName($name) + { + $this->name = $name; + } + /** + * @return string + */ + public function getName() + { + return $this->name; + } + /** + * @param string + */ + public function setUpdateTime($updateTime) + { + $this->updateTime = $updateTime; + } + /** + * @return string + */ + public function getUpdateTime() + { + return $this->updateTime; + } +} + +// Adding a class alias for backwards compatibility with the previous class name. +class_alias(GoogleAnalyticsAdminV1betaGoogleAdsLink::class, 'Google_Service_GoogleAnalyticsAdmin_GoogleAnalyticsAdminV1betaGoogleAdsLink'); diff --git a/packages/apiclient-services-analyticsadmin-v1beta/src/GoogleAnalyticsAdmin/GoogleAnalyticsAdminV1betaKeyEvent.php b/packages/apiclient-services-analyticsadmin-v1beta/src/GoogleAnalyticsAdmin/GoogleAnalyticsAdminV1betaKeyEvent.php new file mode 100644 index 00000000000..377b8a9756e --- /dev/null +++ b/packages/apiclient-services-analyticsadmin-v1beta/src/GoogleAnalyticsAdmin/GoogleAnalyticsAdminV1betaKeyEvent.php @@ -0,0 +1,150 @@ +countingMethod = $countingMethod; + } + /** + * @return string + */ + public function getCountingMethod() + { + return $this->countingMethod; + } + /** + * @param string + */ + public function setCreateTime($createTime) + { + $this->createTime = $createTime; + } + /** + * @return string + */ + public function getCreateTime() + { + return $this->createTime; + } + /** + * @param bool + */ + public function setCustom($custom) + { + $this->custom = $custom; + } + /** + * @return bool + */ + public function getCustom() + { + return $this->custom; + } + /** + * @param GoogleAnalyticsAdminV1betaKeyEventDefaultValue + */ + public function setDefaultValue(GoogleAnalyticsAdminV1betaKeyEventDefaultValue $defaultValue) + { + $this->defaultValue = $defaultValue; + } + /** + * @return GoogleAnalyticsAdminV1betaKeyEventDefaultValue + */ + public function getDefaultValue() + { + return $this->defaultValue; + } + /** + * @param bool + */ + public function setDeletable($deletable) + { + $this->deletable = $deletable; + } + /** + * @return bool + */ + public function getDeletable() + { + return $this->deletable; + } + /** + * @param string + */ + public function setEventName($eventName) + { + $this->eventName = $eventName; + } + /** + * @return string + */ + public function getEventName() + { + return $this->eventName; + } + /** + * @param string + */ + public function setName($name) + { + $this->name = $name; + } + /** + * @return string + */ + public function getName() + { + return $this->name; + } +} + +// Adding a class alias for backwards compatibility with the previous class name. +class_alias(GoogleAnalyticsAdminV1betaKeyEvent::class, 'Google_Service_GoogleAnalyticsAdmin_GoogleAnalyticsAdminV1betaKeyEvent'); diff --git a/packages/apiclient-services-analyticsadmin-v1beta/src/GoogleAnalyticsAdmin/GoogleAnalyticsAdminV1betaKeyEventDefaultValue.php b/packages/apiclient-services-analyticsadmin-v1beta/src/GoogleAnalyticsAdmin/GoogleAnalyticsAdminV1betaKeyEventDefaultValue.php new file mode 100644 index 00000000000..bb6490ad77b --- /dev/null +++ b/packages/apiclient-services-analyticsadmin-v1beta/src/GoogleAnalyticsAdmin/GoogleAnalyticsAdminV1betaKeyEventDefaultValue.php @@ -0,0 +1,53 @@ +currencyCode = $currencyCode; + } + /** + * @return string + */ + public function getCurrencyCode() + { + return $this->currencyCode; + } + public function setNumericValue($numericValue) + { + $this->numericValue = $numericValue; + } + public function getNumericValue() + { + return $this->numericValue; + } +} + +// Adding a class alias for backwards compatibility with the previous class name. +class_alias(GoogleAnalyticsAdminV1betaKeyEventDefaultValue::class, 'Google_Service_GoogleAnalyticsAdmin_GoogleAnalyticsAdminV1betaKeyEventDefaultValue'); diff --git a/packages/apiclient-services-analyticsadmin-v1beta/src/GoogleAnalyticsAdmin/GoogleAnalyticsAdminV1betaListAccountSummariesResponse.php b/packages/apiclient-services-analyticsadmin-v1beta/src/GoogleAnalyticsAdmin/GoogleAnalyticsAdminV1betaListAccountSummariesResponse.php new file mode 100644 index 00000000000..554fd74f7eb --- /dev/null +++ b/packages/apiclient-services-analyticsadmin-v1beta/src/GoogleAnalyticsAdmin/GoogleAnalyticsAdminV1betaListAccountSummariesResponse.php @@ -0,0 +1,61 @@ +accountSummaries = $accountSummaries; + } + /** + * @return GoogleAnalyticsAdminV1betaAccountSummary[] + */ + public function getAccountSummaries() + { + return $this->accountSummaries; + } + /** + * @param string + */ + public function setNextPageToken($nextPageToken) + { + $this->nextPageToken = $nextPageToken; + } + /** + * @return string + */ + public function getNextPageToken() + { + return $this->nextPageToken; + } +} + +// Adding a class alias for backwards compatibility with the previous class name. +class_alias(GoogleAnalyticsAdminV1betaListAccountSummariesResponse::class, 'Google_Service_GoogleAnalyticsAdmin_GoogleAnalyticsAdminV1betaListAccountSummariesResponse'); diff --git a/packages/apiclient-services-analyticsadmin-v1beta/src/GoogleAnalyticsAdmin/GoogleAnalyticsAdminV1betaListAccountsResponse.php b/packages/apiclient-services-analyticsadmin-v1beta/src/GoogleAnalyticsAdmin/GoogleAnalyticsAdminV1betaListAccountsResponse.php new file mode 100644 index 00000000000..5048b68cdbd --- /dev/null +++ b/packages/apiclient-services-analyticsadmin-v1beta/src/GoogleAnalyticsAdmin/GoogleAnalyticsAdminV1betaListAccountsResponse.php @@ -0,0 +1,61 @@ +accounts = $accounts; + } + /** + * @return GoogleAnalyticsAdminV1betaAccount[] + */ + public function getAccounts() + { + return $this->accounts; + } + /** + * @param string + */ + public function setNextPageToken($nextPageToken) + { + $this->nextPageToken = $nextPageToken; + } + /** + * @return string + */ + public function getNextPageToken() + { + return $this->nextPageToken; + } +} + +// Adding a class alias for backwards compatibility with the previous class name. +class_alias(GoogleAnalyticsAdminV1betaListAccountsResponse::class, 'Google_Service_GoogleAnalyticsAdmin_GoogleAnalyticsAdminV1betaListAccountsResponse'); diff --git a/packages/apiclient-services-analyticsadmin-v1beta/src/GoogleAnalyticsAdmin/GoogleAnalyticsAdminV1betaListConversionEventsResponse.php b/packages/apiclient-services-analyticsadmin-v1beta/src/GoogleAnalyticsAdmin/GoogleAnalyticsAdminV1betaListConversionEventsResponse.php new file mode 100644 index 00000000000..e77049850b4 --- /dev/null +++ b/packages/apiclient-services-analyticsadmin-v1beta/src/GoogleAnalyticsAdmin/GoogleAnalyticsAdminV1betaListConversionEventsResponse.php @@ -0,0 +1,61 @@ +conversionEvents = $conversionEvents; + } + /** + * @return GoogleAnalyticsAdminV1betaConversionEvent[] + */ + public function getConversionEvents() + { + return $this->conversionEvents; + } + /** + * @param string + */ + public function setNextPageToken($nextPageToken) + { + $this->nextPageToken = $nextPageToken; + } + /** + * @return string + */ + public function getNextPageToken() + { + return $this->nextPageToken; + } +} + +// Adding a class alias for backwards compatibility with the previous class name. +class_alias(GoogleAnalyticsAdminV1betaListConversionEventsResponse::class, 'Google_Service_GoogleAnalyticsAdmin_GoogleAnalyticsAdminV1betaListConversionEventsResponse'); diff --git a/packages/apiclient-services-analyticsadmin-v1beta/src/GoogleAnalyticsAdmin/GoogleAnalyticsAdminV1betaListCustomDimensionsResponse.php b/packages/apiclient-services-analyticsadmin-v1beta/src/GoogleAnalyticsAdmin/GoogleAnalyticsAdminV1betaListCustomDimensionsResponse.php new file mode 100644 index 00000000000..ad31a38b85c --- /dev/null +++ b/packages/apiclient-services-analyticsadmin-v1beta/src/GoogleAnalyticsAdmin/GoogleAnalyticsAdminV1betaListCustomDimensionsResponse.php @@ -0,0 +1,61 @@ +customDimensions = $customDimensions; + } + /** + * @return GoogleAnalyticsAdminV1betaCustomDimension[] + */ + public function getCustomDimensions() + { + return $this->customDimensions; + } + /** + * @param string + */ + public function setNextPageToken($nextPageToken) + { + $this->nextPageToken = $nextPageToken; + } + /** + * @return string + */ + public function getNextPageToken() + { + return $this->nextPageToken; + } +} + +// Adding a class alias for backwards compatibility with the previous class name. +class_alias(GoogleAnalyticsAdminV1betaListCustomDimensionsResponse::class, 'Google_Service_GoogleAnalyticsAdmin_GoogleAnalyticsAdminV1betaListCustomDimensionsResponse'); diff --git a/packages/apiclient-services-analyticsadmin-v1beta/src/GoogleAnalyticsAdmin/GoogleAnalyticsAdminV1betaListCustomMetricsResponse.php b/packages/apiclient-services-analyticsadmin-v1beta/src/GoogleAnalyticsAdmin/GoogleAnalyticsAdminV1betaListCustomMetricsResponse.php new file mode 100644 index 00000000000..3ac4cb4f72c --- /dev/null +++ b/packages/apiclient-services-analyticsadmin-v1beta/src/GoogleAnalyticsAdmin/GoogleAnalyticsAdminV1betaListCustomMetricsResponse.php @@ -0,0 +1,61 @@ +customMetrics = $customMetrics; + } + /** + * @return GoogleAnalyticsAdminV1betaCustomMetric[] + */ + public function getCustomMetrics() + { + return $this->customMetrics; + } + /** + * @param string + */ + public function setNextPageToken($nextPageToken) + { + $this->nextPageToken = $nextPageToken; + } + /** + * @return string + */ + public function getNextPageToken() + { + return $this->nextPageToken; + } +} + +// Adding a class alias for backwards compatibility with the previous class name. +class_alias(GoogleAnalyticsAdminV1betaListCustomMetricsResponse::class, 'Google_Service_GoogleAnalyticsAdmin_GoogleAnalyticsAdminV1betaListCustomMetricsResponse'); diff --git a/packages/apiclient-services-analyticsadmin-v1beta/src/GoogleAnalyticsAdmin/GoogleAnalyticsAdminV1betaListDataStreamsResponse.php b/packages/apiclient-services-analyticsadmin-v1beta/src/GoogleAnalyticsAdmin/GoogleAnalyticsAdminV1betaListDataStreamsResponse.php new file mode 100644 index 00000000000..6aa8911b018 --- /dev/null +++ b/packages/apiclient-services-analyticsadmin-v1beta/src/GoogleAnalyticsAdmin/GoogleAnalyticsAdminV1betaListDataStreamsResponse.php @@ -0,0 +1,61 @@ +dataStreams = $dataStreams; + } + /** + * @return GoogleAnalyticsAdminV1betaDataStream[] + */ + public function getDataStreams() + { + return $this->dataStreams; + } + /** + * @param string + */ + public function setNextPageToken($nextPageToken) + { + $this->nextPageToken = $nextPageToken; + } + /** + * @return string + */ + public function getNextPageToken() + { + return $this->nextPageToken; + } +} + +// Adding a class alias for backwards compatibility with the previous class name. +class_alias(GoogleAnalyticsAdminV1betaListDataStreamsResponse::class, 'Google_Service_GoogleAnalyticsAdmin_GoogleAnalyticsAdminV1betaListDataStreamsResponse'); diff --git a/packages/apiclient-services-analyticsadmin-v1beta/src/GoogleAnalyticsAdmin/GoogleAnalyticsAdminV1betaListFirebaseLinksResponse.php b/packages/apiclient-services-analyticsadmin-v1beta/src/GoogleAnalyticsAdmin/GoogleAnalyticsAdminV1betaListFirebaseLinksResponse.php new file mode 100644 index 00000000000..6021e7b4aba --- /dev/null +++ b/packages/apiclient-services-analyticsadmin-v1beta/src/GoogleAnalyticsAdmin/GoogleAnalyticsAdminV1betaListFirebaseLinksResponse.php @@ -0,0 +1,61 @@ +firebaseLinks = $firebaseLinks; + } + /** + * @return GoogleAnalyticsAdminV1betaFirebaseLink[] + */ + public function getFirebaseLinks() + { + return $this->firebaseLinks; + } + /** + * @param string + */ + public function setNextPageToken($nextPageToken) + { + $this->nextPageToken = $nextPageToken; + } + /** + * @return string + */ + public function getNextPageToken() + { + return $this->nextPageToken; + } +} + +// Adding a class alias for backwards compatibility with the previous class name. +class_alias(GoogleAnalyticsAdminV1betaListFirebaseLinksResponse::class, 'Google_Service_GoogleAnalyticsAdmin_GoogleAnalyticsAdminV1betaListFirebaseLinksResponse'); diff --git a/packages/apiclient-services-analyticsadmin-v1beta/src/GoogleAnalyticsAdmin/GoogleAnalyticsAdminV1betaListGoogleAdsLinksResponse.php b/packages/apiclient-services-analyticsadmin-v1beta/src/GoogleAnalyticsAdmin/GoogleAnalyticsAdminV1betaListGoogleAdsLinksResponse.php new file mode 100644 index 00000000000..dfb1b9676d2 --- /dev/null +++ b/packages/apiclient-services-analyticsadmin-v1beta/src/GoogleAnalyticsAdmin/GoogleAnalyticsAdminV1betaListGoogleAdsLinksResponse.php @@ -0,0 +1,61 @@ +googleAdsLinks = $googleAdsLinks; + } + /** + * @return GoogleAnalyticsAdminV1betaGoogleAdsLink[] + */ + public function getGoogleAdsLinks() + { + return $this->googleAdsLinks; + } + /** + * @param string + */ + public function setNextPageToken($nextPageToken) + { + $this->nextPageToken = $nextPageToken; + } + /** + * @return string + */ + public function getNextPageToken() + { + return $this->nextPageToken; + } +} + +// Adding a class alias for backwards compatibility with the previous class name. +class_alias(GoogleAnalyticsAdminV1betaListGoogleAdsLinksResponse::class, 'Google_Service_GoogleAnalyticsAdmin_GoogleAnalyticsAdminV1betaListGoogleAdsLinksResponse'); diff --git a/packages/apiclient-services-analyticsadmin-v1beta/src/GoogleAnalyticsAdmin/GoogleAnalyticsAdminV1betaListKeyEventsResponse.php b/packages/apiclient-services-analyticsadmin-v1beta/src/GoogleAnalyticsAdmin/GoogleAnalyticsAdminV1betaListKeyEventsResponse.php new file mode 100644 index 00000000000..2f952eb2bdd --- /dev/null +++ b/packages/apiclient-services-analyticsadmin-v1beta/src/GoogleAnalyticsAdmin/GoogleAnalyticsAdminV1betaListKeyEventsResponse.php @@ -0,0 +1,61 @@ +keyEvents = $keyEvents; + } + /** + * @return GoogleAnalyticsAdminV1betaKeyEvent[] + */ + public function getKeyEvents() + { + return $this->keyEvents; + } + /** + * @param string + */ + public function setNextPageToken($nextPageToken) + { + $this->nextPageToken = $nextPageToken; + } + /** + * @return string + */ + public function getNextPageToken() + { + return $this->nextPageToken; + } +} + +// Adding a class alias for backwards compatibility with the previous class name. +class_alias(GoogleAnalyticsAdminV1betaListKeyEventsResponse::class, 'Google_Service_GoogleAnalyticsAdmin_GoogleAnalyticsAdminV1betaListKeyEventsResponse'); diff --git a/packages/apiclient-services-analyticsadmin-v1beta/src/GoogleAnalyticsAdmin/GoogleAnalyticsAdminV1betaListMeasurementProtocolSecretsResponse.php b/packages/apiclient-services-analyticsadmin-v1beta/src/GoogleAnalyticsAdmin/GoogleAnalyticsAdminV1betaListMeasurementProtocolSecretsResponse.php new file mode 100644 index 00000000000..5b5435abedb --- /dev/null +++ b/packages/apiclient-services-analyticsadmin-v1beta/src/GoogleAnalyticsAdmin/GoogleAnalyticsAdminV1betaListMeasurementProtocolSecretsResponse.php @@ -0,0 +1,61 @@ +measurementProtocolSecrets = $measurementProtocolSecrets; + } + /** + * @return GoogleAnalyticsAdminV1betaMeasurementProtocolSecret[] + */ + public function getMeasurementProtocolSecrets() + { + return $this->measurementProtocolSecrets; + } + /** + * @param string + */ + public function setNextPageToken($nextPageToken) + { + $this->nextPageToken = $nextPageToken; + } + /** + * @return string + */ + public function getNextPageToken() + { + return $this->nextPageToken; + } +} + +// Adding a class alias for backwards compatibility with the previous class name. +class_alias(GoogleAnalyticsAdminV1betaListMeasurementProtocolSecretsResponse::class, 'Google_Service_GoogleAnalyticsAdmin_GoogleAnalyticsAdminV1betaListMeasurementProtocolSecretsResponse'); diff --git a/packages/apiclient-services-analyticsadmin-v1beta/src/GoogleAnalyticsAdmin/GoogleAnalyticsAdminV1betaListPropertiesResponse.php b/packages/apiclient-services-analyticsadmin-v1beta/src/GoogleAnalyticsAdmin/GoogleAnalyticsAdminV1betaListPropertiesResponse.php new file mode 100644 index 00000000000..749612dcf5b --- /dev/null +++ b/packages/apiclient-services-analyticsadmin-v1beta/src/GoogleAnalyticsAdmin/GoogleAnalyticsAdminV1betaListPropertiesResponse.php @@ -0,0 +1,61 @@ +nextPageToken = $nextPageToken; + } + /** + * @return string + */ + public function getNextPageToken() + { + return $this->nextPageToken; + } + /** + * @param GoogleAnalyticsAdminV1betaProperty[] + */ + public function setProperties($properties) + { + $this->properties = $properties; + } + /** + * @return GoogleAnalyticsAdminV1betaProperty[] + */ + public function getProperties() + { + return $this->properties; + } +} + +// Adding a class alias for backwards compatibility with the previous class name. +class_alias(GoogleAnalyticsAdminV1betaListPropertiesResponse::class, 'Google_Service_GoogleAnalyticsAdmin_GoogleAnalyticsAdminV1betaListPropertiesResponse'); diff --git a/packages/apiclient-services-analyticsadmin-v1beta/src/GoogleAnalyticsAdmin/GoogleAnalyticsAdminV1betaMeasurementProtocolSecret.php b/packages/apiclient-services-analyticsadmin-v1beta/src/GoogleAnalyticsAdmin/GoogleAnalyticsAdminV1betaMeasurementProtocolSecret.php new file mode 100644 index 00000000000..43cb56257cf --- /dev/null +++ b/packages/apiclient-services-analyticsadmin-v1beta/src/GoogleAnalyticsAdmin/GoogleAnalyticsAdminV1betaMeasurementProtocolSecret.php @@ -0,0 +1,80 @@ +displayName = $displayName; + } + /** + * @return string + */ + public function getDisplayName() + { + return $this->displayName; + } + /** + * @param string + */ + public function setName($name) + { + $this->name = $name; + } + /** + * @return string + */ + public function getName() + { + return $this->name; + } + /** + * @param string + */ + public function setSecretValue($secretValue) + { + $this->secretValue = $secretValue; + } + /** + * @return string + */ + public function getSecretValue() + { + return $this->secretValue; + } +} + +// Adding a class alias for backwards compatibility with the previous class name. +class_alias(GoogleAnalyticsAdminV1betaMeasurementProtocolSecret::class, 'Google_Service_GoogleAnalyticsAdmin_GoogleAnalyticsAdminV1betaMeasurementProtocolSecret'); diff --git a/packages/apiclient-services-analyticsadmin-v1beta/src/GoogleAnalyticsAdmin/GoogleAnalyticsAdminV1betaNumericValue.php b/packages/apiclient-services-analyticsadmin-v1beta/src/GoogleAnalyticsAdmin/GoogleAnalyticsAdminV1betaNumericValue.php new file mode 100644 index 00000000000..ed79e39300f --- /dev/null +++ b/packages/apiclient-services-analyticsadmin-v1beta/src/GoogleAnalyticsAdmin/GoogleAnalyticsAdminV1betaNumericValue.php @@ -0,0 +1,53 @@ +doubleValue = $doubleValue; + } + public function getDoubleValue() + { + return $this->doubleValue; + } + /** + * @param string + */ + public function setInt64Value($int64Value) + { + $this->int64Value = $int64Value; + } + /** + * @return string + */ + public function getInt64Value() + { + return $this->int64Value; + } +} + +// Adding a class alias for backwards compatibility with the previous class name. +class_alias(GoogleAnalyticsAdminV1betaNumericValue::class, 'Google_Service_GoogleAnalyticsAdmin_GoogleAnalyticsAdminV1betaNumericValue'); diff --git a/packages/apiclient-services-analyticsadmin-v1beta/src/GoogleAnalyticsAdmin/GoogleAnalyticsAdminV1betaProperty.php b/packages/apiclient-services-analyticsadmin-v1beta/src/GoogleAnalyticsAdmin/GoogleAnalyticsAdminV1betaProperty.php new file mode 100644 index 00000000000..ccca73a3d4e --- /dev/null +++ b/packages/apiclient-services-analyticsadmin-v1beta/src/GoogleAnalyticsAdmin/GoogleAnalyticsAdminV1betaProperty.php @@ -0,0 +1,260 @@ +account = $account; + } + /** + * @return string + */ + public function getAccount() + { + return $this->account; + } + /** + * @param string + */ + public function setCreateTime($createTime) + { + $this->createTime = $createTime; + } + /** + * @return string + */ + public function getCreateTime() + { + return $this->createTime; + } + /** + * @param string + */ + public function setCurrencyCode($currencyCode) + { + $this->currencyCode = $currencyCode; + } + /** + * @return string + */ + public function getCurrencyCode() + { + return $this->currencyCode; + } + /** + * @param string + */ + public function setDeleteTime($deleteTime) + { + $this->deleteTime = $deleteTime; + } + /** + * @return string + */ + public function getDeleteTime() + { + return $this->deleteTime; + } + /** + * @param string + */ + public function setDisplayName($displayName) + { + $this->displayName = $displayName; + } + /** + * @return string + */ + public function getDisplayName() + { + return $this->displayName; + } + /** + * @param string + */ + public function setExpireTime($expireTime) + { + $this->expireTime = $expireTime; + } + /** + * @return string + */ + public function getExpireTime() + { + return $this->expireTime; + } + /** + * @param string + */ + public function setIndustryCategory($industryCategory) + { + $this->industryCategory = $industryCategory; + } + /** + * @return string + */ + public function getIndustryCategory() + { + return $this->industryCategory; + } + /** + * @param string + */ + public function setName($name) + { + $this->name = $name; + } + /** + * @return string + */ + public function getName() + { + return $this->name; + } + /** + * @param string + */ + public function setParent($parent) + { + $this->parent = $parent; + } + /** + * @return string + */ + public function getParent() + { + return $this->parent; + } + /** + * @param string + */ + public function setPropertyType($propertyType) + { + $this->propertyType = $propertyType; + } + /** + * @return string + */ + public function getPropertyType() + { + return $this->propertyType; + } + /** + * @param string + */ + public function setServiceLevel($serviceLevel) + { + $this->serviceLevel = $serviceLevel; + } + /** + * @return string + */ + public function getServiceLevel() + { + return $this->serviceLevel; + } + /** + * @param string + */ + public function setTimeZone($timeZone) + { + $this->timeZone = $timeZone; + } + /** + * @return string + */ + public function getTimeZone() + { + return $this->timeZone; + } + /** + * @param string + */ + public function setUpdateTime($updateTime) + { + $this->updateTime = $updateTime; + } + /** + * @return string + */ + public function getUpdateTime() + { + return $this->updateTime; + } +} + +// Adding a class alias for backwards compatibility with the previous class name. +class_alias(GoogleAnalyticsAdminV1betaProperty::class, 'Google_Service_GoogleAnalyticsAdmin_GoogleAnalyticsAdminV1betaProperty'); diff --git a/packages/apiclient-services-analyticsadmin-v1beta/src/GoogleAnalyticsAdmin/GoogleAnalyticsAdminV1betaPropertySummary.php b/packages/apiclient-services-analyticsadmin-v1beta/src/GoogleAnalyticsAdmin/GoogleAnalyticsAdminV1betaPropertySummary.php new file mode 100644 index 00000000000..52867222e16 --- /dev/null +++ b/packages/apiclient-services-analyticsadmin-v1beta/src/GoogleAnalyticsAdmin/GoogleAnalyticsAdminV1betaPropertySummary.php @@ -0,0 +1,98 @@ +displayName = $displayName; + } + /** + * @return string + */ + public function getDisplayName() + { + return $this->displayName; + } + /** + * @param string + */ + public function setParent($parent) + { + $this->parent = $parent; + } + /** + * @return string + */ + public function getParent() + { + return $this->parent; + } + /** + * @param string + */ + public function setProperty($property) + { + $this->property = $property; + } + /** + * @return string + */ + public function getProperty() + { + return $this->property; + } + /** + * @param string + */ + public function setPropertyType($propertyType) + { + $this->propertyType = $propertyType; + } + /** + * @return string + */ + public function getPropertyType() + { + return $this->propertyType; + } +} + +// Adding a class alias for backwards compatibility with the previous class name. +class_alias(GoogleAnalyticsAdminV1betaPropertySummary::class, 'Google_Service_GoogleAnalyticsAdmin_GoogleAnalyticsAdminV1betaPropertySummary'); diff --git a/packages/apiclient-services-analyticsadmin-v1beta/src/GoogleAnalyticsAdmin/GoogleAnalyticsAdminV1betaProvisionAccountTicketRequest.php b/packages/apiclient-services-analyticsadmin-v1beta/src/GoogleAnalyticsAdmin/GoogleAnalyticsAdminV1betaProvisionAccountTicketRequest.php new file mode 100644 index 00000000000..e04304a0ede --- /dev/null +++ b/packages/apiclient-services-analyticsadmin-v1beta/src/GoogleAnalyticsAdmin/GoogleAnalyticsAdminV1betaProvisionAccountTicketRequest.php @@ -0,0 +1,60 @@ +account = $account; + } + /** + * @return GoogleAnalyticsAdminV1betaAccount + */ + public function getAccount() + { + return $this->account; + } + /** + * @param string + */ + public function setRedirectUri($redirectUri) + { + $this->redirectUri = $redirectUri; + } + /** + * @return string + */ + public function getRedirectUri() + { + return $this->redirectUri; + } +} + +// Adding a class alias for backwards compatibility with the previous class name. +class_alias(GoogleAnalyticsAdminV1betaProvisionAccountTicketRequest::class, 'Google_Service_GoogleAnalyticsAdmin_GoogleAnalyticsAdminV1betaProvisionAccountTicketRequest'); diff --git a/packages/apiclient-services-analyticsadmin-v1beta/src/GoogleAnalyticsAdmin/GoogleAnalyticsAdminV1betaProvisionAccountTicketResponse.php b/packages/apiclient-services-analyticsadmin-v1beta/src/GoogleAnalyticsAdmin/GoogleAnalyticsAdminV1betaProvisionAccountTicketResponse.php new file mode 100644 index 00000000000..393d808ba7f --- /dev/null +++ b/packages/apiclient-services-analyticsadmin-v1beta/src/GoogleAnalyticsAdmin/GoogleAnalyticsAdminV1betaProvisionAccountTicketResponse.php @@ -0,0 +1,44 @@ +accountTicketId = $accountTicketId; + } + /** + * @return string + */ + public function getAccountTicketId() + { + return $this->accountTicketId; + } +} + +// Adding a class alias for backwards compatibility with the previous class name. +class_alias(GoogleAnalyticsAdminV1betaProvisionAccountTicketResponse::class, 'Google_Service_GoogleAnalyticsAdmin_GoogleAnalyticsAdminV1betaProvisionAccountTicketResponse'); diff --git a/packages/apiclient-services-analyticsadmin-v1beta/src/GoogleAnalyticsAdmin/GoogleAnalyticsAdminV1betaRunAccessReportRequest.php b/packages/apiclient-services-analyticsadmin-v1beta/src/GoogleAnalyticsAdmin/GoogleAnalyticsAdminV1betaRunAccessReportRequest.php new file mode 100644 index 00000000000..0e1300ebadb --- /dev/null +++ b/packages/apiclient-services-analyticsadmin-v1beta/src/GoogleAnalyticsAdmin/GoogleAnalyticsAdminV1betaRunAccessReportRequest.php @@ -0,0 +1,231 @@ +dateRanges = $dateRanges; + } + /** + * @return GoogleAnalyticsAdminV1betaAccessDateRange[] + */ + public function getDateRanges() + { + return $this->dateRanges; + } + /** + * @param GoogleAnalyticsAdminV1betaAccessFilterExpression + */ + public function setDimensionFilter(GoogleAnalyticsAdminV1betaAccessFilterExpression $dimensionFilter) + { + $this->dimensionFilter = $dimensionFilter; + } + /** + * @return GoogleAnalyticsAdminV1betaAccessFilterExpression + */ + public function getDimensionFilter() + { + return $this->dimensionFilter; + } + /** + * @param GoogleAnalyticsAdminV1betaAccessDimension[] + */ + public function setDimensions($dimensions) + { + $this->dimensions = $dimensions; + } + /** + * @return GoogleAnalyticsAdminV1betaAccessDimension[] + */ + public function getDimensions() + { + return $this->dimensions; + } + /** + * @param bool + */ + public function setExpandGroups($expandGroups) + { + $this->expandGroups = $expandGroups; + } + /** + * @return bool + */ + public function getExpandGroups() + { + return $this->expandGroups; + } + /** + * @param bool + */ + public function setIncludeAllUsers($includeAllUsers) + { + $this->includeAllUsers = $includeAllUsers; + } + /** + * @return bool + */ + public function getIncludeAllUsers() + { + return $this->includeAllUsers; + } + /** + * @param string + */ + public function setLimit($limit) + { + $this->limit = $limit; + } + /** + * @return string + */ + public function getLimit() + { + return $this->limit; + } + /** + * @param GoogleAnalyticsAdminV1betaAccessFilterExpression + */ + public function setMetricFilter(GoogleAnalyticsAdminV1betaAccessFilterExpression $metricFilter) + { + $this->metricFilter = $metricFilter; + } + /** + * @return GoogleAnalyticsAdminV1betaAccessFilterExpression + */ + public function getMetricFilter() + { + return $this->metricFilter; + } + /** + * @param GoogleAnalyticsAdminV1betaAccessMetric[] + */ + public function setMetrics($metrics) + { + $this->metrics = $metrics; + } + /** + * @return GoogleAnalyticsAdminV1betaAccessMetric[] + */ + public function getMetrics() + { + return $this->metrics; + } + /** + * @param string + */ + public function setOffset($offset) + { + $this->offset = $offset; + } + /** + * @return string + */ + public function getOffset() + { + return $this->offset; + } + /** + * @param GoogleAnalyticsAdminV1betaAccessOrderBy[] + */ + public function setOrderBys($orderBys) + { + $this->orderBys = $orderBys; + } + /** + * @return GoogleAnalyticsAdminV1betaAccessOrderBy[] + */ + public function getOrderBys() + { + return $this->orderBys; + } + /** + * @param bool + */ + public function setReturnEntityQuota($returnEntityQuota) + { + $this->returnEntityQuota = $returnEntityQuota; + } + /** + * @return bool + */ + public function getReturnEntityQuota() + { + return $this->returnEntityQuota; + } + /** + * @param string + */ + public function setTimeZone($timeZone) + { + $this->timeZone = $timeZone; + } + /** + * @return string + */ + public function getTimeZone() + { + return $this->timeZone; + } +} + +// Adding a class alias for backwards compatibility with the previous class name. +class_alias(GoogleAnalyticsAdminV1betaRunAccessReportRequest::class, 'Google_Service_GoogleAnalyticsAdmin_GoogleAnalyticsAdminV1betaRunAccessReportRequest'); diff --git a/packages/apiclient-services-analyticsadmin-v1beta/src/GoogleAnalyticsAdmin/GoogleAnalyticsAdminV1betaRunAccessReportResponse.php b/packages/apiclient-services-analyticsadmin-v1beta/src/GoogleAnalyticsAdmin/GoogleAnalyticsAdminV1betaRunAccessReportResponse.php new file mode 100644 index 00000000000..134d4cc849d --- /dev/null +++ b/packages/apiclient-services-analyticsadmin-v1beta/src/GoogleAnalyticsAdmin/GoogleAnalyticsAdminV1betaRunAccessReportResponse.php @@ -0,0 +1,109 @@ +dimensionHeaders = $dimensionHeaders; + } + /** + * @return GoogleAnalyticsAdminV1betaAccessDimensionHeader[] + */ + public function getDimensionHeaders() + { + return $this->dimensionHeaders; + } + /** + * @param GoogleAnalyticsAdminV1betaAccessMetricHeader[] + */ + public function setMetricHeaders($metricHeaders) + { + $this->metricHeaders = $metricHeaders; + } + /** + * @return GoogleAnalyticsAdminV1betaAccessMetricHeader[] + */ + public function getMetricHeaders() + { + return $this->metricHeaders; + } + /** + * @param GoogleAnalyticsAdminV1betaAccessQuota + */ + public function setQuota(GoogleAnalyticsAdminV1betaAccessQuota $quota) + { + $this->quota = $quota; + } + /** + * @return GoogleAnalyticsAdminV1betaAccessQuota + */ + public function getQuota() + { + return $this->quota; + } + /** + * @param int + */ + public function setRowCount($rowCount) + { + $this->rowCount = $rowCount; + } + /** + * @return int + */ + public function getRowCount() + { + return $this->rowCount; + } + /** + * @param GoogleAnalyticsAdminV1betaAccessRow[] + */ + public function setRows($rows) + { + $this->rows = $rows; + } + /** + * @return GoogleAnalyticsAdminV1betaAccessRow[] + */ + public function getRows() + { + return $this->rows; + } +} + +// Adding a class alias for backwards compatibility with the previous class name. +class_alias(GoogleAnalyticsAdminV1betaRunAccessReportResponse::class, 'Google_Service_GoogleAnalyticsAdmin_GoogleAnalyticsAdminV1betaRunAccessReportResponse'); diff --git a/packages/apiclient-services-analyticsadmin-v1beta/src/GoogleAnalyticsAdmin/GoogleAnalyticsAdminV1betaSearchChangeHistoryEventsRequest.php b/packages/apiclient-services-analyticsadmin-v1beta/src/GoogleAnalyticsAdmin/GoogleAnalyticsAdminV1betaSearchChangeHistoryEventsRequest.php new file mode 100644 index 00000000000..b50ab37f6b5 --- /dev/null +++ b/packages/apiclient-services-analyticsadmin-v1beta/src/GoogleAnalyticsAdmin/GoogleAnalyticsAdminV1betaSearchChangeHistoryEventsRequest.php @@ -0,0 +1,171 @@ +action = $action; + } + /** + * @return string[] + */ + public function getAction() + { + return $this->action; + } + /** + * @param string[] + */ + public function setActorEmail($actorEmail) + { + $this->actorEmail = $actorEmail; + } + /** + * @return string[] + */ + public function getActorEmail() + { + return $this->actorEmail; + } + /** + * @param string + */ + public function setEarliestChangeTime($earliestChangeTime) + { + $this->earliestChangeTime = $earliestChangeTime; + } + /** + * @return string + */ + public function getEarliestChangeTime() + { + return $this->earliestChangeTime; + } + /** + * @param string + */ + public function setLatestChangeTime($latestChangeTime) + { + $this->latestChangeTime = $latestChangeTime; + } + /** + * @return string + */ + public function getLatestChangeTime() + { + return $this->latestChangeTime; + } + /** + * @param int + */ + public function setPageSize($pageSize) + { + $this->pageSize = $pageSize; + } + /** + * @return int + */ + public function getPageSize() + { + return $this->pageSize; + } + /** + * @param string + */ + public function setPageToken($pageToken) + { + $this->pageToken = $pageToken; + } + /** + * @return string + */ + public function getPageToken() + { + return $this->pageToken; + } + /** + * @param string + */ + public function setProperty($property) + { + $this->property = $property; + } + /** + * @return string + */ + public function getProperty() + { + return $this->property; + } + /** + * @param string[] + */ + public function setResourceType($resourceType) + { + $this->resourceType = $resourceType; + } + /** + * @return string[] + */ + public function getResourceType() + { + return $this->resourceType; + } +} + +// Adding a class alias for backwards compatibility with the previous class name. +class_alias(GoogleAnalyticsAdminV1betaSearchChangeHistoryEventsRequest::class, 'Google_Service_GoogleAnalyticsAdmin_GoogleAnalyticsAdminV1betaSearchChangeHistoryEventsRequest'); diff --git a/packages/apiclient-services-analyticsadmin-v1beta/src/GoogleAnalyticsAdmin/GoogleAnalyticsAdminV1betaSearchChangeHistoryEventsResponse.php b/packages/apiclient-services-analyticsadmin-v1beta/src/GoogleAnalyticsAdmin/GoogleAnalyticsAdminV1betaSearchChangeHistoryEventsResponse.php new file mode 100644 index 00000000000..6d54ffb8c7d --- /dev/null +++ b/packages/apiclient-services-analyticsadmin-v1beta/src/GoogleAnalyticsAdmin/GoogleAnalyticsAdminV1betaSearchChangeHistoryEventsResponse.php @@ -0,0 +1,61 @@ +changeHistoryEvents = $changeHistoryEvents; + } + /** + * @return GoogleAnalyticsAdminV1betaChangeHistoryEvent[] + */ + public function getChangeHistoryEvents() + { + return $this->changeHistoryEvents; + } + /** + * @param string + */ + public function setNextPageToken($nextPageToken) + { + $this->nextPageToken = $nextPageToken; + } + /** + * @return string + */ + public function getNextPageToken() + { + return $this->nextPageToken; + } +} + +// Adding a class alias for backwards compatibility with the previous class name. +class_alias(GoogleAnalyticsAdminV1betaSearchChangeHistoryEventsResponse::class, 'Google_Service_GoogleAnalyticsAdmin_GoogleAnalyticsAdminV1betaSearchChangeHistoryEventsResponse'); diff --git a/packages/apiclient-services-analyticsadmin-v1beta/src/GoogleAnalyticsAdmin/GoogleProtobufEmpty.php b/packages/apiclient-services-analyticsadmin-v1beta/src/GoogleAnalyticsAdmin/GoogleProtobufEmpty.php new file mode 100644 index 00000000000..ff5d9194395 --- /dev/null +++ b/packages/apiclient-services-analyticsadmin-v1beta/src/GoogleAnalyticsAdmin/GoogleProtobufEmpty.php @@ -0,0 +1,25 @@ + + * $analyticsadminService = new Google\Service\GoogleAnalyticsAdmin(...); + * $accountSummaries = $analyticsadminService->accountSummaries; + * + */ +class AccountSummaries extends \Google\Service\Resource +{ + /** + * Returns summaries of all accounts accessible by the caller. + * (accountSummaries.listAccountSummaries) + * + * @param array $optParams Optional parameters. + * + * @opt_param int pageSize The maximum number of AccountSummary resources to + * return. The service may return fewer than this value, even if there are + * additional pages. If unspecified, at most 50 resources will be returned. The + * maximum value is 200; (higher values will be coerced to the maximum) + * @opt_param string pageToken A page token, received from a previous + * `ListAccountSummaries` call. Provide this to retrieve the subsequent page. + * When paginating, all other parameters provided to `ListAccountSummaries` must + * match the call that provided the page token. + * @return GoogleAnalyticsAdminV1betaListAccountSummariesResponse + * @throws \Google\Service\Exception + */ + public function listAccountSummaries($optParams = []) + { + $params = []; + $params = array_merge($params, $optParams); + return $this->call('list', [$params], GoogleAnalyticsAdminV1betaListAccountSummariesResponse::class); + } +} + +// Adding a class alias for backwards compatibility with the previous class name. +class_alias(AccountSummaries::class, 'Google_Service_GoogleAnalyticsAdmin_Resource_AccountSummaries'); diff --git a/packages/apiclient-services-analyticsadmin-v1beta/src/GoogleAnalyticsAdmin/Resource/Accounts.php b/packages/apiclient-services-analyticsadmin-v1beta/src/GoogleAnalyticsAdmin/Resource/Accounts.php new file mode 100644 index 00000000000..0644e622465 --- /dev/null +++ b/packages/apiclient-services-analyticsadmin-v1beta/src/GoogleAnalyticsAdmin/Resource/Accounts.php @@ -0,0 +1,215 @@ + + * $analyticsadminService = new Google\Service\GoogleAnalyticsAdmin(...); + * $accounts = $analyticsadminService->accounts; + * + */ +class Accounts extends \Google\Service\Resource +{ + /** + * Marks target Account as soft-deleted (ie: "trashed") and returns it. This API + * does not have a method to restore soft-deleted accounts. However, they can be + * restored using the Trash Can UI. If the accounts are not restored before the + * expiration time, the account and all child resources (eg: Properties, + * GoogleAdsLinks, Streams, AccessBindings) will be permanently purged. + * https://support.google.com/analytics/answer/6154772 Returns an error if the + * target is not found. (accounts.delete) + * + * @param string $name Required. The name of the Account to soft-delete. Format: + * accounts/{account} Example: "accounts/100" + * @param array $optParams Optional parameters. + * @return GoogleProtobufEmpty + * @throws \Google\Service\Exception + */ + public function delete($name, $optParams = []) + { + $params = ['name' => $name]; + $params = array_merge($params, $optParams); + return $this->call('delete', [$params], GoogleProtobufEmpty::class); + } + /** + * Lookup for a single Account. (accounts.get) + * + * @param string $name Required. The name of the account to lookup. Format: + * accounts/{account} Example: "accounts/100" + * @param array $optParams Optional parameters. + * @return GoogleAnalyticsAdminV1betaAccount + * @throws \Google\Service\Exception + */ + public function get($name, $optParams = []) + { + $params = ['name' => $name]; + $params = array_merge($params, $optParams); + return $this->call('get', [$params], GoogleAnalyticsAdminV1betaAccount::class); + } + /** + * Get data sharing settings on an account. Data sharing settings are + * singletons. (accounts.getDataSharingSettings) + * + * @param string $name Required. The name of the settings to lookup. Format: + * accounts/{account}/dataSharingSettings Example: + * `accounts/1000/dataSharingSettings` + * @param array $optParams Optional parameters. + * @return GoogleAnalyticsAdminV1betaDataSharingSettings + * @throws \Google\Service\Exception + */ + public function getDataSharingSettings($name, $optParams = []) + { + $params = ['name' => $name]; + $params = array_merge($params, $optParams); + return $this->call('getDataSharingSettings', [$params], GoogleAnalyticsAdminV1betaDataSharingSettings::class); + } + /** + * Returns all accounts accessible by the caller. Note that these accounts might + * not currently have GA properties. Soft-deleted (ie: "trashed") accounts are + * excluded by default. Returns an empty list if no relevant accounts are found. + * (accounts.listAccounts) + * + * @param array $optParams Optional parameters. + * + * @opt_param int pageSize The maximum number of resources to return. The + * service may return fewer than this value, even if there are additional pages. + * If unspecified, at most 50 resources will be returned. The maximum value is + * 200; (higher values will be coerced to the maximum) + * @opt_param string pageToken A page token, received from a previous + * `ListAccounts` call. Provide this to retrieve the subsequent page. When + * paginating, all other parameters provided to `ListAccounts` must match the + * call that provided the page token. + * @opt_param bool showDeleted Whether to include soft-deleted (ie: "trashed") + * Accounts in the results. Accounts can be inspected to determine whether they + * are deleted or not. + * @return GoogleAnalyticsAdminV1betaListAccountsResponse + * @throws \Google\Service\Exception + */ + public function listAccounts($optParams = []) + { + $params = []; + $params = array_merge($params, $optParams); + return $this->call('list', [$params], GoogleAnalyticsAdminV1betaListAccountsResponse::class); + } + /** + * Updates an account. (accounts.patch) + * + * @param string $name Output only. Resource name of this account. Format: + * accounts/{account} Example: "accounts/100" + * @param GoogleAnalyticsAdminV1betaAccount $postBody + * @param array $optParams Optional parameters. + * + * @opt_param string updateMask Required. The list of fields to be updated. + * Field names must be in snake case (for example, "field_to_update"). Omitted + * fields will not be updated. To replace the entire entity, use one path with + * the string "*" to match all fields. + * @return GoogleAnalyticsAdminV1betaAccount + * @throws \Google\Service\Exception + */ + public function patch($name, GoogleAnalyticsAdminV1betaAccount $postBody, $optParams = []) + { + $params = ['name' => $name, 'postBody' => $postBody]; + $params = array_merge($params, $optParams); + return $this->call('patch', [$params], GoogleAnalyticsAdminV1betaAccount::class); + } + /** + * Requests a ticket for creating an account. (accounts.provisionAccountTicket) + * + * @param GoogleAnalyticsAdminV1betaProvisionAccountTicketRequest $postBody + * @param array $optParams Optional parameters. + * @return GoogleAnalyticsAdminV1betaProvisionAccountTicketResponse + * @throws \Google\Service\Exception + */ + public function provisionAccountTicket(GoogleAnalyticsAdminV1betaProvisionAccountTicketRequest $postBody, $optParams = []) + { + $params = ['postBody' => $postBody]; + $params = array_merge($params, $optParams); + return $this->call('provisionAccountTicket', [$params], GoogleAnalyticsAdminV1betaProvisionAccountTicketResponse::class); + } + /** + * Returns a customized report of data access records. The report provides + * records of each time a user reads Google Analytics reporting data. Access + * records are retained for up to 2 years. Data Access Reports can be requested + * for a property. Reports may be requested for any property, but dimensions + * that aren't related to quota can only be requested on Google Analytics 360 + * properties. This method is only available to Administrators. These data + * access records include GA UI Reporting, GA UI Explorations, GA Data API, and + * other products like Firebase & Admob that can retrieve data from Google + * Analytics through a linkage. These records don't include property + * configuration changes like adding a stream or changing a property's time + * zone. For configuration change history, see [searchChangeHistoryEvents](https + * ://developers.google.com/analytics/devguides/config/admin/v1/rest/v1alpha/acc + * ounts/searchChangeHistoryEvents). To give your feedback on this API, complete + * the [Google Analytics Access Reports feedback](https://docs.google.com/forms/ + * d/e/1FAIpQLSdmEBUrMzAEdiEKk5TV5dEHvDUZDRlgWYdQdAeSdtR4hVjEhw/viewform) form. + * (accounts.runAccessReport) + * + * @param string $entity The Data Access Report supports requesting at the + * property level or account level. If requested at the account level, Data + * Access Reports include all access for all properties under that account. To + * request at the property level, entity should be for example 'properties/123' + * if "123" is your Google Analytics property ID. To request at the account + * level, entity should be for example 'accounts/1234' if "1234" is your Google + * Analytics Account ID. + * @param GoogleAnalyticsAdminV1betaRunAccessReportRequest $postBody + * @param array $optParams Optional parameters. + * @return GoogleAnalyticsAdminV1betaRunAccessReportResponse + * @throws \Google\Service\Exception + */ + public function runAccessReport($entity, GoogleAnalyticsAdminV1betaRunAccessReportRequest $postBody, $optParams = []) + { + $params = ['entity' => $entity, 'postBody' => $postBody]; + $params = array_merge($params, $optParams); + return $this->call('runAccessReport', [$params], GoogleAnalyticsAdminV1betaRunAccessReportResponse::class); + } + /** + * Searches through all changes to an account or its children given the + * specified set of filters. Only returns the subset of changes supported by the + * API. The UI may return additional changes. + * (accounts.searchChangeHistoryEvents) + * + * @param string $account Required. The account resource for which to return + * change history resources. Format: accounts/{account} Example: `accounts/100` + * @param GoogleAnalyticsAdminV1betaSearchChangeHistoryEventsRequest $postBody + * @param array $optParams Optional parameters. + * @return GoogleAnalyticsAdminV1betaSearchChangeHistoryEventsResponse + * @throws \Google\Service\Exception + */ + public function searchChangeHistoryEvents($account, GoogleAnalyticsAdminV1betaSearchChangeHistoryEventsRequest $postBody, $optParams = []) + { + $params = ['account' => $account, 'postBody' => $postBody]; + $params = array_merge($params, $optParams); + return $this->call('searchChangeHistoryEvents', [$params], GoogleAnalyticsAdminV1betaSearchChangeHistoryEventsResponse::class); + } +} + +// Adding a class alias for backwards compatibility with the previous class name. +class_alias(Accounts::class, 'Google_Service_GoogleAnalyticsAdmin_Resource_Accounts'); diff --git a/packages/apiclient-services-analyticsadmin-v1beta/src/GoogleAnalyticsAdmin/Resource/Properties.php b/packages/apiclient-services-analyticsadmin-v1beta/src/GoogleAnalyticsAdmin/Resource/Properties.php new file mode 100644 index 00000000000..b18760b74c8 --- /dev/null +++ b/packages/apiclient-services-analyticsadmin-v1beta/src/GoogleAnalyticsAdmin/Resource/Properties.php @@ -0,0 +1,246 @@ + + * $analyticsadminService = new Google\Service\GoogleAnalyticsAdmin(...); + * $properties = $analyticsadminService->properties; + * + */ +class Properties extends \Google\Service\Resource +{ + /** + * Acknowledges the terms of user data collection for the specified property. + * This acknowledgement must be completed (either in the Google Analytics UI or + * through this API) before MeasurementProtocolSecret resources may be created. + * (properties.acknowledgeUserDataCollection) + * + * @param string $property Required. The property for which to acknowledge user + * data collection. + * @param GoogleAnalyticsAdminV1betaAcknowledgeUserDataCollectionRequest $postBody + * @param array $optParams Optional parameters. + * @return GoogleAnalyticsAdminV1betaAcknowledgeUserDataCollectionResponse + * @throws \Google\Service\Exception + */ + public function acknowledgeUserDataCollection($property, GoogleAnalyticsAdminV1betaAcknowledgeUserDataCollectionRequest $postBody, $optParams = []) + { + $params = ['property' => $property, 'postBody' => $postBody]; + $params = array_merge($params, $optParams); + return $this->call('acknowledgeUserDataCollection', [$params], GoogleAnalyticsAdminV1betaAcknowledgeUserDataCollectionResponse::class); + } + /** + * Creates a Google Analytics property with the specified location and + * attributes. (properties.create) + * + * @param GoogleAnalyticsAdminV1betaProperty $postBody + * @param array $optParams Optional parameters. + * @return GoogleAnalyticsAdminV1betaProperty + * @throws \Google\Service\Exception + */ + public function create(GoogleAnalyticsAdminV1betaProperty $postBody, $optParams = []) + { + $params = ['postBody' => $postBody]; + $params = array_merge($params, $optParams); + return $this->call('create', [$params], GoogleAnalyticsAdminV1betaProperty::class); + } + /** + * Marks target Property as soft-deleted (ie: "trashed") and returns it. This + * API does not have a method to restore soft-deleted properties. However, they + * can be restored using the Trash Can UI. If the properties are not restored + * before the expiration time, the Property and all child resources (eg: + * GoogleAdsLinks, Streams, AccessBindings) will be permanently purged. + * https://support.google.com/analytics/answer/6154772 Returns an error if the + * target is not found. (properties.delete) + * + * @param string $name Required. The name of the Property to soft-delete. + * Format: properties/{property_id} Example: "properties/1000" + * @param array $optParams Optional parameters. + * @return GoogleAnalyticsAdminV1betaProperty + * @throws \Google\Service\Exception + */ + public function delete($name, $optParams = []) + { + $params = ['name' => $name]; + $params = array_merge($params, $optParams); + return $this->call('delete', [$params], GoogleAnalyticsAdminV1betaProperty::class); + } + /** + * Lookup for a single GA Property. (properties.get) + * + * @param string $name Required. The name of the property to lookup. Format: + * properties/{property_id} Example: "properties/1000" + * @param array $optParams Optional parameters. + * @return GoogleAnalyticsAdminV1betaProperty + * @throws \Google\Service\Exception + */ + public function get($name, $optParams = []) + { + $params = ['name' => $name]; + $params = array_merge($params, $optParams); + return $this->call('get', [$params], GoogleAnalyticsAdminV1betaProperty::class); + } + /** + * Returns the singleton data retention settings for this property. + * (properties.getDataRetentionSettings) + * + * @param string $name Required. The name of the settings to lookup. Format: + * properties/{property}/dataRetentionSettings Example: + * "properties/1000/dataRetentionSettings" + * @param array $optParams Optional parameters. + * @return GoogleAnalyticsAdminV1betaDataRetentionSettings + * @throws \Google\Service\Exception + */ + public function getDataRetentionSettings($name, $optParams = []) + { + $params = ['name' => $name]; + $params = array_merge($params, $optParams); + return $this->call('getDataRetentionSettings', [$params], GoogleAnalyticsAdminV1betaDataRetentionSettings::class); + } + /** + * Returns child Properties under the specified parent Account. Properties will + * be excluded if the caller does not have access. Soft-deleted (ie: "trashed") + * properties are excluded by default. Returns an empty list if no relevant + * properties are found. (properties.listProperties) + * + * @param array $optParams Optional parameters. + * + * @opt_param string filter Required. An expression for filtering the results of + * the request. Fields eligible for filtering are: `parent:`(The resource name + * of the parent account/property) or `ancestor:`(The resource name of the + * parent account) or `firebase_project:`(The id or number of the linked + * firebase project). Some examples of filters: ``` | Filter | Description | + * |-----------------------------|-------------------------------------------| | + * parent:accounts/123 | The account with account id: 123. | | + * parent:properties/123 | The property with property id: 123. | | + * ancestor:accounts/123 | The account with account id: 123. | | + * firebase_project:project-id | The firebase project with id: project-id. | | + * firebase_project:123 | The firebase project with number: 123. | ``` + * @opt_param int pageSize The maximum number of resources to return. The + * service may return fewer than this value, even if there are additional pages. + * If unspecified, at most 50 resources will be returned. The maximum value is + * 200; (higher values will be coerced to the maximum) + * @opt_param string pageToken A page token, received from a previous + * `ListProperties` call. Provide this to retrieve the subsequent page. When + * paginating, all other parameters provided to `ListProperties` must match the + * call that provided the page token. + * @opt_param bool showDeleted Whether to include soft-deleted (ie: "trashed") + * Properties in the results. Properties can be inspected to determine whether + * they are deleted or not. + * @return GoogleAnalyticsAdminV1betaListPropertiesResponse + * @throws \Google\Service\Exception + */ + public function listProperties($optParams = []) + { + $params = []; + $params = array_merge($params, $optParams); + return $this->call('list', [$params], GoogleAnalyticsAdminV1betaListPropertiesResponse::class); + } + /** + * Updates a property. (properties.patch) + * + * @param string $name Output only. Resource name of this property. Format: + * properties/{property_id} Example: "properties/1000" + * @param GoogleAnalyticsAdminV1betaProperty $postBody + * @param array $optParams Optional parameters. + * + * @opt_param string updateMask Required. The list of fields to be updated. + * Field names must be in snake case (e.g., "field_to_update"). Omitted fields + * will not be updated. To replace the entire entity, use one path with the + * string "*" to match all fields. + * @return GoogleAnalyticsAdminV1betaProperty + * @throws \Google\Service\Exception + */ + public function patch($name, GoogleAnalyticsAdminV1betaProperty $postBody, $optParams = []) + { + $params = ['name' => $name, 'postBody' => $postBody]; + $params = array_merge($params, $optParams); + return $this->call('patch', [$params], GoogleAnalyticsAdminV1betaProperty::class); + } + /** + * Returns a customized report of data access records. The report provides + * records of each time a user reads Google Analytics reporting data. Access + * records are retained for up to 2 years. Data Access Reports can be requested + * for a property. Reports may be requested for any property, but dimensions + * that aren't related to quota can only be requested on Google Analytics 360 + * properties. This method is only available to Administrators. These data + * access records include GA UI Reporting, GA UI Explorations, GA Data API, and + * other products like Firebase & Admob that can retrieve data from Google + * Analytics through a linkage. These records don't include property + * configuration changes like adding a stream or changing a property's time + * zone. For configuration change history, see [searchChangeHistoryEvents](https + * ://developers.google.com/analytics/devguides/config/admin/v1/rest/v1alpha/acc + * ounts/searchChangeHistoryEvents). To give your feedback on this API, complete + * the [Google Analytics Access Reports feedback](https://docs.google.com/forms/ + * d/e/1FAIpQLSdmEBUrMzAEdiEKk5TV5dEHvDUZDRlgWYdQdAeSdtR4hVjEhw/viewform) form. + * (properties.runAccessReport) + * + * @param string $entity The Data Access Report supports requesting at the + * property level or account level. If requested at the account level, Data + * Access Reports include all access for all properties under that account. To + * request at the property level, entity should be for example 'properties/123' + * if "123" is your Google Analytics property ID. To request at the account + * level, entity should be for example 'accounts/1234' if "1234" is your Google + * Analytics Account ID. + * @param GoogleAnalyticsAdminV1betaRunAccessReportRequest $postBody + * @param array $optParams Optional parameters. + * @return GoogleAnalyticsAdminV1betaRunAccessReportResponse + * @throws \Google\Service\Exception + */ + public function runAccessReport($entity, GoogleAnalyticsAdminV1betaRunAccessReportRequest $postBody, $optParams = []) + { + $params = ['entity' => $entity, 'postBody' => $postBody]; + $params = array_merge($params, $optParams); + return $this->call('runAccessReport', [$params], GoogleAnalyticsAdminV1betaRunAccessReportResponse::class); + } + /** + * Updates the singleton data retention settings for this property. + * (properties.updateDataRetentionSettings) + * + * @param string $name Output only. Resource name for this DataRetentionSetting + * resource. Format: properties/{property}/dataRetentionSettings + * @param GoogleAnalyticsAdminV1betaDataRetentionSettings $postBody + * @param array $optParams Optional parameters. + * + * @opt_param string updateMask Required. The list of fields to be updated. + * Field names must be in snake case (e.g., "field_to_update"). Omitted fields + * will not be updated. To replace the entire entity, use one path with the + * string "*" to match all fields. + * @return GoogleAnalyticsAdminV1betaDataRetentionSettings + * @throws \Google\Service\Exception + */ + public function updateDataRetentionSettings($name, GoogleAnalyticsAdminV1betaDataRetentionSettings $postBody, $optParams = []) + { + $params = ['name' => $name, 'postBody' => $postBody]; + $params = array_merge($params, $optParams); + return $this->call('updateDataRetentionSettings', [$params], GoogleAnalyticsAdminV1betaDataRetentionSettings::class); + } +} + +// Adding a class alias for backwards compatibility with the previous class name. +class_alias(Properties::class, 'Google_Service_GoogleAnalyticsAdmin_Resource_Properties'); diff --git a/packages/apiclient-services-analyticsadmin-v1beta/src/GoogleAnalyticsAdmin/Resource/PropertiesConversionEvents.php b/packages/apiclient-services-analyticsadmin-v1beta/src/GoogleAnalyticsAdmin/Resource/PropertiesConversionEvents.php new file mode 100644 index 00000000000..d5765c88ec2 --- /dev/null +++ b/packages/apiclient-services-analyticsadmin-v1beta/src/GoogleAnalyticsAdmin/Resource/PropertiesConversionEvents.php @@ -0,0 +1,135 @@ + + * $analyticsadminService = new Google\Service\GoogleAnalyticsAdmin(...); + * $conversionEvents = $analyticsadminService->properties_conversionEvents; + * + */ +class PropertiesConversionEvents extends \Google\Service\Resource +{ + /** + * Deprecated: Use `CreateKeyEvent` instead. Creates a conversion event with the + * specified attributes. (conversionEvents.create) + * + * @param string $parent Required. The resource name of the parent property + * where this conversion event will be created. Format: properties/123 + * @param GoogleAnalyticsAdminV1betaConversionEvent $postBody + * @param array $optParams Optional parameters. + * @return GoogleAnalyticsAdminV1betaConversionEvent + * @throws \Google\Service\Exception + */ + public function create($parent, GoogleAnalyticsAdminV1betaConversionEvent $postBody, $optParams = []) + { + $params = ['parent' => $parent, 'postBody' => $postBody]; + $params = array_merge($params, $optParams); + return $this->call('create', [$params], GoogleAnalyticsAdminV1betaConversionEvent::class); + } + /** + * Deprecated: Use `DeleteKeyEvent` instead. Deletes a conversion event in a + * property. (conversionEvents.delete) + * + * @param string $name Required. The resource name of the conversion event to + * delete. Format: properties/{property}/conversionEvents/{conversion_event} + * Example: "properties/123/conversionEvents/456" + * @param array $optParams Optional parameters. + * @return GoogleProtobufEmpty + * @throws \Google\Service\Exception + */ + public function delete($name, $optParams = []) + { + $params = ['name' => $name]; + $params = array_merge($params, $optParams); + return $this->call('delete', [$params], GoogleProtobufEmpty::class); + } + /** + * Deprecated: Use `GetKeyEvent` instead. Retrieve a single conversion event. + * (conversionEvents.get) + * + * @param string $name Required. The resource name of the conversion event to + * retrieve. Format: properties/{property}/conversionEvents/{conversion_event} + * Example: "properties/123/conversionEvents/456" + * @param array $optParams Optional parameters. + * @return GoogleAnalyticsAdminV1betaConversionEvent + * @throws \Google\Service\Exception + */ + public function get($name, $optParams = []) + { + $params = ['name' => $name]; + $params = array_merge($params, $optParams); + return $this->call('get', [$params], GoogleAnalyticsAdminV1betaConversionEvent::class); + } + /** + * Deprecated: Use `ListKeyEvents` instead. Returns a list of conversion events + * in the specified parent property. Returns an empty list if no conversion + * events are found. (conversionEvents.listPropertiesConversionEvents) + * + * @param string $parent Required. The resource name of the parent property. + * Example: 'properties/123' + * @param array $optParams Optional parameters. + * + * @opt_param int pageSize The maximum number of resources to return. If + * unspecified, at most 50 resources will be returned. The maximum value is 200; + * (higher values will be coerced to the maximum) + * @opt_param string pageToken A page token, received from a previous + * `ListConversionEvents` call. Provide this to retrieve the subsequent page. + * When paginating, all other parameters provided to `ListConversionEvents` must + * match the call that provided the page token. + * @return GoogleAnalyticsAdminV1betaListConversionEventsResponse + * @throws \Google\Service\Exception + */ + public function listPropertiesConversionEvents($parent, $optParams = []) + { + $params = ['parent' => $parent]; + $params = array_merge($params, $optParams); + return $this->call('list', [$params], GoogleAnalyticsAdminV1betaListConversionEventsResponse::class); + } + /** + * Deprecated: Use `UpdateKeyEvent` instead. Updates a conversion event with the + * specified attributes. (conversionEvents.patch) + * + * @param string $name Output only. Resource name of this conversion event. + * Format: properties/{property}/conversionEvents/{conversion_event} + * @param GoogleAnalyticsAdminV1betaConversionEvent $postBody + * @param array $optParams Optional parameters. + * + * @opt_param string updateMask Required. The list of fields to be updated. + * Field names must be in snake case (e.g., "field_to_update"). Omitted fields + * will not be updated. To replace the entire entity, use one path with the + * string "*" to match all fields. + * @return GoogleAnalyticsAdminV1betaConversionEvent + * @throws \Google\Service\Exception + */ + public function patch($name, GoogleAnalyticsAdminV1betaConversionEvent $postBody, $optParams = []) + { + $params = ['name' => $name, 'postBody' => $postBody]; + $params = array_merge($params, $optParams); + return $this->call('patch', [$params], GoogleAnalyticsAdminV1betaConversionEvent::class); + } +} + +// Adding a class alias for backwards compatibility with the previous class name. +class_alias(PropertiesConversionEvents::class, 'Google_Service_GoogleAnalyticsAdmin_Resource_PropertiesConversionEvents'); diff --git a/packages/apiclient-services-analyticsadmin-v1beta/src/GoogleAnalyticsAdmin/Resource/PropertiesCustomDimensions.php b/packages/apiclient-services-analyticsadmin-v1beta/src/GoogleAnalyticsAdmin/Resource/PropertiesCustomDimensions.php new file mode 100644 index 00000000000..9ddd27f9275 --- /dev/null +++ b/packages/apiclient-services-analyticsadmin-v1beta/src/GoogleAnalyticsAdmin/Resource/PropertiesCustomDimensions.php @@ -0,0 +1,127 @@ + + * $analyticsadminService = new Google\Service\GoogleAnalyticsAdmin(...); + * $customDimensions = $analyticsadminService->properties_customDimensions; + * + */ +class PropertiesCustomDimensions extends \Google\Service\Resource +{ + /** + * Archives a CustomDimension on a property. (customDimensions.archive) + * + * @param string $name Required. The name of the CustomDimension to archive. + * Example format: properties/1234/customDimensions/5678 + * @param GoogleAnalyticsAdminV1betaArchiveCustomDimensionRequest $postBody + * @param array $optParams Optional parameters. + * @return GoogleProtobufEmpty + * @throws \Google\Service\Exception + */ + public function archive($name, GoogleAnalyticsAdminV1betaArchiveCustomDimensionRequest $postBody, $optParams = []) + { + $params = ['name' => $name, 'postBody' => $postBody]; + $params = array_merge($params, $optParams); + return $this->call('archive', [$params], GoogleProtobufEmpty::class); + } + /** + * Creates a CustomDimension. (customDimensions.create) + * + * @param string $parent Required. Example format: properties/1234 + * @param GoogleAnalyticsAdminV1betaCustomDimension $postBody + * @param array $optParams Optional parameters. + * @return GoogleAnalyticsAdminV1betaCustomDimension + * @throws \Google\Service\Exception + */ + public function create($parent, GoogleAnalyticsAdminV1betaCustomDimension $postBody, $optParams = []) + { + $params = ['parent' => $parent, 'postBody' => $postBody]; + $params = array_merge($params, $optParams); + return $this->call('create', [$params], GoogleAnalyticsAdminV1betaCustomDimension::class); + } + /** + * Lookup for a single CustomDimension. (customDimensions.get) + * + * @param string $name Required. The name of the CustomDimension to get. Example + * format: properties/1234/customDimensions/5678 + * @param array $optParams Optional parameters. + * @return GoogleAnalyticsAdminV1betaCustomDimension + * @throws \Google\Service\Exception + */ + public function get($name, $optParams = []) + { + $params = ['name' => $name]; + $params = array_merge($params, $optParams); + return $this->call('get', [$params], GoogleAnalyticsAdminV1betaCustomDimension::class); + } + /** + * Lists CustomDimensions on a property. + * (customDimensions.listPropertiesCustomDimensions) + * + * @param string $parent Required. Example format: properties/1234 + * @param array $optParams Optional parameters. + * + * @opt_param int pageSize The maximum number of resources to return. If + * unspecified, at most 50 resources will be returned. The maximum value is 200 + * (higher values will be coerced to the maximum). + * @opt_param string pageToken A page token, received from a previous + * `ListCustomDimensions` call. Provide this to retrieve the subsequent page. + * When paginating, all other parameters provided to `ListCustomDimensions` must + * match the call that provided the page token. + * @return GoogleAnalyticsAdminV1betaListCustomDimensionsResponse + * @throws \Google\Service\Exception + */ + public function listPropertiesCustomDimensions($parent, $optParams = []) + { + $params = ['parent' => $parent]; + $params = array_merge($params, $optParams); + return $this->call('list', [$params], GoogleAnalyticsAdminV1betaListCustomDimensionsResponse::class); + } + /** + * Updates a CustomDimension on a property. (customDimensions.patch) + * + * @param string $name Output only. Resource name for this CustomDimension + * resource. Format: properties/{property}/customDimensions/{customDimension} + * @param GoogleAnalyticsAdminV1betaCustomDimension $postBody + * @param array $optParams Optional parameters. + * + * @opt_param string updateMask Required. The list of fields to be updated. + * Omitted fields will not be updated. To replace the entire entity, use one + * path with the string "*" to match all fields. + * @return GoogleAnalyticsAdminV1betaCustomDimension + * @throws \Google\Service\Exception + */ + public function patch($name, GoogleAnalyticsAdminV1betaCustomDimension $postBody, $optParams = []) + { + $params = ['name' => $name, 'postBody' => $postBody]; + $params = array_merge($params, $optParams); + return $this->call('patch', [$params], GoogleAnalyticsAdminV1betaCustomDimension::class); + } +} + +// Adding a class alias for backwards compatibility with the previous class name. +class_alias(PropertiesCustomDimensions::class, 'Google_Service_GoogleAnalyticsAdmin_Resource_PropertiesCustomDimensions'); diff --git a/packages/apiclient-services-analyticsadmin-v1beta/src/GoogleAnalyticsAdmin/Resource/PropertiesCustomMetrics.php b/packages/apiclient-services-analyticsadmin-v1beta/src/GoogleAnalyticsAdmin/Resource/PropertiesCustomMetrics.php new file mode 100644 index 00000000000..90d19f26df5 --- /dev/null +++ b/packages/apiclient-services-analyticsadmin-v1beta/src/GoogleAnalyticsAdmin/Resource/PropertiesCustomMetrics.php @@ -0,0 +1,127 @@ + + * $analyticsadminService = new Google\Service\GoogleAnalyticsAdmin(...); + * $customMetrics = $analyticsadminService->properties_customMetrics; + * + */ +class PropertiesCustomMetrics extends \Google\Service\Resource +{ + /** + * Archives a CustomMetric on a property. (customMetrics.archive) + * + * @param string $name Required. The name of the CustomMetric to archive. + * Example format: properties/1234/customMetrics/5678 + * @param GoogleAnalyticsAdminV1betaArchiveCustomMetricRequest $postBody + * @param array $optParams Optional parameters. + * @return GoogleProtobufEmpty + * @throws \Google\Service\Exception + */ + public function archive($name, GoogleAnalyticsAdminV1betaArchiveCustomMetricRequest $postBody, $optParams = []) + { + $params = ['name' => $name, 'postBody' => $postBody]; + $params = array_merge($params, $optParams); + return $this->call('archive', [$params], GoogleProtobufEmpty::class); + } + /** + * Creates a CustomMetric. (customMetrics.create) + * + * @param string $parent Required. Example format: properties/1234 + * @param GoogleAnalyticsAdminV1betaCustomMetric $postBody + * @param array $optParams Optional parameters. + * @return GoogleAnalyticsAdminV1betaCustomMetric + * @throws \Google\Service\Exception + */ + public function create($parent, GoogleAnalyticsAdminV1betaCustomMetric $postBody, $optParams = []) + { + $params = ['parent' => $parent, 'postBody' => $postBody]; + $params = array_merge($params, $optParams); + return $this->call('create', [$params], GoogleAnalyticsAdminV1betaCustomMetric::class); + } + /** + * Lookup for a single CustomMetric. (customMetrics.get) + * + * @param string $name Required. The name of the CustomMetric to get. Example + * format: properties/1234/customMetrics/5678 + * @param array $optParams Optional parameters. + * @return GoogleAnalyticsAdminV1betaCustomMetric + * @throws \Google\Service\Exception + */ + public function get($name, $optParams = []) + { + $params = ['name' => $name]; + $params = array_merge($params, $optParams); + return $this->call('get', [$params], GoogleAnalyticsAdminV1betaCustomMetric::class); + } + /** + * Lists CustomMetrics on a property. + * (customMetrics.listPropertiesCustomMetrics) + * + * @param string $parent Required. Example format: properties/1234 + * @param array $optParams Optional parameters. + * + * @opt_param int pageSize The maximum number of resources to return. If + * unspecified, at most 50 resources will be returned. The maximum value is 200 + * (higher values will be coerced to the maximum). + * @opt_param string pageToken A page token, received from a previous + * `ListCustomMetrics` call. Provide this to retrieve the subsequent page. When + * paginating, all other parameters provided to `ListCustomMetrics` must match + * the call that provided the page token. + * @return GoogleAnalyticsAdminV1betaListCustomMetricsResponse + * @throws \Google\Service\Exception + */ + public function listPropertiesCustomMetrics($parent, $optParams = []) + { + $params = ['parent' => $parent]; + $params = array_merge($params, $optParams); + return $this->call('list', [$params], GoogleAnalyticsAdminV1betaListCustomMetricsResponse::class); + } + /** + * Updates a CustomMetric on a property. (customMetrics.patch) + * + * @param string $name Output only. Resource name for this CustomMetric + * resource. Format: properties/{property}/customMetrics/{customMetric} + * @param GoogleAnalyticsAdminV1betaCustomMetric $postBody + * @param array $optParams Optional parameters. + * + * @opt_param string updateMask Required. The list of fields to be updated. + * Omitted fields will not be updated. To replace the entire entity, use one + * path with the string "*" to match all fields. + * @return GoogleAnalyticsAdminV1betaCustomMetric + * @throws \Google\Service\Exception + */ + public function patch($name, GoogleAnalyticsAdminV1betaCustomMetric $postBody, $optParams = []) + { + $params = ['name' => $name, 'postBody' => $postBody]; + $params = array_merge($params, $optParams); + return $this->call('patch', [$params], GoogleAnalyticsAdminV1betaCustomMetric::class); + } +} + +// Adding a class alias for backwards compatibility with the previous class name. +class_alias(PropertiesCustomMetrics::class, 'Google_Service_GoogleAnalyticsAdmin_Resource_PropertiesCustomMetrics'); diff --git a/packages/apiclient-services-analyticsadmin-v1beta/src/GoogleAnalyticsAdmin/Resource/PropertiesDataStreams.php b/packages/apiclient-services-analyticsadmin-v1beta/src/GoogleAnalyticsAdmin/Resource/PropertiesDataStreams.php new file mode 100644 index 00000000000..fe70a771f9b --- /dev/null +++ b/packages/apiclient-services-analyticsadmin-v1beta/src/GoogleAnalyticsAdmin/Resource/PropertiesDataStreams.php @@ -0,0 +1,125 @@ + + * $analyticsadminService = new Google\Service\GoogleAnalyticsAdmin(...); + * $dataStreams = $analyticsadminService->properties_dataStreams; + * + */ +class PropertiesDataStreams extends \Google\Service\Resource +{ + /** + * Creates a DataStream. (dataStreams.create) + * + * @param string $parent Required. Example format: properties/1234 + * @param GoogleAnalyticsAdminV1betaDataStream $postBody + * @param array $optParams Optional parameters. + * @return GoogleAnalyticsAdminV1betaDataStream + * @throws \Google\Service\Exception + */ + public function create($parent, GoogleAnalyticsAdminV1betaDataStream $postBody, $optParams = []) + { + $params = ['parent' => $parent, 'postBody' => $postBody]; + $params = array_merge($params, $optParams); + return $this->call('create', [$params], GoogleAnalyticsAdminV1betaDataStream::class); + } + /** + * Deletes a DataStream on a property. (dataStreams.delete) + * + * @param string $name Required. The name of the DataStream to delete. Example + * format: properties/1234/dataStreams/5678 + * @param array $optParams Optional parameters. + * @return GoogleProtobufEmpty + * @throws \Google\Service\Exception + */ + public function delete($name, $optParams = []) + { + $params = ['name' => $name]; + $params = array_merge($params, $optParams); + return $this->call('delete', [$params], GoogleProtobufEmpty::class); + } + /** + * Lookup for a single DataStream. (dataStreams.get) + * + * @param string $name Required. The name of the DataStream to get. Example + * format: properties/1234/dataStreams/5678 + * @param array $optParams Optional parameters. + * @return GoogleAnalyticsAdminV1betaDataStream + * @throws \Google\Service\Exception + */ + public function get($name, $optParams = []) + { + $params = ['name' => $name]; + $params = array_merge($params, $optParams); + return $this->call('get', [$params], GoogleAnalyticsAdminV1betaDataStream::class); + } + /** + * Lists DataStreams on a property. (dataStreams.listPropertiesDataStreams) + * + * @param string $parent Required. Example format: properties/1234 + * @param array $optParams Optional parameters. + * + * @opt_param int pageSize The maximum number of resources to return. If + * unspecified, at most 50 resources will be returned. The maximum value is 200 + * (higher values will be coerced to the maximum). + * @opt_param string pageToken A page token, received from a previous + * `ListDataStreams` call. Provide this to retrieve the subsequent page. When + * paginating, all other parameters provided to `ListDataStreams` must match the + * call that provided the page token. + * @return GoogleAnalyticsAdminV1betaListDataStreamsResponse + * @throws \Google\Service\Exception + */ + public function listPropertiesDataStreams($parent, $optParams = []) + { + $params = ['parent' => $parent]; + $params = array_merge($params, $optParams); + return $this->call('list', [$params], GoogleAnalyticsAdminV1betaListDataStreamsResponse::class); + } + /** + * Updates a DataStream on a property. (dataStreams.patch) + * + * @param string $name Output only. Resource name of this Data Stream. Format: + * properties/{property_id}/dataStreams/{stream_id} Example: + * "properties/1000/dataStreams/2000" + * @param GoogleAnalyticsAdminV1betaDataStream $postBody + * @param array $optParams Optional parameters. + * + * @opt_param string updateMask Required. The list of fields to be updated. + * Omitted fields will not be updated. To replace the entire entity, use one + * path with the string "*" to match all fields. + * @return GoogleAnalyticsAdminV1betaDataStream + * @throws \Google\Service\Exception + */ + public function patch($name, GoogleAnalyticsAdminV1betaDataStream $postBody, $optParams = []) + { + $params = ['name' => $name, 'postBody' => $postBody]; + $params = array_merge($params, $optParams); + return $this->call('patch', [$params], GoogleAnalyticsAdminV1betaDataStream::class); + } +} + +// Adding a class alias for backwards compatibility with the previous class name. +class_alias(PropertiesDataStreams::class, 'Google_Service_GoogleAnalyticsAdmin_Resource_PropertiesDataStreams'); diff --git a/packages/apiclient-services-analyticsadmin-v1beta/src/GoogleAnalyticsAdmin/Resource/PropertiesDataStreamsMeasurementProtocolSecrets.php b/packages/apiclient-services-analyticsadmin-v1beta/src/GoogleAnalyticsAdmin/Resource/PropertiesDataStreamsMeasurementProtocolSecrets.php new file mode 100644 index 00000000000..d4f9a09cf5e --- /dev/null +++ b/packages/apiclient-services-analyticsadmin-v1beta/src/GoogleAnalyticsAdmin/Resource/PropertiesDataStreamsMeasurementProtocolSecrets.php @@ -0,0 +1,133 @@ + + * $analyticsadminService = new Google\Service\GoogleAnalyticsAdmin(...); + * $measurementProtocolSecrets = $analyticsadminService->properties_dataStreams_measurementProtocolSecrets; + * + */ +class PropertiesDataStreamsMeasurementProtocolSecrets extends \Google\Service\Resource +{ + /** + * Creates a measurement protocol secret. (measurementProtocolSecrets.create) + * + * @param string $parent Required. The parent resource where this secret will be + * created. Format: properties/{property}/dataStreams/{dataStream} + * @param GoogleAnalyticsAdminV1betaMeasurementProtocolSecret $postBody + * @param array $optParams Optional parameters. + * @return GoogleAnalyticsAdminV1betaMeasurementProtocolSecret + * @throws \Google\Service\Exception + */ + public function create($parent, GoogleAnalyticsAdminV1betaMeasurementProtocolSecret $postBody, $optParams = []) + { + $params = ['parent' => $parent, 'postBody' => $postBody]; + $params = array_merge($params, $optParams); + return $this->call('create', [$params], GoogleAnalyticsAdminV1betaMeasurementProtocolSecret::class); + } + /** + * Deletes target MeasurementProtocolSecret. (measurementProtocolSecrets.delete) + * + * @param string $name Required. The name of the MeasurementProtocolSecret to + * delete. Format: properties/{property}/dataStreams/{dataStream}/measurementPro + * tocolSecrets/{measurementProtocolSecret} + * @param array $optParams Optional parameters. + * @return GoogleProtobufEmpty + * @throws \Google\Service\Exception + */ + public function delete($name, $optParams = []) + { + $params = ['name' => $name]; + $params = array_merge($params, $optParams); + return $this->call('delete', [$params], GoogleProtobufEmpty::class); + } + /** + * Lookup for a single MeasurementProtocolSecret. + * (measurementProtocolSecrets.get) + * + * @param string $name Required. The name of the measurement protocol secret to + * lookup. Format: properties/{property}/dataStreams/{dataStream}/measurementPro + * tocolSecrets/{measurementProtocolSecret} + * @param array $optParams Optional parameters. + * @return GoogleAnalyticsAdminV1betaMeasurementProtocolSecret + * @throws \Google\Service\Exception + */ + public function get($name, $optParams = []) + { + $params = ['name' => $name]; + $params = array_merge($params, $optParams); + return $this->call('get', [$params], GoogleAnalyticsAdminV1betaMeasurementProtocolSecret::class); + } + /** + * Returns child MeasurementProtocolSecrets under the specified parent Property. + * (measurementProtocolSecrets.listPropertiesDataStreamsMeasurementProtocolSecre + * ts) + * + * @param string $parent Required. The resource name of the parent stream. + * Format: + * properties/{property}/dataStreams/{dataStream}/measurementProtocolSecrets + * @param array $optParams Optional parameters. + * + * @opt_param int pageSize The maximum number of resources to return. If + * unspecified, at most 10 resources will be returned. The maximum value is 10. + * Higher values will be coerced to the maximum. + * @opt_param string pageToken A page token, received from a previous + * `ListMeasurementProtocolSecrets` call. Provide this to retrieve the + * subsequent page. When paginating, all other parameters provided to + * `ListMeasurementProtocolSecrets` must match the call that provided the page + * token. + * @return GoogleAnalyticsAdminV1betaListMeasurementProtocolSecretsResponse + * @throws \Google\Service\Exception + */ + public function listPropertiesDataStreamsMeasurementProtocolSecrets($parent, $optParams = []) + { + $params = ['parent' => $parent]; + $params = array_merge($params, $optParams); + return $this->call('list', [$params], GoogleAnalyticsAdminV1betaListMeasurementProtocolSecretsResponse::class); + } + /** + * Updates a measurement protocol secret. (measurementProtocolSecrets.patch) + * + * @param string $name Output only. Resource name of this secret. This secret + * may be a child of any type of stream. Format: properties/{property}/dataStrea + * ms/{dataStream}/measurementProtocolSecrets/{measurementProtocolSecret} + * @param GoogleAnalyticsAdminV1betaMeasurementProtocolSecret $postBody + * @param array $optParams Optional parameters. + * + * @opt_param string updateMask Required. The list of fields to be updated. + * Omitted fields will not be updated. + * @return GoogleAnalyticsAdminV1betaMeasurementProtocolSecret + * @throws \Google\Service\Exception + */ + public function patch($name, GoogleAnalyticsAdminV1betaMeasurementProtocolSecret $postBody, $optParams = []) + { + $params = ['name' => $name, 'postBody' => $postBody]; + $params = array_merge($params, $optParams); + return $this->call('patch', [$params], GoogleAnalyticsAdminV1betaMeasurementProtocolSecret::class); + } +} + +// Adding a class alias for backwards compatibility with the previous class name. +class_alias(PropertiesDataStreamsMeasurementProtocolSecrets::class, 'Google_Service_GoogleAnalyticsAdmin_Resource_PropertiesDataStreamsMeasurementProtocolSecrets'); diff --git a/packages/apiclient-services-analyticsadmin-v1beta/src/GoogleAnalyticsAdmin/Resource/PropertiesFirebaseLinks.php b/packages/apiclient-services-analyticsadmin-v1beta/src/GoogleAnalyticsAdmin/Resource/PropertiesFirebaseLinks.php new file mode 100644 index 00000000000..bb8e9d753bb --- /dev/null +++ b/packages/apiclient-services-analyticsadmin-v1beta/src/GoogleAnalyticsAdmin/Resource/PropertiesFirebaseLinks.php @@ -0,0 +1,95 @@ + + * $analyticsadminService = new Google\Service\GoogleAnalyticsAdmin(...); + * $firebaseLinks = $analyticsadminService->properties_firebaseLinks; + * + */ +class PropertiesFirebaseLinks extends \Google\Service\Resource +{ + /** + * Creates a FirebaseLink. Properties can have at most one FirebaseLink. + * (firebaseLinks.create) + * + * @param string $parent Required. Format: properties/{property_id} Example: + * `properties/1234` + * @param GoogleAnalyticsAdminV1betaFirebaseLink $postBody + * @param array $optParams Optional parameters. + * @return GoogleAnalyticsAdminV1betaFirebaseLink + * @throws \Google\Service\Exception + */ + public function create($parent, GoogleAnalyticsAdminV1betaFirebaseLink $postBody, $optParams = []) + { + $params = ['parent' => $parent, 'postBody' => $postBody]; + $params = array_merge($params, $optParams); + return $this->call('create', [$params], GoogleAnalyticsAdminV1betaFirebaseLink::class); + } + /** + * Deletes a FirebaseLink on a property (firebaseLinks.delete) + * + * @param string $name Required. Format: + * properties/{property_id}/firebaseLinks/{firebase_link_id} Example: + * `properties/1234/firebaseLinks/5678` + * @param array $optParams Optional parameters. + * @return GoogleProtobufEmpty + * @throws \Google\Service\Exception + */ + public function delete($name, $optParams = []) + { + $params = ['name' => $name]; + $params = array_merge($params, $optParams); + return $this->call('delete', [$params], GoogleProtobufEmpty::class); + } + /** + * Lists FirebaseLinks on a property. Properties can have at most one + * FirebaseLink. (firebaseLinks.listPropertiesFirebaseLinks) + * + * @param string $parent Required. Format: properties/{property_id} Example: + * `properties/1234` + * @param array $optParams Optional parameters. + * + * @opt_param int pageSize The maximum number of resources to return. The + * service may return fewer than this value, even if there are additional pages. + * If unspecified, at most 50 resources will be returned. The maximum value is + * 200; (higher values will be coerced to the maximum) + * @opt_param string pageToken A page token, received from a previous + * `ListFirebaseLinks` call. Provide this to retrieve the subsequent page. When + * paginating, all other parameters provided to `ListFirebaseLinks` must match + * the call that provided the page token. + * @return GoogleAnalyticsAdminV1betaListFirebaseLinksResponse + * @throws \Google\Service\Exception + */ + public function listPropertiesFirebaseLinks($parent, $optParams = []) + { + $params = ['parent' => $parent]; + $params = array_merge($params, $optParams); + return $this->call('list', [$params], GoogleAnalyticsAdminV1betaListFirebaseLinksResponse::class); + } +} + +// Adding a class alias for backwards compatibility with the previous class name. +class_alias(PropertiesFirebaseLinks::class, 'Google_Service_GoogleAnalyticsAdmin_Resource_PropertiesFirebaseLinks'); diff --git a/packages/apiclient-services-analyticsadmin-v1beta/src/GoogleAnalyticsAdmin/Resource/PropertiesGoogleAdsLinks.php b/packages/apiclient-services-analyticsadmin-v1beta/src/GoogleAnalyticsAdmin/Resource/PropertiesGoogleAdsLinks.php new file mode 100644 index 00000000000..7ee28b1b7a5 --- /dev/null +++ b/packages/apiclient-services-analyticsadmin-v1beta/src/GoogleAnalyticsAdmin/Resource/PropertiesGoogleAdsLinks.php @@ -0,0 +1,112 @@ + + * $analyticsadminService = new Google\Service\GoogleAnalyticsAdmin(...); + * $googleAdsLinks = $analyticsadminService->properties_googleAdsLinks; + * + */ +class PropertiesGoogleAdsLinks extends \Google\Service\Resource +{ + /** + * Creates a GoogleAdsLink. (googleAdsLinks.create) + * + * @param string $parent Required. Example format: properties/1234 + * @param GoogleAnalyticsAdminV1betaGoogleAdsLink $postBody + * @param array $optParams Optional parameters. + * @return GoogleAnalyticsAdminV1betaGoogleAdsLink + * @throws \Google\Service\Exception + */ + public function create($parent, GoogleAnalyticsAdminV1betaGoogleAdsLink $postBody, $optParams = []) + { + $params = ['parent' => $parent, 'postBody' => $postBody]; + $params = array_merge($params, $optParams); + return $this->call('create', [$params], GoogleAnalyticsAdminV1betaGoogleAdsLink::class); + } + /** + * Deletes a GoogleAdsLink on a property (googleAdsLinks.delete) + * + * @param string $name Required. Example format: + * properties/1234/googleAdsLinks/5678 + * @param array $optParams Optional parameters. + * @return GoogleProtobufEmpty + * @throws \Google\Service\Exception + */ + public function delete($name, $optParams = []) + { + $params = ['name' => $name]; + $params = array_merge($params, $optParams); + return $this->call('delete', [$params], GoogleProtobufEmpty::class); + } + /** + * Lists GoogleAdsLinks on a property. + * (googleAdsLinks.listPropertiesGoogleAdsLinks) + * + * @param string $parent Required. Example format: properties/1234 + * @param array $optParams Optional parameters. + * + * @opt_param int pageSize The maximum number of resources to return. If + * unspecified, at most 50 resources will be returned. The maximum value is 200 + * (higher values will be coerced to the maximum). + * @opt_param string pageToken A page token, received from a previous + * `ListGoogleAdsLinks` call. Provide this to retrieve the subsequent page. When + * paginating, all other parameters provided to `ListGoogleAdsLinks` must match + * the call that provided the page token. + * @return GoogleAnalyticsAdminV1betaListGoogleAdsLinksResponse + * @throws \Google\Service\Exception + */ + public function listPropertiesGoogleAdsLinks($parent, $optParams = []) + { + $params = ['parent' => $parent]; + $params = array_merge($params, $optParams); + return $this->call('list', [$params], GoogleAnalyticsAdminV1betaListGoogleAdsLinksResponse::class); + } + /** + * Updates a GoogleAdsLink on a property (googleAdsLinks.patch) + * + * @param string $name Output only. Format: + * properties/{propertyId}/googleAdsLinks/{googleAdsLinkId} Note: + * googleAdsLinkId is not the Google Ads customer ID. + * @param GoogleAnalyticsAdminV1betaGoogleAdsLink $postBody + * @param array $optParams Optional parameters. + * + * @opt_param string updateMask Required. The list of fields to be updated. + * Field names must be in snake case (e.g., "field_to_update"). Omitted fields + * will not be updated. To replace the entire entity, use one path with the + * string "*" to match all fields. + * @return GoogleAnalyticsAdminV1betaGoogleAdsLink + * @throws \Google\Service\Exception + */ + public function patch($name, GoogleAnalyticsAdminV1betaGoogleAdsLink $postBody, $optParams = []) + { + $params = ['name' => $name, 'postBody' => $postBody]; + $params = array_merge($params, $optParams); + return $this->call('patch', [$params], GoogleAnalyticsAdminV1betaGoogleAdsLink::class); + } +} + +// Adding a class alias for backwards compatibility with the previous class name. +class_alias(PropertiesGoogleAdsLinks::class, 'Google_Service_GoogleAnalyticsAdmin_Resource_PropertiesGoogleAdsLinks'); diff --git a/packages/apiclient-services-analyticsadmin-v1beta/src/GoogleAnalyticsAdmin/Resource/PropertiesKeyEvents.php b/packages/apiclient-services-analyticsadmin-v1beta/src/GoogleAnalyticsAdmin/Resource/PropertiesKeyEvents.php new file mode 100644 index 00000000000..7a34f0d2f9c --- /dev/null +++ b/packages/apiclient-services-analyticsadmin-v1beta/src/GoogleAnalyticsAdmin/Resource/PropertiesKeyEvents.php @@ -0,0 +1,130 @@ + + * $analyticsadminService = new Google\Service\GoogleAnalyticsAdmin(...); + * $keyEvents = $analyticsadminService->properties_keyEvents; + * + */ +class PropertiesKeyEvents extends \Google\Service\Resource +{ + /** + * Creates a Key Event. (keyEvents.create) + * + * @param string $parent Required. The resource name of the parent property + * where this Key Event will be created. Format: properties/123 + * @param GoogleAnalyticsAdminV1betaKeyEvent $postBody + * @param array $optParams Optional parameters. + * @return GoogleAnalyticsAdminV1betaKeyEvent + * @throws \Google\Service\Exception + */ + public function create($parent, GoogleAnalyticsAdminV1betaKeyEvent $postBody, $optParams = []) + { + $params = ['parent' => $parent, 'postBody' => $postBody]; + $params = array_merge($params, $optParams); + return $this->call('create', [$params], GoogleAnalyticsAdminV1betaKeyEvent::class); + } + /** + * Deletes a Key Event. (keyEvents.delete) + * + * @param string $name Required. The resource name of the Key Event to delete. + * Format: properties/{property}/keyEvents/{key_event} Example: + * "properties/123/keyEvents/456" + * @param array $optParams Optional parameters. + * @return GoogleProtobufEmpty + * @throws \Google\Service\Exception + */ + public function delete($name, $optParams = []) + { + $params = ['name' => $name]; + $params = array_merge($params, $optParams); + return $this->call('delete', [$params], GoogleProtobufEmpty::class); + } + /** + * Retrieve a single Key Event. (keyEvents.get) + * + * @param string $name Required. The resource name of the Key Event to retrieve. + * Format: properties/{property}/keyEvents/{key_event} Example: + * "properties/123/keyEvents/456" + * @param array $optParams Optional parameters. + * @return GoogleAnalyticsAdminV1betaKeyEvent + * @throws \Google\Service\Exception + */ + public function get($name, $optParams = []) + { + $params = ['name' => $name]; + $params = array_merge($params, $optParams); + return $this->call('get', [$params], GoogleAnalyticsAdminV1betaKeyEvent::class); + } + /** + * Returns a list of Key Events in the specified parent property. Returns an + * empty list if no Key Events are found. (keyEvents.listPropertiesKeyEvents) + * + * @param string $parent Required. The resource name of the parent property. + * Example: 'properties/123' + * @param array $optParams Optional parameters. + * + * @opt_param int pageSize The maximum number of resources to return. If + * unspecified, at most 50 resources will be returned. The maximum value is 200; + * (higher values will be coerced to the maximum) + * @opt_param string pageToken A page token, received from a previous + * `ListKeyEvents` call. Provide this to retrieve the subsequent page. When + * paginating, all other parameters provided to `ListKeyEvents` must match the + * call that provided the page token. + * @return GoogleAnalyticsAdminV1betaListKeyEventsResponse + * @throws \Google\Service\Exception + */ + public function listPropertiesKeyEvents($parent, $optParams = []) + { + $params = ['parent' => $parent]; + $params = array_merge($params, $optParams); + return $this->call('list', [$params], GoogleAnalyticsAdminV1betaListKeyEventsResponse::class); + } + /** + * Updates a Key Event. (keyEvents.patch) + * + * @param string $name Output only. Resource name of this key event. Format: + * properties/{property}/keyEvents/{key_event} + * @param GoogleAnalyticsAdminV1betaKeyEvent $postBody + * @param array $optParams Optional parameters. + * + * @opt_param string updateMask Required. The list of fields to be updated. + * Field names must be in snake case (e.g., "field_to_update"). Omitted fields + * will not be updated. To replace the entire entity, use one path with the + * string "*" to match all fields. + * @return GoogleAnalyticsAdminV1betaKeyEvent + * @throws \Google\Service\Exception + */ + public function patch($name, GoogleAnalyticsAdminV1betaKeyEvent $postBody, $optParams = []) + { + $params = ['name' => $name, 'postBody' => $postBody]; + $params = array_merge($params, $optParams); + return $this->call('patch', [$params], GoogleAnalyticsAdminV1betaKeyEvent::class); + } +} + +// Adding a class alias for backwards compatibility with the previous class name. +class_alias(PropertiesKeyEvents::class, 'Google_Service_GoogleAnalyticsAdmin_Resource_PropertiesKeyEvents');